]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONCalibrationData.h
Fixing bug related to arithmetic overflow on 32 bit machines. The bug typically appea...
[u/mrichter/AliRoot.git] / MUON / AliMUONCalibrationData.h
index d06d84b35a9bf3dd3cdc2bc28962099a23d690b7..5541af3ac986c4ee332fab2acd6e0f3eb680a30f 100644 (file)
 #endif
 
 class AliCDBEntry;
+class AliMUONGlobalCrateConfig;
+class AliMUONRegionalTriggerConfig;
+class AliMUONRejectList;
 class AliMUONTriggerEfficiencyCells;
 class AliMUONTriggerLut;
+class AliMUONVCalibParam;
 class AliMUONVStore;
 class AliMUONVStore;
-class AliMUONVCalibParam;
-class AliMUONGlobalCrateConfig;
-class AliMUONRegionalTriggerConfig;
 class TMap;
 
 class AliMUONCalibrationData : public TObject
@@ -60,12 +61,18 @@ public:
   /// Create a local trigger mask store (which must be deleted) for a given run
   static AliMUONVStore* CreateLocalTriggerBoardMasks(Int_t runNumber, Int_t* startOfValidity=0);
 
-  /// Create a kill map store (which must be deleted) from OCDB for the given run
-  static AliMUONVStore* CreateKillMap(Int_t runNumber, Int_t* startOfValidity=0);
+  /// Create an occupancy map store (which must be deleted) from OCDB for the given run
+  static AliMUONVStore* CreateOccupancyMap(Int_t runNumber, Int_t* startOfValidity=0);
+
+  /// Create a rejectlist store (which must be deleted) from OCDB for the given run
+  static AliMUONRejectList* CreateRejectList(Int_t runNumber, Int_t* startOfValidity=0);
 
   /// Create a pedestal store (which must be deleted) from OCDB for the given run
   static AliMUONVStore* CreatePedestals(Int_t runNumber, Int_t* startOfValidity=0);
 
+  /// Create a configuration store (which must be deleted) from OCDB for the given run
+  static AliMUONVStore* CreateConfig(Int_t runNumber, Int_t* startOfValidity=0);
+
   /// Create a regional trigger mask store (which must be deleted) for a given run
   static AliMUONRegionalTriggerConfig* CreateRegionalTriggerConfig(Int_t runNumber, Int_t* startOfValidity=0);
 
@@ -101,11 +108,14 @@ public:
   /// Get the pedestal store
   AliMUONVStore* Pedestals() const;
 
-  /// Get the kill map store
-  AliMUONVStore* KillMap() const;
+  /// Get the config store
+  AliMUONVStore* Config() const;
+  
+  /// Get the occupancy map store
+  AliMUONVStore* OccupancyMap() const;
 
-  /// Get the kill map calibration object for channels within (detElemId,manuId).
-  AliMUONVCalibParam* KillMap(Int_t detElemId, Int_t manuId) const;
+  /// Get the reject list store
+  AliMUONRejectList* RejectList() const;
 
   /// Get the Pedestal calibration object for channels within (detElemId,manuId).
   AliMUONVCalibParam* Pedestals(Int_t detElemId, Int_t manuId) const;
@@ -132,6 +142,8 @@ public:
   
   static void Check(Int_t runNumber);
   
+  static void BypassStores(AliMUONVStore* ped, AliMUONVStore* gain);
+  
 protected:
   /// Not implemented
   AliMUONCalibrationData(const AliMUONCalibrationData& other);
@@ -154,9 +166,16 @@ private:
   mutable AliMUONVStore* fCapacitances; //!< Manu capacitances
   mutable AliMUONVStore* fNeighbours; //!< list of neighbours for all channels
   
-  mutable AliMUONVStore* fKillMap; //!< kill map
+  mutable AliMUONVStore* fOccupancyMap; //!< occupancy map
+  
+  mutable AliMUONRejectList* fRejectList; //!< reject list
+
+  static AliMUONVStore* fBypassPedestals;
+  static AliMUONVStore* fBypassGains;
+  
+  mutable AliMUONVStore* fConfig; //!< configuration of the tracker
   
-  ClassDef(AliMUONCalibrationData,9) // Storage for all MUON calibration data.
+  ClassDef(AliMUONCalibrationData,13) // Storage for all MUON calibration data.
 };
 
 #endif