AliRoot Core  d69033e (d69033e)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTriggerEfficiencyCells.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice */
3 
4 // $Id$
5 
10 // Author: Diego Stocco; INFN Torino
11 
12 #ifndef ALIMUONTRIGGEREFFICIENCYCELLS_H
13 #define ALIMUONTRIGGEREFFICIENCYCELLS_H
14 
15 #include "TObject.h"
16 class TH1F;
17 class TList;
18 
19 class AliMUONTriggerEfficiencyCells : public TObject
20 {
21 public:
23  AliMUONTriggerEfficiencyCells(const Char_t* filename, const Char_t* listname="triggerChamberEff");
24  AliMUONTriggerEfficiencyCells(TList *countHistoList);
25 
26  AliMUONTriggerEfficiencyCells(const AliMUONTriggerEfficiencyCells& other); // copy constructor
27  AliMUONTriggerEfficiencyCells& operator=(const AliMUONTriggerEfficiencyCells& other); // assignment operator
28 
30 
31  enum {
37  };
38 
39  enum {
43  };
44 
45  const Char_t* GetHistoName(Int_t histoType, Int_t countType,
46  Int_t chamber = -1);
47 
49  TList* GetHistoList() { return fCountHistoList; }
50 
51  TH1F* GetOldEffHisto(Int_t hType, Int_t ich, Int_t icath) const; // obsolete
52 
53 protected:
54  void ResetHistos(Bool_t deleteObjects = kFALSE);
55 
56  void ReadFile(const Char_t* filename,
57  const Char_t* listname);
58 
59 private:
60  void CheckConstants() const;
61 
62  static const Int_t fgkNcathodes=2;
63  static const Int_t fgkNchambers=4;
64  static const Int_t fgkNplanes=8;
65 
68 
69  TList *fCountHistoList;
71  TList *fFiredStrips;
72 
73  ClassDef(AliMUONTriggerEfficiencyCells,6) // Trigger efficiency store
74 };
75 #endif
TList * GetHistoList()
Get list of histograms.
Store and give access to the trigger chamber efficiency.
static const Int_t fgkNplanes
Number of planes.
TList * fNoCountHistoList
list of efficiency denominators (obsolete)
const Char_t * GetHistoName(Int_t histoType, Int_t countType, Int_t chamber=-1)
void ResetHistos(Bool_t deleteObjects=kFALSE)
static const Int_t fgkNcathodes
Number of cathodes.
static const Int_t fgkNchambers
Number of chambers.
AliMUONTriggerEfficiencyCells & operator=(const AliMUONTriggerEfficiencyCells &other)
TList * fCountHistoList
list of histograms for efficiency calculation
void ReadFile(const Char_t *filename, const Char_t *listname)
TH1F * GetOldEffHisto(Int_t hType, Int_t ich, Int_t icath) const
TList * fFiredStrips
list of fired strips for efficiency check (obsolete)
TH1F * fSlatEfficiency[fgkNplanes]
the slats content (obsolete)
TH1F * fBoardEfficiency[fgkNplanes]
the boards content (obsolete)