AliRoot Core  7e03155 (7e03155)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONPadStatusMapMaker.h
Go to the documentation of this file.
1 #ifndef ALIMUONPADSTATUSMAPMAKER_H
2 #define ALIMUONPADSTATUSMAPMAKER_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 
7 // $Id$
8 
13 // Author Laurent Aphecetche
14 
15 #ifndef ROOT_TObject
16 # include "TObject.h"
17 #endif
18 
20 class AliMUONVCalibParam;
21 class AliMUONVStore;
22 
23 class AliMUONPadStatusMapMaker : public TObject
24 {
25 public:
26  AliMUONPadStatusMapMaker(const AliMUONPadStatusMaker& padStatusMaker,
27  Int_t mask,
28  Bool_t deferredInitialization=kTRUE);
29  virtual ~AliMUONPadStatusMapMaker();
30 
35  AliMUONVStore* StatusMap() const { return fStatusMap; }
36 
37  Int_t StatusMap(Int_t detElemId, Int_t manuId, Int_t manuChannel) const;
38 
40  static Int_t SelfDeadMask() { return fgkSelfDead; }
41 
43 
44 private:
49 
50 private:
51 
52  AliMUONVCalibParam* ComputeStatusMap(Int_t detElemId, Int_t manuId) const;
53 
54 private:
55 
56  static Int_t fgkSelfDead;
57 
60  {
62  kLeftBit = 7,
64  kBottomBit = 11,
65  kCenterBit = 12,
66  kTopBit = 13,
68  kRightBit = 17,
70  };
71 
73  Int_t fMask;
78 
79  ClassDef(AliMUONPadStatusMapMaker,0) // Pad status map maker
80 };
81 
82 #endif
Convert a pad status container into a pad status map container.
static Int_t fgkSelfDead
! status bit map to tell a pad is bad
Int_t fMask
! mask to be tested
AliMUONVStore * fRejectList
! reject list (which channels should be rejected, might change event-by-event for simulations) ...
const AliMUONPadStatusMaker & fkStatusMaker
! to access pad statuses
Bool_t fComputeOnDemand
! whether we authorize to compute things on demand or not
AliMUONVCalibParam * ComputeStatusMap(Int_t detElemId, Int_t manuId) const
Container of calibration values for a given number of channels.
AliMUONVStore * StatusMap() const
AliMUONPadStatusMapMaker(const AliMUONPadStatusMaker &padStatusMaker, Int_t mask, Bool_t deferredInitialization=kTRUE)
static Int_t SelfDeadMask()
Return status bit map to tell a pad is bad.
AliMUONVStore * fRejectProbabilities
! reject probabilities (channel based, computed once per run)
AliMUONPadStatusMapMaker & operator=(const AliMUONPadStatusMapMaker &)
Not implemented.
Base class for MUON data stores.
Definition: AliMUONVStore.h:22
Make a 2DStore of pad statuses, using different sources of information.
AliMUONVStore * fStatusMap
! status map
return kTRUE
Definition: AliFMDv1.cxx:97