CbmRoot
Loading...
Searching...
No Matches
PairAnalysisMixingHandler Class Reference

#include <PairAnalysisMixingHandler.h>

Inheritance diagram for PairAnalysisMixingHandler:
[legend]
Collaboration diagram for PairAnalysisMixingHandler:
[legend]

Public Types

enum class  EMixType { kOSonly = 0 , kOSandLS , kAll }
 

Public Member Functions

 PairAnalysisMixingHandler ()
 
 PairAnalysisMixingHandler (const char *name, const char *title)
 
virtual ~PairAnalysisMixingHandler ()
 
void AddVariable (PairAnalysisVarManager::ValueTypes type, TVectorD *const bins)
 
void SetDepth (UShort_t depth)
 
UShort_t GetDepth () const
 
void SetMixType (EMixType type)
 
EMixType GetMixType () const
 
Int_t GetNumberOfBins () const
 
Int_t FindBin (const Double_t values[], TString *dim=0x0)
 
void Fill (const PairAnalysisEvent *ev, PairAnalysis *papa)
 
void Init (const PairAnalysis *papa=0x0)
 

Private Member Functions

void DoMixing (TClonesArray &pool, PairAnalysis *papa)
 internal PID for references to buffered objects
 
 PairAnalysisMixingHandler (const PairAnalysisMixingHandler &c)
 
PairAnalysisMixingHandleroperator= (const PairAnalysisMixingHandler &c)
 

Private Attributes

UShort_t fDepth = 10
 
TClonesArray fArrPools
 
UShort_t fEventCuts [fMaxCuts]
 
TObjArray fAxes
 
EMixType fMixType = EMixType::kOSonly
 
TProcessID * fPID = NULL
 

Static Private Attributes

static const Int_t fMaxCuts = 10
 

Detailed Description

Definition at line 26 of file PairAnalysisMixingHandler.h.

Member Enumeration Documentation

◆ EMixType

Enumerator
kOSonly 
kOSandLS 
kAll 

Definition at line 28 of file PairAnalysisMixingHandler.h.

Constructor & Destructor Documentation

◆ PairAnalysisMixingHandler() [1/3]

PairAnalysisMixingHandler::PairAnalysisMixingHandler ( )

◆ PairAnalysisMixingHandler() [2/3]

PairAnalysisMixingHandler::PairAnalysisMixingHandler ( const char * name,
const char * title )

Definition at line 44 of file PairAnalysisMixingHandler.cxx.

References fAxes, fEventCuts, and fMaxCuts.

◆ ~PairAnalysisMixingHandler()

PairAnalysisMixingHandler::~PairAnalysisMixingHandler ( )
virtual

Definition at line 59 of file PairAnalysisMixingHandler.cxx.

References fAxes, and fPID.

◆ PairAnalysisMixingHandler() [3/3]

PairAnalysisMixingHandler::PairAnalysisMixingHandler ( const PairAnalysisMixingHandler & c)
private

Member Function Documentation

◆ AddVariable()

void PairAnalysisMixingHandler::AddVariable ( PairAnalysisVarManager::ValueTypes type,
TVectorD *const bins )

Definition at line 69 of file PairAnalysisMixingHandler.cxx.

References fAxes, fEventCuts, fMaxCuts, and size().

◆ DoMixing()

void PairAnalysisMixingHandler::DoMixing ( TClonesArray & pool,
PairAnalysis * papa )
private

◆ Fill()

◆ FindBin()

Int_t PairAnalysisMixingHandler::FindBin ( const Double_t values[],
TString * dim = 0x0 )

◆ GetDepth()

UShort_t PairAnalysisMixingHandler::GetDepth ( ) const
inline

Definition at line 42 of file PairAnalysisMixingHandler.h.

References fDepth.

◆ GetMixType()

EMixType PairAnalysisMixingHandler::GetMixType ( ) const
inline

Definition at line 45 of file PairAnalysisMixingHandler.h.

References fMixType.

◆ GetNumberOfBins()

Int_t PairAnalysisMixingHandler::GetNumberOfBins ( ) const

Definition at line 255 of file PairAnalysisMixingHandler.cxx.

References fAxes, and size().

Referenced by Init().

◆ Init()

void PairAnalysisMixingHandler::Init ( const PairAnalysis * papa = 0x0)

◆ operator=()

PairAnalysisMixingHandler & PairAnalysisMixingHandler::operator= ( const PairAnalysisMixingHandler & c)
private

◆ SetDepth()

void PairAnalysisMixingHandler::SetDepth ( UShort_t depth)
inline

Definition at line 41 of file PairAnalysisMixingHandler.h.

References fDepth.

◆ SetMixType()

void PairAnalysisMixingHandler::SetMixType ( EMixType type)
inline

Definition at line 44 of file PairAnalysisMixingHandler.h.

References fMixType.

Member Data Documentation

◆ fArrPools

TClonesArray PairAnalysisMixingHandler::fArrPools
private

Definition at line 55 of file PairAnalysisMixingHandler.h.

Referenced by Fill(), and Init().

◆ fAxes

TObjArray PairAnalysisMixingHandler::fAxes
private

◆ fDepth

UShort_t PairAnalysisMixingHandler::fDepth = 10
private

Definition at line 54 of file PairAnalysisMixingHandler.h.

Referenced by Fill(), GetDepth(), and SetDepth().

◆ fEventCuts

UShort_t PairAnalysisMixingHandler::fEventCuts[fMaxCuts]
private

Definition at line 57 of file PairAnalysisMixingHandler.h.

Referenced by AddVariable(), FindBin(), Init(), and PairAnalysisMixingHandler().

◆ fMaxCuts

const Int_t PairAnalysisMixingHandler::fMaxCuts = 10
staticprivate

Definition at line 56 of file PairAnalysisMixingHandler.h.

Referenced by AddVariable(), and PairAnalysisMixingHandler().

◆ fMixType

EMixType PairAnalysisMixingHandler::fMixType = EMixType::kOSonly
private

Definition at line 59 of file PairAnalysisMixingHandler.h.

Referenced by DoMixing(), GetMixType(), and SetMixType().

◆ fPID

TProcessID* PairAnalysisMixingHandler::fPID = NULL
private

Definition at line 60 of file PairAnalysisMixingHandler.h.

Referenced by Fill(), Init(), and ~PairAnalysisMixingHandler().


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