]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONGainSubprocessor.h
Adding MUONChamberMaterialBudget.C:
[u/mrichter/AliRoot.git] / MUON / AliMUONGainSubprocessor.h
1 #ifndef ALIMUONGAINSUBPROCESSOR_H
2 #define ALIMUONGAINSUBPROCESSOR_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 AliMUONGainSubprocessor
11 /// \brief Implementation of AliMUONVSubprocessor for MUON TRK Gains
12 /// 
13 //  Author Laurent Aphecetche
14
15 #ifndef ALIMUONVSUBPROCESSOR_H
16 #  include "AliMUONVSubprocessor.h"
17 #endif
18
19 #ifndef ROOT_TString
20 #  include "TString.h"
21 #endif
22
23 class AliMUONVStore;
24 class TObjArray;
25
26 class AliMUONGainSubprocessor : public AliMUONVSubprocessor
27 {
28 public:
29   AliMUONGainSubprocessor(AliMUONPreprocessor* master);
30   virtual ~AliMUONGainSubprocessor();
31   
32   Bool_t Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
33   UInt_t Process(TMap* dcsAliasMap);
34   
35 private:
36   /// Not implemented
37   AliMUONGainSubprocessor(const AliMUONGainSubprocessor&);
38   /// Not implemented
39   AliMUONGainSubprocessor& operator=(const AliMUONGainSubprocessor&);
40   
41   Int_t ReadFile(const char* filename);
42
43 private:
44   AliMUONVStore* fGains; //!< Gains for the MUON TRK
45   Bool_t fSkip; //!< whether we should skip this run (because it's dummy)
46   TString fComment; //!< comment for OCDB entry
47   
48   ClassDef(AliMUONGainSubprocessor,2) // A shuttle preprocessor for MUON TRK gains
49 };
50
51 #endif