added histograms to check prolongate track
authorssakai <Shingo.Sakai@lnf.infn.it>
Wed, 4 Jun 2014 14:32:24 +0000 (16:32 +0200)
committerssakai <Shingo.Sakai@lnf.infn.it>
Wed, 4 Jun 2014 14:33:24 +0000 (16:33 +0200)
PWGHF/hfe/AliAnalysisTaskHFECal.cxx
PWGHF/hfe/AliAnalysisTaskHFECal.h

index 4f35467..a587bc9 100644 (file)
@@ -217,7 +217,8 @@ AliAnalysisTaskHFECal::AliAnalysisTaskHFECal(const char *name)
   ,fIncRecoMaxE(0)
   ,fPhoRecoMaxE(0)
   ,fSamRecoMaxE(0) 
-  ,fPhoVertexReco_HFE(0)
+  ,fPhoVertexReco_TPC(0)
+  ,fPhoVertexReco_TPC_Invmass(0)
   ,fPhoVertexReco_EMCal(0)
   ,fPhoVertexReco_Invmass(0)
   ,fPhoVertexReco_step0(0)
@@ -379,7 +380,8 @@ AliAnalysisTaskHFECal::AliAnalysisTaskHFECal()
   ,fIncRecoMaxE(0)
   ,fPhoRecoMaxE(0)
   ,fSamRecoMaxE(0)
-  ,fPhoVertexReco_HFE(0)
+  ,fPhoVertexReco_TPC(0)
+  ,fPhoVertexReco_TPC_Invmass(0)
   ,fPhoVertexReco_EMCal(0)
   ,fPhoVertexReco_Invmass(0)
   ,fPhoVertexReco_step0(0)
@@ -868,7 +870,6 @@ void AliAnalysisTaskHFECal::UserExec(Option_t*)
     if(nITS<2.5)continue;
     if(nTPCcl<100)continue;
  
-    if(mcPho)fPhoVertexReco_HFE->Fill(track->Pt(),conv_proR,mcWeight); // check MC vertex
   
     CheckNclust->Fill(nTPCcl); 
     CheckNits->Fill(nITS); 
@@ -927,6 +928,8 @@ void AliAnalysisTaskHFECal::UserExec(Option_t*)
            fIncpTMCpho_pi0e_TPC->Fill(phoval,mcWeight);    
            if(fFlagPhotonicTPC) fPhoElecPtMC_pi0e_TPC->Fill(phoval,mcWeight);
            if(fFlagConvinatTPC) fSameElecPtMC_pi0e_TPC->Fill(phoval,mcWeight);
+           fPhoVertexReco_TPC->Fill(track->Pt(),conv_proR,mcWeight); // check MC vertex
+           if(fFlagPhotonicTPC)fPhoVertexReco_TPC_Invmass->Fill(track->Pt(),conv_proR,mcWeight); // check MC vertex
           }
         if(mcOrgEta)
           {
@@ -1549,9 +1552,13 @@ void AliAnalysisTaskHFECal::UserCreateOutputObjects()
   fSamRecoMaxE = new TH2D("fSamRecoMaxE","Same",10,0,100,100,0,500);
   fOutputList->Add(fSamRecoMaxE);
 
-  fPhoVertexReco_HFE = new TH2D("fPhoVertexReco_HFE","photon production Vertex mass selection",40,0,20,250,0,50);
-  fPhoVertexReco_HFE->Sumw2();
-  fOutputList->Add(fPhoVertexReco_HFE);
+  fPhoVertexReco_TPC = new TH2D("fPhoVertexReco_TPC","photon production Vertex mass selection TPC",40,0,20,250,0,50);
+  fPhoVertexReco_TPC->Sumw2();
+  fOutputList->Add(fPhoVertexReco_TPC);
+
+  fPhoVertexReco_TPC_Invmass = new TH2D("fPhoVertexReco_TPC_Invmass","photon production Vertex mass selection TPC Invmass",40,0,20,250,0,50);
+  fPhoVertexReco_TPC_Invmass->Sumw2();
+  fOutputList->Add(fPhoVertexReco_TPC_Invmass);
 
   fPhoVertexReco_EMCal = new TH2D("fPhoVertexReco_EMCal","photon production Vertex mass selection",40,0,20,250,0,50);
   fPhoVertexReco_EMCal->Sumw2();
index 610d93e..81fc2d2 100644 (file)
@@ -211,7 +211,8 @@ class AliAnalysisTaskHFECal : public AliAnalysisTaskSE {
  TH2D                   *fIncRecoMaxE;
  TH2D                   *fPhoRecoMaxE;
  TH2D                   *fSamRecoMaxE; 
- TH2D                   *fPhoVertexReco_HFE;
+ TH2D                   *fPhoVertexReco_TPC;
+ TH2D                   *fPhoVertexReco_TPC_Invmass;
  TH2D                   *fPhoVertexReco_EMCal;
  TH2D                   *fPhoVertexReco_Invmass;
  TH2D                   *fPhoVertexReco_step0;