another fix to implementation of 2011 geometry
authorcnattras <saccharomyces.cerevisae@gmail.com>
Sat, 21 Jun 2014 21:04:34 +0000 (17:04 -0400)
committercnattras <saccharomyces.cerevisae@gmail.com>
Sat, 21 Jun 2014 21:04:34 +0000 (17:04 -0400)
PWGLF/totEt/AliAnalysisEt.h
PWGLF/totEt/AliAnalysisEtSelector.h
PWGLF/totEt/AliAnalysisTaskTotEt.cxx

index 5346228..0f8e338 100644 (file)
@@ -126,6 +126,7 @@ public:
     }
     
     AliAnalysisEtCuts * GetCuts() const { return fCuts; }
+    AliAnalysisEtSelector *GetSelector() const {return fSelector;}
     
 
     // Read in corrections
index d09abb2..92e20a3 100644 (file)
@@ -94,6 +94,7 @@ public:
     // Get correct cluster label - PHOS needs different method
     virtual UInt_t GetLabel(const AliESDCaloCluster *cluster, AliStack *stack){if(!stack){return 0;}else{return TMath::Abs(cluster->GetLabel());}}
     
+    AliAnalysisEtCuts * GetCuts() const { return fCuts; }
 protected:
   
     const AliVEvent *fEvent; //! Pointer to current event
index 01698a6..a64ee5c 100644 (file)
@@ -197,11 +197,15 @@ void AliAnalysisTaskTotEt::UserCreateOutputObjects()
     if(fMCAnalysis && fMCAnalysis->GetCuts()){
       fMCAnalysis->GetCuts()->SetGeometryEmcalPhiAccMinCut(80);
       fMCAnalysis->GetCuts()->SetGeometryEmcalPhiAccMaxCut(80+100);
+      fMCAnalysis->GetSelector()->GetCuts()->SetGeometryEmcalPhiAccMinCut(80);
+      fMCAnalysis->GetSelector()->GetCuts()->SetGeometryEmcalPhiAccMaxCut(80+100);
     }
     else{if(fMCAnalysis)cerr<<"Error!  MC fCuts does not exist!"<<endl;}
     if(fRecAnalysis->GetCuts()){
       fRecAnalysis->GetCuts()->SetGeometryEmcalPhiAccMinCut(80);
       fRecAnalysis->GetCuts()->SetGeometryEmcalPhiAccMaxCut(80+100);
+      fRecAnalysis->GetSelector()->GetCuts()->SetGeometryEmcalPhiAccMinCut(80);
+      fRecAnalysis->GetSelector()->GetCuts()->SetGeometryEmcalPhiAccMaxCut(80+100);
     }
     else{cerr<<"Error!  Reco fCuts does not exist!"<<endl;}
   }