tr.SetDetector("CTS"); //PID determined by CTS\r
}\r
\r
- if(GetReader()->GetAODCTSNormalInputEntries() <= itrk) tr.SetInputFileIndex(1);\r
+ //if(GetReader()->GetAODCTSNormalInputEntries() <= itrk) tr.SetInputFileIndex(1);\r
//Make this preserve sign of particle\r
if(track->Charge() < 0) tr.SetPdg(11); //electron is 11\r
else tr.SetPdg(-11); //positron is -11\r
//FIXME: Add a check for whether file 2 is PYTHIA or HIJING\r
//If PYTHIA, then set the vertex from file 2, if not, use the\r
//vertex from file 1\r
- if(GetReader()->GetSecondInputAODTree()) GetReader()->GetSecondInputAODVertex(vertex);\r
+ //if(GetReader()->GetSecondInputAODTree()) GetReader()->GetSecondInputAODVertex(vertex);\r
}\r
\r
TVector3 primV(vertex[0],vertex[1],vertex[2]) ;\r
if(!mcparticles0 && GetDebug() > 0) {\r
printf("AliAnaBtag::MakeAnalysisFillHistograms() - Standard MCParticles not available!\n");\r
}\r
- if(GetReader()->GetSecondInputAODTree()){\r
- mcparticles1 = GetReader()->GetAODMCParticles(1);\r
- if(!mcparticles1 && GetDebug() > 0) {\r
- printf("AliAnaBtag::MakeAnalysisFillHistograms() - Second input MCParticles not available!\n");\r
- }\r
- }\r
+// if(GetReader()->GetSecondInputAODTree()){\r
+// mcparticles1 = GetReader()->GetAODMCParticles(1);\r
+// if(!mcparticles1 && GetDebug() > 0) {\r
+// printf("AliAnaBtag::MakeAnalysisFillHistograms() - Second input MCParticles not available!\n");\r
+// }\r
+// }\r
\r
Int_t npart0 = mcparticles0->GetEntriesFast();\r
Int_t npart1 = 0;\r