CbmRoot
|
#include <PairAnalysisHF.h>
Public Types | |
enum | { 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 [kMaxCuts] |
array of MC signals to be stupapad More... | |
TBits * | fVarCutType |
TObjArray | fAxes |
Definition at line 24 of file PairAnalysisHF.h.
anonymous enum |
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, fVarCuts, i, and kMaxCuts.
|
virtual |
Definition at line 89 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 100 of file PairAnalysisHF.cxx.
References fAxes, fUsedVars, fVarCuts, fVarCutType, and kMaxCuts.
void PairAnalysisHF::Fill | ( | Int_t | Index, |
Double_t *const | valuesPair, | ||
Double_t *const | valuesLeg1, | ||
Double_t *const | valuesLeg2 | ||
) |
Definition at line 271 of file PairAnalysisHF.cxx.
void PairAnalysisHF::Fill | ( | Int_t | label1, |
Int_t | label2, | ||
Int_t | nSignal | ||
) |
Definition at line 170 of file PairAnalysisHF.cxx.
void PairAnalysisHF::Fill | ( | Int_t | pairIndex, |
const PairAnalysisPair * | particle | ||
) |
Definition at line 220 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 122 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 421 of file PairAnalysisHF.cxx.
References fAxes, fVarCuts, i, and pos.
Referenced by FillClass().
|
inline |
Definition at line 35 of file PairAnalysisHF.h.
References fArrDielHistos.
Referenced by PairAnalysis::GetHistogramArray().
Int_t PairAnalysisHF::GetNumberOfBins | ( | ) | const |
void PairAnalysisHF::Init | ( | ) |
Debug(10,title.Data());
Definition at line 345 of file PairAnalysisHF.cxx.
References fArrDielHistos, fAxes, fVarCuts, fVarCutType, GetNumberOfBins(), and PairAnalysisVarManager::GetValueName().
Referenced by PairAnalysis::Init().
|
private |
void PairAnalysisHF::ReadFromFile | ( | const char * | file = "histos.root" , |
const char * | task = "" , |
||
const char * | config = "" |
||
) |
Definition at line 140 of file PairAnalysisHF.cxx.
References f, PairAnalysisStyler::LoadStyle(), and task.
|
private |
Definition at line 61 of file PairAnalysisHF.h.
Referenced by FillClass(), GetHistArray(), Init(), PairAnalysisHF(), and ~PairAnalysisHF().
|
private |
Definition at line 67 of file PairAnalysisHF.h.
Referenced by AddCutVariable(), FindCell(), GetNumberOfBins(), Init(), PairAnalysisHF(), and ~PairAnalysisHF().
|
private |
Definition at line 62 of file PairAnalysisHF.h.
|
private |
Definition at line 59 of file PairAnalysisHF.h.
Referenced by AddCutVariable(), and ~PairAnalysisHF().
|
private |
array of MC signals to be stupapad
Definition at line 64 of file PairAnalysisHF.h.
Referenced by AddCutVariable(), FindCell(), Init(), and PairAnalysisHF().
|
private |
Definition at line 65 of file PairAnalysisHF.h.
Referenced by AddCutVariable(), Init(), and ~PairAnalysisHF().