AliRoot Core  3dc7879 (3dc7879)
AliAnalysisManager Class Reference

AliAnalysysManager Manager analysis class. Allows creation of several analysis tasks and data containers storing their input/output. Allows connecting/chaining tasks via shared data containers. Serializes the current event for all tasks depending only on initial input data. More...

#include <AliAnalysisManager.h>

Inheritance diagram for AliAnalysisManager:

Public Types

enum  EAliAnalysisContType { kExchangeContainer = 0, kInputContainer = 1, kOutputContainer = 2, kParamContainer = 3 }
 
enum  EAliAnalysisExecMode { kLocalAnalysis = 0, kProofAnalysis = 1, kGridAnalysis = 2, kMixingAnalysis = 3 }
 
enum  EAliAnalysisFlags {
  kEventLoop = BIT(14), kDisableBranches = BIT(15), kUseDataSet = BIT(16), kSaveCanvases = BIT(17),
  kExternalLoop = BIT(18), kSkipTerminate = BIT(19), kUseProgressBar = BIT(20), kTrueNotify = BIT(21),
  kTasksInitialized = BIT(22), kCollectThroughput = BIT(23)
}
 

Public Member Functions

 AliAnalysisManager (const char *name="mgr", const char *title="")
 
virtual ~AliAnalysisManager ()
 
 AliAnalysisManager (const AliAnalysisManager &other)
 
AliAnalysisManageroperator= (const AliAnalysisManager &other)
 
Bool_t EventLoop (Long64_t nevents)
 
virtual Int_t GetEntry (Long64_t entry, Int_t getall=0)
 
virtual Bool_t Init (TTree *tree)
 
virtual Bool_t Notify ()
 
virtual Bool_t ProcessCut (Long64_t entry)
 
virtual Bool_t Process (Long64_t entry)
 
TFile * OpenProofFile (AliAnalysisDataContainer *cont, const char *option, const char *extaod="")
 
void PackOutput (TList *target)
 
void RegisterExtraFile (const char *fname)
 
Long64_t StartAnalysis (const char *type, TTree *const tree, Long64_t nentries=1234567890, Long64_t firstentry=0)
 
Long64_t StartAnalysis (const char *type, const char *dataset, Long64_t nentries=1234567890, Long64_t firstentry=0)
 
Long64_t StartAnalysis (const char *type, TFileCollection *dataset, Long64_t nentries=1234567890, Long64_t firstentry=0)
 
Long64_t StartAnalysis (const char *type, Long64_t nentries=1234567890, Long64_t firstentry=0)
 
virtual void SlaveBegin (TTree *tree)
 
virtual void Terminate ()
 
void UnpackOutput (TList *source)
 
EAliAnalysisExecMode GetAnalysisType () const
 
void GetAnalysisTypeString (TString &type) const
 
Bool_t GetAutoBranchLoading () const
 
Long64_t GetCacheSize () const
 
AliAnalysisDataContainerGetCommonInputContainer () const
 
AliAnalysisDataContainerGetCommonOutputContainer () const
 
TObjArrayGetContainers () const
 
Long64_t GetCurrentEntry () const
 
UInt_t GetDebugLevel () const
 
Bool_t GetAsyncReading () const
 
TString GetExtraFiles () const
 
AliVEventPoolGetEventPool () const
 
Bool_t GetFileFromWrapper (const char *filename, const TList *source)
 
const char * GetFileInfoLog () const
 
AliAnalysisGridGetGridHandler ()
 
TObjArrayGetInputs () const
 
AliVEventHandlerGetInputEventHandler () const
 
AliVEventHandlerGetMCtruthEventHandler () const
 
Int_t GetNsysInfo () const
 
AliVEventHandlerGetOutputEventHandler () const
 
TObjArrayGetOutputs () const
 
TObjArrayGetParamOutputs () const
 
TObjArrayGetExchangeContainers () const
 
Int_t GetRunFromPath () const
 
const char * GetRequestedBranches () const
 
TObjArrayGetTasks () const
 
TObjArrayGetTopTasks () const
 
TTree * GetTree () const
 
TObjArrayGetZombieTasks () const
 
TMap * GetGlobals ()
 
Bool_t IsMCLoop () const
 
Bool_t IsProofMode () const
 
Bool_t IsRemote () const
 
Bool_t IsCollectThroughput ()
 
Bool_t IsUsingDataSet () const
 
void LoadBranch (const char *n)
 
void RunLocalInit ()
 
void SetAnalysisType (EAliAnalysisExecMode mode)
 
void SetAutoBranchLoading (Bool_t b)
 
void SetCurrentEntry (Long64_t entry)
 
void SetCacheSize (Long64_t size)
 
void SetCollectSysInfoEach (Int_t nevents=0)
 
void SetCollectThroughput (Bool_t flag)
 
void SetDebugLevel (UInt_t level)
 
void SetDisableBranches (Bool_t disable=kTRUE)
 
void SetAsyncReading (Bool_t flag=kTRUE)
 
void SetExternalLoop (Bool_t flag)
 
void SetMCLoop (Bool_t flag=kTRUE)
 
void SetEventPool (AliVEventPool *const epool)
 
void SetFileInfoLog (const char *name)
 
void SetGridHandler (AliAnalysisGrid *const handler)
 
void SetInputEventHandler (AliVEventHandler *const handler)
 
void SetMCtruthEventHandler (AliVEventHandler *const handler)
 
void SetNSysInfo (Long64_t nevents)
 
void SetOutputEventHandler (AliVEventHandler *const handler)
 
void SetRunFromPath (Int_t run)
 
void SetSelector (AliAnalysisSelector *const sel)
 
void SetSaveCanvases (Bool_t flag=kTRUE)
 
void SetSkipTerminate (Bool_t flag)
 
void SetUseProgressBar (Bool_t flag, Int_t freq=1)
 
void SetSpecialOutputLocation (const char *loc)
 
AliAnalysisDataContainerCreateContainer (const char *name, TClass *datatype, EAliAnalysisContType type=kExchangeContainer, const char *filename=NULL)
 
void AddTask (AliAnalysisTask *task)
 
AliAnalysisTaskGetTask (const char *name) const
 
Int_t GetTaskIndex (const AliAnalysisTask *task) const
 
Bool_t ConnectInput (AliAnalysisTask *task, Int_t islot, AliAnalysisDataContainer *cont)
 
Bool_t ConnectOutput (AliAnalysisTask *task, Int_t islot, AliAnalysisDataContainer *cont)
 
void CleanContainers ()
 
void AddBranches (const char *branches)
 
void AddStatisticsTask (UInt_t offlineMask=0)
 
void CheckBranches (Bool_t load=kFALSE)
 
Bool_t CheckTasks () const
 
void CountEvent (Int_t ninput, Int_t nprocessed, Int_t nfailed, Int_t naccepted)
 
Bool_t InitAnalysis ()
 
Bool_t IsInitialized () const
 
Bool_t IsTrainInitialized () const
 
Bool_t IsExternalLoop () const
 
Bool_t IsEventLoop () const
 
Bool_t IsSkipTerminate () const
 
Bool_t MustClean () const
 
void SetMustClean (Bool_t flag=kTRUE)
 
void ResetAnalysis ()
 
void ExecAnalysis (Option_t *option="")
 
void PrintStatus (Option_t *option="all") const
 
void ProfileTask (const char *name, const char *option="VM") const
 
void ProfileTask (Int_t itop, const char *option="VM") const
 
void AddStatisticsMsg (const char *line)
 
const char * GetStatisticsMsg () const
 
const AliAnalysisStatisticsGetStatistics () const
 
void SetStatistics (AliAnalysisStatistics *stat)
 
void WriteStatisticsMsg (Int_t nevents)
 
Int_t GetNcalls () const
 
Bool_t ValidateOutputFiles () const
 
void ApplyDebugOptions ()
 
void AddClassDebug (const char *className, Int_t debugLevel)
 
Bool_t IsLocked () const
 
void Lock ()
 
void UnLock ()
 
void Changed ()
 
void InitInputData (AliVEvent *esdEvent, AliVfriendEvent *esdFriend)
 

Static Public Member Functions

static TFile * OpenFile (AliAnalysisDataContainer *cont, const char *option, Bool_t ignoreProof=kFALSE)
 
static AliAnalysisManagerGetAnalysisManager ()
 
static Int_t LoadMacro (const char *filename, Int_t *error=0, Bool_t check=kFALSE)
 
static const char * GetCommonFileName ()
 
static Int_t GetRunFromAlienPath (const char *path)
 
static const char * GetGlobalStr (const char *key, Bool_t &valid)
 
static Int_t GetGlobalInt (const char *key, Bool_t &valid)
 
static Double_t GetGlobalDbl (const char *key, Bool_t &valid)
 
static Bool_t IsMacroLoaded (const char *filename)
 
static Bool_t IsPipe (std::ostream &out)
 
static void SetCommonFileName (const char *name)
 
static void SetGlobalStr (const char *key, const char *value)
 
static void SetGlobalInt (const char *key, Int_t value)
 
static void SetGlobalDbl (const char *key, Double_t value)
 
static void ProgressBar (const char *opname, Long64_t current, Long64_t size, TStopwatch *const watch=0, Bool_t last=kFALSE, Bool_t refresh=kFALSE)
 
static const char * GetOADBPath ()
 

Protected Member Functions

void CreateReadCache ()
 
void ImportWrappers (TList *source)
 
void InputFileFromTree (TTree *const tree, TString &fname)
 
void SetEventLoop (Bool_t flag=kTRUE)
 
void DoLoadBranch (const char *name)
 

Private Attributes

TTree * fTree
 ! Input tree in case of TSelector model More...
 
AliVEventHandlerfInputEventHandler
 Optional common input event handler. More...
 
AliVEventHandlerfOutputEventHandler
 Optional common output event handler. More...
 
AliVEventHandlerfMCtruthEventHandler
 Optional common MC Truth event handler. More...
 
AliVEventPoolfEventPool
 Event pool for mixing analysis. More...
 
Long64_t fCurrentEntry
 ! Current processed entry in the tree More...
 
Long64_t fNSysInfo
 Event frequency for collecting system information. More...
 
EAliAnalysisExecMode fMode
 Execution mode. More...
 
Bool_t fInitOK
 Initialisation done. More...
 
Bool_t fMustClean
 Flag to let ROOT do cleanup. More...
 
Bool_t fIsRemote
 ! Flag is set for remote analysis More...
 
Bool_t fLocked
 ! Lock for the manager and handlers More...
 
Bool_t fMCLoop
 External MC generator loop. More...
 
UInt_t fDebug
 Debug level. More...
 
TString fSpecialOutputLocation
 URL/path where the special outputs will be copied. More...
 
TObjArrayfTasks
 List of analysis tasks. More...
 
TObjArrayfTopTasks
 List of top tasks. More...
 
TObjArrayfZombies
 List of zombie tasks. More...
 
TObjArrayfContainers
 List of all containers. More...
 
TObjArrayfInputs
 List of containers with input data. More...
 
TObjArrayfOutputs
 List of containers with results. More...
 
TObjArrayfParamCont
 List of containers with parameters. More...
 
TObjArrayfExchangeCont
 List of exchange containers. More...
 
TObjArrayfDebugOptions
 List of debug options. More...
 
TObjArrayfFileDescriptors
 ! List of file descriptors More...
 
AliAnalysisFileDescriptorfCurrentDescriptor
 ! Current file descriptor More...
 
AliAnalysisDataContainerfCommonInput
 Common input container. More...
 
AliAnalysisDataContainerfCommonOutput
 Common output container. More...
 
AliAnalysisSelectorfSelector
 ! Current selector More...
 
AliAnalysisGridfGridHandler
 ! Grid handler plugin More...
 
TString fExtraFiles
 List of extra files to be merged. More...
 
TString fFileInfoLog
 File name for fileinfo logs. More...
 
Bool_t fAutoBranchHandling
 def=kTRUE, turn off if you use LoadBranch More...
 
Bool_t fAsyncReading
 Enable async reading. More...
 
THashTable fTable
 keep branch ptrs in case of manual branch loading More...
 
Int_t fRunFromPath
 Run number retrieved from path to input data. More...
 
Int_t fNcalls
 Total number of calls (events) of ExecAnalysis. More...
 
Long64_t fMaxEntries
 Maximum number of entries. More...
 
Long64_t fCacheSize
 Cache size in bytes. More...
 
TString fStatisticsMsg
 Statistics user message. More...
 
TString fRequestedBranches
 Requested branch names. More...
 
AliAnalysisStatisticsfStatistics
 Statistics info about input events. More...
 
TMap * fGlobals
 Map with global variables. More...
 
TStopwatch * fIOTimer
 ! Timer for I/O + deserialization More...
 
TStopwatch * fCPUTimer
 ! Timer for useful processing More...
 
TStopwatch * fInitTimer
 ! Timer for initialization More...
 
Double_t fIOTime
 ! Cumulated time in IO More...
 
Double_t fCPUTime
 ! Cumulated time in Exec More...
 
Double_t fInitTime
 ! Cumulated time in initialization More...
 

Static Private Attributes

static Int_t fPBUpdateFreq = 1
 Progress bar update freq. More...
 
static TString fgCommonFileName = ""
 ! Common output file name (not streamed) More...
 
static TString fgMacroNames = ""
 ! Loaded macro names More...
 
static AliAnalysisManagerfgAnalysisManager = NULL
 ! static pointer to object instance More...
 

Detailed Description

AliAnalysysManager Manager analysis class. Allows creation of several analysis tasks and data containers storing their input/output. Allows connecting/chaining tasks via shared data containers. Serializes the current event for all tasks depending only on initial input data.

Author
Andrei Gheata
Date
31/05/2006

Definition at line 39 of file AliAnalysisManager.h.

Member Enumeration Documentation

Enumerator
kExchangeContainer 
kInputContainer 
kOutputContainer 
kParamContainer 

Definition at line 43 of file AliAnalysisManager.h.

Enumerator
kLocalAnalysis 
kProofAnalysis 
kGridAnalysis 
kMixingAnalysis 

Definition at line 50 of file AliAnalysisManager.h.

Enumerator
kEventLoop 
kDisableBranches 
kUseDataSet 
kSaveCanvases 
kExternalLoop 
kSkipTerminate 
kUseProgressBar 
kTrueNotify 
kTasksInitialized 
kCollectThroughput 

Definition at line 57 of file AliAnalysisManager.h.

Constructor & Destructor Documentation

AliAnalysisManager::AliAnalysisManager ( const char *  name = "mgr",
const char *  title = "" 
)

Default constructor.

Definition at line 61 of file AliAnalysisManager.cxx.

AliAnalysisManager::~AliAnalysisManager ( )
virtual

Destructor.

Definition at line 262 of file AliAnalysisManager.cxx.

AliAnalysisManager::AliAnalysisManager ( const AliAnalysisManager other)

Copy constructor.

Definition at line 135 of file AliAnalysisManager.cxx.

Member Function Documentation

void AliAnalysisManager::AddBranches ( const char *  branches)

Add branches to the existing fRequestedBranches.

Definition at line 1684 of file AliAnalysisManager.cxx.

Referenced by InitAnalysis(), and SetSpecialOutputLocation().

void AliAnalysisManager::AddClassDebug ( const char *  className,
Int_t  debugLevel 
)

Sets Class debug level

Definition at line 3006 of file AliAnalysisManager.cxx.

Referenced by GetNcalls().

void AliAnalysisManager::AddStatisticsMsg ( const char *  line)

Add a line in the statistics message. If available, the statistics message is written at the end of the SlaveTerminate phase on workers AND at the end of Terminate on the client.

Definition at line 2851 of file AliAnalysisManager.cxx.

Referenced by SetMustClean(), and WriteStatisticsMsg().

void AliAnalysisManager::AddStatisticsTask ( UInt_t  offlineMask = 0)

Add the statistics task to the manager.

Definition at line 2825 of file AliAnalysisManager.cxx.

Referenced by SetSpecialOutputLocation().

void AliAnalysisManager::ApplyDebugOptions ( )

Apply debug options

Definition at line 3032 of file AliAnalysisManager.cxx.

Referenced by GetNcalls(), and SlaveBegin().

void AliAnalysisManager::Changed ( )

All critical setters pass through the Changed method that throws an exception in case the lock was set.

Definition at line 3109 of file AliAnalysisManager.cxx.

Referenced by IsLocked(), SetCollectThroughput(), SetDisableBranches(), SetEventPool(), SetExternalLoop(), SetGridHandler(), SetInputEventHandler(), SetMCtruthEventHandler(), and SetOutputEventHandler().

void AliAnalysisManager::CheckBranches ( Bool_t  load = kFALSE)

The method checks the input branches to be loaded during the analysis.

Definition at line 1702 of file AliAnalysisManager.cxx.

Referenced by Init(), and SetSpecialOutputLocation().

Bool_t AliAnalysisManager::CheckTasks ( ) const

Check consistency of tasks.

Definition at line 1728 of file AliAnalysisManager.cxx.

Referenced by SetSpecialOutputLocation(), SlaveBegin(), and StartAnalysis().

void AliAnalysisManager::CleanContainers ( )

Clean data from all containers that have already finished all client tasks.

Definition at line 1543 of file AliAnalysisManager.cxx.

Referenced by SetSpecialOutputLocation().

Bool_t AliAnalysisManager::ConnectOutput ( AliAnalysisTask task,
Int_t  islot,
AliAnalysisDataContainer cont 
)
void AliAnalysisManager::CountEvent ( Int_t  ninput,
Int_t  nprocessed,
Int_t  nfailed,
Int_t  naccepted 
)

Bookkeep current event;

Definition at line 2839 of file AliAnalysisManager.cxx.

Referenced by DoLoadBranch(), AliAnalysisSelector::Process(), and SetSpecialOutputLocation().

AliAnalysisDataContainer * AliAnalysisManager::CreateContainer ( const char *  name,
TClass *  datatype,
EAliAnalysisContType  type = kExchangeContainer,
const char *  filename = NULL 
)

Create a data container of a certain type. Types can be: kExchangeContainer = 0, used to exchange data between tasks kInputContainer = 1, used to store input data kOutputContainer = 2, used for writing result to a file filename: composed by file::folder (e.g. results.root::INCLUSIVE) - will write the output object to a folder inside the output file

Definition at line 1463 of file AliAnalysisManager.cxx.

Referenced by AddTaskTPCCalib(), AliAnalysisTaskStat::AddToManager(), AliPriorsTask(), AliAnalysisGoodies::ConnectInput(), AliAnalysisGoodies::ConnectOuput(), DphiAnalysis(), filter_reco(), RunAliTPCCalibKrTask(), runAODFilterMC(), SetInputEventHandler(), SetOutputEventHandler(), SetSpecialOutputLocation(), and SetupV0Task().

void AliAnalysisManager::CreateReadCache ( )
protected

Create cache for reading according fCacheSize and fAsyncReading.

Definition at line 289 of file AliAnalysisManager.cxx.

Referenced by Init(), and IsLocked().

void AliAnalysisManager::DoLoadBranch ( const char *  name)
protected

Get tree and load branch if needed.

Definition at line 2790 of file AliAnalysisManager.cxx.

Referenced by LoadBranch(), and SetEventLoop().

Bool_t AliAnalysisManager::EventLoop ( Long64_t  nevents)

Initialize an event loop where the data producer is the input handler The handler must implement MakeTree creating the tree of events (likely memory resident) and generate the current event in the method BeginEvent. If the tree is memory resident, the handler should never call TTree::Fill method.

Definition at line 323 of file AliAnalysisManager.cxx.

void AliAnalysisManager::ExecAnalysis ( Option_t *  option = "")
static AliAnalysisManager* AliAnalysisManager::GetAnalysisManager ( )
inlinestatic

Definition at line 96 of file AliAnalysisManager.h.

Referenced by AliAnalysisTaskME::AddAODBranch(), AliAnalysisTaskSE::AddAODBranch(), AliAnalysisTaskESDfilter::AddMetadataToUserInfo(), AddTaskMuonAlignment(), AddTaskTPCCalib(), AliAnalysisTaskStat::AddToManager(), AliAnalysisSelector::AliAnalysisSelector(), AliMCGenHandler::BeginEvent(), AliAnalysisTask::CheckPostData(), AliAnalysisTaskME::ConnectInputData(), AliAnalysisTaskFilter::ConnectInputData(), AliAnalysisTaskAddObject::ConnectInputData(), AliMUONChamberCalibrationTask::ConnectInputData(), AliAnalysisTaskSE::ConnectMultiHandler(), AliAnalysisTaskESDfilter::ConvertCaloTrigger(), AliAnalysisTaskESDfilter::ConvertESDtoAOD(), AliAnalysisAlien::CreateAnalysisManager(), AliAnalysisAlien::CreateJDL(), AliAnalysisTaskME::CreateOutputObjects(), AliAnalysisTaskFilter::CreateOutputObjects(), AliAnalysisTaskSE::CreateOutputObjects(), AliAnalysisTaskSE::CurrentFileName(), AliAnalysisTaskME::Exec(), AliAnalysisTaskFilter::Exec(), AliAnalysisTaskSE::Exec(), AliAnalysisTaskCfg::ExecuteMacro(), AliAnalysisDataContainer::ExportData(), AliAnalysisTaskPIDqa::FillTPCqa(), AliAnalysisTaskPIDqa::FillTRDqa(), AliAnalysisAlien::GenerateTest(), AliAnalysisAlien::GenerateTrain(), GetGlobalDbl(), GetGlobalInt(), GetGlobalStr(), AliAnalysisAlien::GetListOfFiles(), AliAnalysisDataContainer::ImportData(), AliESDpidCuts::Init(), AliAnalysisTaskSE::IsStandardAOD(), AliAnalysisTaskSE::LoadBranches(), AliAnalysisAlien::LoadModule(), AliAnalysisAlien::LoadModules(), AliAnalysisTaskTagCreator::Notify(), AliAnalysisTaskMCParticleFilter::Notify(), OpenFile(), AliAnalysisAlien::Print(), SetGlobalDbl(), SetGlobalInt(), SetGlobalStr(), AliAnalysisTaskPIDResponse::SetRecoInfo(), AliReconstruction::SlaveBegin(), AliAnalysisAlien::StartAnalysis(), AliAnalysisTaskStat::Terminate(), AliAnalysisTaskPIDqa::UserCreateOutputObjects(), AliAnalysisTaskMCParticleFilter::UserCreateOutputObjects(), AliAnalysisTaskPIDResponse::UserCreateOutputObjects(), AliMUONAlignmentTask::UserCreateOutputObjects(), AliAnalysisTaskMCParticleFilter::UserExec(), AliAnalysisTaskESDfilter::UserExec(), AliAnalysisTaskPIDResponse::UserExec(), AliAnalysisTaskPIDCombined::UserExec(), AliMUONAlignmentTask::UserExec(), AliAnalysisAlien::WriteAnalysisFile(), AliAnalysisAlien::WriteAnalysisMacro(), AliAnalysisAlien::WriteMergingMacro(), AliAnalysisTaskPIDqa::~AliAnalysisTaskPIDqa(), and AliAnalysisTaskStat::~AliAnalysisTaskStat().

EAliAnalysisExecMode AliAnalysisManager::GetAnalysisType ( ) const
inline
void AliAnalysisManager::GetAnalysisTypeString ( TString &  type) const

Fill analysis type in the provided string.

Definition at line 2630 of file AliAnalysisManager.cxx.

Referenced by GetAnalysisType().

Bool_t AliAnalysisManager::GetAsyncReading ( ) const
inline

Definition at line 111 of file AliAnalysisManager.h.

Bool_t AliAnalysisManager::GetAutoBranchLoading ( ) const
inline

Definition at line 101 of file AliAnalysisManager.h.

Referenced by AliAnalysisTaskSE::LoadBranches().

Long64_t AliAnalysisManager::GetCacheSize ( ) const
inline

Definition at line 102 of file AliAnalysisManager.h.

static const char* AliAnalysisManager::GetCommonFileName ( )
inlinestatic

Definition at line 103 of file AliAnalysisManager.h.

Referenced by AliAnalysisTaskStat::AddToManager().

AliAnalysisDataContainer* AliAnalysisManager::GetCommonOutputContainer ( ) const
inline
TObjArray* AliAnalysisManager::GetContainers ( ) const
inline

Definition at line 108 of file AliAnalysisManager.h.

Long64_t AliAnalysisManager::GetCurrentEntry ( ) const
inline

Definition at line 109 of file AliAnalysisManager.h.

Referenced by CheckBranches(), and DoLoadBranch().

Int_t AliAnalysisManager::GetEntry ( Long64_t  entry,
Int_t  getall = 0 
)
virtual

Read one entry of the tree or a whole branch.

Definition at line 350 of file AliAnalysisManager.cxx.

Referenced by AliAnalysisSelector::Process().

AliVEventPool* AliAnalysisManager::GetEventPool ( ) const
inline

Definition at line 113 of file AliAnalysisManager.h.

TObjArray* AliAnalysisManager::GetExchangeContainers ( ) const
inline

Definition at line 125 of file AliAnalysisManager.h.

TString AliAnalysisManager::GetExtraFiles ( ) const
inline

Definition at line 112 of file AliAnalysisManager.h.

Referenced by AliAnalysisAlien::GetListOfFiles().

Bool_t AliAnalysisManager::GetFileFromWrapper ( const char *  filename,
const TList *  source 
)

Copy a file from the location specified ina the wrapper with the same name from the source list.

Definition at line 2589 of file AliAnalysisManager.cxx.

Referenced by GetEventPool(), and ImportWrappers().

const char* AliAnalysisManager::GetFileInfoLog ( ) const
inline
Double_t AliAnalysisManager::GetGlobalDbl ( const char *  key,
Bool_t &  valid 
)
static

Static method to retrieve a global variable defined via SetGlobalDbl.

Definition at line 2991 of file AliAnalysisManager.cxx.

Referenced by GetZombieTasks(), and SetGlobalDbl().

Int_t AliAnalysisManager::GetGlobalInt ( const char *  key,
Bool_t &  valid 
)
static

Static method to retrieve a global variable defined via SetGlobalInt.

Definition at line 2956 of file AliAnalysisManager.cxx.

Referenced by GetZombieTasks(), and SetGlobalInt().

TMap* AliAnalysisManager::GetGlobals ( )
inline
const char * AliAnalysisManager::GetGlobalStr ( const char *  key,
Bool_t &  valid 
)
static

Static method to retrieve a global variable defined via SetGlobalStr.

Definition at line 2922 of file AliAnalysisManager.cxx.

Referenced by GetZombieTasks(), and SetGlobalStr().

AliAnalysisGrid* AliAnalysisManager::GetGridHandler ( )
inline

Definition at line 117 of file AliAnalysisManager.h.

TObjArray* AliAnalysisManager::GetInputs ( ) const
inline

Definition at line 118 of file AliAnalysisManager.h.

Referenced by AliAnalysisGoodies::ConnectInput().

AliVEventHandler* AliAnalysisManager::GetMCtruthEventHandler ( ) const
inline
Int_t AliAnalysisManager::GetNcalls ( ) const
inline

Definition at line 218 of file AliAnalysisManager.h.

Int_t AliAnalysisManager::GetNsysInfo ( ) const
inline

Definition at line 121 of file AliAnalysisManager.h.

Referenced by AliAnalysisAlien::WriteAnalysisMacro().

const char * AliAnalysisManager::GetOADBPath ( )
static

returns the path of the OADB this static function just depends on environment variables

Definition at line 2884 of file AliAnalysisManager.cxx.

Referenced by AliPIDResponseInputHandler::BeginEvent(), GetNcalls(), AliVZEROEPSelectionTask::UserCreateOutputObjects(), and AliAnalysisTaskPIDResponse::UserCreateOutputObjects().

TObjArray* AliAnalysisManager::GetOutputs ( ) const
inline
TObjArray* AliAnalysisManager::GetParamOutputs ( ) const
inline

Definition at line 124 of file AliAnalysisManager.h.

const char* AliAnalysisManager::GetRequestedBranches ( ) const
inline

Definition at line 127 of file AliAnalysisManager.h.

Int_t AliAnalysisManager::GetRunFromAlienPath ( const char *  path)
static

Attempt to extract run number from input data path. Works only for paths to ALICE data in AliEn. It extracts the first number between slashes (/) greater than or equal to 18000 that appears after the /LHC.../ directory. This covers also some borderline cases, apart from the conventional ones:

  • Simulation: /alice/sim/ <production>/run_no/...
  • Data: /alice/data/ year/period/000run_no/... (ESD or AOD)

Returns -9999 in case of error, or the run number on success.

Definition at line 366 of file AliAnalysisManager.cxx.

Referenced by GetFileInfoLog(), and Notify().

Int_t AliAnalysisManager::GetRunFromPath ( ) const
inline

Definition at line 126 of file AliAnalysisManager.h.

const AliAnalysisStatistics* AliAnalysisManager::GetStatistics ( ) const
inline

Definition at line 215 of file AliAnalysisManager.h.

const char* AliAnalysisManager::GetStatisticsMsg ( ) const
inline

Definition at line 214 of file AliAnalysisManager.h.

AliAnalysisTask * AliAnalysisManager::GetTask ( const char *  name) const

Retreive task by name.

Definition at line 1445 of file AliAnalysisManager.cxx.

Referenced by AliAnalysisGoodies::ConnectInput(), and SetSpecialOutputLocation().

Int_t AliAnalysisManager::GetTaskIndex ( const AliAnalysisTask task) const

Returns task inded in the manager's list, -1 if not registered.

Definition at line 1454 of file AliAnalysisManager.cxx.

Referenced by ExecAnalysis(), SetSpecialOutputLocation(), and UnpackOutput().

TObjArray* AliAnalysisManager::GetTasks ( ) const
inline

Definition at line 128 of file AliAnalysisManager.h.

Referenced by AliAnalysisTaskCfg::ExecuteMacro(), and InitInputData().

TObjArray* AliAnalysisManager::GetTopTasks ( ) const
inline

Definition at line 129 of file AliAnalysisManager.h.

Referenced by AliAnalysisTaskSE::Exec().

TTree* AliAnalysisManager::GetTree ( ) const
inline
TObjArray* AliAnalysisManager::GetZombieTasks ( ) const
inline

Definition at line 131 of file AliAnalysisManager.h.

void AliAnalysisManager::ImportWrappers ( TList *  source)
protected

Import data in output containers from wrappers coming in source.

Definition at line 959 of file AliAnalysisManager.cxx.

Referenced by IsLocked(), StartAnalysis(), and UnpackOutput().

Bool_t AliAnalysisManager::Init ( TTree *  tree)
virtual

The Init() function is called when the selector needs to initialize a new tree or chain. Typically here the branch addresses of the tree will be set. It is normaly not necessary to make changes to the generated code, but the routine can be extended by the user if needed. Init() will be called many times when running with PROOF.

Definition at line 433 of file AliAnalysisManager.cxx.

Referenced by EventLoop(), and AliAnalysisSelector::Init().

Bool_t AliAnalysisManager::InitAnalysis ( )

Initialization of analysis chain of tasks. Should be called after all tasks and data containers are properly connected Reset flag and remove valid_outputs file if exists

Definition at line 1557 of file AliAnalysisManager.cxx.

Referenced by AliPriorsTask(), DphiAnalysis(), filter_reco(), generate(), AliAnalysisAlien::GenerateTest(), AliAnalysisAlien::GenerateTrain(), Init(), AliAnalysisGoodies::ProcessChain(), RunAliTPCCalibKrTask(), runAODFilterMC(), SetSpecialOutputLocation(), and SetupV0Task().

void AliAnalysisManager::InitInputData ( AliVEvent esdEvent,
AliVfriendEvent esdFriend 
)

Method to propagte to all the connected tasks the HLT event. This method expects that the input hanlder is of type HLT, should not be used otherwise

Definition at line 3118 of file AliAnalysisManager.cxx.

Referenced by IsLocked().

void AliAnalysisManager::InputFileFromTree ( TTree *const  tree,
TString &  fname 
)
protected

Retrieves name of the file from tree

Definition at line 1825 of file AliAnalysisManager.cxx.

Referenced by IsLocked(), and StartAnalysis().

Bool_t AliAnalysisManager::IsCollectThroughput ( )
inline
Bool_t AliAnalysisManager::IsEventLoop ( ) const
inline

Definition at line 203 of file AliAnalysisManager.h.

Bool_t AliAnalysisManager::IsExternalLoop ( ) const
inline

Definition at line 202 of file AliAnalysisManager.h.

Referenced by StartAnalysis().

Bool_t AliAnalysisManager::IsInitialized ( ) const
inline
Bool_t AliAnalysisManager::IsLocked ( ) const
inline

Definition at line 227 of file AliAnalysisManager.h.

Bool_t AliAnalysisManager::IsMacroLoaded ( const char *  filename)
static

Check if a macro was loaded.

Definition at line 3049 of file AliAnalysisManager.cxx.

Referenced by GetGlobals().

Bool_t AliAnalysisManager::IsMCLoop ( ) const
inline

Definition at line 137 of file AliAnalysisManager.h.

Bool_t AliAnalysisManager::IsPipe ( std::ostream &  out)
static

Check if the stdout is connected to a pipe (C.Holm)

Definition at line 2518 of file AliAnalysisManager.cxx.

Referenced by IsMCLoop(), and ProgressBar().

Bool_t AliAnalysisManager::IsProofMode ( ) const
inline
Bool_t AliAnalysisManager::IsRemote ( ) const
inline

Definition at line 140 of file AliAnalysisManager.h.

Bool_t AliAnalysisManager::IsSkipTerminate ( ) const
inline

Definition at line 204 of file AliAnalysisManager.h.

Referenced by Terminate().

Bool_t AliAnalysisManager::IsTrainInitialized ( ) const
inline

Definition at line 201 of file AliAnalysisManager.h.

Referenced by RunLocalInit().

Bool_t AliAnalysisManager::IsUsingDataSet ( ) const
inline

Definition at line 142 of file AliAnalysisManager.h.

void AliAnalysisManager::LoadBranch ( const char *  n)
inline

Definition at line 143 of file AliAnalysisManager.h.

Referenced by AliAnalysisTaskSE::LoadBranches().

Int_t AliAnalysisManager::LoadMacro ( const char *  filename,
Int_t *  error = 0,
Bool_t  check = kFALSE 
)
static

Redirection of gROOT->LoadMacro which makes sure the same macro is not loaded twice

Definition at line 3057 of file AliAnalysisManager.cxx.

Referenced by GetAnalysisManager().

void AliAnalysisManager::Lock ( )

Security lock. This is to detect NORMAL user errors and not really to protect against intentional hacks.

Definition at line 3082 of file AliAnalysisManager.cxx.

Referenced by IsLocked().

Bool_t AliAnalysisManager::MustClean ( ) const
inline
Bool_t AliAnalysisManager::Notify ( )
virtual

The Notify() function is called when a new file is opened. This can be either for a new TTree in a TChain or when when a new TTree is started when using PROOF. It is normaly not necessary to make changes to the generated code, but the routine can be extended by the user if needed. The return value is currently not used.

Definition at line 614 of file AliAnalysisManager.cxx.

Referenced by ExecAnalysis(), and AliAnalysisSelector::Notify().

TFile * AliAnalysisManager::OpenFile ( AliAnalysisDataContainer cont,
const char *  option,
Bool_t  ignoreProof = kFALSE 
)
static

Opens according the option the file specified by cont->GetFileName() and changes current directory to cont->GetFolderName(). If the file was already opened, it checks if the option UPDATE was preserved. File open via TProofOutputFile can be optionally ignored.

Definition at line 2214 of file AliAnalysisManager.cxx.

Referenced by AliAnalysisTask::OpenFile(), PackOutput(), and ProcessCut().

TFile * AliAnalysisManager::OpenProofFile ( AliAnalysisDataContainer cont,
const char *  option,
const char *  extaod = "" 
)

Opens a special output file used in PROOF.

Definition at line 2262 of file AliAnalysisManager.cxx.

Referenced by OpenFile(), and ProcessCut().

AliAnalysisManager & AliAnalysisManager::operator= ( const AliAnalysisManager other)

Assignment

Definition at line 202 of file AliAnalysisManager.cxx.

void AliAnalysisManager::PackOutput ( TList *  target)

Pack all output data containers in the output list. Called at SlaveTerminate stage in PROOF case for each slave.

Definition at line 698 of file AliAnalysisManager.cxx.

Referenced by EventLoop(), ProcessCut(), AliAnalysisSelector::SlaveTerminate(), AliReconstruction::SlaveTerminate(), and StartAnalysis().

Bool_t AliAnalysisManager::Process ( Long64_t  entry)
virtual

The Process() function is called for each entry in the tree (or possibly keyed object in the case of PROOF) to be processed. The entry argument specifies which entry in the currently loaded tree is to be processed. It can be passed to either TTree::GetEntry() or TBranch::GetEntry() to read either all or the required parts of the data. When processing keyed objects with PROOF, the object is already loaded and is available via the fObject pointer.

This function should contain the "body" of the analysis. It can contain simple or elaborate selection criteria, run algorithms on the data of the event and typically fill histograms.

Definition at line 673 of file AliAnalysisManager.cxx.

Referenced by ProcessCut().

virtual Bool_t AliAnalysisManager::ProcessCut ( Long64_t  entry)
inlinevirtual

Definition at line 81 of file AliAnalysisManager.h.

void AliAnalysisManager::ProfileTask ( const char *  name,
const char *  option = "VM" 
) const

Profile a managed task after the execution of the analysis in case NSysInfo was used.

Definition at line 1361 of file AliAnalysisManager.cxx.

Referenced by ProfileTask(), and SetMustClean().

void AliAnalysisManager::ProfileTask ( Int_t  itop,
const char *  option = "VM" 
) const

Profiles the task having the itop index in the list of top (first level) tasks.

Definition at line 1348 of file AliAnalysisManager.cxx.

void AliAnalysisManager::ProgressBar ( const char *  opname,
Long64_t  current,
Long64_t  size,
TStopwatch *const  watch = 0,
Bool_t  last = kFALSE,
Bool_t  refresh = kFALSE 
)
static

Implements a nice text mode progress bar.

Definition at line 2691 of file AliAnalysisManager.cxx.

Referenced by ExecAnalysis(), and SetMustClean().

void AliAnalysisManager::RegisterExtraFile ( const char *  fname)

This method is used externally to register output files which are not connected to any output container, so that the manager can properly register, retrieve or merge them when running in distributed mode. The file names are separated by blancs. The method has to be called in MyAnalysisTask::LocalInit().

Definition at line 2576 of file AliAnalysisManager.cxx.

Referenced by ProcessCut().

void AliAnalysisManager::ResetAnalysis ( )

Reset all execution flags and clean containers.

Definition at line 1794 of file AliAnalysisManager.cxx.

Referenced by ExecAnalysis(), and SetMustClean().

void AliAnalysisManager::RunLocalInit ( )

Run LocalInit method for all tasks.

Definition at line 1808 of file AliAnalysisManager.cxx.

Referenced by AliAnalysisAlien::GenerateTest(), AliAnalysisAlien::GenerateTrain(), LoadBranch(), and StartAnalysis().

void AliAnalysisManager::SetAnalysisType ( EAliAnalysisExecMode  mode)
inline

Definition at line 145 of file AliAnalysisManager.h.

void AliAnalysisManager::SetAsyncReading ( Bool_t  flag = kTRUE)
inline

Definition at line 154 of file AliAnalysisManager.h.

void AliAnalysisManager::SetAutoBranchLoading ( Bool_t  b)
inline

Definition at line 146 of file AliAnalysisManager.h.

void AliAnalysisManager::SetCacheSize ( Long64_t  size)
inline

Definition at line 148 of file AliAnalysisManager.h.

void AliAnalysisManager::SetCollectSysInfoEach ( Int_t  nevents = 0)
inline

Definition at line 149 of file AliAnalysisManager.h.

void AliAnalysisManager::SetCollectThroughput ( Bool_t  flag)
inline

Definition at line 150 of file AliAnalysisManager.h.

static void AliAnalysisManager::SetCommonFileName ( const char *  name)
inlinestatic

Definition at line 151 of file AliAnalysisManager.h.

Referenced by AliAnalysisAlien::LoadModule().

void AliAnalysisManager::SetCurrentEntry ( Long64_t  entry)
inline

Definition at line 147 of file AliAnalysisManager.h.

void AliAnalysisManager::SetDebugLevel ( UInt_t  level)

Set verbosity of the analysis manager. If the progress bar is used, the call is ignored

Definition at line 2553 of file AliAnalysisManager.cxx.

Referenced by DphiAnalysis(), RunAliTPCCalibKrTask(), runAODFilterMC(), and SetCommonFileName().

void AliAnalysisManager::SetDisableBranches ( Bool_t  disable = kTRUE)
inline

Definition at line 153 of file AliAnalysisManager.h.

void AliAnalysisManager::SetEventLoop ( Bool_t  flag = kTRUE)
inlineprotected

Definition at line 236 of file AliAnalysisManager.h.

Referenced by StartAnalysis().

void AliAnalysisManager::SetEventPool ( AliVEventPool *const  epool)
inline

Definition at line 157 of file AliAnalysisManager.h.

Referenced by AliPriorsTask(), and DphiAnalysis().

void AliAnalysisManager::SetExternalLoop ( Bool_t  flag)
inline

Definition at line 155 of file AliAnalysisManager.h.

Referenced by EventLoop(), and AliReconstruction::SlaveBegin().

void AliAnalysisManager::SetFileInfoLog ( const char *  name)
inline

Definition at line 158 of file AliAnalysisManager.h.

void AliAnalysisManager::SetGlobalDbl ( const char *  key,
Double_t  value 
)
static

Define a custom double precision variable mapped to a global unique name. The variable can be then retrieved by a given analysis macro via GetGlobalInt(key).

Definition at line 2971 of file AliAnalysisManager.cxx.

Referenced by SetSpecialOutputLocation().

void AliAnalysisManager::SetGlobalInt ( const char *  key,
Int_t  value 
)
static

Define a custom integer variable mapped to a global unique name. The variable can be then retrieved by a given analysis macro via GetGlobalInt(key).

Definition at line 2936 of file AliAnalysisManager.cxx.

Referenced by SetSpecialOutputLocation().

void AliAnalysisManager::SetGlobalStr ( const char *  key,
const char *  value 
)
static

Define a custom string variable mapped to a global unique name. The variable can be then retrieved by a given analysis macro via GetGlobalStr(key).

Definition at line 2902 of file AliAnalysisManager.cxx.

Referenced by SetSpecialOutputLocation().

void AliAnalysisManager::SetGridHandler ( AliAnalysisGrid *const  handler)
inline

Definition at line 159 of file AliAnalysisManager.h.

Referenced by AliAnalysisAlien::CreateAnalysisManager().

void AliAnalysisManager::SetInputEventHandler ( AliVEventHandler *const  handler)

Set the input event handler and create a container for it.

Definition at line 2532 of file AliAnalysisManager.cxx.

Referenced by AliPriorsTask(), DphiAnalysis(), runAODFilterMC(), SetGridHandler(), SetupV0Task(), and AliReconstruction::SlaveBegin().

void AliAnalysisManager::SetMCLoop ( Bool_t  flag = kTRUE)
inline

Definition at line 156 of file AliAnalysisManager.h.

Referenced by AliAnalysisAlien::CreateAnalysisManager().

void AliAnalysisManager::SetMCtruthEventHandler ( AliVEventHandler *const  handler)
inline

Definition at line 161 of file AliAnalysisManager.h.

Referenced by AliPriorsTask(), and runAODFilterMC().

void AliAnalysisManager::SetMustClean ( Bool_t  flag = kTRUE)
inline

Definition at line 206 of file AliAnalysisManager.h.

void AliAnalysisManager::SetNSysInfo ( Long64_t  nevents)
inline

Definition at line 162 of file AliAnalysisManager.h.

void AliAnalysisManager::SetOutputEventHandler ( AliVEventHandler *const  handler)

Set the input event handler and create a container for it.

Definition at line 2542 of file AliAnalysisManager.cxx.

Referenced by AliAnalysisGoodies::ConnectOuput(), runAODFilterMC(), and SetNSysInfo().

void AliAnalysisManager::SetRunFromPath ( Int_t  run)
inline

Definition at line 164 of file AliAnalysisManager.h.

void AliAnalysisManager::SetSaveCanvases ( Bool_t  flag = kTRUE)
inline

Definition at line 166 of file AliAnalysisManager.h.

void AliAnalysisManager::SetSelector ( AliAnalysisSelector *const  sel)
inline
void AliAnalysisManager::SetSkipTerminate ( Bool_t  flag)
inline
void AliAnalysisManager::SetSpecialOutputLocation ( const char *  loc)
inline

Definition at line 169 of file AliAnalysisManager.h.

void AliAnalysisManager::SetStatistics ( AliAnalysisStatistics stat)
inline
void AliAnalysisManager::SetUseProgressBar ( Bool_t  flag,
Int_t  freq = 1 
)

Enable a text mode progress bar. Resets debug level to 0.

Definition at line 2565 of file AliAnalysisManager.cxx.

Referenced by SetSkipTerminate().

void AliAnalysisManager::SlaveBegin ( TTree *  tree)
virtual

The SlaveBegin() function is called after the Begin() function. When running with PROOF SlaveBegin() is called on each slave server. The tree argument is deprecated (on PROOF 0 is passed).

Definition at line 517 of file AliAnalysisManager.cxx.

Referenced by EventLoop(), ProcessCut(), AliAnalysisSelector::SlaveBegin(), and AliReconstruction::SlaveBegin().

Long64_t AliAnalysisManager::StartAnalysis ( const char *  type,
TTree *const  tree,
Long64_t  nentries = 1234567890,
Long64_t  firstentry = 0 
)

Start analysis for this manager. Analysis task can be: LOCAL, PROOF, GRID or MIX. Process nentries starting from firstentry

Definition at line 1859 of file AliAnalysisManager.cxx.

Referenced by AliPriorsTask(), DphiAnalysis(), filter_reco(), generate(), if(), AliAnalysisGoodies::ProcessChain(), ProcessCut(), RunAliTPCCalibKrTask(), runAODFilterMC(), AliReconstruction::SlaveBegin(), and StartAnalysis().

Long64_t AliAnalysisManager::StartAnalysis ( const char *  type,
const char *  dataset,
Long64_t  nentries = 1234567890,
Long64_t  firstentry = 0 
)

Start analysis for this manager on a given dataset. Analysis task can be: LOCAL, PROOF or GRID. Process nentries starting from firstentry.

Definition at line 2095 of file AliAnalysisManager.cxx.

Long64_t AliAnalysisManager::StartAnalysis ( const char *  type,
TFileCollection *  dataset,
Long64_t  nentries = 1234567890,
Long64_t  firstentry = 0 
)

Start analysis for this manager on a given dataset. Analysis task can be: LOCAL, PROOF or GRID. Process nentries starting from firstentry.

Definition at line 2159 of file AliAnalysisManager.cxx.

Long64_t AliAnalysisManager::StartAnalysis ( const char *  type,
Long64_t  nentries = 1234567890,
Long64_t  firstentry = 0 
)

Start analysis having a grid handler.

Definition at line 1845 of file AliAnalysisManager.cxx.

void AliAnalysisManager::Terminate ( void  )
virtual

The Terminate() function is the last function to be called during a query. It always runs on the client, it can be used to present the results graphically.

Definition at line 1083 of file AliAnalysisManager.cxx.

Referenced by EventLoop(), ProcessCut(), AliReconstruction::SlaveTerminate(), StartAnalysis(), and AliAnalysisSelector::Terminate().

void AliAnalysisManager::UnLock ( )

Verbose unlocking. Hackers will be punished ;-) ...

Definition at line 3096 of file AliAnalysisManager.cxx.

Referenced by IsLocked().

void AliAnalysisManager::UnpackOutput ( TList *  source)

Called by AliAnalysisSelector::Terminate only on the client.

Definition at line 1040 of file AliAnalysisManager.cxx.

Referenced by ProcessCut(), and AliAnalysisSelector::Terminate().

Bool_t AliAnalysisManager::ValidateOutputFiles ( ) const

Validate all output files.

Definition at line 2650 of file AliAnalysisManager.cxx.

Referenced by GetNcalls(), and Terminate().

void AliAnalysisManager::WriteStatisticsMsg ( Int_t  nevents)

If fStatistics is present, write the file in the format ninput_nprocessed_nfailed_naccepted.stat

Definition at line 2863 of file AliAnalysisManager.cxx.

Referenced by PackOutput(), SetStatistics(), and Terminate().

Member Data Documentation

Bool_t AliAnalysisManager::fAsyncReading
private

Enable async reading.

Definition at line 273 of file AliAnalysisManager.h.

Referenced by CreateReadCache(), GetAsyncReading(), operator=(), and SetAsyncReading().

Bool_t AliAnalysisManager::fAutoBranchHandling
private
Long64_t AliAnalysisManager::fCacheSize
private

Cache size in bytes.

Definition at line 278 of file AliAnalysisManager.h.

Referenced by CreateReadCache(), GetCacheSize(), operator=(), SetCacheSize(), and SlaveBegin().

AliAnalysisDataContainer* AliAnalysisManager::fCommonInput
private

Common input container.

Definition at line 266 of file AliAnalysisManager.h.

Referenced by ExecAnalysis(), GetCommonInputContainer(), Init(), operator=(), PrintStatus(), and SetInputEventHandler().

AliAnalysisDataContainer* AliAnalysisManager::fCommonOutput
private

Common output container.

Definition at line 267 of file AliAnalysisManager.h.

Referenced by GetCommonOutputContainer(), OpenProofFile(), operator=(), and SetOutputEventHandler().

TObjArray* AliAnalysisManager::fContainers
private
Double_t AliAnalysisManager::fCPUTime
private

! Cumulated time in Exec

Definition at line 288 of file AliAnalysisManager.h.

Referenced by ExecAnalysis(), operator=(), and PackOutput().

TStopwatch* AliAnalysisManager::fCPUTimer
private

! Timer for useful processing

Definition at line 285 of file AliAnalysisManager.h.

Referenced by ExecAnalysis(), operator=(), and ~AliAnalysisManager().

AliAnalysisFileDescriptor* AliAnalysisManager::fCurrentDescriptor
private

! Current file descriptor

Definition at line 265 of file AliAnalysisManager.h.

Referenced by Notify(), operator=(), and PackOutput().

Long64_t AliAnalysisManager::fCurrentEntry
private

! Current processed entry in the tree

Definition at line 245 of file AliAnalysisManager.h.

Referenced by DoLoadBranch(), GetCurrentEntry(), GetEntry(), operator=(), and SetCurrentEntry().

TObjArray* AliAnalysisManager::fDebugOptions
private

List of debug options.

Definition at line 263 of file AliAnalysisManager.h.

Referenced by AddClassDebug(), ApplyDebugOptions(), operator=(), and ~AliAnalysisManager().

AliVEventPool* AliAnalysisManager::fEventPool
private

Event pool for mixing analysis.

Definition at line 244 of file AliAnalysisManager.h.

Referenced by GetEventPool(), operator=(), SetEventPool(), StartAnalysis(), and ~AliAnalysisManager().

TObjArray* AliAnalysisManager::fExchangeCont
private

List of exchange containers.

Definition at line 262 of file AliAnalysisManager.h.

Referenced by AliAnalysisManager(), CreateContainer(), GetExchangeContainers(), operator=(), and ~AliAnalysisManager().

TString AliAnalysisManager::fExtraFiles
private

List of extra files to be merged.

Definition at line 270 of file AliAnalysisManager.h.

Referenced by GetExtraFiles(), ImportWrappers(), operator=(), PackOutput(), and RegisterExtraFile().

TObjArray* AliAnalysisManager::fFileDescriptors
private

! List of file descriptors

Definition at line 264 of file AliAnalysisManager.h.

Referenced by Notify(), operator=(), PackOutput(), and ~AliAnalysisManager().

TString AliAnalysisManager::fFileInfoLog
private

File name for fileinfo logs.

Definition at line 271 of file AliAnalysisManager.h.

Referenced by GetFileInfoLog(), operator=(), PackOutput(), and SetFileInfoLog().

AliAnalysisManager * AliAnalysisManager::fgAnalysisManager = NULL
staticprivate

! static pointer to object instance

Definition at line 292 of file AliAnalysisManager.h.

Referenced by AliAnalysisManager(), GetAnalysisManager(), operator=(), and ~AliAnalysisManager().

TString AliAnalysisManager::fgCommonFileName = ""
staticprivate

! Common output file name (not streamed)

Definition at line 290 of file AliAnalysisManager.h.

Referenced by AliAnalysisManager(), GetCommonFileName(), operator=(), and SetCommonFileName().

TMap* AliAnalysisManager::fGlobals
private

Map with global variables.

Definition at line 283 of file AliAnalysisManager.h.

Referenced by GetGlobals(), operator=(), and ~AliAnalysisManager().

TString AliAnalysisManager::fgMacroNames = ""
staticprivate

! Loaded macro names

Definition at line 291 of file AliAnalysisManager.h.

Referenced by IsMacroLoaded(), and LoadMacro().

AliAnalysisGrid* AliAnalysisManager::fGridHandler
private

! Grid handler plugin

Definition at line 269 of file AliAnalysisManager.h.

Referenced by GetGridHandler(), operator=(), SetGridHandler(), StartAnalysis(), and ~AliAnalysisManager().

Bool_t AliAnalysisManager::fInitOK
private

Initialisation done.

Definition at line 248 of file AliAnalysisManager.h.

Referenced by AddTask(), ExecAnalysis(), Init(), InitAnalysis(), IsInitialized(), operator=(), PrintStatus(), and StartAnalysis().

Double_t AliAnalysisManager::fInitTime
private

! Cumulated time in initialization

Definition at line 289 of file AliAnalysisManager.h.

Referenced by operator=(), PackOutput(), and SlaveBegin().

TStopwatch* AliAnalysisManager::fInitTimer
private

! Timer for initialization

Definition at line 286 of file AliAnalysisManager.h.

Referenced by operator=(), PackOutput(), SlaveBegin(), Terminate(), and ~AliAnalysisManager().

AliVEventHandler* AliAnalysisManager::fInputEventHandler
private
TObjArray* AliAnalysisManager::fInputs
private

List of containers with input data.

Definition at line 259 of file AliAnalysisManager.h.

Referenced by AliAnalysisManager(), CreateContainer(), ExecAnalysis(), GetInputs(), Init(), InitAnalysis(), operator=(), PrintStatus(), and ~AliAnalysisManager().

Double_t AliAnalysisManager::fIOTime
private

! Cumulated time in IO

Definition at line 287 of file AliAnalysisManager.h.

Referenced by ExecAnalysis(), GetEntry(), ImportWrappers(), Notify(), operator=(), PackOutput(), and UnpackOutput().

TStopwatch* AliAnalysisManager::fIOTimer
private

! Timer for I/O + deserialization

Definition at line 284 of file AliAnalysisManager.h.

Referenced by ExecAnalysis(), GetEntry(), ImportWrappers(), Notify(), operator=(), PackOutput(), UnpackOutput(), and ~AliAnalysisManager().

Bool_t AliAnalysisManager::fIsRemote
private

! Flag is set for remote analysis

Definition at line 250 of file AliAnalysisManager.h.

Referenced by EventLoop(), ExecAnalysis(), IsRemote(), Notify(), operator=(), StartAnalysis(), and Terminate().

Bool_t AliAnalysisManager::fLocked
private

! Lock for the manager and handlers

Definition at line 251 of file AliAnalysisManager.h.

Referenced by Changed(), IsLocked(), Lock(), operator=(), and UnLock().

Long64_t AliAnalysisManager::fMaxEntries
private

Maximum number of entries.

Definition at line 277 of file AliAnalysisManager.h.

Referenced by ExecAnalysis(), operator=(), and StartAnalysis().

Bool_t AliAnalysisManager::fMCLoop
private

External MC generator loop.

Definition at line 252 of file AliAnalysisManager.h.

Referenced by IsMCLoop(), operator=(), and SetMCLoop().

AliVEventHandler* AliAnalysisManager::fMCtruthEventHandler
private
Bool_t AliAnalysisManager::fMustClean
private

Flag to let ROOT do cleanup.

Definition at line 249 of file AliAnalysisManager.h.

Referenced by MustClean(), and SetMustClean().

Int_t AliAnalysisManager::fNcalls
private

Total number of calls (events) of ExecAnalysis.

Definition at line 276 of file AliAnalysisManager.h.

Referenced by ExecAnalysis(), GetNcalls(), operator=(), PackOutput(), and Terminate().

Long64_t AliAnalysisManager::fNSysInfo
private

Event frequency for collecting system information.

Definition at line 246 of file AliAnalysisManager.h.

Referenced by ExecAnalysis(), GetNsysInfo(), operator=(), PrintStatus(), SetCollectSysInfoEach(), SetNSysInfo(), SlaveBegin(), StartAnalysis(), and Terminate().

TObjArray* AliAnalysisManager::fOutputs
private
TObjArray* AliAnalysisManager::fParamCont
private

List of containers with parameters.

Definition at line 261 of file AliAnalysisManager.h.

Referenced by AliAnalysisManager(), CreateContainer(), GetParamOutputs(), operator=(), Terminate(), and ~AliAnalysisManager().

Int_t AliAnalysisManager::fPBUpdateFreq = 1
staticprivate

Progress bar update freq.

Definition at line 279 of file AliAnalysisManager.h.

Referenced by ProgressBar(), and SetUseProgressBar().

TString AliAnalysisManager::fRequestedBranches
private

Requested branch names.

Definition at line 281 of file AliAnalysisManager.h.

Referenced by AddBranches(), CheckBranches(), CreateReadCache(), GetRequestedBranches(), operator=(), and PrintStatus().

Int_t AliAnalysisManager::fRunFromPath
private

Run number retrieved from path to input data.

Definition at line 275 of file AliAnalysisManager.h.

Referenced by GetRunFromPath(), Notify(), operator=(), and SetRunFromPath().

AliAnalysisSelector* AliAnalysisManager::fSelector
private

! Current selector

Definition at line 268 of file AliAnalysisManager.h.

Referenced by OpenProofFile(), operator=(), SetSelector(), SlaveBegin(), and StartAnalysis().

TString AliAnalysisManager::fSpecialOutputLocation
private

URL/path where the special outputs will be copied.

Definition at line 254 of file AliAnalysisManager.h.

Referenced by ImportWrappers(), OpenProofFile(), PackOutput(), SetSpecialOutputLocation(), and Terminate().

AliAnalysisStatistics* AliAnalysisManager::fStatistics
private
TString AliAnalysisManager::fStatisticsMsg
private

Statistics user message.

Definition at line 280 of file AliAnalysisManager.h.

Referenced by AddStatisticsMsg(), GetStatisticsMsg(), operator=(), and WriteStatisticsMsg().

THashTable AliAnalysisManager::fTable
private

keep branch ptrs in case of manual branch loading

Definition at line 274 of file AliAnalysisManager.h.

Referenced by CheckBranches(), DoLoadBranch(), Init(), Notify(), and operator=().

TObjArray* AliAnalysisManager::fTopTasks
private
TTree* AliAnalysisManager::fTree
private

! Input tree in case of TSelector model

Definition at line 240 of file AliAnalysisManager.h.

Referenced by CheckBranches(), CreateReadCache(), DoLoadBranch(), ExecAnalysis(), GetEntry(), GetTree(), Init(), Notify(), operator=(), and StartAnalysis().

TObjArray* AliAnalysisManager::fZombies
private

List of zombie tasks.

Definition at line 257 of file AliAnalysisManager.h.

Referenced by AliAnalysisManager(), GetZombieTasks(), InitAnalysis(), operator=(), and ~AliAnalysisManager().


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