19 const char *venusFile =
"set*geant.root";
20 const char *venusPath =
"/disk00001/star/auau200/venus412/default/b0_3/year_1b/hadronic_on/tfs_4/";
21 const char *dstFile =
"/disk00001/star/auau200/two_photon/starlight/twogam/year_1b/hadronic_on/tfs/ric0022_01_14552evts.dst.root";
22 const char *xdfFile =
"/afs/rhic.bnl.gov/star/data/samples/psc0054_07_40evts_dst.xdf";
23 const char *mdcFile =
"/disk00001/star/auau200/venus412/default/b0_3/year_1b/hadronic_on/tss/psc0081_07_40evts.root";
24 const char *geantFile =
"/disk00000/star/auau200/hijing135/jetq_off/b0_3/year_1b/hadronic_on/tfsr/set0041_01_53evts.geant.root";
25 const char *fileList[] = {dstFile,xdfFile,mdcFile,0};
28 for (
int i=0; i<n*1e6; i++) { }
33 void StHbtKaonTTree(
const Int_t nevents=9999,
34 const Char_t *path=
"/star/data02/scratch/laue/dataSomeEyesOnly/",
35 const Char_t *fileName=
"",
36 const Char_t *extention=
".hbtTTreeMuDst",
37 const Char_t *filter=
".",
38 const int maxFiles=10) {
40 gStyle->SetTextFont(41);
45 gSystem->Load(
"St_base");
46 gSystem->Load(
"StChain");
47 gSystem->Load(
"St_Tables");
48 gSystem->Load(
"StMagF");
49 gSystem->Load(
"StUtilities");
50 gSystem->Load(
"StTreeMaker");
51 gSystem->Load(
"StIOMaker");
52 gSystem->Load(
"StarClassLibrary");
53 gSystem->Load(
"StTpcDb");
54 gSystem->Load(
"StDbUtilities");
55 gSystem->Load(
"StEvent");
56 gSystem->Load(
"StEventMaker");
57 gSystem->Load(
"StEventUtilities");
58 gSystem->Load(
"StEmcUtil");
59 gSystem->Load(
"St_emc_Maker");
60 gSystem->Load(
"StMcEvent");
61 gSystem->Load(
"StMcEventMaker");
62 gSystem->Load(
"StAssociationMaker");
63 gSystem->Load(
"StMcAnalysisMaker");
67 gSystem->Load(
"StStrangeMuDstMaker");
68 gSystem->Load(
"StHbtMaker");
84 TheManager->SetEventReader(Reader);
89 aTrackCut->SetPidProbKaon(0.8,10);
90 aTrackCut->SetNHits(23,50);
91 aTrackCut->SetP(0.1,1.);
92 aTrackCut->SetPt(0.1,1.);
93 aTrackCut->SetEta(-1.1,+1.1);
94 aTrackCut->SetRapidity(-10.,10.);
95 aTrackCut->SetDCA(0.0,3.);
96 aTrackCut->SetCharge(+1);
97 aTrackCut->SetMass(0.494);
117 kaonEvcut->SetEventRefMult(124,1000);
118 kaonEvcut->SetVertZPos(-50.0,+50.0);
119 kaonEvcut->RotationOff();
120 kaonEvcut->SetSmear(0);
121 kaonEvcut->RotationOff();
124 kaonEvcut->AddCutMonitor(multMoniPass, multMoniFail);
125 kaonAnal->SetEventCut(kaonEvcut);
131 kaonTrackCut->AddCutMonitor( dedxMoniNegPass, dedxMoniNegFail);
132 kaonAnal->SetFirstParticleCut(kaonTrackCut);
134 kaonAnal->SetSecondParticleCut(kaonTrackCut);
137 kaonPairCut->SetQuality(-1,+0.65);
138 kaonPairCut->SetEntranceSeparation(2.,1000.);
139 kaonAnal->SetPairCut(kaonPairCut);
141 kaonAnal->SetNumEventsToMix(5);
147 kaonAnal->AddCorrFctn(Qinv);
148 TheManager->AddAnalysis(kaonAnal);
150 cout <<
" kaonAnal - setup done " << endl;
157 for (Int_t iev=0;iev<nevents; iev++) {
158 cout <<
"StHbtExample -- Working on eventNumber " << iev << endl;
161 int iret = chain->
Make(iev);
170 TFile file(
"KaonPidProbWeight.root",
"RECREATE");
virtual void Clear(Option_t *option="")
User defined functions.