StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiIsActiveFunctor.h
Go to the documentation of this file.
1 
14 #ifndef STI_IS_ACTIVE_FUNCTOR
15 #define STI_IS_ACTIVE_FUNCTOR
16 #include "Rtypes.h"
18 {
19  public:
20 
21  StiIsActiveFunctor(Bool_t active=kTRUE,Bool_t editable=kTRUE);
22  virtual ~StiIsActiveFunctor();
23  virtual Bool_t isActive() const;
24  virtual void setIsActive(Bool_t value);
25  virtual Bool_t isEditable() const;
26  virtual void setIsEditable(Bool_t value);
27  virtual Bool_t operator()(Double_t dYlocal, Double_t dZlocal) const;
28 
29  protected:
30  Bool_t _active;
31  Bool_t _editable;
32 };
33 
34 #endif // ifndef STI_IS_ACTIVE_FUNCTOR
35 
virtual void setIsEditable(Bool_t value)
Set whether the object is editable.
virtual Bool_t isActive() const
Returns whether the object is active.
virtual Bool_t operator()(Double_t dYlocal, Double_t dZlocal) const
virtual Bool_t isEditable() const
Returns whether the object is editable.
function object for determine a detector's active regions
virtual void setIsActive(Bool_t value)
Set whether the object is active.