![]() |
AliRoot Core
da88d91 (da88d91)
|
Store and give access to the trigger chamber efficiency. More...
#include <AliMUONTriggerEfficiencyCells.h>
Public Types | |
enum | { kBendingEff, kNonBendingEff, kBothPlanesEff, kAllTracks, kNcounts } |
enum | { kHboardCount, kHslatCount, kHchamberCount } |
Public Member Functions | |
AliMUONTriggerEfficiencyCells () | |
AliMUONTriggerEfficiencyCells (const Char_t *filename, const Char_t *listname="triggerChamberEff") | |
AliMUONTriggerEfficiencyCells (TList *countHistoList) | |
AliMUONTriggerEfficiencyCells (const AliMUONTriggerEfficiencyCells &other) | |
AliMUONTriggerEfficiencyCells & | operator= (const AliMUONTriggerEfficiencyCells &other) |
virtual | ~AliMUONTriggerEfficiencyCells () |
const Char_t * | GetHistoName (Int_t histoType, Int_t countType, Int_t chamber=-1) |
TList * | GetHistoList () |
Get list of histograms. More... | |
TH1F * | GetOldEffHisto (Int_t hType, Int_t ich, Int_t icath) const |
Protected Member Functions | |
void | ResetHistos (Bool_t deleteObjects=kFALSE) |
void | ReadFile (const Char_t *filename, const Char_t *listname) |
Private Member Functions | |
void | CheckConstants () const |
Private Attributes | |
TH1F * | fBoardEfficiency [fgkNplanes] |
the boards content (obsolete) More... | |
TH1F * | fSlatEfficiency [fgkNplanes] |
the slats content (obsolete) More... | |
TList * | fCountHistoList |
list of histograms for efficiency calculation More... | |
TList * | fNoCountHistoList |
list of efficiency denominators (obsolete) More... | |
TList * | fFiredStrips |
list of fired strips for efficiency check (obsolete) More... | |
Static Private Attributes | |
static const Int_t | fgkNcathodes =2 |
Number of cathodes. More... | |
static const Int_t | fgkNchambers =4 |
Number of chambers. More... | |
static const Int_t | fgkNplanes =8 |
Number of planes. More... | |
Store and give access to the trigger chamber efficiency.
A class to store and give access to the numerator and denominator histograms for the trigger chamber efficiency calculation.
Definition at line 19 of file AliMUONTriggerEfficiencyCells.h.
anonymous enum |
Enumerator | |
---|---|
kBendingEff |
Bending plane fired. |
kNonBendingEff |
Non-bending plane fired. |
kBothPlanesEff |
Both planes fired. |
kAllTracks |
tracks used for calculation |
kNcounts |
Number of count type. |
Definition at line 31 of file AliMUONTriggerEfficiencyCells.h.
anonymous enum |
Enumerator | |
---|---|
kHboardCount |
Counts per board index. |
kHslatCount |
Counts per slat index. |
kHchamberCount |
Counts per chamber index. |
Definition at line 39 of file AliMUONTriggerEfficiencyCells.h.
AliMUONTriggerEfficiencyCells::AliMUONTriggerEfficiencyCells | ( | ) |
Default constructor.
Definition at line 44 of file AliMUONTriggerEfficiencyCells.cxx.
AliMUONTriggerEfficiencyCells::AliMUONTriggerEfficiencyCells | ( | const Char_t * | filename, |
const Char_t * | listname = "triggerChamberEff" |
||
) |
Constructor using an ASCII file.
Definition at line 57 of file AliMUONTriggerEfficiencyCells.cxx.
AliMUONTriggerEfficiencyCells::AliMUONTriggerEfficiencyCells | ( | TList * | countHistoList | ) |
Constructor using a list of histograms with counts.
Definition at line 72 of file AliMUONTriggerEfficiencyCells.cxx.
AliMUONTriggerEfficiencyCells::AliMUONTriggerEfficiencyCells | ( | const AliMUONTriggerEfficiencyCells & | other | ) |
Copy constructor
Definition at line 85 of file AliMUONTriggerEfficiencyCells.cxx.
|
virtual |
Destructor.
Definition at line 121 of file AliMUONTriggerEfficiencyCells.cxx.
|
private |
Check consistence of redefined constants
Definition at line 134 of file AliMUONTriggerEfficiencyCells.cxx.
Referenced by AliMUONTriggerEfficiencyCells().
|
inline |
Get list of histograms.
Definition at line 49 of file AliMUONTriggerEfficiencyCells.h.
Referenced by BuildSystematicMap(), and AliMUONTriggerChamberEfficiency::FillFromList().
const Char_t * AliMUONTriggerEfficiencyCells::GetHistoName | ( | Int_t | histoType, |
Int_t | countType, | ||
Int_t | chamber = -1 |
||
) |
Return the name of the histogram for efficiency calculation
Definition at line 237 of file AliMUONTriggerEfficiencyCells.cxx.
Referenced by AliMUONTriggerChamberEfficiency::FillFromList(), and ReadFile().
TH1F * AliMUONTriggerEfficiencyCells::GetOldEffHisto | ( | Int_t | hType, |
Int_t | ich, | ||
Int_t | icath | ||
) | const |
Compatibility with old class Gets the efficiency from the array (which are empty in the new implementation)
Definition at line 258 of file AliMUONTriggerEfficiencyCells.cxx.
Referenced by AliMUONTriggerChamberEfficiency::FillFromList().
AliMUONTriggerEfficiencyCells & AliMUONTriggerEfficiencyCells::operator= | ( | const AliMUONTriggerEfficiencyCells & | other | ) |
Asignment operator
Definition at line 101 of file AliMUONTriggerEfficiencyCells.cxx.
|
protected |
Structure of file (.root) containing local board efficency
Definition at line 162 of file AliMUONTriggerEfficiencyCells.cxx.
Referenced by AliMUONTriggerEfficiencyCells().
|
protected |
Sets our internal array contents to zero.
Definition at line 146 of file AliMUONTriggerEfficiencyCells.cxx.
Referenced by AliMUONTriggerEfficiencyCells(), and ~AliMUONTriggerEfficiencyCells().
|
private |
the boards content (obsolete)
Definition at line 66 of file AliMUONTriggerEfficiencyCells.h.
Referenced by AliMUONTriggerEfficiencyCells(), GetOldEffHisto(), operator=(), ReadFile(), and ResetHistos().
|
private |
list of histograms for efficiency calculation
Definition at line 69 of file AliMUONTriggerEfficiencyCells.h.
Referenced by GetHistoList(), operator=(), ReadFile(), and ~AliMUONTriggerEfficiencyCells().
|
private |
list of fired strips for efficiency check (obsolete)
Definition at line 71 of file AliMUONTriggerEfficiencyCells.h.
Referenced by operator=(), and ~AliMUONTriggerEfficiencyCells().
|
staticprivate |
Number of cathodes.
Definition at line 62 of file AliMUONTriggerEfficiencyCells.h.
Referenced by CheckConstants().
|
staticprivate |
Number of chambers.
Definition at line 63 of file AliMUONTriggerEfficiencyCells.h.
Referenced by CheckConstants(), GetOldEffHisto(), and ReadFile().
|
staticprivate |
Number of planes.
Definition at line 64 of file AliMUONTriggerEfficiencyCells.h.
Referenced by AliMUONTriggerEfficiencyCells(), CheckConstants(), operator=(), and ResetHistos().
|
private |
list of efficiency denominators (obsolete)
Definition at line 70 of file AliMUONTriggerEfficiencyCells.h.
Referenced by operator=(), and ~AliMUONTriggerEfficiencyCells().
|
private |
the slats content (obsolete)
Definition at line 67 of file AliMUONTriggerEfficiencyCells.h.
Referenced by AliMUONTriggerEfficiencyCells(), GetOldEffHisto(), operator=(), ReadFile(), and ResetHistos().