StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiIsSvtActiveFunctor.cxx
2 #include "StDbUtilities/St_svtRDOstrippedC.h"
3 
8 bool StiIsSvtActiveFunctor::operator()(double y, double z) const {
9  St_svtRDOstrippedC *svtRDOs = St_svtRDOstrippedC::instance();
10  if (! svtRDOs) return _active;
11  Int_t wafer = (Int_t) ((z/_dZ + _nWafers)/2) + 1 ;
12  return ! svtRDOs->svtRDOstrippedStatus(_Barrel,_Ladder,wafer);
13 }
virtual Bool_t operator()(Double_t dYlocal, Double_t dZlocal) const