X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONPreprocessor.h;h=5cfae3533345c1d4f5a648c55815ed7875205198;hb=36a7d3c62cdaa69faaed68ccea309a978c5172f8;hp=6ec375fd21230162d20004d2d7786192ad2a5f57;hpb=c41ce74df62359a645b1272e87c9368408eabef3;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONPreprocessor.h b/MUON/AliMUONPreprocessor.h index 6ec375fd212..5cfae353334 100644 --- a/MUON/AliMUONPreprocessor.h +++ b/MUON/AliMUONPreprocessor.h @@ -54,6 +54,12 @@ public: /// 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; } + protected: AliMUONPreprocessor(const char* detName, AliShuttleInterface* shuttle); virtual ~AliMUONPreprocessor(); @@ -61,6 +67,9 @@ protected: void Add(AliMUONVSubprocessor* subProcessor, Bool_t processDCS=kFALSE); 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); @@ -73,9 +82,8 @@ private: TObjArray* fSubprocessors; //!< sub processors to execute Bool_t fProcessDCS; //!< whether the current subprocessor(s) needs DCS or not - Bool_t fIsValid; //!< whether we were correctly initialized - - ClassDef(AliMUONPreprocessor,3) // MUON Shuttle preprocessor + + ClassDef(AliMUONPreprocessor,4) // MUON Shuttle preprocessor }; #endif