38 Int_t max_zero_count = 100;
41 void runEEmcL2Timing( Int_t nevents = 30000,
42 Char_t *name =
"8327013.list",
43 Char_t *ofile=
"8327013.root",
44 Float_t tower_delay=19.,
45 Float_t mapmt_delay=65.,
51 TString pathname = path;
58 gMessMgr -> SwitchOn(
"I");
60 gSystem->mkdir(
"timing_files/");
61 TString myofile=
"timing_files/";
64 TFile *out=
new TFile(ofile,
"recreate");
66 timing->setRunNumber( atoi( name ) );
67 timing->setTiming( tower_delay, mapmt_delay );
68 timing->setTowerCuts( 25, 75 );
69 timing->setMapmtCuts( 50, 150 );
70 timing->setOutputFile( myofile );
89 gROOT -> LoadMacro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
90 loadSharedLibraries();
92 gSystem->Load(
"StDbLib");
93 gSystem->Load(
"StDbBroker");
94 gSystem->Load(
"St_db_Maker");
95 gSystem->Load(
"StEEmcUtil");
96 gSystem->Load(
"StEEmcDbMaker");
97 gSystem->Load(
"StEEmcSimulatorMaker");
99 gSystem->Load(
"StEEmcA2EMaker");
100 gSystem->Load(
"StEEmcTimingMaker");
EEmc ADC –> energy maker.
void processFromL2(const Char_t *name, int nevents)
Process ready-made histograms from level 2.
void addTowerMask(Int_t cr, Int_t ch)
Add a tower mask. Count crates from 1, channels from 0.