10 void testWff(
int nevt = 1,
11 const char* outdir=
"test.root",
12 const char* file=
"st_fwd_23080044_raw_1000019.MuDst.root",
16 gROOT->Macro(
"Load.C");
17 gROOT->Macro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
18 gSystem->Load(
"StEventMaker");
19 gSystem->Load(
"StFcsDbMaker");
20 gSystem->Load(
"StFcsRawHitMaker");
21 gSystem->Load(
"StFcsWaveformFitMaker");
22 gSystem->Load(
"libMinuit");
28 gStyle->SetOptDate(0);
33 int n=muDstMaker->
tree()->GetEntries();
34 printf(
"Found %d entries in Mudst\n",n);
38 dbMk->SetAttr(
"blacklist",
"tpc");
39 dbMk->SetAttr(
"blacklist",
"svt");
40 dbMk->SetAttr(
"blacklist",
"ssd");
41 dbMk->SetAttr(
"blacklist",
"ist");
42 dbMk->SetAttr(
"blacklist",
"pxl");
43 dbMk->SetAttr(
"blacklist",
"pp2pp");
44 dbMk->SetAttr(
"blacklist",
"ftpc");
45 dbMk->SetAttr(
"blacklist",
"emc");
46 dbMk->SetAttr(
"blacklist",
"eemc");
47 dbMk->SetAttr(
"blacklist",
"mtd");
48 dbMk->SetAttr(
"blacklist",
"pmd");
49 dbMk->SetAttr(
"blacklist",
"tof");
50 dbMk->SetAttr(
"blacklist",
"etof");
51 dbMk->SetAttr(
"blacklist",
"rhicf");
56 fcsDb->setReadGainCorrFromText();
65 wff->setEnergySumScale(1.0,1.0,1.0);
73 for( UInt_t i=0; i<nevt; ++i ){
77 std::cout <<
"========================================" << std::endl;
78 std::cout << clock.RealTime() <<
" seconds" << std::endl;
79 std::cout <<
"========================================" << std::endl;
TTree * tree()
Returns pointer to the current TTree, the top level io structure that holds the event, track, v0, etc. information in branches of that tree.
virtual void Clear(Option_t *option="")
User defined functions.
void setReadMuDst(int v=1)
backward compatubility