CbmRoot
PairAnalysisHF Class Reference

#include <PairAnalysisHF.h>

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

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)
 
PairAnalysisHFoperator= (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
 

Detailed Description

Definition at line 24 of file PairAnalysisHF.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kMaxCuts 

Definition at line 26 of file PairAnalysisHF.h.

Constructor & Destructor Documentation

◆ PairAnalysisHF() [1/3]

PairAnalysisHF::PairAnalysisHF ( )

◆ PairAnalysisHF() [2/3]

PairAnalysisHF::PairAnalysisHF ( const char *  name,
const char *  title 
)

Definition at line 69 of file PairAnalysisHF.cxx.

References fArrDielHistos, fAxes, fVarCuts, i, and kMaxCuts.

◆ ~PairAnalysisHF()

PairAnalysisHF::~PairAnalysisHF ( )
virtual

Definition at line 89 of file PairAnalysisHF.cxx.

References fArrDielHistos, fAxes, fUsedVars, and fVarCutType.

◆ PairAnalysisHF() [3/3]

PairAnalysisHF::PairAnalysisHF ( const PairAnalysisHF c)
private

Member Function Documentation

◆ AddCutVariable()

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.

◆ Fill() [1/3]

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.

◆ Fill() [2/3]

void PairAnalysisHF::Fill ( Int_t  label1,
Int_t  label2,
Int_t  nSignal 
)

Definition at line 170 of file PairAnalysisHF.cxx.

◆ Fill() [3/3]

void PairAnalysisHF::Fill ( Int_t  pairIndex,
const PairAnalysisPair particle 
)

◆ FillClass()

void PairAnalysisHF::FillClass ( const char *  histClass,
const Double_t *  values 
)

◆ FindCell()

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().

◆ GetHistArray()

const TObjArray* PairAnalysisHF::GetHistArray ( ) const
inline

Definition at line 35 of file PairAnalysisHF.h.

References fArrDielHistos.

Referenced by PairAnalysis::GetHistogramArray().

◆ GetNumberOfBins()

Int_t PairAnalysisHF::GetNumberOfBins ( ) const

Definition at line 410 of file PairAnalysisHF.cxx.

References fAxes, and i.

Referenced by Init().

◆ Init()

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().

◆ operator=()

PairAnalysisHF& PairAnalysisHF::operator= ( const PairAnalysisHF c)
private

◆ ReadFromFile()

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.

Member Data Documentation

◆ fArrDielHistos

TObjArray PairAnalysisHF::fArrDielHistos
private

Definition at line 61 of file PairAnalysisHF.h.

Referenced by FillClass(), GetHistArray(), Init(), PairAnalysisHF(), and ~PairAnalysisHF().

◆ fAxes

TObjArray PairAnalysisHF::fAxes
private

◆ fSignalsMC

TObjArray* PairAnalysisHF::fSignalsMC
private

Definition at line 62 of file PairAnalysisHF.h.

◆ fUsedVars

TBits* PairAnalysisHF::fUsedVars
private

Definition at line 59 of file PairAnalysisHF.h.

Referenced by AddCutVariable(), and ~PairAnalysisHF().

◆ fVarCuts

UShort_t PairAnalysisHF::fVarCuts[kMaxCuts]
private

array of MC signals to be stupapad

Definition at line 64 of file PairAnalysisHF.h.

Referenced by AddCutVariable(), FindCell(), Init(), and PairAnalysisHF().

◆ fVarCutType

TBits* PairAnalysisHF::fVarCutType
private

Definition at line 65 of file PairAnalysisHF.h.

Referenced by AddCutVariable(), Init(), and ~PairAnalysisHF().


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