3 char *inputFile =
"root://rcas6132.rcf.bnl.gov:1095//home/starreco/reco/ppProductionLong/FullField/P06ie/2006/131/7131043/st_physics_7131043_raw_1020001.MuDst.root",
4 char *outputFile =
"test.root"
9 cout <<
"****************************************" << endl;
10 cout <<
"Reading MuDst File : " << inputFile << endl;
11 cout <<
"Writing Output File : " << outputFile << endl;
14 cout <<
"Loading common libraries..." << endl;
16 gROOT->Macro(
"loadMuDst.C");
17 gROOT->Macro(
"LoadLogger.C");
19 gSystem->Load(
"libMinuit");
20 gSystem->Load(
"StDetectorDbMaker");
21 gSystem->Load(
"StDbUtilities");
22 gSystem->Load(
"StDbBroker");
23 gSystem->Load(
"St_db_Maker");
24 gSystem->Load(
"StSpinDbMaker");
26 gSystem->Load(
"libgeometry_Tables");
27 gSystem->Load(
"StDaqLib");
28 gSystem->Load(
"StEmcRawMaker");
29 gSystem->Load(
"StEmcADCtoEMaker");
31 gSystem->Load(
"StEEmcDbMaker");
32 gSystem->Load(
"StEEmcUtil");
33 gSystem->Load(
"StEEmcA2EMaker");
34 gSystem->Load(
"StEEmcClusterMaker");
36 gSystem->Load(
"StMCAsymMaker");
37 gSystem->Load(
"StJetSkimEvent");
38 gSystem->Load(
"StGammaMaker");
50 muDstMaker->
SetStatus(
"PrimaryVertices", 1);
51 muDstMaker->
SetStatus(
"PrimaryTracks", 1);
97 EEanalysis->
source(
"MuDst", 1);
115 gammaMaker->setOutputFile(outputFile);
116 gammaMaker->storeEmptyEvents();
118 gammaMaker->setClusterEtThreshold(5.1);
119 gammaMaker->setConeRadius(0.4);
120 gammaMaker->setBsmdRange(0.05237);
121 gammaMaker->setEsmdRange(20.0);
123 gammaMaker->setSeedEnergyThreshold(3.6);
124 gammaMaker->setClusterEnergyThreshold(5.1);
126 gammaMaker->setTrackEtRawThreshold(0.0);
127 gammaMaker->setTowerEtRawThreshold(0.0);
129 gammaMaker->setEemcTowerClusterThreshold(0.1);
143 for(
int iev = 0; iev < ntotal; ++iev)
146 cout <<
"********** Processing Event: " << iev <<
" **********" << endl;
149 stat = chain->
Make();
153 cout <<
"Bad return code!" << endl;
163 cout <<
"****************************************** " << endl;
164 cout << total <<
" Total Events" << endl;
165 cout <<
"****************************************** " << endl;
EEmc ADC –> energy maker.
void setPrint(Bool_t)
Obsolete function; users can control messages with logger config file.
void source(const Char_t *, Int_t=0)
virtual void Clear(Option_t *option="")
User defined functions.
void threshold(Float_t cut, Int_t layer)
virtual void ls(Option_t *option="") const
void SetStatus(const char *arrType, int status)
void database(const Char_t *)
Set the name of the EEMC database, init obtains pointer.