FMS Gains 2011 :
Working directory : /star/data01/pwg/mriganka/fulljet/full/TestLater
paths : /star/data02/pwg/mriganka/root12fms/SetFMSEnv
#!/bin/tcsh
setenv SETFMSENV "SETFMSENV"
#setenv FMSFILE "/star/u/yuxip/onl/root12fms"
setenv FMSFILE "/star/institutions/ucla/yuxip/fmsdata"
#setenv FMSROOT "/star/data02/pwg/mriganka/root12fms" /// Used in analysis
setenv FMSROOT "/star/u/heppel/ABatch/root12fms"
setenv FMSSRC "${FMSROOT}/FpdRoot"
setenv FMSTXT "${FMSROOT}/fmstxt"
#setenv FMSGAIN "fpdgain.txt"
setenv FMSGAIN "FmsPtGain.txt"
setenv RunDepPath "$FMSTXT/RunDep.root"
setenv QTMAP "qtmap2009V1.txt"
setenv QTMAP2PP "qtmap2pp.txt"
#setenv FMSCORR "FMScorrSmooth.txt"
#setenv FMSCORR "FmsCorrD95j.txt"
setenv FMSCORR "FmsCorrD90q5.txt"
#setenv FMSCORR "FmsCorrD80a.txt"
#setenv FMSCORR "FMSOnesCorr.txt"
records gain*GainCorrection from /star/u/heppel/ABatch/root12fms
hGainTimesCorrection = new TH2F("hGtineC","",5,0,5,1000,0,1000);
hGainTimesCorrection->SetBinContent(qtArray+1,chm,gain*gainCorrection);
--- ---------- > generate gain.root
Used in /star/data01/pwg/mriganka/pyth/eAll/eT1/t/r/simuComp/JP1
StRoot/StSpinPool/StFmsTriggerMaker/StFmsTriggerMaker.cxx
TFile *_file0 = TFile::Open("/star/data01/pwg/mriganka/fulljet/full/TestLater/gains.root");
TH2F *hh = (TH2F*)_file0->Get("hGtineC");
Int_t dId = fms->getHit(i)->detectorId();
Int_t chm = fms->getHit(i)->channel();
Float_t gain = gStFmsDbMaker->getGain(dId,chm);
Float_t gainCorrection = gStFmsDbMaker->getGainCorrection(dId,chm);
Float_t gC = hh->GetBinContent(dId-7,chm);
if(1./float(gC)<40) writeQtCrate(fms->getHit(i)->qtCrate(), fms->getHit(i)->qtSlot()-1, fms->getHit(i)->qtChannel(), (fms->getHit(i)->energy())/gC + 0.5, 5);
/////////////////////////////////////////////////////////////////////////////////////////////////////////
/star/data01/pwg/mriganka/simFMS/fms2011pams/Mod1/Submit_3_4.xml
/star/data01/pwg/mriganka/pyth/eAll/eT1/t/r/simuComp/JP1 (recontruction+jet tree)
Sub_.xml
////////////////////////////////////////////////////////
/Users/mriganka/ptHardBins/ana3/root/s/p/anaF/drawMix.C
- mriganka's blog
- Login or register to post comments