StRoot
1
|
function object for determine a detector's active regions More...
#include <StiIsActiveFunctor.h>
Public Member Functions | |
StiIsActiveFunctor (Bool_t active=kTRUE, Bool_t editable=kTRUE) | |
virtual Bool_t | isActive () const |
Returns whether the object is active. | |
virtual void | setIsActive (Bool_t value) |
Set whether the object is active. | |
virtual Bool_t | isEditable () const |
Returns whether the object is editable. | |
virtual void | setIsEditable (Bool_t value) |
Set whether the object is editable. | |
virtual Bool_t | operator() (Double_t dYlocal, Double_t dZlocal) const |
Protected Attributes | |
Bool_t | _active |
Bool_t | _editable |
function object for determine a detector's active regions
Returns whether or not a given detector is active (capable of providing hit information) as a function of local z and y. Local x is not required because the detector is considered a surface, not a solid.
Definition at line 17 of file StiIsActiveFunctor.h.
|
virtual |
Determines whether the object is considered active at the given coordinates. Note that this base class implementation is implemented as an "all active/ianactive" i.e. no partition of the object is defined.
Reimplemented in StiIsSvtActiveFunctor, and StiTpcIsActiveFunctor.
Definition at line 39 of file StiIsActiveFunctor.cxx.