# include "AliMUONVSubprocessor.h"
#endif
-class AliMUONV2DStore;
+class AliMUONVStore;
class TObjArray;
class AliMUONPedestalSubprocessor : public AliMUONVSubprocessor
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;
/// 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
+ Bool_t fTooFewEvents; //!< whether the current run was a failed ped run, basically
- ClassDef(AliMUONPedestalSubprocessor,1) // A shuttle preprocessor for MUON TRK pedestals
+ ClassDef(AliMUONPedestalSubprocessor,3) // A shuttle preprocessor for MUON TRK pedestals
};
#endif