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 53462280e7929922d9f57bc05db0b85795b57c92..0f8e338ec206b0493fdd6bd3939969334f7e8c02 100644 (file)
@@ -126,6 +126,7 @@ public:
     }
     
     AliAnalysisEtCuts * GetCuts() const { return fCuts; }
+    AliAnalysisEtSelector *GetSelector() const {return fSelector;}
     
 
     // Read in corrections
index d09abb24ed0e1c18beedacfbc6f593d113c53d8d..92e20a30944a0958af9893efe288b47961155bfb 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 01698a6a5476d7005fcee307fd1ec319b415da0b..a64ee5c990674a418ab7c3ac5d2274bcc580afa4 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;}
   }