Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::CorrFitDumpedPairAna Class Referenceabstract

#include <CorrFitDumpedPairAna.h>

Inheritance diagram for Hal::CorrFitDumpedPairAna:
Hal::CorrFitDumpedPairAnaHorizontal

Public Member Functions

 CorrFitDumpedPairAna (Int_t jobid=-1, Int_t mapsPerAna=-1)
 
void SetCorrFunc (const FemtoCorrFunc &func)
 
void SetWeightGenerator (const FemtoWeightGenerator &weight)
 
void UseBackground ()
 
void UseBackgroundOnly ()
 
void UseImgMomenta ()
 
virtual Bool_t Init ()
 
virtual void Run (Int_t maxEvents=-1)
 
virtual void Finish ()=0
 
void IgnoreSign ()
 
void SetMultiplyFactorWeight (Int_t m)
 
void SetMultiplyFactorPreprocess (Int_t m)
 
void SetJobID (Int_t jobId)
 
void SetPairFile (TString pairFile)
 
virtual void Print (Option_t *option="") const
 
virtual void PreprocessPair ()
 
virtual void PreprocessMixedPair ()
 

Protected Types

enum class  eDumpCalcMode { kSignalPairs = 0 , kSignalBackgroundPairs = 1 , kBackgroundPairsOnly = 2 }
 

Protected Member Functions

Bool_t SaveAsRawArray (TObject *cf, Int_t step)
 
Bool_t ConfigureInput ()
 
Bool_t ConfigureRootInput ()
 
Bool_t ConfigureListInput ()
 
TString FindTreeName (TString name) const
 
Bool_t ConfigureFromXML ()
 
Int_t GetSimStepNo () const
 
virtual void RunSignalPair ()=0
 
virtual void RunSignalBackgroundPair ()=0
 
virtual void RunBackgroundPair ()=0
 
virtual Bool_t IsVertical () const
 
virtual Bool_t ConnectToData ()=0
 
void LockUnusedBranches ()
 
void ConnectToSignal (const std::vector< TString > &branches)
 
void ConnectToBackground (const std::vector< TString > &branches)
 
virtual Bool_t InitCFs ()=0
 
virtual Bool_t InitGenerators (const std::vector< int > &dims, XMLNode *parameters, const CorrFitParamsSetup &setup)=0
 
void SetGenerator (const FemtoFreezoutGenerator &gen)
 

Protected Attributes

TString fPairFile
 
Int_t fJobId = {-1}
 
Int_t fMultiplyWeight = {1}
 
Int_t fMultiplyPreprocess = {1}
 
Int_t fMultiplyJobs = {1}
 
Int_t fTotalNumberOfPoints = {0}
 
Int_t fPairThreshold = {0}
 
Int_t fPairsProcessed = {0}
 
Bool_t fIgnoreSing = {kFALSE}
 
Bool_t fImgMom = {kFALSE}
 
FemtoCorrFuncfTempCF = {nullptr}
 
FemtoPairfPair = {nullptr}
 
std::vector< FemtoCorrFunc * > fCF
 
FemtoFreezoutGeneratorfTempGenerator = {nullptr}
 
std::vector< FemtoFreezoutGenerator * > fGenerator
 
FemtoWeightGeneratorfWeight = {nullptr}
 
CorrFitMapGroupConfigfGrouping = {nullptr}
 
std::vector< TClonesArray * > fSignalClones
 
std::vector< TClonesArray * > fBackgroundClones
 
eDumpCalcMode fMode
 

Detailed Description

analysis of pairs created by FemtoDumpPairAna

Definition at line 40 of file CorrFitDumpedPairAna.h.

Member Enumeration Documentation

◆ eDumpCalcMode

enum class Hal::CorrFitDumpedPairAna::eDumpCalcMode
strongprotected

Definition at line 65 of file CorrFitDumpedPairAna.h.

Constructor & Destructor Documentation

◆ CorrFitDumpedPairAna()

Hal::CorrFitDumpedPairAna::CorrFitDumpedPairAna ( Int_t jobid = -1,
Int_t mapsPerAna = -1 )

Definition at line 52 of file CorrFitDumpedPairAna.cxx.

◆ ~CorrFitDumpedPairAna()

Hal::CorrFitDumpedPairAna::~CorrFitDumpedPairAna ( )
virtual

Definition at line 284 of file CorrFitDumpedPairAna.cxx.

Member Function Documentation

◆ ConfigureFromXML()

Bool_t Hal::CorrFitDumpedPairAna::ConfigureFromXML ( )
protected

Definition at line 186 of file CorrFitDumpedPairAna.cxx.

◆ ConfigureInput()

Bool_t Hal::CorrFitDumpedPairAna::ConfigureInput ( )
protected

Definition at line 177 of file CorrFitDumpedPairAna.cxx.

◆ ConfigureListInput()

Bool_t Hal::CorrFitDumpedPairAna::ConfigureListInput ( )
protected

Definition at line 372 of file CorrFitDumpedPairAna.cxx.

◆ ConfigureRootInput()

Bool_t Hal::CorrFitDumpedPairAna::ConfigureRootInput ( )
protected

Definition at line 355 of file CorrFitDumpedPairAna.cxx.

◆ ConnectToBackground()

void Hal::CorrFitDumpedPairAna::ConnectToBackground ( const std::vector< TString > & branches)
protected

Definition at line 331 of file CorrFitDumpedPairAna.cxx.

◆ ConnectToData()

virtual Bool_t Hal::CorrFitDumpedPairAna::ConnectToData ( )
protectedpure virtual

connects to needed branches

Returns

Implemented in Hal::CorrFitDumpedPairAnaHorizontal.

◆ ConnectToSignal()

void Hal::CorrFitDumpedPairAna::ConnectToSignal ( const std::vector< TString > & branches)
protected

Definition at line 322 of file CorrFitDumpedPairAna.cxx.

◆ FindTreeName()

TString Hal::CorrFitDumpedPairAna::FindTreeName ( TString name) const
protected

Definition at line 394 of file CorrFitDumpedPairAna.cxx.

◆ GetSimStepNo()

Int_t Hal::CorrFitDumpedPairAna::GetSimStepNo ( ) const
inlineprotected

Definition at line 75 of file CorrFitDumpedPairAna.h.

◆ IgnoreSign()

void Hal::CorrFitDumpedPairAna::IgnoreSign ( )
inline

ignore sign of k* q

Definition at line 133 of file CorrFitDumpedPairAna.h.

◆ Init()

Bool_t Hal::CorrFitDumpedPairAna::Init ( )
virtual

Definition at line 65 of file CorrFitDumpedPairAna.cxx.

◆ InitCFs()

virtual Bool_t Hal::CorrFitDumpedPairAna::InitCFs ( )
protectedpure virtual

init place for data

Returns

Implemented in Hal::CorrFitDumpedPairAnaHorizontal.

◆ InitGenerators()

virtual Bool_t Hal::CorrFitDumpedPairAna::InitGenerators ( const std::vector< int > & dims,
XMLNode * parameters,
const CorrFitParamsSetup & setup )
protectedpure virtual

init generators - for vertical init all generators for horizontal init generators x multiplicity

Implemented in Hal::CorrFitDumpedPairAnaHorizontal.

◆ IsVertical()

virtual Bool_t Hal::CorrFitDumpedPairAna::IsVertical ( ) const
inlineprotectedvirtual

Definition at line 79 of file CorrFitDumpedPairAna.h.

◆ LockUnusedBranches()

void Hal::CorrFitDumpedPairAna::LockUnusedBranches ( )
protected

Definition at line 340 of file CorrFitDumpedPairAna.cxx.

◆ PreprocessMixedPair()

virtual void Hal::CorrFitDumpedPairAna::PreprocessMixedPair ( )
inlinevirtual

Definition at line 160 of file CorrFitDumpedPairAna.h.

◆ PreprocessPair()

virtual void Hal::CorrFitDumpedPairAna::PreprocessPair ( )
inlinevirtual

preprocess pair

Definition at line 159 of file CorrFitDumpedPairAna.h.

◆ Print()

void Hal::CorrFitDumpedPairAna::Print ( Option_t * option = "") const
virtual

Definition at line 292 of file CorrFitDumpedPairAna.cxx.

◆ Run()

void Hal::CorrFitDumpedPairAna::Run ( Int_t maxEvents = -1)
virtual

Definition at line 118 of file CorrFitDumpedPairAna.cxx.

◆ SaveAsRawArray()

Bool_t Hal::CorrFitDumpedPairAna::SaveAsRawArray ( TObject * cf,
Int_t step )
protected

export CF to root tree, this is used for compression of data, you can set value of bin to -1, then such bin will not be used

Definition at line 158 of file CorrFitDumpedPairAna.cxx.

◆ SetCorrFunc()

void Hal::CorrFitDumpedPairAna::SetCorrFunc ( const FemtoCorrFunc & func)

set correlation function, in current version is should be FemtoCorrFuncSimple

Parameters
func

Definition at line 55 of file CorrFitDumpedPairAna.cxx.

◆ SetGenerator()

void Hal::CorrFitDumpedPairAna::SetGenerator ( const FemtoFreezoutGenerator & gen)
inlineprotected

set freezout generator

Parameters
gen

Definition at line 101 of file CorrFitDumpedPairAna.h.

◆ SetJobID()

void Hal::CorrFitDumpedPairAna::SetJobID ( Int_t jobId)
inline

set job id

Parameters
jobId

Definition at line 149 of file CorrFitDumpedPairAna.h.

◆ SetMultiplyFactorPreprocess()

void Hal::CorrFitDumpedPairAna::SetMultiplyFactorPreprocess ( Int_t m)
inline

for each pair preprocess pair m-times, if multiply factor weight is not 1 then total number of calculations per pair is fMultiplyWeight*fMultiplyPreprocess

Parameters
m

Definition at line 144 of file CorrFitDumpedPairAna.h.

◆ SetMultiplyFactorWeight()

void Hal::CorrFitDumpedPairAna::SetMultiplyFactorWeight ( Int_t m)
inline

for each pair generatore freezout coords and calculate weight m-times

Parameters
m

Definition at line 138 of file CorrFitDumpedPairAna.h.

◆ SetPairFile()

void Hal::CorrFitDumpedPairAna::SetPairFile ( TString pairFile)
inline

set path to pair file

Parameters
pairFile

Definition at line 154 of file CorrFitDumpedPairAna.h.

◆ SetWeightGenerator()

void Hal::CorrFitDumpedPairAna::SetWeightGenerator ( const FemtoWeightGenerator & weight)

set weight generator of weights

Parameters
weight

Definition at line 60 of file CorrFitDumpedPairAna.cxx.

◆ UseBackground()

void Hal::CorrFitDumpedPairAna::UseBackground ( )
inline

use background pairs for background and signal pairs for signal

Definition at line 118 of file CorrFitDumpedPairAna.h.

◆ UseBackgroundOnly()

void Hal::CorrFitDumpedPairAna::UseBackgroundOnly ( )
inline

use background pairs for numerator and denominator

Definition at line 122 of file CorrFitDumpedPairAna.h.

◆ UseImgMomenta()

void Hal::CorrFitDumpedPairAna::UseImgMomenta ( )
inline

use MC momentum not reconstructed

Definition at line 126 of file CorrFitDumpedPairAna.h.

Member Data Documentation

◆ fBackgroundClones

std::vector<TClonesArray*> Hal::CorrFitDumpedPairAna::fBackgroundClones
protected

Definition at line 64 of file CorrFitDumpedPairAna.h.

◆ fCF

std::vector<FemtoCorrFunc*> Hal::CorrFitDumpedPairAna::fCF
protected

Definition at line 58 of file CorrFitDumpedPairAna.h.

◆ fGenerator

std::vector<FemtoFreezoutGenerator*> Hal::CorrFitDumpedPairAna::fGenerator
protected

Definition at line 60 of file CorrFitDumpedPairAna.h.

◆ fGrouping

CorrFitMapGroupConfig* Hal::CorrFitDumpedPairAna::fGrouping = {nullptr}
protected

Definition at line 62 of file CorrFitDumpedPairAna.h.

◆ fIgnoreSing

Bool_t Hal::CorrFitDumpedPairAna::fIgnoreSing = {kFALSE}
protected

Definition at line 54 of file CorrFitDumpedPairAna.h.

◆ fImgMom

Bool_t Hal::CorrFitDumpedPairAna::fImgMom = {kFALSE}
protected

Definition at line 55 of file CorrFitDumpedPairAna.h.

◆ fJobId

Int_t Hal::CorrFitDumpedPairAna::fJobId = {-1}
protected

Definition at line 47 of file CorrFitDumpedPairAna.h.

◆ fMode

eDumpCalcMode Hal::CorrFitDumpedPairAna::fMode
protected

Definition at line 66 of file CorrFitDumpedPairAna.h.

◆ fMultiplyJobs

Int_t Hal::CorrFitDumpedPairAna::fMultiplyJobs = {1}
protected

Definition at line 50 of file CorrFitDumpedPairAna.h.

◆ fMultiplyPreprocess

Int_t Hal::CorrFitDumpedPairAna::fMultiplyPreprocess = {1}
protected

Definition at line 49 of file CorrFitDumpedPairAna.h.

◆ fMultiplyWeight

Int_t Hal::CorrFitDumpedPairAna::fMultiplyWeight = {1}
protected

Definition at line 48 of file CorrFitDumpedPairAna.h.

◆ fPair

FemtoPair* Hal::CorrFitDumpedPairAna::fPair = {nullptr}
protected

Definition at line 57 of file CorrFitDumpedPairAna.h.

◆ fPairFile

TString Hal::CorrFitDumpedPairAna::fPairFile
protected

Definition at line 46 of file CorrFitDumpedPairAna.h.

◆ fPairsProcessed

Int_t Hal::CorrFitDumpedPairAna::fPairsProcessed = {0}
protected

Definition at line 53 of file CorrFitDumpedPairAna.h.

◆ fPairThreshold

Int_t Hal::CorrFitDumpedPairAna::fPairThreshold = {0}
protected

Definition at line 52 of file CorrFitDumpedPairAna.h.

◆ fSignalClones

std::vector<TClonesArray*> Hal::CorrFitDumpedPairAna::fSignalClones
protected

Definition at line 63 of file CorrFitDumpedPairAna.h.

◆ fTempCF

FemtoCorrFunc* Hal::CorrFitDumpedPairAna::fTempCF = {nullptr}
protected

Definition at line 56 of file CorrFitDumpedPairAna.h.

◆ fTempGenerator

FemtoFreezoutGenerator* Hal::CorrFitDumpedPairAna::fTempGenerator = {nullptr}
protected

Definition at line 59 of file CorrFitDumpedPairAna.h.

◆ fTotalNumberOfPoints

Int_t Hal::CorrFitDumpedPairAna::fTotalNumberOfPoints = {0}
protected

Definition at line 51 of file CorrFitDumpedPairAna.h.

◆ fWeight

FemtoWeightGenerator* Hal::CorrFitDumpedPairAna::fWeight = {nullptr}
protected

Definition at line 61 of file CorrFitDumpedPairAna.h.


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