AliRoot Core  3dc7879 (3dc7879)
AliPriorsTask Class Reference

#include <AliPriorsTask.h>

Inheritance diagram for AliPriorsTask:

Public Member Functions

 AliPriorsTask ()
 
 AliPriorsTask (const Char_t *name)
 
AliPriorsTaskoperator= (const AliPriorsTask &c)
 
 AliPriorsTask (const AliPriorsTask &c)
 
virtual ~AliPriorsTask ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *option)
 
void Terminate (Option_t *)
 
void SetPriors (Double_t conc[AliPID::kSPECIES])
 
void GetPriors (Double_t conc[AliPID::kSPECIES]) const
 
void SetNiterations (Int_t nIter)
 
Bool_t NotifyBinChange ()
 
- Public Member Functions inherited from AliAnalysisTaskSE
 AliAnalysisTaskSE ()
 
 AliAnalysisTaskSE (const char *name)
 
 AliAnalysisTaskSE (const AliAnalysisTaskSE &obj)
 
AliAnalysisTaskSEoperator= (const AliAnalysisTaskSE &other)
 
virtual ~AliAnalysisTaskSE ()
 
virtual void ConnectInputData (Option_t *option="")
 
virtual void CreateOutputObjects ()
 
virtual void Exec (Option_t *option)
 
virtual void SetDebugLevel (Int_t level)
 
virtual void Init ()
 
virtual Bool_t Notify ()
 
virtual void UserExecMix (Option_t *)
 
virtual Bool_t UserNotify ()
 
virtual void NotifyRun ()
 
virtual void AddAODBranch (const char *cname, void *addobj, const char *fname="")
 
virtual void SelectCollisionCandidates (UInt_t offlineTriggerMask=AliVEvent::kMB)
 
void LoadBranches () const
 
virtual Int_t DebugLevel () const
 
virtual AliVEventInputEvent () const
 
virtual AliVfriendEventESDfriend () const
 
virtual AliAODEventAODEvent () const
 
virtual TTree * OutputTree () const
 
virtual AliMCEventMCEvent () const
 
virtual Long64_t Entry () const
 
virtual const AliEventTagEventTag () const
 
virtual const char * CurrentFileName ()
 
virtual Bool_t IsStandardAOD () const
 
virtual TList * GetQAHistos () const
 
virtual Bool_t IsEventInBinZero ()
 
virtual UInt_t GetCollisionCandidates () const
 
void SetTrackSelectionFactory (AliTrackSelectionFactory *factory)
 
void SetTrackSelection (AliVTrackSelection *sel)
 
- Public Member Functions inherited from AliAnalysisTask
 AliAnalysisTask ()
 
 AliAnalysisTask (const char *name, const char *title)
 
 AliAnalysisTask (const AliAnalysisTask &task)
 
virtual ~AliAnalysisTask ()
 
AliAnalysisTaskoperator= (const AliAnalysisTask &task)
 
virtual void LocalInit ()
 
virtual void FinishTaskOutput ()
 
Bool_t ConnectInput (Int_t islot, AliAnalysisDataContainer *cont)
 
Bool_t ConnectOutput (Int_t islot, AliAnalysisDataContainer *cont)
 
Bool_t AreSlotsConnected ()
 
void CheckNotify (Bool_t init=kFALSE)
 
Bool_t CheckCircularDeps ()
 
virtual Bool_t CheckPostData () const
 
virtual Bool_t CheckOwnership () const
 
virtual void Reset ()
 
virtual Bool_t ResetOutputData ()
 
void GetBranches (const char *type, TString &result) const
 
Int_t GetNinputs () const
 
Int_t GetNoutputs () const
 
TObject * GetPublishedData () const
 
AliAnalysisDataSlotGetInputSlot (Int_t islot) const
 
AliAnalysisDataSlotGetOutputSlot (Int_t islot) const
 
TClass * GetInputType (Int_t islot) const
 
TClass * GetOutputType (Int_t islot) const
 
TObject * GetInputData (Int_t islot) const
 
TObject * GetOutputData (Int_t islot) const
 
Bool_t IsOutputReady (Int_t islot) const
 
Bool_t IsChecked () const
 
Bool_t IsPostEventLoop () const
 
Bool_t IsInitialized () const
 
Bool_t IsReady () const
 
Bool_t IsUsed () const
 
Bool_t IsZombie () const
 
Bool_t HasBranches () const
 
virtual void PrintTask (Option_t *option="all", Int_t indent=0) const
 
void PrintContainers (Option_t *option="all", Int_t indent=0) const
 
Bool_t ProducersTouched () const
 
void SetBranches (const char *names)
 
void SetChecked (Bool_t flag=kTRUE)
 
void SetPostEventLoop (Bool_t flag=kTRUE)
 
void SetUsed (Bool_t flag=kTRUE)
 
void SetZombie (Bool_t flag=kTRUE)
 
Bool_t HasExecuted () const
 

Protected Attributes

TH1I * fHistEventsProcessed
 
TH2D * fCalcPriors
 
Double_t fPriors [AliPID::kSPECIES]
 
Double_t fRecId [AliPID::kSPECIES]
 
Double_t fMCId [AliPID::kSPECIES]
 
Int_t fNiterations
 
Int_t fNiterMax
 
- Protected Attributes inherited from AliAnalysisTaskSE
Int_t fDebug
 Debug flag. More...
 
Int_t fEntry
 Current entry in the chain. More...
 
AliVEventfInputEvent
 ! VEvent Input More...
 
AliVfriendEventfESDfriend
 ! ESD friend More...
 
AliVEventHandlerfInputHandler
 ! Input Handler More...
 
AliAODEventfOutputAOD
 ! AOD out More...
 
AliMCEventfMCEvent
 ! MC More...
 
TTree * fTreeA
 AOD output Tree. More...
 
Int_t fCurrentRunNumber
 ! Current run number More...
 
TList * fHistosQA
 ! Output histos for QA More...
 
UInt_t fOfflineTriggerMask
 Task processes collision candidates only. More...
 
AliMultiInputEventHandlerfMultiInputHandler
 ! pointer to multihandler More...
 
AliInputEventHandlerfMCEventHandler
 ! pointer to MCEventHandler More...
 
AliTrackSelectionFactoryfTrackSelectionFactory
 track selection factory More...
 
AliVTrackSelectionfTrackSelection
 track selection More...
 
- Protected Attributes inherited from AliAnalysisTask
Bool_t fReady
 Flag if the task is ready. More...
 
Bool_t fInitialized
 True if Init() was called. More...
 
Int_t fNinputs
 Number of inputs. More...
 
Int_t fNoutputs
 
Bool_t * fOutputReady
 Flags for output readyness. More...
 
TObject * fPublishedData
 ! published data More...
 
TObjArrayfInputs
 Array of input slots. More...
 
TObjArrayfOutputs
 Array of output slots. More...
 
TString fBranchNames
 List of input branches that need to be loaded for this task. More...
 

Additional Inherited Members

- Public Types inherited from AliAnalysisTask
enum  EAnalysisTaskFlags { kTaskUsed = BIT(14), kTaskZombie = BIT(15), kTaskChecked = BIT(16), kTaskPostEventLoop = BIT(17) }
 
- Protected Member Functions inherited from AliAnalysisTaskSE
void ConnectMultiHandler ()
 
void DisconnectMultiHandler ()
 
TObjArrayGetAcceptedTracks ()
 
- Protected Member Functions inherited from AliAnalysisTask
void DefineInput (Int_t islot, TClass *type)
 
void DefineOutput (Int_t islot, TClass *type)
 
Bool_t PostData (Int_t iout, TObject *data, Option_t *option="")
 
char * GetBranchAddress (Int_t islot, const char *branch) const
 
Bool_t SetBranchAddress (Int_t islot, const char *branch, void *address) const
 
void EnableBranch (Int_t islot, const char *bname) const
 
TFile * OpenFile (Int_t iout, Option_t *option="RECREATE") const
 
- Static Protected Attributes inherited from AliAnalysisTaskSE
static AliAODHeaderfgAODHeader = NULL
 ! Header for replication More...
 
static AliTOFHeaderfgTOFHeader = NULL
 ! TOFHeader for replication More...
 
static AliAODVZEROfgAODVZERO = NULL
 ! VZERO for replication More...
 
static TClonesArray * fgAODTracks = NULL
 ! Tracks for replication More...
 
static TClonesArray * fgAODVertices = NULL
 ! Vertices for replication More...
 
static TClonesArray * fgAODV0s = NULL
 ! V0s for replication More...
 
static TClonesArray * fgAODPMDClusters = NULL
 ! PMDClusters for replication More...
 
static TClonesArray * fgAODJets = NULL
 ! Jets for replication More...
 
static TClonesArray * fgAODFMDClusters = NULL
 ! FMDClusters for replication More...
 
static TClonesArray * fgAODCaloClusters = NULL
 ! CaloClusters for replication More...
 
static AliAODCaloTriggerfgAODEMCALTrigger = NULL
 ! Emcal Trigger for replication More...
 
static AliAODCaloTriggerfgAODPHOSTrigger = NULL
 ! Phos Trigger for replication More...
 
static TClonesArray * fgAODMCParticles = NULL
 ! MC Particles for replicatio More...
 
static AliAODTrackletsfgAODTracklets = NULL
 ! Tracklets for replication More...
 
static AliAODCaloCellsfgAODEmcalCells = NULL
 ! Emcal Cell replication More...
 
static AliAODCaloCellsfgAODPhosCells = NULL
 ! Phos Cell replication More...
 
static TClonesArray * fgAODDimuons = NULL
 ! Dimuons replication More...
 
static TClonesArray * fgAODHmpidRings = NULL
 ! HMPID replication More...
 

Detailed Description

Definition at line 24 of file AliPriorsTask.h.

Constructor & Destructor Documentation

AliPriorsTask::AliPriorsTask ( )

Definition at line 41 of file AliPriorsTask.cxx.

AliPriorsTask::AliPriorsTask ( const Char_t *  name)

Definition at line 56 of file AliPriorsTask.cxx.

AliPriorsTask::AliPriorsTask ( const AliPriorsTask c)

Definition at line 104 of file AliPriorsTask.cxx.

AliPriorsTask::~AliPriorsTask ( )
virtual

Definition at line 121 of file AliPriorsTask.cxx.

Member Function Documentation

void AliPriorsTask::GetPriors ( Double_t  conc[AliPID::kSPECIES]) const
inline

Definition at line 40 of file AliPriorsTask.h.

Bool_t AliPriorsTask::NotifyBinChange ( )
virtual

Reimplemented from AliAnalysisTask.

Definition at line 248 of file AliPriorsTask.cxx.

Referenced by SetNiterations().

AliPriorsTask & AliPriorsTask::operator= ( const AliPriorsTask c)

Definition at line 84 of file AliPriorsTask.cxx.

void AliPriorsTask::SetNiterations ( Int_t  nIter)
inline

Definition at line 42 of file AliPriorsTask.h.

Referenced by AliPriorsTask().

void AliPriorsTask::SetPriors ( Double_t  conc[AliPID::kSPECIES])
inline

Definition at line 39 of file AliPriorsTask.h.

Referenced by AliPriorsTask(), and NotifyBinChange().

void AliPriorsTask::Terminate ( Option_t *  )
virtual

Reimplemented from AliAnalysisTask.

Definition at line 196 of file AliPriorsTask.cxx.

void AliPriorsTask::UserCreateOutputObjects ( )
virtual

Reimplemented from AliAnalysisTaskSE.

Definition at line 232 of file AliPriorsTask.cxx.

void AliPriorsTask::UserExec ( Option_t *  option)
virtual

Reimplemented from AliAnalysisTaskSE.

Definition at line 130 of file AliPriorsTask.cxx.

Member Data Documentation

TH2D* AliPriorsTask::fCalcPriors
protected
TH1I* AliPriorsTask::fHistEventsProcessed
protected

Definition at line 50 of file AliPriorsTask.h.

Referenced by operator=(), UserCreateOutputObjects(), UserExec(), and ~AliPriorsTask().

Double_t AliPriorsTask::fMCId[AliPID::kSPECIES]
protected

Definition at line 55 of file AliPriorsTask.h.

Referenced by AliPriorsTask(), operator=(), Terminate(), and UserExec().

Int_t AliPriorsTask::fNiterations
protected

Definition at line 57 of file AliPriorsTask.h.

Referenced by NotifyBinChange(), operator=(), and UserExec().

Int_t AliPriorsTask::fNiterMax
protected

Definition at line 58 of file AliPriorsTask.h.

Referenced by SetNiterations(), Terminate(), and UserCreateOutputObjects().

Double_t AliPriorsTask::fPriors[AliPID::kSPECIES]
protected

Definition at line 53 of file AliPriorsTask.h.

Referenced by AliPriorsTask(), GetPriors(), operator=(), SetPriors(), Terminate(), and UserExec().

Double_t AliPriorsTask::fRecId[AliPID::kSPECIES]
protected

Definition at line 54 of file AliPriorsTask.h.

Referenced by AliPriorsTask(), NotifyBinChange(), operator=(), and UserExec().


The documentation for this class was generated from the following files: