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;
66 if (
cp.theCluster->getClusterErrorX() < 0.) {
67 return dp.theTopol->localPosition(
pos);
81 if (
cp.theCluster->getClusterErrorX() < 0.) {
85 float sigmaX2 =
cp.theCluster->getClusterErrorX();
93 return cp.theCluster->time();
97 return cp.theCluster->timeError();
virtual LocalError localError(DetParam const &dp, ClusterParam &cp) const
Global3DPoint GlobalPoint
DetParam const & detParam(const GeomDetUnit &det) const
static constexpr float sigma_flat
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)