virtual void UserCreateOutputObjects();
virtual void Init();
virtual void LocalInit() {Init();}
+ virtual Bool_t Notify();
virtual void UserExec(Option_t *option);
virtual void Terminate(Option_t *option);
void GetCascadeCuts(Double_t cuts[8]) const {for (Int_t icut = 0; icut<8; icut++) cuts[icut] = fCascadeCuts[icut];}
+ Bool_t AddMetadataToUserInfo();
void PrintTask(Option_t *option="all", Int_t indent=0) const;
void DisableVZERO() { fIsVZEROEnabled = kFALSE; }
void EnableV0CascadeVerticesReco() { fIsV0CascadeRecoEnabled = kTRUE; }
void SetPropagateTrackToEMCal(Bool_t propagate) {fDoPropagateTrackToEMCal = propagate;}
+ void SetEMCalSurfaceDistance(Double_t d) {fEMCalSurfaceDistance = d;}
- virtual void SetTimeZeroType(AliESDpid::EStartTimeType_t tofTimeZeroType) {fTimeZeroType = tofTimeZeroType;}
private:
AliAnalysisTaskESDfilter(const AliAnalysisTaskESDfilter&);
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
- Bool_t fDoPropagateTrackToEMCal; // whether or not to propagate the tracks to EMCal surface (430cm) -- true by default
+ Bool_t fDoPropagateTrackToEMCal; // whether or not to propagate the tracks to the EMCal surface -- true by default
+ Double_t fEMCalSurfaceDistance; // EMCal surface distance from the center of the detector (r = 440 by default)
- ClassDef(AliAnalysisTaskESDfilter, 15); // Analysis task for standard ESD filtering
+ ClassDef(AliAnalysisTaskESDfilter, 17); // Analysis task for standard ESD filtering
};
#endif