CbmRoot
|
#include <PairAnalysisMixingHandler.h>
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) | |
PairAnalysisMixingHandler & | operator= (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 |
Definition at line 26 of file PairAnalysisMixingHandler.h.
|
strong |
Enumerator | |
---|---|
kOSonly | |
kOSandLS | |
kAll |
Definition at line 28 of file PairAnalysisMixingHandler.h.
PairAnalysisMixingHandler::PairAnalysisMixingHandler | ( | ) |
PairAnalysisMixingHandler::PairAnalysisMixingHandler | ( | const char * | name, |
const char * | title ) |
Definition at line 44 of file PairAnalysisMixingHandler.cxx.
References fAxes, fEventCuts, and fMaxCuts.
|
virtual |
Definition at line 59 of file PairAnalysisMixingHandler.cxx.
|
private |
void PairAnalysisMixingHandler::AddVariable | ( | PairAnalysisVarManager::ValueTypes | type, |
TVectorD *const | bins ) |
Definition at line 69 of file PairAnalysisMixingHandler.cxx.
References fAxes, fEventCuts, fMaxCuts, and size().
|
private |
internal PID for references to buffered objects
Definition at line 147 of file PairAnalysisMixingHandler.cxx.
References PairAnalysis::FillPairArrays(), fMixType, PairAnalysis::fTracks, PairAnalysisVarManager::GetData(), PairAnalysisMixedEvent::GetTrackArrayN(), PairAnalysisMixedEvent::GetTrackArrayP(), kAll, kOSandLS, kOSonly, and PairAnalysisVarManager::SetEventData().
Referenced by Fill().
void PairAnalysisMixingHandler::Fill | ( | const PairAnalysisEvent * | ev, |
PairAnalysis * | papa ) |
Definition at line 84 of file PairAnalysisMixingHandler.cxx.
References DoMixing(), Error, fArrPools, fDepth, FindBin(), fPID, PairAnalysisVarManager::GetData(), PairAnalysis::GetTrackArray(), PairAnalysisVarManager::kMixingBin, PairAnalysisMixedEvent::Set(), PairAnalysisMixedEvent::SetTracks(), and PairAnalysisVarManager::SetValue().
Referenced by PairAnalysis::Process().
Int_t PairAnalysisMixingHandler::FindBin | ( | const Double_t | values[], |
TString * | dim = 0x0 ) |
Definition at line 267 of file PairAnalysisMixingHandler.cxx.
References fAxes, fEventCuts, PairAnalysisVarManager::GetValueName(), and pos.
Referenced by Fill(), and PairAnalysis::Process().
|
inline |
Definition at line 42 of file PairAnalysisMixingHandler.h.
References fDepth.
|
inline |
Definition at line 45 of file PairAnalysisMixingHandler.h.
References fMixType.
Int_t PairAnalysisMixingHandler::GetNumberOfBins | ( | ) | const |
Definition at line 255 of file PairAnalysisMixingHandler.cxx.
Referenced by Init().
void PairAnalysisMixingHandler::Init | ( | const PairAnalysis * | papa = 0x0 | ) |
Definition at line 229 of file PairAnalysisMixingHandler.cxx.
References PairAnalysis::DoEventProcess(), fArrPools, fAxes, fEventCuts, fPID, GetNumberOfBins(), PairAnalysisVarManager::GetValueName(), and size().
Referenced by PairAnalysis::Init().
|
private |
|
inline |
Definition at line 41 of file PairAnalysisMixingHandler.h.
References fDepth.
|
inline |
Definition at line 44 of file PairAnalysisMixingHandler.h.
References fMixType.
|
private |
Definition at line 55 of file PairAnalysisMixingHandler.h.
|
private |
Definition at line 58 of file PairAnalysisMixingHandler.h.
Referenced by AddVariable(), FindBin(), GetNumberOfBins(), Init(), PairAnalysisMixingHandler(), and ~PairAnalysisMixingHandler().
|
private |
Definition at line 54 of file PairAnalysisMixingHandler.h.
Referenced by Fill(), GetDepth(), and SetDepth().
|
private |
Definition at line 57 of file PairAnalysisMixingHandler.h.
Referenced by AddVariable(), FindBin(), Init(), and PairAnalysisMixingHandler().
|
staticprivate |
Definition at line 56 of file PairAnalysisMixingHandler.h.
Referenced by AddVariable(), and PairAnalysisMixingHandler().
|
private |
Definition at line 59 of file PairAnalysisMixingHandler.h.
Referenced by DoMixing(), GetMixType(), and SetMixType().
|
private |
Definition at line 60 of file PairAnalysisMixingHandler.h.
Referenced by Fill(), Init(), and ~PairAnalysisMixingHandler().