CbmRoot
PairAnalysisMixingHandler Class Reference

#include <PairAnalysisMixingHandler.h>

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

Public Types

enum  { kMaxCuts = 10 }
 
enum  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 More...
 
 PairAnalysisMixingHandler (const PairAnalysisMixingHandler &c)
 
PairAnalysisMixingHandleroperator= (const PairAnalysisMixingHandler &c)
 

Private Attributes

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

Detailed Description

Definition at line 26 of file PairAnalysisMixingHandler.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kMaxCuts 

Definition at line 28 of file PairAnalysisMixingHandler.h.

◆ EMixType

Enumerator
kOSonly 
kOSandLS 
kAll 

Definition at line 29 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, i, and kMaxCuts.

◆ ~PairAnalysisMixingHandler()

PairAnalysisMixingHandler::~PairAnalysisMixingHandler ( )
virtual

Definition at line 57 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 66 of file PairAnalysisMixingHandler.cxx.

References fAxes, fEventCuts, and kMaxCuts.

◆ 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 39 of file PairAnalysisMixingHandler.h.

References fDepth.

◆ GetMixType()

EMixType PairAnalysisMixingHandler::GetMixType ( ) const
inline

Definition at line 42 of file PairAnalysisMixingHandler.h.

References fMixType.

◆ GetNumberOfBins()

Int_t PairAnalysisMixingHandler::GetNumberOfBins ( ) const

Definition at line 254 of file PairAnalysisMixingHandler.cxx.

References fAxes, and i.

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 38 of file PairAnalysisMixingHandler.h.

References fDepth.

◆ SetMixType()

void PairAnalysisMixingHandler::SetMixType ( EMixType  type)
inline

Definition at line 41 of file PairAnalysisMixingHandler.h.

References fMixType.

Member Data Documentation

◆ fArrPools

TClonesArray PairAnalysisMixingHandler::fArrPools
private

Definition at line 52 of file PairAnalysisMixingHandler.h.

Referenced by Fill(), and Init().

◆ fAxes

TObjArray PairAnalysisMixingHandler::fAxes
private

◆ fDepth

UShort_t PairAnalysisMixingHandler::fDepth = 10
private

Definition at line 51 of file PairAnalysisMixingHandler.h.

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

◆ fEventCuts

UShort_t PairAnalysisMixingHandler::fEventCuts[kMaxCuts]
private

Definition at line 53 of file PairAnalysisMixingHandler.h.

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

◆ fMixType

EMixType PairAnalysisMixingHandler::fMixType = kOSonly
private

Definition at line 55 of file PairAnalysisMixingHandler.h.

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

◆ fPID

TProcessID* PairAnalysisMixingHandler::fPID = NULL
private

Definition at line 56 of file PairAnalysisMixingHandler.h.

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


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