Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::TrackAna Class Reference

#include <TrackAna.h>

Inheritance diagram for Hal::TrackAna:
Hal::EventAna Hal::Task Hal::ChargedFluctuationsAna Hal::FluctuationsAna Hal::MiniEventTask Hal::MultiTrackAna Hal::QATrackTask Hal::SimpleVnAnalysis Hal::SmearTask Hal::SpectraAna Hal::TrackAnaChain Hal::TrackColDumAna Hal::V0BasicFinder

Public Member Functions

 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 void ProcessEvent ()
 
virtual void ProcessTrack ()
 
virtual void LinkCollections ()
 
virtual void CheckCutContainerCollections ()
 
virtual Task::EInitFlag Init ()
 
virtual PackageReport () const
 
 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 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
 

Friends

class TrackAnaChain
 

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

base class for making track analysis

Definition at line 23 of file TrackAna.h.

Constructor & Destructor Documentation

◆ TrackAna() [1/3]

Hal::TrackAna::TrackAna ( ECutUpdate tiers)
protected

Definition at line 20 of file TrackAna.cxx.

◆ TrackAna() [2/3]

Hal::TrackAna::TrackAna ( )
inline

Definition at line 57 of file TrackAna.h.

◆ TrackAna() [3/3]

Hal::TrackAna::TrackAna ( const TrackAna & ana)

copy ctor

Parameters
ana

Definition at line 23 of file TrackAna.cxx.

◆ ~TrackAna()

Hal::TrackAna::~TrackAna ( )
virtual

Definition at line 92 of file TrackAna.cxx.

Member Function Documentation

◆ CheckCutContainerCollections()

void Hal::TrackAna::CheckCutContainerCollections ( )
protectedvirtual

checking cut containers. should be overwritten in derived classes

Reimplemented from Hal::EventAna.

Reimplemented in Hal::ChargedFluctuationsAna, Hal::Femto1DCFAnaMap, Hal::FemtoBasicAna, Hal::FluctuationsAna, Hal::SimpleVnAnalysis, Hal::SmearTask, and Hal::TwoTrackAna.

Definition at line 78 of file TrackAna.cxx.

◆ Exec()

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

called for each event

Parameters
optnot used

Reimplemented from Hal::EventAna.

Reimplemented in Hal::FemtoDumpPairAna, Hal::MiniEventTask, Hal::SmearTask, Hal::TrackAnaChain, and Hal::V0BasicFinder.

Definition at line 90 of file TrackAna.cxx.

◆ FinishTask()

void Hal::TrackAna::FinishTask ( )
virtual

called at the end of analysis save resutls

Reimplemented from Hal::EventAna.

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

Definition at line 99 of file TrackAna.cxx.

◆ Init()

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

Reimplemented in Hal::ChargedFluctuationsAna, Hal::Femto1DCFAnaMap, Hal::FemtoBasicAna, Hal::FemtoDumpPairAna, Hal::FemtoEventBinsAna, Hal::FemtoFreezoutsAna, Hal::FluctuationsAna, Hal::MiniEventTask, Hal::MultiTrackAna, Hal::QATrackTask, Hal::SimpleVnAnalysis, Hal::SmearTask, Hal::SpectraAna, Hal::TrackAnaChain, Hal::TrackColDumAna, Hal::TwoTrackAna, Hal::TwoTrackAnaChain, and Hal::V0BasicFinder.

Definition at line 48 of file TrackAna.cxx.

◆ LinkCollections()

void Hal::TrackAna::LinkCollections ( )
protectedvirtual

link collections

Reimplemented from Hal::EventAna.

Reimplemented in Hal::QATrackTask, Hal::SimpleVnAnalysis, Hal::TwoTrackAna, and Hal::V0BasicFinder.

Definition at line 60 of file TrackAna.cxx.

◆ operator=()

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

Definition at line 101 of file TrackAna.cxx.

◆ ProcessEvent()

void Hal::TrackAna::ProcessEvent ( )
protectedvirtual

◆ ProcessTrack()

void Hal::TrackAna::ProcessTrack ( )
protectedvirtual

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

Reimplemented in Hal::MultiTrackAna, Hal::QATrackTask, Hal::SimpleVnAnalysis, Hal::SpectraAna, and Hal::TwoTrackAnaChain.

Definition at line 58 of file TrackAna.cxx.

◆ Report()

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

Reimplemented in Hal::ChargedFluctuationsAna, Hal::Femto1DCFAnaMap, Hal::FemtoBasicAna, Hal::FemtoEventBinsAna, Hal::FemtoFreezoutsAna, Hal::FluctuationsAna, Hal::MultiTrackAna, Hal::QATrackTask, Hal::SimpleVnAnalysis, Hal::SmearTask, Hal::SpectraAna, Hal::TrackAnaChain, Hal::TwoTrackAna, Hal::TwoTrackAnaChain, and Hal::V0BasicFinder.

Definition at line 94 of file TrackAna.cxx.

◆ SetOption()

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

for setting options, not used in EventAna

Parameters
opt

Reimplemented from Hal::EventAna.

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

Definition at line 56 of file TrackAna.cxx.

Friends And Related Symbol Documentation

◆ TrackAnaChain

friend class TrackAnaChain
friend

Definition at line 24 of file TrackAna.h.

Member Data Documentation

◆ fCurrentTrack

Track* Hal::TrackAna::fCurrentTrack
protected

pointer to currently processed track

Definition at line 42 of file TrackAna.h.

◆ fCurrentTrackCollectionID

Int_t Hal::TrackAna::fCurrentTrackCollectionID
protected

current track collection

Definition at line 34 of file TrackAna.h.

◆ fTrackCollectionsNo

Int_t Hal::TrackAna::fTrackCollectionsNo
protected

total number of track collections

Definition at line 30 of file TrackAna.h.

◆ fTrackIndex

Int_t Hal::TrackAna::fTrackIndex
protected

track index in loop over tracks

Definition at line 38 of file TrackAna.h.


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