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

Public Member Functions

void SaveEvents ()
 
virtual void SetTrackSmearAlgo (TrackSmear &smear)
 
virtual void SetEventSmearAlgo (EventSmear &smear)
 
virtual void Exec (Option_t *opt)
 
- Public Member Functions inherited from Hal::TrackAna
 TrackAna (const TrackAna &ana)
 
TrackAnaoperator= (const TrackAna &other)
 
virtual void SetOption (Option_t *option)
 
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 void ProcessEvent ()
 
virtual void CheckCutContainerCollections ()
 
virtual Task::EInitFlag Init ()
 
PackageReport () const
 
- Protected Member Functions inherited from Hal::TrackAna
virtual void ProcessTrack ()
 
virtual void LinkCollections ()
 
 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)
 

Protected Attributes

Int_t fOutputFormatID
 
Bool_t fSave
 
EventSmearfEventAlgorithm
 
TrackSmearfTrackAlgorithm
 
SmearedTrackfCurrentTrackSmeared
 
SmearedEventfCurrentEventSmeared
 
- 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
 

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
}
 

Detailed Description

Definition at line 26 of file SmearTask.h.

Constructor & Destructor Documentation

◆ SmearTask()

Hal::SmearTask::SmearTask ( )

Definition at line 28 of file SmearTask.cxx.

◆ ~SmearTask()

Hal::SmearTask::~SmearTask ( )
virtual

Definition at line 121 of file SmearTask.cxx.

Member Function Documentation

◆ CheckCutContainerCollections()

void Hal::SmearTask::CheckCutContainerCollections ( )
protectedvirtual

checking cut containers. should be overwritten in derived classes

Reimplemented from Hal::TrackAna.

Definition at line 40 of file SmearTask.cxx.

◆ Exec()

void Hal::SmearTask::Exec ( Option_t * opt)
virtual

called for each event

Parameters
optnot used

Reimplemented from Hal::TrackAna.

Definition at line 112 of file SmearTask.cxx.

◆ Init()

Task::EInitFlag Hal::SmearTask::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 58 of file SmearTask.cxx.

◆ ProcessEvent()

void Hal::SmearTask::ProcessEvent ( )
protectedvirtual

process event, can be be overwritten in derived classes

Reimplemented from Hal::TrackAna.

Definition at line 98 of file SmearTask.cxx.

◆ Report()

Package * Hal::SmearTask::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 49 of file SmearTask.cxx.

◆ SaveEvents()

void Hal::SmearTask::SaveEvents ( )

if called then smeared events will be saved in output tree

Definition at line 96 of file SmearTask.cxx.

◆ SetEventSmearAlgo()

virtual void Hal::SmearTask::SetEventSmearAlgo ( EventSmear & smear)
inlinevirtual

Definition at line 71 of file SmearTask.h.

◆ SetTrackSmearAlgo()

virtual void Hal::SmearTask::SetTrackSmearAlgo ( TrackSmear & smear)
inlinevirtual

Definition at line 70 of file SmearTask.h.

Member Data Documentation

◆ fCurrentEventSmeared

SmearedEvent* Hal::SmearTask::fCurrentEventSmeared
protected

pointer to current smeared event

Definition at line 51 of file SmearTask.h.

◆ fCurrentTrackSmeared

SmearedTrack* Hal::SmearTask::fCurrentTrackSmeared
protected

pointer to current smeared track

Definition at line 47 of file SmearTask.h.

◆ fEventAlgorithm

EventSmear* Hal::SmearTask::fEventAlgorithm
protected

pointer to smearing algorithm

Definition at line 39 of file SmearTask.h.

◆ fOutputFormatID

Int_t Hal::SmearTask::fOutputFormatID
protected

output format ID

Definition at line 31 of file SmearTask.h.

◆ fSave

Bool_t Hal::SmearTask::fSave
protected

if true then smeared events are saved

Definition at line 35 of file SmearTask.h.

◆ fTrackAlgorithm

TrackSmear* Hal::SmearTask::fTrackAlgorithm
protected

track smearing algorithm

Definition at line 43 of file SmearTask.h.


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