AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTriggerEfficiencyCells Class Reference

Store and give access to the trigger chamber efficiency. More...

#include <AliMUONTriggerEfficiencyCells.h>

Inheritance diagram for AliMUONTriggerEfficiencyCells:

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

Detailed Description

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.

Author
Diego Stocco; Subatech, Nantes

Definition at line 19 of file AliMUONTriggerEfficiencyCells.h.

Member Enumeration Documentation

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.

Constructor & Destructor Documentation

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.

AliMUONTriggerEfficiencyCells::~AliMUONTriggerEfficiencyCells ( )
virtual

Destructor.

Definition at line 121 of file AliMUONTriggerEfficiencyCells.cxx.

Member Function Documentation

void AliMUONTriggerEfficiencyCells::CheckConstants ( ) const
private

Check consistence of redefined constants

Definition at line 134 of file AliMUONTriggerEfficiencyCells.cxx.

Referenced by AliMUONTriggerEfficiencyCells().

TList* AliMUONTriggerEfficiencyCells::GetHistoList ( )
inline

Get list of histograms.

Definition at line 49 of file AliMUONTriggerEfficiencyCells.h.

Referenced by 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.

void AliMUONTriggerEfficiencyCells::ReadFile ( const Char_t *  filename,
const Char_t *  listname 
)
protected

Structure of file (.root) containing local board efficency

Definition at line 162 of file AliMUONTriggerEfficiencyCells.cxx.

Referenced by AliMUONTriggerEfficiencyCells().

void AliMUONTriggerEfficiencyCells::ResetHistos ( Bool_t  deleteObjects = kFALSE)
protected

Sets our internal array contents to zero.

Definition at line 146 of file AliMUONTriggerEfficiencyCells.cxx.

Referenced by AliMUONTriggerEfficiencyCells(), and ~AliMUONTriggerEfficiencyCells().

Member Data Documentation

TH1F* AliMUONTriggerEfficiencyCells::fBoardEfficiency[fgkNplanes]
private

the boards content (obsolete)

Definition at line 66 of file AliMUONTriggerEfficiencyCells.h.

Referenced by AliMUONTriggerEfficiencyCells(), GetOldEffHisto(), operator=(), ReadFile(), and ResetHistos().

TList* AliMUONTriggerEfficiencyCells::fCountHistoList
private

list of histograms for efficiency calculation

Definition at line 69 of file AliMUONTriggerEfficiencyCells.h.

Referenced by GetHistoList(), operator=(), ReadFile(), and ~AliMUONTriggerEfficiencyCells().

TList* AliMUONTriggerEfficiencyCells::fFiredStrips
private

list of fired strips for efficiency check (obsolete)

Definition at line 71 of file AliMUONTriggerEfficiencyCells.h.

Referenced by operator=(), and ~AliMUONTriggerEfficiencyCells().

const Int_t AliMUONTriggerEfficiencyCells::fgkNcathodes =2
staticprivate

Number of cathodes.

Definition at line 62 of file AliMUONTriggerEfficiencyCells.h.

Referenced by CheckConstants().

const Int_t AliMUONTriggerEfficiencyCells::fgkNchambers =4
staticprivate

Number of chambers.

Definition at line 63 of file AliMUONTriggerEfficiencyCells.h.

Referenced by CheckConstants(), GetOldEffHisto(), and ReadFile().

const Int_t AliMUONTriggerEfficiencyCells::fgkNplanes =8
staticprivate

Number of planes.

Definition at line 64 of file AliMUONTriggerEfficiencyCells.h.

Referenced by AliMUONTriggerEfficiencyCells(), CheckConstants(), operator=(), and ResetHistos().

TList* AliMUONTriggerEfficiencyCells::fNoCountHistoList
private

list of efficiency denominators (obsolete)

Definition at line 70 of file AliMUONTriggerEfficiencyCells.h.

Referenced by operator=(), and ~AliMUONTriggerEfficiencyCells().

TH1F* AliMUONTriggerEfficiencyCells::fSlatEfficiency[fgkNplanes]
private

the slats content (obsolete)

Definition at line 67 of file AliMUONTriggerEfficiencyCells.h.

Referenced by AliMUONTriggerEfficiencyCells(), GetOldEffHisto(), operator=(), ReadFile(), and ResetHistos().


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