43 fOutputESDfriend(0x0),
60 fOutputESDfriend(0x0),
100 if (&other !=
this) {
120 if (
fDebug > 1)
printf(
"AnalysisTaskFilter::ConnectInputData() \n");
132 AliError(
"No Input Event found, the friend will remain empty");
136 AliError(
"No Input Event Handler connected") ;
147 if (
fDebug > 1)
printf(
"AnalysisTaskFilter::CreateOutPutData() \n");
155 AliWarning(
"No AOD Event Handler connected.") ;
186 AliDebug(2,
"Copying VZERO friend object");
193 AliDebug(2,
"The event was not selected");
222 AliDebug(2,Form(
"Friend at index %d already there but dummy - the skip bit will be set to FALSE", index));
226 AliDebug(2,Form(
"Friend at index %d already there and not dummy", index));
231 AliDebug(2,Form(
"Track at %d not there yet ",index));
233 AliDebug(2,Form(
"Adding track at %d",index));
247 AliDebug(2,Form(
"Track already there (no matter what validity) at %d, keeping it as it is", index));
250 AliDebug(2,Form(
"Adding NULL track at %d, and setting skip bit to TRUE",index));
AliAnalysysTask - Class representing a basic analysis task. Any user-defined task should derive from...
void SelectEventForFriends()
printf("Chi2/npoints = %f\n", TMath::Sqrt(chi2/npoints))
virtual Bool_t UserSelectESDfriendForCurrentEvent()
void AddFriendTrackAt(AliESDfriendTrack *t, Int_t index)
AliAnalysisTaskFilter & operator=(const AliAnalysisTaskFilter &other)
TTree * fTreeEF
ESD friend output Tree.
Bool_t IsConnected() const
static AliAnalysisManager * GetAnalysisManager()
Bool_t PostData(Int_t iout, TObject *data, Option_t *option="")
void DefineInput(Int_t islot, TClass *type)
AliAnalysisTask & operator=(const AliAnalysisTask &task)
Bool_t TestSkipBit() const
virtual void UserExec(Option_t *)
void SetVZEROfriend(const AliESDVZEROfriend *obj)
void SetSkipBit(Bool_t skip)
AliESDfriend * GetESDfriend()
#define AliWarning(message)
virtual TTree * GetTree() const
AliESDfriendTrack * AddTrackAt(const AliESDfriendTrack *t, Int_t i, Bool_t shallow=kFALSE)
virtual void CreateOutputObjects()
Int_t fEntry
Current entry in the chain.
virtual const char * CurrentFileName()
virtual TObject * FindListObject(const char *name) const =0
AliInputEventHandler * fInputHandler
! Input Handler
AliAnalysysDataSlot Class representing a data slot of an analysis task. An analysis slot enforces a c...
AliVEvent * fInputEvent
! VEvent Input
AliAnalysisDataSlot * GetOutputSlot(Int_t islot) const
AliESDfriend * fInputESDfriend
! ESD friend input
virtual void UserCreateOutputObjects()
virtual void ConnectInputData(Option_t *option="")
AliESDVZEROfriend * GetVZEROfriend()
#define AliDebug(logLevel, message)
Base class for filtering friends.
void SkipFriendTrackAt(Int_t index)
virtual void Exec(Option_t *option)
#define AliError(message)
void DefineOutput(Int_t islot, TClass *type)
AliESDfriendTrack * GetTrack(Int_t i) const
AliESDfriend * fOutputESDfriend
! ESD friend out