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

Public Member Functions

 SimpleVnAnalysis (Double_t n=2)
 
 SimpleVnAnalysis (const SimpleVnAnalysis &ana)
 
void SetAxis (Int_t nbins, Double_t min, Double_t max, Char_t axis='x')
 
void SetFlowVariableX (const FlowVariable &var)
 
void SetFlowVariableY (const FlowVariable &var)
 
- 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 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 CheckCutContainerCollections ()
 
virtual void ProcessTrack ()
 
virtual void LinkCollections ()
 
PackageReport () const
 
virtual Task::EInitFlag Init ()
 
- Protected Member Functions inherited from Hal::TrackAna
virtual void ProcessEvent ()
 
 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 30 of file SimpleVnAnalysis.h.

Constructor & Destructor Documentation

◆ SimpleVnAnalysis() [1/2]

Hal::SimpleVnAnalysis::SimpleVnAnalysis ( Double_t n = 2)

default constructor

Parameters
ncoefficient used for calculating flow default 2 - for eliptic flow

Definition at line 27 of file SimpleVnAnalysis.cxx.

◆ SimpleVnAnalysis() [2/2]

Hal::SimpleVnAnalysis::SimpleVnAnalysis ( const SimpleVnAnalysis & ana)

copy c-tor

Parameters
ana

Definition at line 166 of file SimpleVnAnalysis.cxx.

◆ ~SimpleVnAnalysis()

Hal::SimpleVnAnalysis::~SimpleVnAnalysis ( )
virtual

Definition at line 186 of file SimpleVnAnalysis.cxx.

Member Function Documentation

◆ CheckCutContainerCollections()

void Hal::SimpleVnAnalysis::CheckCutContainerCollections ( )
protectedvirtual

checking cut containers. should be overwritten in derived classes

Reimplemented from Hal::TrackAna.

Definition at line 157 of file SimpleVnAnalysis.cxx.

◆ Init()

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

◆ LinkCollections()

void Hal::SimpleVnAnalysis::LinkCollections ( )
protectedvirtual

link collections

Reimplemented from Hal::TrackAna.

Definition at line 149 of file SimpleVnAnalysis.cxx.

◆ ProcessTrack()

void Hal::SimpleVnAnalysis::ProcessTrack ( )
protectedvirtual

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

Reimplemented from Hal::TrackAna.

Definition at line 41 of file SimpleVnAnalysis.cxx.

◆ Report()

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

◆ SetAxis()

void Hal::SimpleVnAnalysis::SetAxis ( Int_t nbins,
Double_t min,
Double_t max,
Char_t axis = 'x' )

set axis for flow plots

Parameters
nbinsnumber of bins
minlower edge of histogram
maxupper edge of histogram
axisaxis id - x for X axis, y for Y axis

Definition at line 64 of file SimpleVnAnalysis.cxx.

◆ SetFlowVariableX()

void Hal::SimpleVnAnalysis::SetFlowVariableX ( const FlowVariable & var)

Definition at line 193 of file SimpleVnAnalysis.cxx.

◆ SetFlowVariableY()

void Hal::SimpleVnAnalysis::SetFlowVariableY ( const FlowVariable & var)

Definition at line 195 of file SimpleVnAnalysis.cxx.


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