Double_t primaryvertex[3] = {0.,0.,0,};
// sigle track cuts
-const Double_t kPtCut = 0.5; // GeV/c
-const Double_t kd0Cut = 50.; // micron
+const Double_t kPtCut = 0.5; // GeV/c
+const Double_t kd0Cut = 50.; // micron
const Double_t kd0CutHigh = 200.; // micron
//cuts for combined tracks
-// cuts[0] = lowest V0 cut
-// cuts[1] = highest V0 cut
-// cuts[2] = inv. mass cut (diiferense)
-// cuts[3] = max value for pointing angle
-const Double_t cuts[4] = {0.005,
- 0.02,
- 0.5,
- 0.95};
-
-// this function applies single track cuts
-Bool_t TrkCuts(const AliITStrackV2& trk);
-
-// this function creates TObjArrays with positive and negative tracks
-void SelectTracks(TTree& itsTree,
- TObjArray& trksP,Int_t* itsEntryP,Int_t& nTrksP,
- TObjArray& trksN,Int_t* itsEntryN,Int_t& nTrksN);
-
-//void GetPrimaryVertex(int i,Char_t* path="./");
+const Double_t cuts[5] = {0.005, // cuts[0] = lowest V0 cut (cm)
+ 200, // cuts[1] = highest V0 cut (cm) //0.02
+ 0.1, // cuts[2] = inv. mass cut (diferense) (Gev/c)
+ 0.95, // cuts[3] = max cosine value for pointing angle
+ -5000}; // cuts[4] = max cosine value for pointing angle
Int_t iTrkP,iTrkN,itsEntries;
Char_t trksName[100];
Int_t nD0=0;
int ev=0;
-void RunD0Trigger(Int_t evFirst=0,Int_t evLast=1,Char_t* path="./") {
+void RunD0Trigger(Int_t evFirst=0,Int_t evLast=1,Char_t* path="./") {
const Char_t *name="AliD0Trigger";
cerr<<'\n'<<name<<"...\n";