#include <VectorHitBuilderAlgorithm.h>
Classes | |
struct | CurvatureAndPhi |
Additional Inherited Members | |
Public Types inherited from VectorHitBuilderAlgorithmBase | |
typedef Detset::const_iterator | const_iterator |
typedef edmNew::DetSet< Phase2TrackerCluster1D > | Detset |
typedef edmNew::DetSetVector< VectorHit > | output_t |
typedef edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1D > | Phase2TrackerCluster1DRef |
typedef std::pair< StackGeomDet, std::vector< Phase2TrackerCluster1D > > | StackClusters |
Public Attributes inherited from VectorHitBuilderAlgorithmBase | |
std::vector< double > | barrelCut_ |
const ClusterParameterEstimator< Phase2TrackerCluster1D > * | cpe_ |
std::vector< double > | endcapCut_ |
unsigned int | nMaxVHforeachStack_ |
const TrackerGeometry * | tkGeom_ |
const TrackerTopology * | tkTopo_ |
Definition at line 17 of file VectorHitBuilderAlgorithm.h.
|
inline |
Definition at line 19 of file VectorHitBuilderAlgorithm.h.
|
overridedefault |
|
overridevirtual |
Implements VectorHitBuilderAlgorithmBase.
Definition at line 202 of file VectorHitBuilderAlgorithm.cc.
References checkClustersCompatibility(), VectorHitBuilderAlgorithmBase::cpe_, VectorHitBuilderAlgorithm::CurvatureAndPhi::curvature, curvatureANDphi(), VectorHitBuilderAlgorithm::CurvatureAndPhi::curvatureError, fit2Dzx(), fit2Dzy(), ClusterParameterEstimator< T >::localParameters(), LogTrace, convertSQLiteXML::ok, PV3DBase< T, PVType, FrameType >::perp(), VectorHit::phase2clusterGlobalPos(), VectorHit::phase2clusterGlobalPosErr(), VectorHitBuilderAlgorithm::CurvatureAndPhi::phi, VectorHitBuilderAlgorithmBase::printCluster(), svgfig::stack, GeomDet::surface(), edm::swap(), and Surface::toGlobal().
Referenced by buildVectorHits().
|
overridevirtual |
Implements VectorHitBuilderAlgorithmBase.
Definition at line 79 of file VectorHitBuilderAlgorithm.cc.
References funct::abs(), VectorHitBuilderAlgorithmBase::barrelCut_, edmNew::DetSet< T >::begin(), buildVectorHit(), checkClustersCompatibilityBeforeBuilding(), bsc_activity_cfg::clusters, VectorHitBuilderAlgorithmBase::computeParallaxCorrection(), VectorHitBuilderAlgorithmBase::cpe_, TkAlMuonSelectors_cfi::cut, edmNew::DetSet< T >::end(), VectorHitBuilderAlgorithmBase::endcapCut_, TrackingRecHit::isValid(), TrackerTopology::layer(), ClusterParameterEstimator< T >::localParameters(), LogDebug, LogTrace, edmNew::makeRefTo(), GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, VectorHitBuilderAlgorithmBase::printCluster(), edmNew::DetSetVector< T >::FastFiller::push_back(), svgfig::stack, VectorHitBuilderAlgorithmBase::tkTopo_, and ApeEstimator_cff::width.
Referenced by run().
bool VectorHitBuilderAlgorithm::checkClustersCompatibility | ( | Local3DPoint & | posinner, |
Local3DPoint & | posouter, | ||
LocalError & | errinner, | ||
LocalError & | errouter | ||
) | const |
Definition at line 70 of file VectorHitBuilderAlgorithm.cc.
Referenced by buildVectorHit().
bool VectorHitBuilderAlgorithm::checkClustersCompatibilityBeforeBuilding | ( | edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D >> | clusters, |
const Detset & | theLowerDetSet, | ||
const Detset & | theUpperDetSet | ||
) | const |
Definition at line 49 of file VectorHitBuilderAlgorithm.cc.
References edmNew::DetSet< T >::begin(), bsc_activity_cfg::clusters, edmNew::DetSet< T >::end(), LogDebug, edmNew::makeRefTo(), and edmNew::DetSet< T >::size().
Referenced by buildVectorHits().
VectorHitBuilderAlgorithm::CurvatureAndPhi VectorHitBuilderAlgorithm::curvatureANDphi | ( | Global3DPoint | gPositionLower, |
Global3DPoint | gPositionUpper, | ||
GlobalError | gErrorLower, | ||
GlobalError | gErrorUpper | ||
) | const |
Definition at line 366 of file VectorHitBuilderAlgorithm.cc.
References PixelRecoUtilities::curvature(), GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::cyx(), GlobalErrorBase< T, ErrorWeightType >::cyy(), SiPixelRawToDigiRegional_cfi::deltaPhi, mps_fire::i, M_PI, PV3DBase< T, PVType, FrameType >::perp2(), phi, funct::pow(), mps_fire::result, mathSSE::sqrt(), groupFilesInBlocks::temp, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by buildVectorHit().
void VectorHitBuilderAlgorithm::fit | ( | float | x[2], |
float | y[2], | ||
float | sigy[2], | ||
Local3DPoint & | pos, | ||
Local3DVector & | dir, | ||
AlgebraicSymMatrix22 & | covMatrix, | ||
double & | chi2 | ||
) | const |
Definition at line 335 of file VectorHitBuilderAlgorithm.cc.
References nano_mu_local_reco_cff::chi2, DeadROC_duringRun::dir, PVValHelper::dy, dqmiolumiharvest::j, linearFit(), slope, mathSSE::sqrt(), x, and y.
Referenced by fit2Dzx(), fit2Dzy(), and trackingPlots.Iteration::modules().
void VectorHitBuilderAlgorithm::fit2Dzx | ( | const Local3DPoint | lpCI, |
const Local3DPoint | lpCO, | ||
const LocalError | leCI, | ||
const LocalError | leCO, | ||
Local3DPoint & | pos, | ||
Local3DVector & | dir, | ||
AlgebraicSymMatrix22 & | covMatrix, | ||
double & | chi2 | ||
) | const |
Definition at line 297 of file VectorHitBuilderAlgorithm.cc.
References nano_mu_local_reco_cff::chi2, DeadROC_duringRun::dir, fit(), mathSSE::sqrt(), x, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), y, and PV3DBase< T, PVType, FrameType >::z().
Referenced by buildVectorHit().
void VectorHitBuilderAlgorithm::fit2Dzy | ( | const Local3DPoint | lpCI, |
const Local3DPoint | lpCO, | ||
const LocalError | leCI, | ||
const LocalError | leCO, | ||
Local3DPoint & | pos, | ||
Local3DVector & | dir, | ||
AlgebraicSymMatrix22 & | covMatrix, | ||
double & | chi2 | ||
) | const |
Definition at line 316 of file VectorHitBuilderAlgorithm.cc.
References nano_mu_local_reco_cff::chi2, DeadROC_duringRun::dir, fit(), mathSSE::sqrt(), x, y, PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by buildVectorHit().
|
overridevirtual |
Implements VectorHitBuilderAlgorithmBase.
Definition at line 8 of file VectorHitBuilderAlgorithm.cc.
References buildVectorHits(), bsc_activity_cfg::clusters, TrackerGeometry::idToDet(), TrackerTopology::isLower(), LogDebug, TrackerTopology::partnerDetId(), DetId::rawId(), TrackerTopology::stack(), VectorHitBuilderAlgorithmBase::tkGeom_, and VectorHitBuilderAlgorithmBase::tkTopo_.
Referenced by VectorHitBuilderEDProducer::run().