Heavy ion Analysis Libriares
|
Public Member Functions | |
SpectraAna () | |
void | SetPtAxis (Int_t bins, Double_t min, Double_t max) |
void | SetMtAxis (Int_t bins, Double_t min, Double_t max) |
void | SetYAxis (Int_t bins, Double_t min, Double_t max) |
void | SetEtaAxis (Int_t bins, Double_t min, Double_t max) |
void | SetEventCollectionName (TString name, Int_t event_collection=0) |
void | SetTrackCollectionName (TString name, Int_t track_collection=0) |
void | SetMass (Double_t mass, Int_t track_collection) |
void | SetOption (Option_t *opt) |
Public Member Functions inherited from Hal::TrackAna | |
TrackAna (const TrackAna &ana) | |
TrackAna & | operator= (const TrackAna &other) |
virtual void | Exec (Option_t *opt) |
virtual void | FinishTask () |
Public Member Functions inherited from Hal::EventAna | |
EventAna () | |
EventAna (const EventAna &ana) | |
EventAna & | operator= (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 Task::EInitFlag | Init () |
Package * | Report () const |
Protected Member Functions inherited from Hal::TrackAna | |
virtual void | ProcessEvent () |
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 () |
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 |
Track * | fCurrentTrack |
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 |
CutContainer * | fCutContainer |
MemoryMapManager * | fMemoryMap |
Event * | fCurrentEvent |
TString | fComment |
Int_t | fInit |
Definition at line 22 of file SpectraAna.h.
Hal::SpectraAna::SpectraAna | ( | ) |
default constructor
Definition at line 30 of file SpectraAna.cxx.
|
virtual |
Definition at line 290 of file SpectraAna.cxx.
|
protectedvirtual |
initialize task, in principle all derived classes should usually call this method, this method do following steps:
Reimplemented from Hal::TrackAna.
Definition at line 111 of file SpectraAna.cxx.
|
protectedvirtual |
method for processing track, should be overwritten in derived class if they process tracks
Reimplemented from Hal::TrackAna.
Definition at line 54 of file SpectraAna.cxx.
|
protectedvirtual |
create report that will be saved, derived classes should call this method for base class and add own objects
Reimplemented from Hal::TrackAna.
Definition at line 87 of file SpectraAna.cxx.
void Hal::SpectraAna::SetEtaAxis | ( | Int_t | bins, |
Double_t | min, | ||
Double_t | max ) |
configure pseudorapidity axis
bins | |
min | |
max |
Definition at line 197 of file SpectraAna.cxx.
void Hal::SpectraAna::SetEventCollectionName | ( | TString | name, |
Int_t | event_collection = 0 ) |
set name for event collection (later used for naming histograms)
name | |
event_collection |
Definition at line 203 of file SpectraAna.cxx.
void Hal::SpectraAna::SetMass | ( | Double_t | mass, |
Int_t | track_collection ) |
set mass for given track (if energy is not available from data), if user set mass for one track collection - then should set mass for all track collections
mass | |
track_collection |
Definition at line 235 of file SpectraAna.cxx.
void Hal::SpectraAna::SetMtAxis | ( | Int_t | bins, |
Double_t | min, | ||
Double_t | max ) |
|
virtual |
like for TrackAna + additionaly option
opt | if "auto" then track collections are configured in automatic mode, if user want to make analysis as function of event collections all event collections must be added before calling this options |
Reimplemented from Hal::TrackAna.
Definition at line 241 of file SpectraAna.cxx.
void Hal::SpectraAna::SetPtAxis | ( | Int_t | bins, |
Double_t | min, | ||
Double_t | max ) |
void Hal::SpectraAna::SetTrackCollectionName | ( | TString | name, |
Int_t | track_collection = 0 ) |
set name fot track collection (used for naming histograms)
name | |
track_collection |
Definition at line 209 of file SpectraAna.cxx.
void Hal::SpectraAna::SetYAxis | ( | Int_t | bins, |
Double_t | min, | ||
Double_t | max ) |