StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiIsSvtActiveFunctor.h
Go to the documentation of this file.
1 
14 #ifndef StiIsSvtActiveFunctor_h
15 #define StiIsSvtActiveFunctor_h
16 #include "Rtypes.h"
17 #include "Sti/StiIsActiveFunctor.h"
19  public:
20  StiIsSvtActiveFunctor(Bool_t active=kTRUE,Bool_t editable=kTRUE) :
21  StiIsActiveFunctor(active, editable), _Barrel(0), _Ladder(0),_nWafers(0), _dY(0), _dZ(0) {}
22  StiIsSvtActiveFunctor(Int_t barrel, Int_t ladder, Int_t nWafers, Double_t dY = 3.0, Double_t dZ = 3.0, Bool_t active=kTRUE,Bool_t editable=kTRUE) :
23  StiIsActiveFunctor(active, editable), _Barrel(barrel), _Ladder(ladder),_nWafers(nWafers), _dY(dY), _dZ(dZ) {}
24  virtual ~StiIsSvtActiveFunctor() {}
25  virtual Bool_t operator()(Double_t dYlocal, Double_t dZlocal) const;
26 
27  protected:
28  Int_t _Barrel;
29  Int_t _Ladder;
30  Int_t _nWafers;
31  Double_t _dY;
32  Double_t _dZ;
33 };
34 
35 #endif
36 
virtual Bool_t operator()(Double_t dYlocal, Double_t dZlocal) const
function object for determine a detector's active regions
function object for determine a detector's active regions