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

Public Member Functions

void SetEventLabels (const std::initializer_list< TString > &init={"Events"})
 
void SetTrackLabels (const std::initializer_list< TString > &init={"Pions"})
 
void SetTrackHistogramAxis (Int_t bins, Double_t min, Double_t max)
 
void SetEventHistogramAxis (Int_t bins, Double_t min, Double_t max)
 
virtual void AddCut (const Cut &cut, Option_t *opt="")
 
void AddCut (const TrackCut &pos, const TrackCut &neg, Option_t *opt="")
 
void AddCutsAndMonitors (const CutsAndMonitors &posTrack, const CutsAndMonitors &negTrack, Option_t *opt="")
 
void SetEventprop (Int_t evProp)
 
virtual PackageReport () const
 
- 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 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 CheckCutContainerCollections ()
 
virtual void ProcessEvent ()
 
Task::EInitFlag Init ()
 
- 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)
 

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 28 of file ChargedFluctuationsAna.h.

Constructor & Destructor Documentation

◆ ChargedFluctuationsAna()

Hal::ChargedFluctuationsAna::ChargedFluctuationsAna ( )

Definition at line 30 of file ChargedFluctuationsAna.cxx.

◆ ~ChargedFluctuationsAna()

Hal::ChargedFluctuationsAna::~ChargedFluctuationsAna ( )
virtual

Definition at line 136 of file ChargedFluctuationsAna.cxx.

Member Function Documentation

◆ AddCut() [1/2]

void Hal::ChargedFluctuationsAna::AddCut ( const Cut & cut,
Option_t * opt = "" )
virtual

add cut object

Parameters
cut
optcan be "fast", with multiplying factor "{AxB}" (where A is number of added cuts, and B is jump in collection value), like "{A}" (then cut is added with collection number A), also mixed versions like "fast+{AxB}" and "fast+{A}" can be used. For two track analysis option "sig" add cut only for signal pairs and "bckg" only for background pairs. It's also possible to add in this way pure real or pure imaginary cuts. For example by adding TrackXCut with "im" option TrackComplexCut(TrackVirtualCut, TrackXCut) is added.

Reimplemented from Hal::EventAna.

Definition at line 131 of file ChargedFluctuationsAna.cxx.

◆ AddCut() [2/2]

void Hal::ChargedFluctuationsAna::AddCut ( const TrackCut & pos,
const TrackCut & neg,
Option_t * opt = "" )

save way to add pair of track cuts

Definition at line 177 of file ChargedFluctuationsAna.cxx.

◆ AddCutsAndMonitors()

void Hal::ChargedFluctuationsAna::AddCutsAndMonitors ( const CutsAndMonitors & posTrack,
const CutsAndMonitors & negTrack,
Option_t * opt = "" )

Definition at line 191 of file ChargedFluctuationsAna.cxx.

◆ CheckCutContainerCollections()

void Hal::ChargedFluctuationsAna::CheckCutContainerCollections ( )
protectedvirtual

checking cut containers. should be overwritten in derived classes

Reimplemented from Hal::TrackAna.

Definition at line 107 of file ChargedFluctuationsAna.cxx.

◆ Init()

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

◆ ProcessEvent()

void Hal::ChargedFluctuationsAna::ProcessEvent ( )
protectedvirtual

process event, can be be overwritten in derived classes

Reimplemented from Hal::TrackAna.

Definition at line 41 of file ChargedFluctuationsAna.cxx.

◆ Report()

Package * Hal::ChargedFluctuationsAna::Report ( ) const
virtual

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 91 of file ChargedFluctuationsAna.cxx.

◆ SetEventHistogramAxis()

void Hal::ChargedFluctuationsAna::SetEventHistogramAxis ( Int_t bins,
Double_t min,
Double_t max )

set third axis of a histogram with fluctuations

Definition at line 155 of file ChargedFluctuationsAna.cxx.

◆ SetEventLabels()

void Hal::ChargedFluctuationsAna::SetEventLabels ( const std::initializer_list< TString > & init = {"Events"})

Definition at line 141 of file ChargedFluctuationsAna.cxx.

◆ SetEventprop()

void Hal::ChargedFluctuationsAna::SetEventprop ( Int_t evProp)

event property around second/third axis

Definition at line 189 of file ChargedFluctuationsAna.cxx.

◆ SetTrackHistogramAxis()

void Hal::ChargedFluctuationsAna::SetTrackHistogramAxis ( Int_t bins,
Double_t min,
Double_t max )

set histogram axis

Parameters
binsnumber of bins
minmin
maxmax
flagflag that is equal to cut collection id - 0 for pions, 2 for kaons, 4 for protons, 6 for charged particles (see PionPlusID etc.)

Definition at line 101 of file ChargedFluctuationsAna.cxx.

◆ SetTrackLabels()

void Hal::ChargedFluctuationsAna::SetTrackLabels ( const std::initializer_list< TString > & init = {"Pions"})

Definition at line 148 of file ChargedFluctuationsAna.cxx.


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