CbmRoot
|
#include <PairAnalysisMixingHandler.h>
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) | |
PairAnalysisMixingHandler & | operator= (const PairAnalysisMixingHandler &c) |
Private Attributes | |
UShort_t | fDepth = 10 |
TClonesArray | fArrPools |
UShort_t | fEventCuts [kMaxCuts] |
TObjArray | fAxes |
EMixType | fMixType = kOSonly |
TProcessID * | fPID = NULL |
Definition at line 26 of file PairAnalysisMixingHandler.h.
anonymous enum |
Enumerator | |
---|---|
kMaxCuts |
Definition at line 28 of file PairAnalysisMixingHandler.h.
Enumerator | |
---|---|
kOSonly | |
kOSandLS | |
kAll |
Definition at line 29 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, i, and kMaxCuts.
|
virtual |
Definition at line 57 of file PairAnalysisMixingHandler.cxx.
|
private |
void PairAnalysisMixingHandler::AddVariable | ( | PairAnalysisVarManager::ValueTypes | type, |
TVectorD *const | bins | ||
) |
Definition at line 66 of file PairAnalysisMixingHandler.cxx.
References fAxes, fEventCuts, and kMaxCuts.
|
private |
internal PID for references to buffered objects
Definition at line 146 of file PairAnalysisMixingHandler.cxx.
References PairAnalysis::FillPairArrays(), fMixType, PairAnalysis::fTracks, PairAnalysisVarManager::GetData(), PairAnalysisMixedEvent::GetTrackArrayN(), PairAnalysisMixedEvent::GetTrackArrayP(), i, kAll, kOSandLS, kOSonly, and PairAnalysisVarManager::SetEventData().
Referenced by Fill().
void PairAnalysisMixingHandler::Fill | ( | const PairAnalysisEvent * | ev, |
PairAnalysis * | papa | ||
) |
Definition at line 82 of file PairAnalysisMixingHandler.cxx.
References DoMixing(), fArrPools, fDepth, FindBin(), fPID, PairAnalysisVarManager::GetData(), PairAnalysis::GetTrackArray(), PairAnalysisVarManager::kMixingBin, PairAnalysisMixedEvent::Set(), and PairAnalysisVarManager::SetValue().
Referenced by PairAnalysis::Process().
Int_t PairAnalysisMixingHandler::FindBin | ( | const Double_t | values[], |
TString * | dim = 0x0 |
||
) |
Definition at line 265 of file PairAnalysisMixingHandler.cxx.
References fAxes, fEventCuts, PairAnalysisVarManager::GetValueName(), i, and pos.
Referenced by Fill(), and PairAnalysis::Process().
|
inline |
Definition at line 39 of file PairAnalysisMixingHandler.h.
References fDepth.
|
inline |
Definition at line 42 of file PairAnalysisMixingHandler.h.
References fMixType.
Int_t PairAnalysisMixingHandler::GetNumberOfBins | ( | ) | const |
Definition at line 254 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 i.
Referenced by PairAnalysis::Init().
|
private |
|
inline |
Definition at line 38 of file PairAnalysisMixingHandler.h.
References fDepth.
|
inline |
Definition at line 41 of file PairAnalysisMixingHandler.h.
References fMixType.
|
private |
Definition at line 52 of file PairAnalysisMixingHandler.h.
|
private |
Definition at line 54 of file PairAnalysisMixingHandler.h.
Referenced by AddVariable(), FindBin(), GetNumberOfBins(), Init(), PairAnalysisMixingHandler(), and ~PairAnalysisMixingHandler().
|
private |
Definition at line 51 of file PairAnalysisMixingHandler.h.
Referenced by Fill(), GetDepth(), and SetDepth().
|
private |
Definition at line 53 of file PairAnalysisMixingHandler.h.
Referenced by AddVariable(), FindBin(), Init(), and PairAnalysisMixingHandler().
Definition at line 55 of file PairAnalysisMixingHandler.h.
Referenced by DoMixing(), GetMixType(), and SetMixType().
|
private |
Definition at line 56 of file PairAnalysisMixingHandler.h.
Referenced by Fill(), Init(), and ~PairAnalysisMixingHandler().