|
 |
Go to the documentation of this file.
15 : tkGeom_(tkGeomProd),
18 nMaxVHforeachStack_(conf.getParameter<
int>(
"maxVectorHitsInAStack")),
19 barrelCut_(conf.getParameter<
std::
vector<double> >(
"BarrelCut")),
20 endcapCut_(conf.getParameter<
std::
vector<double> >(
"EndcapCut")),
27 double parallCorr = 0.0;
31 LogTrace(
"VectorHitsBuilderValidation") <<
" global vector passing to the origin:" << gV;
34 LogTrace(
"VectorHitsBuilderValidation")
35 <<
" local vector passing to the origin (in the lower detector system of reference):" << lV;
37 LogTrace(
"VectorHitsBuilderValidation")
38 <<
" normalized local vector passing to the origin (in low the lower detector system of reference):" << lV_norm;
42 parallCorr = lV_norm.
x() * lPosClu_uppInLow.
z();
50 for (
const auto& DSViter :
clusters) {
53 for (
const auto& clustIt : DSViter) {
62 LogDebug(
"VectorHitBuilder") <<
" Number of input clusters: " << nCluster << std::endl;
69 const PixelGeomDetUnit* pixelGeomDetUnit = dynamic_cast<const PixelGeomDetUnit*>(geomDetUnit);
71 if (!pixelGeomDetUnit)
80 LogTrace(
"VectorHitBuilder") <<
"Pixel cluster (module:" << module <<
") " << std::endl;
82 LogTrace(
"VectorHitBuilder") <<
"Strip cluster (module:" << module <<
") " << std::endl;
84 LogTrace(
"VectorHitBuilder") <<
"no module?!" << std::endl;
85 LogTrace(
"VectorHitBuilder") <<
"with pitch:" << topol.
pitch().first <<
" , " << topol.
pitch().second << std::endl;
92 LogTrace(
"VectorHitBuilder") <<
"\t global pos " << gparams << std::endl;
93 LogTrace(
"VectorHitBuilder") <<
"\t local pos " << lparams.first <<
"with err " << lparams.second << std::endl;
94 LogTrace(
"VectorHitBuilder") << std::endl;
virtual float width() const =0
const TrackerTopology * tkTopo_
virtual std::pair< float, float > pitch() const =0
unsigned int layer(const DetId &id) const
unsigned int module(const DetId &id) const
const ClusterParameterEstimator< Phase2TrackerCluster1D > * cpe_
ModuleType getDetectorType(DetId) const
VectorHitBuilderAlgorithmBase(const edm::ParameterSet &, const TrackerGeometry *, const TrackerTopology *, const ClusterParameterEstimator< Phase2TrackerCluster1D > *)
virtual float length() const =0
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
const Plane & surface() const
The nominal surface of the GeomDet.
const Bounds & bounds() const
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
void printCluster(const GeomDet *geomDetUnit, const Phase2TrackerCluster1D *cluster) const
DetId geographicalId() const
The label of this GeomDet.
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
double computeParallaxCorrection(const PixelGeomDetUnit *, const Point3DBase< float, LocalTag > &, const PixelGeomDetUnit *, const Point3DBase< float, LocalTag > &) const
virtual LocalValues localParameters(const T &, const GeomDetUnit &) const =0
const TrackerGeometry * tkGeom_
constexpr uint32_t rawId() const
get the raw id
LocalPoint toLocal(const GlobalPoint &gp) const
void printClusters(const edmNew::DetSetVector< Phase2TrackerCluster1D > &clusters) const