17 : tkGeom_(tkGeomProd),
20 nMaxVHforeachStack_(conf.getParameter<
int>(
"maxVectorHitsInAStack")),
21 barrelCut_(conf.getParameter<
std::
vector<double> >(
"BarrelCut")),
22 endcapCut_(conf.getParameter<
std::
vector<double> >(
"EndcapCut")),
29 double parallCorr = 0.0;
33 LogTrace(
"VectorHitsBuilderValidation") <<
" global vector passing to the origin:" << gV;
36 LogTrace(
"VectorHitsBuilderValidation")
37 <<
" local vector passing to the origin (in the lower detector system of reference):" << lV;
39 LogTrace(
"VectorHitsBuilderValidation")
40 <<
" normalized local vector passing to the origin (in low the lower detector system of reference):" << lV_norm;
44 parallCorr = lV_norm.
x() * lPosClu_uppInLow.
z();
52 for (
const auto& DSViter :
clusters) {
55 for (
const auto& clustIt : DSViter) {
64 LogDebug(
"VectorHitBuilder") <<
" Number of input clusters: " << nCluster << std::endl;
73 if (!pixelGeomDetUnit)
82 LogTrace(
"VectorHitBuilder") <<
"Pixel cluster (module:" <<
module <<
") " << std::endl;
84 LogTrace(
"VectorHitBuilder") <<
"Strip cluster (module:" <<
module <<
") " << std::endl;
86 LogTrace(
"VectorHitBuilder") <<
"no module?!" << std::endl;
87 LogTrace(
"VectorHitBuilder") <<
"with pitch:" << topol.
pitch().first <<
" , " << topol.
pitch().second << std::endl;
94 LogTrace(
"VectorHitBuilder") <<
"\t global pos " << gparams << std::endl;
95 LogTrace(
"VectorHitBuilder") <<
"\t local pos " << lparams.first <<
"with err " << lparams.second << std::endl;
96 LogTrace(
"VectorHitBuilder") << std::endl;
virtual float length() const =0
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
VectorHitBuilderAlgorithmBase(const edm::ParameterSet &, const TrackerGeometry *, const TrackerTopology *, const ClusterParameterEstimator< Phase2TrackerCluster1D > *)
LocalPoint toLocal(const GlobalPoint &gp) const
unsigned int layer(const DetId &id) const
constexpr std::array< uint8_t, layerIndexSize > layer
unsigned int module(const DetId &id) const
virtual LocalValues localParameters(const T &, const GeomDetUnit &) const =0
ModuleType getDetectorType(DetId) const
const ClusterParameterEstimator< Phase2TrackerCluster1D > * cpe_
const TrackerGeometry * tkGeom_
void printClusters(const edmNew::DetSetVector< Phase2TrackerCluster1D > &clusters) const
DetId geographicalId() const
The label of this GeomDet.
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
const Plane & surface() const
The nominal surface of the GeomDet.
constexpr uint32_t rawId() const
get the raw id
void printCluster(const GeomDet *geomDetUnit, const Phase2TrackerCluster1D *cluster) const
double computeParallaxCorrection(const PixelGeomDetUnit *, const Point3DBase< float, LocalTag > &, const PixelGeomDetUnit *, const Point3DBase< float, LocalTag > &) const
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
const TrackerTopology * tkTopo_
virtual std::pair< float, float > pitch() const =0
virtual float width() const =0
const Bounds & bounds() const