00001 #include "StiIsSvtActiveFunctor.h" 00002 #include "StDbUtilities/St_svtRDOstrippedC.h" 00003 00008 bool StiIsSvtActiveFunctor::operator()(double y, double z) const { 00009 St_svtRDOstrippedC *svtRDOs = St_svtRDOstrippedC::instance(); 00010 if (! svtRDOs) return _active; 00011 Int_t wafer = (Int_t) ((z/_dZ + _nWafers)/2) + 1 ; 00012 return ! svtRDOs->svtRDOstrippedStatus(_Barrel,_Ladder,wafer); 00013 }
1.5.9