StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
StiIsActiveFunctor Class Reference

function object for determine a detector's active regions More...

#include <StiIsActiveFunctor.h>

Inheritance diagram for StiIsActiveFunctor:
StiIsSvtActiveFunctor StiIstIsActiveFunctor StiIstIsActiveFunctor StiNeverActiveFunctor StiPixelIsActiveFunctor StiPxlIsActiveFunctor StiSsdIsActiveFunctor StiTpcIsActiveFunctor

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
 

Detailed Description

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.

Author
Ben Norman, Kent State University
Date
March 2002

Definition at line 17 of file StiIsActiveFunctor.h.

Member Function Documentation

bool StiIsActiveFunctor::operator() ( Double_t  dYlocal,
Double_t  dZlocal 
) const
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.


The documentation for this class was generated from the following files: