CbmRoot
|
#include <PairAnalysisHF.h>
Public Types | |
enum class | Max { kMaxCuts = 20 } |
Public Member Functions | |
PairAnalysisHF () | |
PairAnalysisHF (const char *name, const char *title) | |
virtual | ~PairAnalysisHF () |
void | Init () |
Int_t | GetNumberOfBins () const |
const TObjArray * | GetHistArray () const |
void | AddCutVariable (PairAnalysisVarManager::ValueTypes type, TVectorD *binLimits, Bool_t leg=kFALSE) |
Int_t | FindCell (const Double_t *values) |
void | FillClass (const char *histClass, const Double_t *values) |
void | Fill (Int_t pairIndex, const PairAnalysisPair *particle) |
void | Fill (Int_t label1, Int_t label2, Int_t nSignal) |
void | Fill (Int_t Index, Double_t *const valuesPair, Double_t *const valuesLeg1, Double_t *const valuesLeg2) |
void | ReadFromFile (const char *file="histos.root", const char *task="", const char *config="") |
Private Member Functions | |
PairAnalysisHF (const PairAnalysisHF &c) | |
PairAnalysisHF & | operator= (const PairAnalysisHF &c) |
Private Attributes | |
TBits * | fUsedVars |
TObjArray | fArrDielHistos |
TObjArray * | fSignalsMC |
UShort_t | fVarCuts [fMaxCuts] |
TBits * | fVarCutType |
TObjArray | fAxes |
Static Private Attributes | |
static const Int_t | fMaxCuts = 20 |
array of MC signals to be stupapad | |
Definition at line 24 of file PairAnalysisHF.h.
|
strong |
Enumerator | |
---|---|
kMaxCuts |
Definition at line 26 of file PairAnalysisHF.h.
PairAnalysisHF::PairAnalysisHF | ( | ) |
PairAnalysisHF::PairAnalysisHF | ( | const char * | name, |
const char * | title ) |
Definition at line 69 of file PairAnalysisHF.cxx.
References fArrDielHistos, fAxes, fMaxCuts, and fVarCuts.
|
virtual |
Definition at line 90 of file PairAnalysisHF.cxx.
References fArrDielHistos, fAxes, fUsedVars, and fVarCutType.
|
private |
void PairAnalysisHF::AddCutVariable | ( | PairAnalysisVarManager::ValueTypes | type, |
TVectorD * | binLimits, | ||
Bool_t | leg = kFALSE ) |
Definition at line 102 of file PairAnalysisHF.cxx.
References fAxes, fMaxCuts, fUsedVars, fVarCuts, fVarCutType, and size().
void PairAnalysisHF::Fill | ( | Int_t | Index, |
Double_t *const | valuesPair, | ||
Double_t *const | valuesLeg1, | ||
Double_t *const | valuesLeg2 ) |
Definition at line 269 of file PairAnalysisHF.cxx.
void PairAnalysisHF::Fill | ( | Int_t | label1, |
Int_t | label2, | ||
Int_t | nSignal ) |
Definition at line 169 of file PairAnalysisHF.cxx.
void PairAnalysisHF::Fill | ( | Int_t | pairIndex, |
const PairAnalysisPair * | particle ) |
Definition at line 218 of file PairAnalysisHF.cxx.
Referenced by PairAnalysis::FillHistogramsFromPairArray(), PairAnalysis::FillPairArrayTR(), PairAnalysis::Process(), and PairAnalysis::ProcessMC().
void PairAnalysisHF::FillClass | ( | const char * | histClass, |
const Double_t * | values ) |
Definition at line 123 of file PairAnalysisHF.cxx.
References fArrDielHistos, and FindCell().
Referenced by PairAnalysis::FillHistograms(), PairAnalysis::FillHistogramsHits(), and PairAnalysis::FillHistogramsPair().
Int_t PairAnalysisHF::FindCell | ( | const Double_t * | values | ) |
Definition at line 417 of file PairAnalysisHF.cxx.
References fAxes, fVarCuts, and pos.
Referenced by FillClass().
|
inline |
Definition at line 38 of file PairAnalysisHF.h.
References fArrDielHistos.
Referenced by PairAnalysis::GetHistogramArray().
Int_t PairAnalysisHF::GetNumberOfBins | ( | ) | const |
Definition at line 405 of file PairAnalysisHF.cxx.
Referenced by Init().
void PairAnalysisHF::Init | ( | ) |
Debug(10,title.Data());
Definition at line 342 of file PairAnalysisHF.cxx.
References fArrDielHistos, fAxes, fVarCuts, fVarCutType, GetNumberOfBins(), PairAnalysisVarManager::GetValueName(), and size().
Referenced by PairAnalysis::Init().
|
private |
void PairAnalysisHF::ReadFromFile | ( | const char * | file = "histos.root", |
const char * | task = "", | ||
const char * | config = "" ) |
Definition at line 141 of file PairAnalysisHF.cxx.
References PairAnalysisStyler::LoadStyle().
|
private |
Definition at line 57 of file PairAnalysisHF.h.
Referenced by FillClass(), GetHistArray(), Init(), PairAnalysisHF(), and ~PairAnalysisHF().
|
private |
Definition at line 64 of file PairAnalysisHF.h.
Referenced by AddCutVariable(), FindCell(), GetNumberOfBins(), Init(), PairAnalysisHF(), and ~PairAnalysisHF().
|
staticprivate |
array of MC signals to be stupapad
Definition at line 60 of file PairAnalysisHF.h.
Referenced by AddCutVariable(), and PairAnalysisHF().
|
private |
Definition at line 58 of file PairAnalysisHF.h.
|
private |
Definition at line 55 of file PairAnalysisHF.h.
Referenced by AddCutVariable(), and ~PairAnalysisHF().
|
private |
Definition at line 61 of file PairAnalysisHF.h.
Referenced by AddCutVariable(), FindCell(), Init(), and PairAnalysisHF().
|
private |
Definition at line 62 of file PairAnalysisHF.h.
Referenced by AddCutVariable(), Init(), and ~PairAnalysisHF().