]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTriggerSubprocessor.h
resolving new library dependency libAOD
[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 AliMUONRegionalTriggerConfig;
21 class AliMUONGlobalCrateConfig;
22 class AliMUONVCalibParam;
23 class AliMUONVStore;
24 class TString;
25
26 class AliMUONTriggerSubprocessor : public AliMUONVSubprocessor
27 {
28 public:
29   AliMUONTriggerSubprocessor(AliMUONPreprocessor* master);
30   virtual ~AliMUONTriggerSubprocessor();
31   
32   Bool_t Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
33   UInt_t Process(TMap* dcsAliasMap);
34   
35 private:
36
37   TString GetFileName(const char* fid) const;
38   
39   /// Not implemented
40   AliMUONTriggerSubprocessor(const AliMUONTriggerSubprocessor&);
41   /// Not implemented
42   AliMUONTriggerSubprocessor& operator=(const AliMUONTriggerSubprocessor&);
43   
44   Int_t TestFile(const char* baseName, Bool_t shouldBeThere) const;
45
46   void WhichFilesToRead(const char* exportedFiles,
47                         Bool_t& globalFile,
48                         Bool_t& regionalFile,
49                         Bool_t& localFile,
50                         Bool_t& lutFile) const;
51   
52 private:
53   AliMUONRegionalTriggerConfig* fRegionalConfig; //!< regional config
54   AliMUONVStore* fLocalMasks; //!< local masks
55   AliMUONGlobalCrateConfig*     fGlobalConfig;   //!< global config
56   AliMUONTriggerLut* fLUT; //!< look-up table(s)
57   
58   ClassDef(AliMUONTriggerSubprocessor,2) // A shuttle preprocessor for MUON TRK masks
59 };
60
61 #endif