Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::MultiTrackAna Class Reference
Inheritance diagram for Hal::MultiTrackAna:
Hal::TrackAna Hal::EventAna Hal::Task Hal::TwoTrackAna Hal::FemtoBasicAna Hal::FemtoFreezoutsAna Hal::TwoTrackAnaChain Hal::Femto1DCFAnaMap Hal::FemtoDumpPairAna Hal::FemtoEventBinsAna

Public Member Functions

 MultiTrackAna (const MultiTrackAna &ana)
 
MultiTrackAnaoperator= (const MultiTrackAna &other)
 
void SetMixSize (Int_t to_mix)
 
void SetFormatBuffered (Event *format)
 
virtual void FinishTask ()
 
virtual void SetOption (Option_t *option)
 
- Public Member Functions inherited from Hal::TrackAna
 TrackAna (const TrackAna &ana)
 
TrackAnaoperator= (const TrackAna &other)
 
virtual void Exec (Option_t *opt)
 
- 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 ProcessTrack ()
 
virtual void ProcessEvent ()
 
virtual void InitNewCutContainer ()
 
virtual Task::EInitFlag Init ()
 
virtual Task::EInitFlag CheckFormat ()
 
virtual PackageReport () const
 
 MultiTrackAna (ECutUpdate tiers)
 
- Protected Member Functions inherited from Hal::TrackAna
virtual void LinkCollections ()
 
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 ()
 
Int_t GetTaskID () const
 
 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 20 of file MultiTrackAna.h.

Constructor & Destructor Documentation

◆ MultiTrackAna() [1/3]

Hal::MultiTrackAna::MultiTrackAna ( ECutUpdate tiers)
protected

ctor for derived classes

Parameters
tiers

Definition at line 57 of file MultiTrackAna.cxx.

◆ MultiTrackAna() [2/3]

Hal::MultiTrackAna::MultiTrackAna ( )

Definition at line 59 of file MultiTrackAna.cxx.

◆ MultiTrackAna() [3/3]

Hal::MultiTrackAna::MultiTrackAna ( const MultiTrackAna & ana)

copy ctor

Parameters
ana

Definition at line 61 of file MultiTrackAna.cxx.

◆ ~MultiTrackAna()

Hal::MultiTrackAna::~MultiTrackAna ( )
virtual

Definition at line 55 of file MultiTrackAna.cxx.

Member Function Documentation

◆ CheckFormat()

Task::EInitFlag Hal::MultiTrackAna::CheckFormat ( )
protectedvirtual

check if format set in analysis is ok

Returns

Reimplemented from Hal::EventAna.

Definition at line 83 of file MultiTrackAna.cxx.

◆ FinishTask()

void Hal::MultiTrackAna::FinishTask ( )
virtual

called at the end of analysis save resutls

Reimplemented from Hal::TrackAna.

Reimplemented in Hal::FemtoBasicAna, Hal::FemtoDumpPairAna, Hal::TwoTrackAna, and Hal::TwoTrackAnaChain.

Definition at line 74 of file MultiTrackAna.cxx.

◆ Init()

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

Reimplemented in Hal::Femto1DCFAnaMap, Hal::FemtoBasicAna, Hal::FemtoDumpPairAna, Hal::FemtoEventBinsAna, Hal::FemtoFreezoutsAna, Hal::TwoTrackAna, and Hal::TwoTrackAnaChain.

Definition at line 25 of file MultiTrackAna.cxx.

◆ InitNewCutContainer()

void Hal::MultiTrackAna::InitNewCutContainer ( )
protectedvirtual

init new cut container if current is NULL (may happen if user don't add any cut, should be overwritten in derived classes

Reimplemented from Hal::EventAna.

Reimplemented in Hal::TwoTrackAna.

Definition at line 76 of file MultiTrackAna.cxx.

◆ operator=()

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

Definition at line 78 of file MultiTrackAna.cxx.

◆ ProcessEvent()

void Hal::MultiTrackAna::ProcessEvent ( )
protectedvirtual

process event, can be be overwritten in derived classes

Reimplemented from Hal::TrackAna.

Reimplemented in Hal::FemtoBasicAna, Hal::FemtoEventBinsAna, Hal::TwoTrackAna, and Hal::TwoTrackAnaChain.

Definition at line 69 of file MultiTrackAna.cxx.

◆ ProcessTrack()

void Hal::MultiTrackAna::ProcessTrack ( )
protectedvirtual

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

Reimplemented from Hal::TrackAna.

Reimplemented in Hal::TwoTrackAnaChain.

Definition at line 53 of file MultiTrackAna.cxx.

◆ Report()

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

Reimplemented in Hal::Femto1DCFAnaMap, Hal::FemtoBasicAna, Hal::FemtoEventBinsAna, Hal::FemtoFreezoutsAna, Hal::TwoTrackAna, and Hal::TwoTrackAnaChain.

Definition at line 63 of file MultiTrackAna.cxx.

◆ SetFormatBuffered()

void Hal::MultiTrackAna::SetFormatBuffered ( Event * format)
inline

set format buffered

Parameters
format

Definition at line 51 of file MultiTrackAna.h.

◆ SetMixSize()

void Hal::MultiTrackAna::SetMixSize ( Int_t to_mix)

set size of buffer used in mixing

Parameters
to_mixsize of buffer

Definition at line 43 of file MultiTrackAna.cxx.

◆ SetOption()

void Hal::MultiTrackAna::SetOption ( Option_t * opt)
virtual

for setting options, not used in EventAna

Parameters
opt

Reimplemented from Hal::TrackAna.

Reimplemented in Hal::FemtoBasicAna, Hal::FemtoFreezoutsAna, and Hal::TwoTrackAna.

Definition at line 51 of file MultiTrackAna.cxx.


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