]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPreprocessor.h
In AliMUONReconstructor:
[u/mrichter/AliRoot.git] / MUON / AliMUONPreprocessor.h
index f0bdfe0f53900befa0ffd7d03a65bd2691a1c307..2a0ce630e173f396c6568d6508958c78136805cd 100644 (file)
@@ -50,10 +50,25 @@ public:
   {
     return AliPreprocessor::GetFile(system,id,source);
   }  
-  
+
+  /// Publish AliPreprocessor::GetFromOCDB function
+    AliCDBEntry* GetFromOCDB(const char* pathLevel2, const char* pathLevel3) {
+      return AliPreprocessor::GetFromOCDB(pathLevel2,pathLevel3);      
+    }
+
   /// Whether we can be used (e.g. whether we were properly initialized)
   Bool_t IsValid() const { return fIsValid; }
   
+  /// Mark as invalid
+  void Invalidate() { fIsValid = kFALSE; }
+  
+  /// Whether we should do something or not
+  Bool_t IsApplicable() { return fIsApplicable; }
+  
+  /// Return log book parameter
+  TString GetLogBookParam(const char* parname)
+  { return TString(AliPreprocessor::GetRunParameter(parname)); }
+  
 protected:
   AliMUONPreprocessor(const char* detName, AliShuttleInterface* shuttle);
   virtual ~AliMUONPreprocessor();
@@ -62,7 +77,8 @@ protected:
   void ClearSubprocessors();
   
   Bool_t fIsValid; //!< whether we were correctly initialized
-
+  Bool_t fIsApplicable; //!< whether we have something to do
+  
 private:
   /// Not implemented
   AliMUONPreprocessor(const AliMUONPreprocessor& rhs);
@@ -76,7 +92,7 @@ private:
   TObjArray* fSubprocessors; //!< sub processors to execute
   Bool_t fProcessDCS; //!< whether the current subprocessor(s) needs DCS or not
 
-  ClassDef(AliMUONPreprocessor,3) // MUON Shuttle preprocessor
+  ClassDef(AliMUONPreprocessor,4) // MUON Shuttle preprocessor
 };
 
 #endif