X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONPedestalSubprocessor.h;h=71d731095c273826867f661df458f84e6b1da919;hb=d6080682f89d052b457a8971c1c814e0bf00b3a0;hp=3f4c3ead49094aa4c9339d8002d86c2f4119f01d;hpb=a8f77ca080a3a3847216928ac1640e5a95af07ba;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONPedestalSubprocessor.h b/MUON/AliMUONPedestalSubprocessor.h index 3f4c3ead490..71d731095c2 100644 --- a/MUON/AliMUONPedestalSubprocessor.h +++ b/MUON/AliMUONPedestalSubprocessor.h @@ -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,18 @@ 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 + 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