38 LogDebug(
"MTDCPEBase::fillDetParams():") <<
"caching "<<detectors<<
"MTD detectors"<<endl;
45 p.theOrigin =
p.theDet->surface().toLocal(
GlobalPoint(0,0,0));
48 p.thePart =
p.theDet->type().subDetector();
51 p.theThickness =
p.theDet->surface().bounds().thickness();
57 assert(
p.theRecTopol);
60 std::pair<float,float> pitchxy =
p.theRecTopol->pitch();
61 p.thePitchX = pitchxy.first;
62 p.thePitchY = pitchxy.second;
64 LogDebug(
"MTDCPEBase::fillDetParams()") <<
"***** MTD LAYOUT *****" 65 <<
" thePart = " <<
p.thePart
66 <<
" theThickness = " <<
p.theThickness
67 <<
" thePitchX = " <<
p.thePitchX
68 <<
" thePitchY = " <<
p.thePitchY;
97 constexpr double one_over_twelve = 1./12.;
virtual LocalError localError(DetParam const &dp, ClusterParam &cp) const
LocalPoint localPosition(const MeasurementPoint &) const override
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
LocalError localError(const MeasurementPoint &, const MeasurementError &) const override
Global3DPoint GlobalPoint
const FTLCluster * theCluster
virtual TimeValue clusterTime(DetParam const &dp, ClusterParam &cp) const
def detectors(dt=True, csc=True, me42=False, chambers=True, superlayers=False, layers=False)
virtual TimeValueError clusterTimeError(DetParam const &dp, ClusterParam &cp) const
DetParam const & detParam(const GeomDetUnit &det) const
const ProxyMTDTopology * theTopol
virtual LocalPoint localPosition(DetParam const &dp, ClusterParam &cp) const
void setTheClu(DetParam const &dp, ClusterParam &cp) const
const MTDGeometry & geom_
MTDCPEBase(edm::ParameterSet const &conf, const MTDGeometry &geom)