]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTriggerSubprocessor.h
The ReportTrips method now builds an object that can be viewed in mchview (when launc...
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerSubprocessor.h
index 6b24b0e11d211e1d779e5ff6166d97553999ffbd..8450f2be7462858034b64e64565f5117cb23a2c8 100644 (file)
 #endif
 
 class AliMUONTriggerLut;
-class AliMUONVStore;
+class AliMUONRegionalTriggerConfig;
+class AliMUONGlobalCrateConfig;
 class AliMUONVCalibParam;
+class AliMUONVStore;
 class TString;
 
 class AliMUONTriggerSubprocessor : public AliMUONVSubprocessor
@@ -27,7 +29,7 @@ public:
   AliMUONTriggerSubprocessor(AliMUONPreprocessor* master);
   virtual ~AliMUONTriggerSubprocessor();
   
-  void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
+  Bool_t Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
   UInt_t Process(TMap* dcsAliasMap);
   
 private:
@@ -39,13 +41,21 @@ private:
   /// Not implemented
   AliMUONTriggerSubprocessor& operator=(const AliMUONTriggerSubprocessor&);
   
+  Int_t TestFile(const char* baseName, Bool_t shouldBeThere) const;
+
+  void WhichFilesToRead(const char* exportedFiles,
+                        Bool_t& globalFile,
+                        Bool_t& regionalFile,
+                        Bool_t& localFile,
+                        Bool_t& lutFile) const;
+  
 private:
-  AliMUONVStore* fRegionalMasks; //!< regional masks
+  AliMUONRegionalTriggerConfig* fRegionalConfig; //!< regional config
   AliMUONVStore* fLocalMasks; //!< local masks
-  AliMUONVCalibParam* fGlobalMasks; //!< global masks
+  AliMUONGlobalCrateConfig*     fGlobalConfig;   //!< global config
   AliMUONTriggerLut* fLUT; //!< look-up table(s)
   
-  ClassDef(AliMUONTriggerSubprocessor,1) // A shuttle preprocessor for MUON TRK masks
+  ClassDef(AliMUONTriggerSubprocessor,2) // A shuttle preprocessor for MUON TRK masks
 };
 
 #endif