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

function object for determine a TPC padrow's active regions More...

#include <StiTpcIsActiveFunctor.h>

Inheritance diagram for StiTpcIsActiveFunctor:
StiIsActiveFunctor

Public Member Functions

 StiTpcIsActiveFunctor (Bool_t active=kTRUE, Bool_t west=kTRUE, Bool_t east=kTRUE)
 
virtual Bool_t operator() (Double_t, Double_t) const
 
virtual Bool_t isActive () const
 Returns whether the object is active.
 
virtual Bool_t isEastActive () const
 
virtual Bool_t isWestActive () const
 
void setEastActive (Bool_t value)
 
void setWestActive (Bool_t value)
 
- Public Member Functions inherited from StiIsActiveFunctor
 StiIsActiveFunctor (Bool_t active=kTRUE, Bool_t editable=kTRUE)
 
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.
 

Protected Attributes

Bool_t _eastActive
 is the east half of the padrow on?
 
Bool_t _westActive
 is the west half of the padrow on?
 
- Protected Attributes inherited from StiIsActiveFunctor
Bool_t _active
 
Bool_t _editable
 

Detailed Description

function object for determine a TPC padrow's active regions

Class defines a isActiveFunctor specific to the STAR tpc. The isActive status depends on the livelihood of the east and west side of the TPC.

Author
Ben Norman, Kent State University
Claude Pruneau, Wayne State University
Date
March 2002

Definition at line 18 of file StiTpcIsActiveFunctor.h.

Member Function Documentation

virtual Bool_t StiTpcIsActiveFunctor::operator() ( Double_t  dYlocal,
Double_t  dZlocal 
) const
inlinevirtual

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 from StiIsActiveFunctor.

Definition at line 24 of file StiTpcIsActiveFunctor.h.

References isActive().


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