]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliAnalysisTaskESDfilter.h
Coverity 18290 solved by non-implemented private copy constructor and assignment...
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskESDfilter.h
index 05b287a9822588054650933b69b92004fb03a43f..1319257a19a3b4bac08bdf2efb2e0fd934e9a796 100644 (file)
@@ -59,9 +59,19 @@ class AliAnalysisTaskESDfilter : public AliAnalysisTaskSE
     virtual void SetAODPID(AliESDtrack *esdtrack, AliAODTrack *aodtrack, AliAODPid *detpid);
     void SetDetectorRawSignals(AliAODPid *aodpid, AliESDtrack *track);
 
+    void SetV0Cuts(const Double_t cuts[7]) {for (Int_t icut = 0; icut<7; icut++) fV0Cuts[icut] = cuts[icut];}
+
+    void SetCascadeCuts(const Double_t cuts[8]) {for (Int_t icut = 0; icut<8; icut++) fCascadeCuts[icut] = cuts[icut];} 
+
+    void GetV0Cuts(Double_t cuts[7]) const {for (Int_t icut = 0; icut<7; icut++) cuts[icut] = fV0Cuts[icut];}
+
+    void GetCascadeCuts(Double_t cuts[8]) const {for (Int_t icut = 0; icut<8; icut++) cuts[icut] = fCascadeCuts[icut];}
+
+
   void PrintTask(Option_t *option="all", Int_t indent=0) const;
   
   void DisableVZERO() { fIsVZEROEnabled = kFALSE; }
+  void DisableTZERO() { fIsTZEROEnabled = kFALSE; }
   void DisableZDC()   { fIsZDCEnabled   = kFALSE; }
   void DisableCascades() { fAreCascadesEnabled = kFALSE; }
   void DisableV0s() { fAreV0sEnabled = kFALSE; }
@@ -70,8 +80,11 @@ class AliAnalysisTaskESDfilter : public AliAnalysisTaskSE
   void DisablePmdClusters() { fArePmdClustersEnabled = kFALSE; }
   void DisableCaloClusters() { fAreCaloClustersEnabled = kFALSE; }
   void DisableCells() { fAreEMCALCellsEnabled = fArePHOSCellsEnabled = kFALSE; }
+  void DisableCaloTrigger(TString calo = "PHOS") { if (calo.Contains("EMCAL")) fAreEMCALTriggerEnabled = kFALSE; else fArePHOSTriggerEnabled = kFALSE; }
   void DisableTracklets() { fAreTrackletsEnabled = kFALSE; }
 
+  void EnableV0CascadeVerticesReco() { fIsV0CascadeRecoEnabled = kTRUE; }
+
   virtual void SetTimeZeroType(AliESDpid::EStartTimeType_t tofTimeZeroType) {fTimeZeroType = tofTimeZeroType;}
   
 private:
@@ -90,12 +103,14 @@ private:
   void ConvertCaloClusters(const AliESDEvent& esd);
   void ConvertEMCALCells(const AliESDEvent& esd);
   void ConvertPHOSCells(const AliESDEvent& esd);
+  void ConvertCaloTrigger(TString calo, const AliESDEvent& esd);
   void ConvertTracklets(const AliESDEvent& esd);
   void ConvertTPCOnlyTracks(const AliESDEvent& esd);
   void ConvertGlobalConstrainedTracks(const AliESDEvent& esd);
   void ConvertVZERO(const AliESDEvent& esd);
+  void ConvertTZERO(const AliESDEvent& esd);
   void ConvertZDC(const AliESDEvent& esd);
-  
   TClonesArray& Tracks();
   TClonesArray& V0s();
   TClonesArray& Vertices();
@@ -134,7 +149,9 @@ private:
   Bool_t fWriteHybridGCOnly;// write only the complent tracks not all global constrained
 
   Bool_t fIsVZEROEnabled; // whether or not to fill the vzero branch (true by default)
+  Bool_t fIsTZEROEnabled; // whether or not to fill the tzero branch (true by default)
   Bool_t fIsZDCEnabled; // whether or not to fill the zdc branch (true by default)
+  Bool_t fIsV0CascadeRecoEnabled; // whether or not to reconstruct again V0s and cascades (false by default)
   Bool_t fAreCascadesEnabled; // whether or not to fill the cascades branch (true by default)
   Bool_t fAreV0sEnabled; // whether or not to fill the v0 branch (true by default)
   Bool_t fAreKinksEnabled; // whether or not to fill the kinks (true by default)
@@ -143,13 +160,18 @@ private:
   Bool_t fAreCaloClustersEnabled; // whether or not to fill the calo clusters (true by default)
   Bool_t fAreEMCALCellsEnabled; // whether or not to fill the emcal cells (true by default)
   Bool_t fArePHOSCellsEnabled; // whether or not to fill the phos cells (true by default)
+  Bool_t fAreEMCALTriggerEnabled; // whether or not to fill the emcal trigger (true by default)
+  Bool_t fArePHOSTriggerEnabled; // whether or not to fill the phos trigger (true by default)
   Bool_t fAreTrackletsEnabled; // whether or not to fill the tracklets (true by default)
   AliESDpid* fESDpid; // esd pid
   Bool_t fIsPidOwner; // whether we own fESDpid
   Int_t fTimeZeroType;  //  time zero type 
   AliESDtrackCuts* fTPCaloneTrackCuts; // TPC stand-alone track cuts
+  Double_t        fV0Cuts[7];       // Array to store the values for the different reco selections V0 related
+  Double_t        fCascadeCuts[8];  // Array to store the values for the different reco selections cascades related
+  
   
-  ClassDef(AliAnalysisTaskESDfilter, 11); // Analysis task for standard ESD filtering
+  ClassDef(AliAnalysisTaskESDfilter, 13); // Analysis task for standard ESD filtering
 };
+
 #endif