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

Public Member Functions

 FemtoBasicAna ()
 
 FemtoBasicAna (const FemtoBasicAna &ana)
 
FemtoBasicAnaoperator= (const FemtoBasicAna &other)
 
virtual void FinishTask ()
 
virtual void SetCorrFctn (FemtoCorrFunc *h)
 
virtual void SetCorrFctn (const FemtoCorrFunc &h)
 
void SetWeight (const FemtoWeightGenerator &gen)
 
void SetFreezoutGenerator (const FemtoFreezoutGenerator &gen)
 
void SetPdg (Int_t PID)
 
void SetPdg (Int_t PID1, Int_t PID2)
 
void IgnoreSign ()
 
void UseImgMomenta ()
 
virtual void SetOption (Option_t *option)
 
- Public Member Functions inherited from Hal::TwoTrackAna
 TwoTrackAna (Bool_t use_background=kFALSE)
 
 TwoTrackAna (const TwoTrackAna &ana)
 
TwoTrackAnaoperator= (const TwoTrackAna &other)
 
void SetMixSize (Int_t mixsize)
 
void ProceedWithEmtyEvents (Bool_t proceed)
 
void EnableNonIdentical ()
 
- Public Member Functions inherited from Hal::MultiTrackAna
 MultiTrackAna (const MultiTrackAna &ana)
 
MultiTrackAnaoperator= (const MultiTrackAna &other)
 
void SetMixSize (Int_t to_mix)
 
void SetFormatBuffered (Event *format)
 
- 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 CheckCutContainerCollections ()
 
virtual void PreprocessFemtoPair ()
 
virtual void PreprocessFemtoPair_Perfect ()
 
virtual void PreprocessFemtoPair_Rotated ()
 
virtual void PreprocessFemtoPair_Hemisphere ()
 
virtual void PreprocessFemtoPair_Mixed ()
 
virtual void PreprocessFemtoPair_Charged ()
 
virtual void ProcessFemtoPair ()
 
virtual void ProcessFemtoPair_Perfect ()
 
virtual void ProcessFemtoPair_Rotated ()
 
virtual void ProcessFemtoPair_Hemisphere ()
 
virtual void ProcessFemtoPair_Mixed ()
 
virtual void ProcessFemtoPair_Charged ()
 
virtual void ProcessPair ()
 
virtual void ProcessPair2 ()
 
virtual void ProcessPair_Perfect ()
 
virtual void ProcessPair2_Perfect ()
 
virtual void ProcessPair_Mixed ()
 
virtual void ProcessPair2_Mixed ()
 
virtual void ProcessPair_Rotated ()
 
virtual void ProcessPair2_Rotated ()
 
virtual void ProcessPair_Hemisphere ()
 
virtual void ProcessPair2_Hemisphere ()
 
virtual void ProcessPair_ChargedId ()
 
virtual void ProcessPair_ChargedNId ()
 
virtual PackageReport () const
 
virtual void ProcessEvent ()
 
virtual Bool_t InitArray ()
 
virtual Task::EInitFlag Init ()
 
- Protected Member Functions inherited from Hal::TwoTrackAna
virtual void SetTags ()
 
Bool_t IdenticalParticles () const
 
virtual void SetPairHiddenInfo ()
 
virtual void DeleteHiddenPairInfo ()
 
virtual void ProcessPair_Charged2 ()
 
virtual void ProcessPair2_Charged2 ()
 
virtual void ProcessPair_Charged3 ()
 
virtual void ProcessPair2_Charged3 ()
 
virtual void InitNewCutContainer ()
 
virtual void LinkCollections ()
 
virtual void FinishEventIdentical ()
 
virtual void FinishEventNonIdentical ()
 
- Protected Member Functions inherited from Hal::MultiTrackAna
virtual void ProcessTrack ()
 
virtual Task::EInitFlag CheckFormat ()
 
 MultiTrackAna (ECutUpdate tiers)
 
- Protected Member Functions inherited from Hal::TrackAna
 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)
 

Protected Attributes

Int_t fPdg1
 
Int_t fPdg2
 
Bool_t fUseImgMomenta
 
Bool_t fIgnoreSign
 
Double_t fFsiWeight
 
FemtoPairfFemtoPair
 
FemtoWeightGeneratorfCalc
 
FemtoFreezoutGeneratorfFreezoutGenerator
 
ObjectMatrix_2fCFs
 
FemtoCorrFuncfCFTemp
 
- Protected Attributes inherited from Hal::TwoTrackAna
EAnaMode fBackgroundMode
 
Int_t fCurrentPairCollectionID
 
Int_t fTwoTrackCollectionsNo
 
Int_t fTwoTrackCollectionsNoBackground
 
TwoTrackfCurrentSignalPair
 
TwoTrackfCurrentBackgroundPair
 
- 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
 

Additional Inherited Members

- Public Types inherited from Hal::TwoTrackAna
enum  EAnaMode {
  kPerfectPairs , kPerfectPairsID , kPerfectPairsNID , kMixedPairs ,
  kMixedPairsID , kMixedPairsNID , kRotatedPairs , kRotatedPairsID ,
  kRotatedPairsNID , kHemispherePairs , kHemispherePairsID , kHemispherePairsNID ,
  kNoBackgroundID , kNoBackgroundNID , kNoBackground , kCharged ,
  kChargedID2 , kChargedID3 , kChargedNID2 , kChargedNID3
}
 
- 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 }
 
- Static Public Member Functions inherited from Hal::TwoTrackAna
static TString BackgroundOptionMixed ()
 
static TString BackgroundOptionPerfect ()
 
static TString BackgroundOptionRotated ()
 
static TString BackgroundOptionHemisphere ()
 
static TString BackgroundOptionCharge ()
 
static TString BackgroundOptionNoBackground ()
 
static TwoTrack::PairType GetPairType (EAnaMode mode)
 
- Protected Types inherited from Hal::EventAna
enum  eBitFormat {
  kCompression = 0 , kSource = 1 , kDirectAcesss = 2 , kReader = 3 ,
  kChecking = 4
}
 

Detailed Description

Definition at line 29 of file FemtoBasicAna.h.

Constructor & Destructor Documentation

◆ FemtoBasicAna() [1/2]

Hal::FemtoBasicAna::FemtoBasicAna ( )

default c-tor

Parameters
histo_axis_nonumber of axis in histograms

Definition at line 36 of file FemtoBasicAna.cxx.

◆ FemtoBasicAna() [2/2]

Hal::FemtoBasicAna::FemtoBasicAna ( const FemtoBasicAna & ana)

copy c-tor

Parameters
ana

Definition at line 53 of file FemtoBasicAna.cxx.

◆ ~FemtoBasicAna()

Hal::FemtoBasicAna::~FemtoBasicAna ( )
virtual

Definition at line 312 of file FemtoBasicAna.cxx.

Member Function Documentation

◆ CheckCutContainerCollections()

void Hal::FemtoBasicAna::CheckCutContainerCollections ( )
protectedvirtual

checking cut containers. should be overwritten in derived classes

Reimplemented from Hal::TwoTrackAna.

Reimplemented in Hal::Femto1DCFAnaMap.

Definition at line 278 of file FemtoBasicAna.cxx.

◆ FinishTask()

void Hal::FemtoBasicAna::FinishTask ( )
virtual

called at the end of analysis save resutls

Reimplemented from Hal::TwoTrackAna.

Reimplemented in Hal::FemtoDumpPairAna.

Definition at line 182 of file FemtoBasicAna.cxx.

◆ IgnoreSign()

void Hal::FemtoBasicAna::IgnoreSign ( )
inline

ignore sign during fillng CF, e.g. if function is filled with k*_out=-0.5 it will be filled as with k*_out = 0.5

Definition at line 199 of file FemtoBasicAna.h.

◆ Init()

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

Reimplemented in Hal::Femto1DCFAnaMap, Hal::FemtoDumpPairAna, and Hal::FemtoEventBinsAna.

Definition at line 111 of file FemtoBasicAna.cxx.

◆ InitArray()

Bool_t Hal::FemtoBasicAna::InitArray ( )
protectedvirtual

init map with CF-s

Returns

Reimplemented in Hal::Femto1DCFAnaMap, and Hal::FemtoEventBinsAna.

Definition at line 356 of file FemtoBasicAna.cxx.

◆ operator=()

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

assignement operator

Parameters
other
Returns

Definition at line 381 of file FemtoBasicAna.cxx.

◆ PreprocessFemtoPair()

void Hal::FemtoBasicAna::PreprocessFemtoPair ( )
protectedvirtual

preprocess femto pair

Definition at line 228 of file FemtoBasicAna.cxx.

◆ PreprocessFemtoPair_Charged()

virtual void Hal::FemtoBasicAna::PreprocessFemtoPair_Charged ( )
inlineprotectedvirtual

preprocess femto pair "charged background"

Definition at line 91 of file FemtoBasicAna.h.

◆ PreprocessFemtoPair_Hemisphere()

virtual void Hal::FemtoBasicAna::PreprocessFemtoPair_Hemisphere ( )
inlineprotectedvirtual

preprocess femto pair "hemisphere background"

Definition at line 83 of file FemtoBasicAna.h.

◆ PreprocessFemtoPair_Mixed()

virtual void Hal::FemtoBasicAna::PreprocessFemtoPair_Mixed ( )
inlineprotectedvirtual

preprocess femto pair "mixed background"

Definition at line 87 of file FemtoBasicAna.h.

◆ PreprocessFemtoPair_Perfect()

virtual void Hal::FemtoBasicAna::PreprocessFemtoPair_Perfect ( )
inlineprotectedvirtual

preprocess femto pair from "perfect background"

Definition at line 75 of file FemtoBasicAna.h.

◆ PreprocessFemtoPair_Rotated()

virtual void Hal::FemtoBasicAna::PreprocessFemtoPair_Rotated ( )
inlineprotectedvirtual

preprocess femto pair "rotated background"

Definition at line 79 of file FemtoBasicAna.h.

◆ ProcessEvent()

void Hal::FemtoBasicAna::ProcessEvent ( )
protectedvirtual

process event, can be be overwritten in derived classes

Reimplemented from Hal::TwoTrackAna.

Reimplemented in Hal::FemtoEventBinsAna.

Definition at line 320 of file FemtoBasicAna.cxx.

◆ ProcessFemtoPair()

void Hal::FemtoBasicAna::ProcessFemtoPair ( )
protectedvirtual

process femto pair from "charged background"

Reimplemented in Hal::Femto1DCFAnaMap, Hal::FemtoDumpPairAna, and Hal::FemtoEventBinsAna.

Definition at line 238 of file FemtoBasicAna.cxx.

◆ ProcessFemtoPair_Charged()

void Hal::FemtoBasicAna::ProcessFemtoPair_Charged ( )
protectedvirtual

process femto pair from "charged background"

Reimplemented in Hal::Femto1DCFAnaMap, and Hal::FemtoEventBinsAna.

Definition at line 271 of file FemtoBasicAna.cxx.

◆ ProcessFemtoPair_Hemisphere()

void Hal::FemtoBasicAna::ProcessFemtoPair_Hemisphere ( )
protectedvirtual

process femto pair from "hemisphere background"

Reimplemented in Hal::Femto1DCFAnaMap, Hal::FemtoDumpPairAna, and Hal::FemtoEventBinsAna.

Definition at line 258 of file FemtoBasicAna.cxx.

◆ ProcessFemtoPair_Mixed()

void Hal::FemtoBasicAna::ProcessFemtoPair_Mixed ( )
protectedvirtual

process femto pair from "mixed background"

Reimplemented in Hal::Femto1DCFAnaMap, Hal::FemtoDumpPairAna, and Hal::FemtoEventBinsAna.

Definition at line 265 of file FemtoBasicAna.cxx.

◆ ProcessFemtoPair_Perfect()

void Hal::FemtoBasicAna::ProcessFemtoPair_Perfect ( )
protectedvirtual

process femto pair from "perfect background"

Reimplemented in Hal::Femto1DCFAnaMap, Hal::FemtoDumpPairAna, and Hal::FemtoEventBinsAna.

Definition at line 245 of file FemtoBasicAna.cxx.

◆ ProcessFemtoPair_Rotated()

void Hal::FemtoBasicAna::ProcessFemtoPair_Rotated ( )
protectedvirtual

process femto pair from "roated background"

Reimplemented in Hal::Femto1DCFAnaMap, Hal::FemtoDumpPairAna, and Hal::FemtoEventBinsAna.

Definition at line 251 of file FemtoBasicAna.cxx.

◆ ProcessPair()

void Hal::FemtoBasicAna::ProcessPair ( )
protectedvirtual

process pair of identical particles in signal

Reimplemented from Hal::TwoTrackAna.

Definition at line 198 of file FemtoBasicAna.cxx.

◆ ProcessPair2()

virtual void Hal::FemtoBasicAna::ProcessPair2 ( )
inlineprotectedvirtual

process pair of non-identical particles in signal

Reimplemented from Hal::TwoTrackAna.

Definition at line 119 of file FemtoBasicAna.h.

◆ ProcessPair2_Hemisphere()

virtual void Hal::FemtoBasicAna::ProcessPair2_Hemisphere ( )
inlineprotectedvirtual

process pair of non-identical particles in hemisphere background

Reimplemented from Hal::TwoTrackAna.

Definition at line 127 of file FemtoBasicAna.h.

◆ ProcessPair2_Mixed()

virtual void Hal::FemtoBasicAna::ProcessPair2_Mixed ( )
inlineprotectedvirtual

process pair of non-identical particles in mixed background

Reimplemented from Hal::TwoTrackAna.

Definition at line 123 of file FemtoBasicAna.h.

◆ ProcessPair2_Perfect()

virtual void Hal::FemtoBasicAna::ProcessPair2_Perfect ( )
inlineprotectedvirtual

process pair of identical non-particles in perfect background

Reimplemented from Hal::TwoTrackAna.

Definition at line 121 of file FemtoBasicAna.h.

◆ ProcessPair2_Rotated()

virtual void Hal::FemtoBasicAna::ProcessPair2_Rotated ( )
inlineprotectedvirtual

process pair of non-identical particles in rotated background

Reimplemented from Hal::TwoTrackAna.

Definition at line 125 of file FemtoBasicAna.h.

◆ ProcessPair_ChargedId()

void Hal::FemtoBasicAna::ProcessPair_ChargedId ( )
protectedvirtual

process pair of identical particles in charged background

Reimplemented from Hal::TwoTrackAna.

Definition at line 232 of file FemtoBasicAna.cxx.

◆ ProcessPair_ChargedNId()

virtual void Hal::FemtoBasicAna::ProcessPair_ChargedNId ( )
inlineprotectedvirtual

process pair of non-identical particles in charged background

Reimplemented from Hal::TwoTrackAna.

Definition at line 129 of file FemtoBasicAna.h.

◆ ProcessPair_Hemisphere()

void Hal::FemtoBasicAna::ProcessPair_Hemisphere ( )
protectedvirtual

process pair of identical particles in hemisphere background

Reimplemented from Hal::TwoTrackAna.

Definition at line 216 of file FemtoBasicAna.cxx.

◆ ProcessPair_Mixed()

void Hal::FemtoBasicAna::ProcessPair_Mixed ( )
protectedvirtual

process pair of identical particles in mixed background

Reimplemented from Hal::TwoTrackAna.

Definition at line 222 of file FemtoBasicAna.cxx.

◆ ProcessPair_Perfect()

void Hal::FemtoBasicAna::ProcessPair_Perfect ( )
protectedvirtual

process pair of identical particles in perfect background

Reimplemented from Hal::TwoTrackAna.

Definition at line 204 of file FemtoBasicAna.cxx.

◆ ProcessPair_Rotated()

void Hal::FemtoBasicAna::ProcessPair_Rotated ( )
protectedvirtual

process pair of identical particles in rotated background

Reimplemented from Hal::TwoTrackAna.

Definition at line 210 of file FemtoBasicAna.cxx.

◆ Report()

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

Reimplemented in Hal::Femto1DCFAnaMap, and Hal::FemtoEventBinsAna.

Definition at line 70 of file FemtoBasicAna.cxx.

◆ SetCorrFctn() [1/2]

void Hal::FemtoBasicAna::SetCorrFctn ( const FemtoCorrFunc & h)
virtual

set correlaction function

Parameters
hcorrelaction function class

Definition at line 307 of file FemtoBasicAna.cxx.

◆ SetCorrFctn() [2/2]

void Hal::FemtoBasicAna::SetCorrFctn ( FemtoCorrFunc * h)
virtual

set correlaction function

Parameters
hcorrelaction function class

Definition at line 302 of file FemtoBasicAna.cxx.

◆ SetFreezoutGenerator()

void Hal::FemtoBasicAna::SetFreezoutGenerator ( const FemtoFreezoutGenerator & gen)
inline

set freezout generator that creates points of particles creation

Parameters
genfreezout generator

Definition at line 180 of file FemtoBasicAna.h.

◆ SetOption()

void Hal::FemtoBasicAna::SetOption ( Option_t * option)
virtual

set option

Parameters
option- option from TwoTrackAna or "ignore_sign" if user want to fill abs values calculated by kinematics class. . It's also possibe to set "use_im_momenta" for using complex format with imaginary data kinematics

Reimplemented from Hal::TwoTrackAna.

Definition at line 184 of file FemtoBasicAna.cxx.

◆ SetPdg() [1/2]

void Hal::FemtoBasicAna::SetPdg ( Int_t PID)
inline

set assumed pid of particle (replaces SetMass)

Parameters
PID

Definition at line 185 of file FemtoBasicAna.h.

◆ SetPdg() [2/2]

void Hal::FemtoBasicAna::SetPdg ( Int_t PID1,
Int_t PID2 )
inline

set assumed pids of particles (replaces SetMass)

Parameters
PID1
PID2

Definition at line 191 of file FemtoBasicAna.h.

◆ SetWeight()

void Hal::FemtoBasicAna::SetWeight ( const FemtoWeightGenerator & gen)
inline

set weight algorithm used for calculation CF in MC data

Parameters
gen

Definition at line 175 of file FemtoBasicAna.h.

◆ UseImgMomenta()

void Hal::FemtoBasicAna::UseImgMomenta ( )
inline

use imaginary momenta for calculations (works only with complex data format!)

Definition at line 204 of file FemtoBasicAna.h.

Member Data Documentation

◆ fCalc

FemtoWeightGenerator* Hal::FemtoBasicAna::fCalc
protected

pointer to code that calculate weight of pair

Definition at line 54 of file FemtoBasicAna.h.

◆ fCFs

ObjectMatrix_2* Hal::FemtoBasicAna::fCFs
protected

array of correlation function

Definition at line 62 of file FemtoBasicAna.h.

◆ fCFTemp

FemtoCorrFunc* Hal::FemtoBasicAna::fCFTemp
protected

temporary correlation function removed after init

Definition at line 66 of file FemtoBasicAna.h.

◆ fFemtoPair

FemtoPair* Hal::FemtoBasicAna::fFemtoPair
protected

pointer to processed femtoscopic pair

Definition at line 50 of file FemtoBasicAna.h.

◆ fFreezoutGenerator

FemtoFreezoutGenerator* Hal::FemtoBasicAna::fFreezoutGenerator
protected

pointer to class that generate freezout positions

Definition at line 58 of file FemtoBasicAna.h.

◆ fFsiWeight

Double_t Hal::FemtoBasicAna::fFsiWeight
protected

weight caused by quantum statistic or FSI

Definition at line 46 of file FemtoBasicAna.h.

◆ fIgnoreSign

Bool_t Hal::FemtoBasicAna::fIgnoreSign
protected

true if absolute values of some variables should be used

Definition at line 42 of file FemtoBasicAna.h.

◆ fPdg1

Int_t Hal::FemtoBasicAna::fPdg1
protected

assumed masses of particles (if <0 then value from data format is used)

Definition at line 34 of file FemtoBasicAna.h.

◆ fPdg2

Int_t Hal::FemtoBasicAna::fPdg2
protected

Definition at line 34 of file FemtoBasicAna.h.

◆ fUseImgMomenta

Bool_t Hal::FemtoBasicAna::fUseImgMomenta
protected

if false then true momenta are always used

Definition at line 38 of file FemtoBasicAna.h.


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