28 LogDebug(
"MTDCPEBase::fillDetParams():") <<
"caching " <<
detectors <<
"MTD detectors" << endl;
34 p.theOrigin =
p.theDet->surface().toLocal(
GlobalPoint(0, 0, 0));
37 p.thePart =
p.theDet->type().subDetector();
40 p.theThickness =
p.theDet->surface().bounds().thickness();
49 std::pair<float, float> pitchxy =
p.theRecTopol->pitch();
50 p.thePitchX = pitchxy.first;
51 p.thePitchY = pitchxy.second;
53 LogDebug(
"MTDCPEBase::fillDetParams()") <<
"***** MTD LAYOUT *****" 54 <<
" thePart = " <<
p.thePart <<
" theThickness = " <<
p.theThickness
55 <<
" thePitchX = " <<
p.thePitchX <<
" thePitchY = " <<
p.thePitchY;
65 return dp.theTopol->localPosition(
pos);
69 constexpr
double one_over_twelve = 1. / 12.;
72 return dp.theTopol->localError(
pos, simpleRect);
76 return cp.theCluster->time();
80 return cp.theCluster->timeError();
virtual LocalError localError(DetParam const &dp, ClusterParam &cp) const
Global3DPoint GlobalPoint
DetParam const & detParam(const GeomDetUnit &det) const
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
virtual TimeValue clusterTime(DetParam const &dp, ClusterParam &cp) const
def detectors(dt=True, csc=True, me42=False, chambers=True, superlayers=False, layers=False)
virtual LocalPoint localPosition(DetParam const &dp, ClusterParam &cp) const
virtual TimeValueError clusterTimeError(DetParam const &dp, ClusterParam &cp) const
const MTDGeometry & geom_
MTDCPEBase(edm::ParameterSet const &conf, const MTDGeometry &geom)