]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPedestalSubprocessor.h
Bug fix for loading the LUT for chambers 1 to 6. (Indra)
[u/mrichter/AliRoot.git] / MUON / AliMUONPedestalSubprocessor.h
index 699d341804c9a9808bc10c8c9e738a19bf05fd4e..cc231eb5d7c469a5465a8dac104d009d698ab621 100644 (file)
@@ -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,15 @@ 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);
 
 private:
   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 pedestals
+  ClassDef(AliMUONPedestalSubprocessor,2) // A shuttle preprocessor for MUON TRK pedestals
 };
 
 #endif