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

Public Member Functions

void SetEventCollectionNames (const std::initializer_list< TString > &init)
 
void SetTrackCollectionNames (const std::initializer_list< TString > &init)
 
void SetQAPlot (const QAPlot &plot)
 
 QATrackTask (const QATrackTask &other)
 
QATrackTaskoperator= (const QATrackTask &other)
 
- Public Member Functions inherited from Hal::TrackAna
 TrackAna (const TrackAna &ana)
 
TrackAnaoperator= (const TrackAna &other)
 
virtual void SetOption (Option_t *option)
 
virtual void Exec (Option_t *opt)
 
virtual void FinishTask ()
 
- 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)
 
void SetFormatOption (EFormatOption option)
 
virtual void SetComment (TString comment)
 
virtual void SetFormat (Event *format, EFormatDepth depth=EFormatDepth::kAll)
 
virtual ~EventAna ()
 
- Public Member Functions inherited from Hal::Task
 Task ()
 

Protected Member Functions

virtual Task::EInitFlag Init ()
 
virtual void ProcessEvent ()
 
virtual void ProcessTrack ()
 
virtual void LinkCollections ()
 
virtual PackageReport () const
 
QAPlotGetEventQAPlot (Int_t i) const
 
QAPlotGetTrackQAPlot (Int_t i) const
 
- Protected Member Functions inherited from Hal::TrackAna
virtual void CheckCutContainerCollections ()
 
 TrackAna (ECutUpdate tiers)
 
- 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 InitNewCutContainer ()
 
 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::TrackAna
Int_t fTrackCollectionsNo
 
Int_t fCurrentTrackCollectionID
 
Int_t fTrackIndex
 
TrackfCurrentTrack
 
- 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 22 of file QATrackTask.h.

Constructor & Destructor Documentation

◆ QATrackTask() [1/2]

Hal::QATrackTask::QATrackTask ( )

Definition at line 23 of file QATrackTask.cxx.

◆ ~QATrackTask()

Hal::QATrackTask::~QATrackTask ( )
virtual

Definition at line 28 of file QATrackTask.cxx.

◆ QATrackTask() [2/2]

Hal::QATrackTask::QATrackTask ( const QATrackTask & other)

Definition at line 35 of file QATrackTask.cxx.

Member Function Documentation

◆ GetEventQAPlot()

QAPlot * Hal::QATrackTask::GetEventQAPlot ( Int_t i) const
inlineprotected

Definition at line 36 of file QATrackTask.h.

◆ GetTrackQAPlot()

QAPlot * Hal::QATrackTask::GetTrackQAPlot ( Int_t i) const
inlineprotected

Definition at line 37 of file QATrackTask.h.

◆ Init()

Task::EInitFlag Hal::QATrackTask::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::TrackAna.

Definition at line 82 of file QATrackTask.cxx.

◆ LinkCollections()

void Hal::QATrackTask::LinkCollections ( )
protectedvirtual

link collections

Reimplemented from Hal::TrackAna.

Definition at line 125 of file QATrackTask.cxx.

◆ operator=()

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

Definition at line 110 of file QATrackTask.cxx.

◆ ProcessEvent()

void Hal::QATrackTask::ProcessEvent ( )
protectedvirtual

process event, can be be overwritten in derived classes

Reimplemented from Hal::TrackAna.

Definition at line 72 of file QATrackTask.cxx.

◆ ProcessTrack()

void Hal::QATrackTask::ProcessTrack ( )
protectedvirtual

method for processing track, should be overwritten in derived class if they process tracks

Reimplemented from Hal::TrackAna.

Definition at line 77 of file QATrackTask.cxx.

◆ Report()

Package * Hal::QATrackTask::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::TrackAna.

Definition at line 129 of file QATrackTask.cxx.

◆ SetEventCollectionNames()

void Hal::QATrackTask::SetEventCollectionNames ( const std::initializer_list< TString > & init)

Definition at line 158 of file QATrackTask.cxx.

◆ SetQAPlot()

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

Definition at line 58 of file QATrackTask.cxx.

◆ SetTrackCollectionNames()

void Hal::QATrackTask::SetTrackCollectionNames ( const std::initializer_list< TString > & init)

Definition at line 165 of file QATrackTask.cxx.


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