]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTriggerSubprocessor.h
Bug fix for list of cc addresses
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerSubprocessor.h
1 #ifndef ALIMUONTRIGGERSUBPROCESSOR_H
2 #define ALIMUONTRIGGERSUBPROCESSOR_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 AliMUONTriggerSubprocessor
11 /// \brief Implementation of AliMUONVSubprocessor for MUON TRK masks
12 /// 
13 //  Author Laurent Aphecetche, Subatech
14
15 #ifndef ALIMUONVSUBPROCESSOR_H
16 #  include "AliMUONVSubprocessor.h"
17 #endif
18
19 class AliMUONTriggerLut;
20 class AliMUONVStore;
21 class AliMUONVCalibParam;
22 class TString;
23
24 class AliMUONTriggerSubprocessor : public AliMUONVSubprocessor
25 {
26 public:
27   AliMUONTriggerSubprocessor(AliMUONPreprocessor* master);
28   virtual ~AliMUONTriggerSubprocessor();
29   
30   void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
31   UInt_t Process(TMap* dcsAliasMap);
32   
33 private:
34
35   TString GetFileName(const char* fid) const;
36   
37   /// Not implemented
38   AliMUONTriggerSubprocessor(const AliMUONTriggerSubprocessor&);
39   /// Not implemented
40   AliMUONTriggerSubprocessor& operator=(const AliMUONTriggerSubprocessor&);
41   
42   Int_t TestFile(const char* baseName, Bool_t shouldBeThere) const;
43
44   void WhichFilesToRead(const char* exportedFiles,
45                         Bool_t& globalFile,
46                         Bool_t& regionalFile,
47                         Bool_t& localFile,
48                         Bool_t& lutFile) const;
49   
50 private:
51   AliMUONVStore* fRegionalMasks; //!< regional masks
52   AliMUONVStore* fLocalMasks; //!< local masks
53   AliMUONVCalibParam* fGlobalMasks; //!< global masks
54   AliMUONTriggerLut* fLUT; //!< look-up table(s)
55   
56   ClassDef(AliMUONTriggerSubprocessor,1) // A shuttle preprocessor for MUON TRK masks
57 };
58
59 #endif