]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGGA/EMCALTasks/AliAnalysisTaskEMCALClusterize.h
SHUTTLE module
[u/mrichter/AliRoot.git] / PWGGA / EMCALTasks / AliAnalysisTaskEMCALClusterize.h
index e8133c2bb8630261baa80289be503d020e7bd759..53ab4bcb3447722f70d73b4dc5562e9395145a4e 100644 (file)
@@ -39,11 +39,14 @@ class AliAnalysisTaskEMCALClusterize : public AliAnalysisTaskSE {
   // Event methods, settings
   
   Bool_t         AcceptEventEMCAL();
-  void           SwitchOnSelectEMCALEvent()                    { fSelectEMCALEvent = kTRUE   ; }
-  void           SwitchOffSelectEMCALEvent()                   { fSelectEMCALEvent = kFALSE  ; }
-  void           SetEMCALEnergyCut(Float_t cut)                { fEMCALEnergyCut = cut       ; }
-  void           SetEMCALNcellsCut(Int_t cut)                  { fEMCALNcellsCut = cut       ; }
+  void           SwitchOnSelectEMCALEvent()                    { fSelectEMCALEvent   = kTRUE   ; }
+  void           SwitchOffSelectEMCALEvent()                   { fSelectEMCALEvent   = kFALSE  ; }
+  void           SetEMCALEnergyCut(Float_t cut)                { fEMCALEnergyCut     = cut     ; }
+  void           SetEMCALNcellsCut(Int_t cut)                  { fEMCALNcellsCut     = cut     ; }
 
+  void           SwitchOnInputAODFilter()                      { fInputFromFilter    = kTRUE   ; }
+  void           SwitchOffInputAODFilter()                     { fInputFromFilter    = kFALSE  ; }
+  
   void           CheckAndGetEvent();
   
   Bool_t         IsExoticEvent();
@@ -109,7 +112,8 @@ class AliAnalysisTaskEMCALClusterize : public AliAnalysisTaskSE {
   void           SwitchOnCellEnergySelection()                  { fSelectCell        = kTRUE   ; }
   void           SwitchOffCellEnergySelection()                 { fSelectCell        = kFALSE  ; } 
   void           SetCellCuts(Float_t e, Float_t frac)           { fSelectCellMinE    = e       ; 
-                                                                  fSelectCellMinFrac = frac    ; }  
+                                                                  fSelectCellMinFrac = frac    ; }
+  void           SetRejectBelowThreshold(Bool_t reject)         { fRejectBelowThreshold =reject ; }
   // OADB options settings
   
   void           AccessOADB() ;
@@ -152,7 +156,7 @@ private:
   virtual void   RecPoints2Clusters();
   
   virtual void   ResetArrays();
-  
+    
   AliVEvent             *fEvent;                   // Event 
   
   //Geometry  
@@ -209,6 +213,7 @@ private:
   Bool_t                 fSelectCell;              // Reject cells from cluster if energy is too low and recalculate position/energy and other
   Float_t                fSelectCellMinE;          // Min energy cell threshold, after unfolding
   Float_t                fSelectCellMinFrac;       // Min fraction of cell energy after unfolding cut
+  Bool_t                 fRejectBelowThreshold;    // split (false-default) or reject (true) cell energy below threshold after UF
   Bool_t                 fRemoveLEDEvents;         // Remove LED events, use only for LHC11a 
   Bool_t                 fRemoveExoticEvents;      // Remove exotic events
   
@@ -235,10 +240,12 @@ private:
   Bool_t                 fRemapMCLabelForAODs ;      // Remap AOD cells MC label
 
   
+  Bool_t                 fInputFromFilter ;          // Get the input from AODs from the filter 
+  
   AliAnalysisTaskEMCALClusterize(           const AliAnalysisTaskEMCALClusterize&); // not implemented
   AliAnalysisTaskEMCALClusterize& operator=(const AliAnalysisTaskEMCALClusterize&); // not implemented
 
-  ClassDef(AliAnalysisTaskEMCALClusterize, 26);
+  ClassDef(AliAnalysisTaskEMCALClusterize, 28);
 
 };