]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUON2DStoreValidator.h
fix finding of pad neighbours; remove methods to write them in OCDB
[u/mrichter/AliRoot.git] / MUON / AliMUON2DStoreValidator.h
index 28841ddd932fc2b8aa23f60e8c59660011b74547..b73c207cbe8ae1e400de2068fc36011ad44043e5 100644 (file)
@@ -17,7 +17,7 @@
 #  include "TObject.h"
 #endif
 
-class AliMUONV2DStore;
+class AliMUONVStore;
 class TList;
 class TObjArray;
 class AliMUONCheckItem;
@@ -29,15 +29,16 @@ public:
   AliMUON2DStoreValidator();
   virtual ~AliMUON2DStoreValidator();
   
-  TObjArray* Validate(const AliMUONV2DStore& store, Float_t invalidFloatValue);
+  TObjArray* Validate(const AliMUONVStore& store, Float_t invalidFloatValue, AliMUONVStore* config=0x0);
 
-  TObjArray* Validate(const AliMUONV2DStore& store);
+  TObjArray* Validate(const AliMUONVStore& store, AliMUONVStore* config=0x0);
   
-  TObjArray* Validate(const AliMUONV2DStore& store, 
-                      Bool_t (*check)(const AliMUONVCalibParam&,Int_t));
+  TObjArray* Validate(const AliMUONVStore& store, 
+                      Bool_t (*check)(const AliMUONVCalibParam&,Int_t),
+                      AliMUONVStore* config=0x0);
 
   /// Return statuses
-  AliMUONV2DStore* GetStatus() const { return fStatus; }
+  AliMUONVStore* GetStatus() const { return fStatus; }
   
   /// Reports what is missing, trying to be as concise as possible.
   void Report(TList& lines) const;
@@ -58,16 +59,15 @@ private:
   AliMUONCheckItem* GetDE(Int_t detElemId);
   AliMUONCheckItem* GetManu(Int_t detElemId, Int_t manuId);
   
-  static void ReportChamber(TList& list, AliMUONCheckItem& chamber);
-  static void ReportDE(TList& list, AliMUONCheckItem& de);
-  static void ReportManu(TList& list, AliMUONCheckItem& manu);
+  static void ReportChamber(TList& list, const AliMUONCheckItem& chamber);
+  static void ReportDE(TList& list, const AliMUONCheckItem& de);
+  static void ReportManu(TList& list, const AliMUONCheckItem& manu);
   
 private:
-  TList* fManuList; //!< List of (DE,manuID) pairs.
   TObjArray* fChambers; //!< Array of AliMUONCheckItem.
-  AliMUONV2DStore* fStatus; //!< Statuses
+  AliMUONVStore* fStatus; //!< Statuses
   
-  ClassDef(AliMUON2DStoreValidator,2) // Validator of 2DStore
+  ClassDef(AliMUON2DStoreValidator,3) // Validator of 2DStore
 };
 
 #endif