Line data Source code
1 : #ifndef ALIMUONCONFIGSUBPROCESSOR_H
2 : #define ALIMUONCONFIGSUBPROCESSOR_H
3 :
4 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 : * See cxx source for full Copyright notice */
6 :
7 : // $Id$
8 :
9 : /// \ingroup shuttle
10 : /// \class AliMUONConfigSubprocessor
11 : /// \brief Implementation of AliMUONVSubprocessor for MUON TRK config
12 : ///
13 : // Author Laurent Aphecetche
14 :
15 : #ifndef ALIMUONVSUBPROCESSOR_H
16 : # include "AliMUONVSubprocessor.h"
17 : #endif
18 :
19 : class AliMUONVStore;
20 :
21 : class AliMUONConfigSubprocessor : public AliMUONVSubprocessor
22 : {
23 : public:
24 : AliMUONConfigSubprocessor(AliMUONPreprocessor* master);
25 : virtual ~AliMUONConfigSubprocessor();
26 :
27 : Bool_t Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
28 : UInt_t Process(TMap* dcsAliasMap);
29 : void Print(Option_t* opt="") const;
30 :
31 : private:
32 : /// Not implemented
33 : AliMUONConfigSubprocessor(const AliMUONConfigSubprocessor&);
34 : /// Not implemented
35 : AliMUONConfigSubprocessor& operator=(const AliMUONConfigSubprocessor&);
36 :
37 : Int_t ReadConfigFile(const char* filename);
38 :
39 : Bool_t HasConfigChanged(const AliMUONVStore& newConfig) const;
40 :
41 : private:
42 : AliMUONVStore* fConfig; //!<! Configuration (i.e. list of (buspatch,manu)) for the MUON TRK
43 : Bool_t fConfigChanged; //!<! flag to trigger the saving of the configuration
44 :
45 12 : ClassDef(AliMUONConfigSubprocessor,1) // A shuttle preprocessor for MUON TRK config
46 : };
47 :
48 : #endif
|