]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPedestalSubprocessor.h
Removing non-working HP for the GRP configuration for the test setup.
[u/mrichter/AliRoot.git] / MUON / AliMUONPedestalSubprocessor.h
index 9ec21f1cedeb5333f9582a80a346dba129c4aa2e..2930feaee9129cfd735d929b781c3950a5c73de1 100644 (file)
@@ -16,7 +16,7 @@
 #  include "AliMUONVSubprocessor.h"
 #endif
 
-class AliMUONV2DStore;
+class AliMUONVStore;
 class TObjArray;
 
 class AliMUONPedestalSubprocessor : public AliMUONVSubprocessor
@@ -25,7 +25,7 @@ public:
   AliMUONPedestalSubprocessor(AliMUONPreprocessor* master);
   virtual ~AliMUONPedestalSubprocessor();
   
-  void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
+  Bool_t Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
   UInt_t Process(TMap* dcsAliasMap);
   void Print(Option_t* opt="") const;
   
@@ -35,12 +35,17 @@ private:
   /// Not implemented
   AliMUONPedestalSubprocessor& operator=(const AliMUONPedestalSubprocessor&);
   
-  Int_t ReadFile(const char* filename);
+  Int_t ReadPedestalFile(const char* filename);
+  Int_t ReadConfigFile(const char* filename);
+
+  Bool_t HasConfigChanged(const AliMUONVStore& newConfig) const;
 
 private:
-  AliMUONV2DStore* fPedestals; //!< Pedestals for the MUON TRK
+  AliMUONVStore* fPedestals; //!< Pedestals for the MUON TRK
+  AliMUONVStore* fConfig; //!< Configuration (i.e. list of (buspatch,manu)) for the MUON TRK
+  Bool_t fConfigChanged; //!< flag to trigger the saving of the configuration
   
-  ClassDef(AliMUONPedestalSubprocessor,1) // A shuttle preprocessor for MUON TRK pedetals
+  ClassDef(AliMUONPedestalSubprocessor,2) // A shuttle preprocessor for MUON TRK pedestals
 };
 
 #endif