]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG/CaloTrackCorrBase/AliCaloTrackReader.h
add possibility to analyze triggered events and create a pool with MB tracks, fill...
[u/mrichter/AliRoot.git] / PWG / CaloTrackCorrBase / AliCaloTrackReader.h
index 2fbc981d2c0f900a7cb4530765542fbcfd5fc9f6..8e47f8f03d4a180ea871f33ee23a2f1efed37d41 100755 (executable)
@@ -118,7 +118,11 @@ public:
   void             SetEMCALEMax (Float_t  e)               { SetEMCALPtMax(e)              ; }
   void             SetPHOSEMax  (Float_t  e)               { SetPHOSPtMax (e)              ; }
   
-  
+  Double_t         GetEMCALTimeCutMin()             const { return fEMCALTimeCutMin        ; }
+  Double_t         GetEMCALTimeCutMax()             const { return fEMCALTimeCutMax        ; } 
+
+  void             SetEMCALTimeCut(Double_t a, Double_t b) { fEMCALTimeCutMin = a; 
+                                                             fEMCALTimeCutMax = b          ; } // ns
   // Fidutial cuts  
   virtual AliFiducialCut * GetFiducialCut()                { 
                     if(!fFiducialCut) fFiducialCut = new AliFiducialCut(); 
@@ -204,6 +208,14 @@ public:
   TString          GetFiredTriggerClassName()        const { return fFiredTriggerClassName   ; }
   TString          GetFiredTriggerClasses() ;               
   
+  UInt_t           GetEventTriggerMask()                 const { return fEventTriggerMask        ; }
+  void             SetEventTriggerMaks(UInt_t evtTrig = AliVEvent::kAny) 
+                                                           { fEventTriggerMask = evtTrig     ; }
+  
+  Bool_t           IsEventTriggerAtSEOn()           const { return fEventTriggerAtSE         ; }
+  void             SwitchOnEventTriggerAtSE()             { fEventTriggerAtSE       = kTRUE  ; }
+  void             SwitchOffEventTriggerAtSE()            { fEventTriggerAtSE       = kFALSE ; }
+  
   void             SwitchOnEventSelection()                { fDoEventSelection      = kTRUE  ; }
   void             SwitchOffEventSelection()               { fDoEventSelection      = kFALSE ; }
   Bool_t           IsEventSelectionDone()            const { return fDoEventSelection        ; } 
@@ -280,7 +292,7 @@ public:
   virtual Double_t GetBField()                       const { return fInputEvent->GetMagneticField()  ; } 
   
   void    SetImportGeometryFromFile(Bool_t import, 
-                                    TString path = ".")    { 
+                                    TString path = "")     { 
                                                              fImportGeometryFromFile = import    ; 
                                                              fImportGeometryFilePath = path      ; }      
   
@@ -353,7 +365,9 @@ public:
   Float_t          fCTSPtMax;       // pT Threshold on charged particles 
   Float_t          fEMCALPtMax;     // pT Threshold on emcal clusters
   Float_t          fPHOSPtMax;      // pT Threshold on phos clusters
-  
+  Double_t         fEMCALTimeCutMin;// Remove clusters/cells with time smaller than this value, in ns
+  Double_t         fEMCALTimeCutMax;// Remove clusters/cells with time larger than this value, in ns
+
   TList          * fAODBranchList ; //-> List with AOD branches created and needed in analysis  
   TObjArray      * fCTSTracks ;     //-> temporal array with tracks
   TObjArray      * fEMCALClusters ; //-> temporal array with EMCAL CaloClusters
@@ -384,6 +398,9 @@ public:
   TString          fDeltaAODFileName   ; // Delta AOD file name
   TString          fFiredTriggerClassName; // Name of trigger event type used to do the analysis
 
+  UInt_t           fEventTriggerMask ;   // select this triggerered event
+  Bool_t           fEventTriggerAtSE;    // select triggered event at SE base task or here
+  
   Bool_t           fAnaLED;              // Analyze LED data only.
 
   TString          fTaskName;            // Name of task that executes the analysis
@@ -424,7 +441,7 @@ public:
   AliCaloTrackReader(              const AliCaloTrackReader & r) ; // cpy ctor
   AliCaloTrackReader & operator = (const AliCaloTrackReader & r) ; // cpy assignment
   
-  ClassDef(AliCaloTrackReader,35)
+  ClassDef(AliCaloTrackReader,37)
   
 } ;