1 #ifndef ALIMUONPEDESTALSUBPROCESSOR_H
2 #define ALIMUONPEDESTALSUBPROCESSOR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONPedestalSubprocessor
11 /// \brief Implementation of AliMUONVSubprocessor for MUON TRK pedestals
13 // Author Laurent Aphecetche
15 #ifndef ALIMUONVSUBPROCESSOR_H
16 # include "AliMUONVSubprocessor.h"
22 class AliMUONPedestalSubprocessor : public AliMUONVSubprocessor
25 AliMUONPedestalSubprocessor(AliMUONPreprocessor* master);
26 virtual ~AliMUONPedestalSubprocessor();
28 Bool_t Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
29 UInt_t Process(TMap* dcsAliasMap);
30 void Print(Option_t* opt="") const;
34 AliMUONPedestalSubprocessor(const AliMUONPedestalSubprocessor&);
36 AliMUONPedestalSubprocessor& operator=(const AliMUONPedestalSubprocessor&);
38 Int_t ReadPedestalFile(const char* filename);
39 Int_t ReadConfigFile(const char* filename);
41 Bool_t HasConfigChanged(const AliMUONVStore& newConfig) const;
44 AliMUONVStore* fPedestals; //!< Pedestals for the MUON TRK
45 AliMUONVStore* fConfig; //!< Configuration (i.e. list of (buspatch,manu)) for the MUON TRK
46 Bool_t fConfigChanged; //!< flag to trigger the saving of the configuration
47 Bool_t fTooFewEvents; //!< whether the current run was a failed ped run, basically
49 ClassDef(AliMUONPedestalSubprocessor,3) // A shuttle preprocessor for MUON TRK pedestals