24 char* inpFile =
"ttm.lis",
25 char* outFile =
"ttm.ndst.root",
40 gROOT->LoadMacro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
41 loadSharedLibraries();
43 gSystem->Load(
"libmysqlclient");
44 gSystem->Load(
"StDbLib");
45 gSystem->Load(
"StDbBroker");
46 gSystem->Load(
"St_db_Maker");
48 gSystem->Load(
"StEEmcUtil");
49 gSystem->Load(
"StEEmcDbMaker");
50 gSystem->Load(
"StEEmcPoolTTM");
61 muDstMk =
new StMuDstMaker(0,0,inpDir,inpFile,
"",nFiles);
87 eemcDb->setPreferedFlavor(
"onlped",
"eemcPMTped");
92 while(++event<=nEvents || nEvents<0) {
96 if( stat==2 || stat==4)
break;
97 if( stat!=0 )
continue;
99 cerr <<
"event " <<
event <<
" \r";
void SetDeltaEtaCut(Double_t v=1.0)
sets delta eta cut see matchparams
void SetMinTrackPt(Double_t v)
sets minimum track pT required
void SetMinTrackEta(Double_t v)
sets minimum pseudorapidity at the origin required
static void setLevel(unsigned int level)
sets the debug level
EEmcTTMMaker(const char *self="ttmmk", class StMuDstMaker *mumaker=NULL)
ostream & Summary(ostream &out) const
prints matching cuts and statistics summary
void SetMaxTrackEta(Double_t v)
sets minimum pseudorapidity at the origin required
void SetMinTrackLength(Double_t v)
sets minimum track length required
virtual void ls(Option_t *option="") const
void SetDeltaPhiCut(Double_t v=1.0)
sets delta phi cut see matchparams
void SetMaxCTBSum(Int_t v)
sets maximum CTB sum allowed
EEmcTTMatch class contains results of TPC track to EEMC tower matching.
void SetMinTrackHits(Int_t v)
sets minimum number of hits/track required
void SetFileName(const char *string)
set output file name
EEmcTower holds information about an EEMC tower 'hit'.