Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::QAEventTask Class Reference
Inheritance diagram for Hal::QAEventTask:
Hal::EventAna Hal::Task

Public Member Functions

void SetEventCollectionNames (const std::initializer_list< TString > &init)
 
void SetQAPlot (const QAPlot &plot)
 
 QAEventTask (const QAEventTask &other)
 
QAEventTaskoperator= (const QAEventTask &other)
 
- Public Member Functions inherited from Hal::EventAna
 EventAna ()
 
 EventAna (const EventAna &ana)
 
EventAnaoperator= (const EventAna &other)
 
virtual void AddTags (TString tag)
 
virtual void AddCut (const Cut &cut, Option_t *opt="")
 
virtual void AddCutMonitor (const CutMonitor &mon, Option_t *opt="")
 
virtual void AddCutsAndMonitors (const CutsAndMonitors &monCuts)
 
virtual void Exec (Option_t *opt)
 
virtual void SetOption (Option_t *opt)
 
void SetFormatOption (EFormatOption option)
 
virtual void SetComment (TString comment)
 
virtual void SetFormat (Event *format, EFormatDepth depth=EFormatDepth::kAll)
 
virtual void FinishTask ()
 
virtual ~EventAna ()
 
- Public Member Functions inherited from Hal::Task
 Task ()
 

Protected Member Functions

QAPlotGetQAPlot (Int_t i) const
 
virtual Task::EInitFlag Init ()
 
virtual void ProcessEvent ()
 
virtual PackageReport () const
 
- Protected Member Functions inherited from Hal::EventAna
TString GetInputFileName () const
 
void SetInputFileName (TString name)
 
virtual void InitMemoryMap ()
 
Bool_t IsInChain () const
 
void MarkAsInChain ()
 
void AddToAnaMetadata (Package *main_pack, TObject *obj) const
 
Task::EInitFlag InitCutContainer ()
 
virtual Task::EInitFlag CheckFormat ()
 
Int_t GetTaskID () const
 
virtual void LinkCollections ()
 
virtual void InitNewCutContainer ()
 
virtual void CheckCutContainerCollections ()
 
 EventAna (ECutUpdate tiers)
 
- Protected Member Functions inherited from Hal::Task
void GoToDir (TString name)
 

Additional Inherited Members

- Public Types inherited from Hal::EventAna
enum class  EFormatOption {
  kCompress , kNoCompress , kKeepSource , kNoKeepSource ,
  kDirectAccess , kNoDirectAccess , kReaderAccess , kNoReaderAcces ,
  kDisableChecking , kStandardAcess
}
 
- Public Types inherited from Hal::Task
enum class  EInitFlag { kSUCCESS , kERROR , kFATAL }
 
- Protected Types inherited from Hal::EventAna
enum  eBitFormat {
  kCompression = 0 , kSource = 1 , kDirectAcesss = 2 , kReader = 3 ,
  kChecking = 4
}
 
- Protected Attributes inherited from Hal::EventAna
Int_t fFormatOption
 
UInt_t fProcessedEvents
 
Int_t fMixSize
 
Int_t fEventCollectionsNo
 
Int_t fCurrentEventCollectionID
 
const ECutUpdate fTiers
 
TDatabasePDG * fPDG
 
CutContainerfCutContainer
 
MemoryMapManagerfMemoryMap
 
EventfCurrentEvent
 
TString fComment
 
Int_t fInit
 

Detailed Description

Definition at line 25 of file QAEventTask.h.

Constructor & Destructor Documentation

◆ QAEventTask() [1/2]

Hal::QAEventTask::QAEventTask ( )

Definition at line 21 of file QAEventTask.cxx.

◆ ~QAEventTask()

Hal::QAEventTask::~QAEventTask ( )
virtual

Definition at line 23 of file QAEventTask.cxx.

◆ QAEventTask() [2/2]

Hal::QAEventTask::QAEventTask ( const QAEventTask & other)

Definition at line 28 of file QAEventTask.cxx.

Member Function Documentation

◆ GetQAPlot()

QAPlot * Hal::QAEventTask::GetQAPlot ( Int_t i) const
inlineprotected

Definition at line 31 of file QAEventTask.h.

◆ Init()

Task::EInitFlag Hal::QAEventTask::Init ( )
protectedvirtual

initialize task, in principle all derived classes should usually call this method, this method do following steps:

  1. SetInputFile() - set name of the input file
  2. SetFormatOption(EFormatOption::kReaderAccess) - set reader format if no format is set
  1. InitNewCutContainer() - init new container if no container is set
  2. CheckCutContainerCollections()
  3. LinkCollections()
  4. fCutContainer->Init(GetTaskID())
Returns
status of initialization

Reimplemented from Hal::EventAna.

Definition at line 40 of file QAEventTask.cxx.

◆ operator=()

QAEventTask & Hal::QAEventTask::operator= ( const QAEventTask & other)

Definition at line 81 of file QAEventTask.cxx.

◆ ProcessEvent()

void Hal::QAEventTask::ProcessEvent ( )
protectedvirtual

process event, can be be overwritten in derived classes

Reimplemented from Hal::EventAna.

Definition at line 79 of file QAEventTask.cxx.

◆ Report()

Package * Hal::QAEventTask::Report ( ) const
protectedvirtual

create report that will be saved, derived classes should call this method for base class and add own objects

Returns
report from analysis

Reimplemented from Hal::EventAna.

Definition at line 59 of file QAEventTask.cxx.

◆ SetQAPlot()

void Hal::QAEventTask::SetQAPlot ( const QAPlot & plot)

Definition at line 75 of file QAEventTask.cxx.


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