#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, StackGeomDet::lowerDet(), convertSQLiteXML::ok, PV3DBase< T, PVType, FrameType >::perp(), VectorHit::phase2clusterGlobalPos(), VectorHit::phase2clusterGlobalPosErr(), VectorHitBuilderAlgorithm::CurvatureAndPhi::phi, VectorHitBuilderAlgorithmBase::printCluster(), GeomDet::surface(), std::swap(), Surface::toGlobal(), StackGeomDet::upperDet(), and vh.
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(), HLT_FULL_cff::clusters, VectorHitBuilderAlgorithmBase::computeParallaxCorrection(), VectorHitBuilderAlgorithmBase::cpe_, GOODCOLL_filter_cfg::cut, edmNew::DetSet< T >::end(), VectorHitBuilderAlgorithmBase::endcapCut_, GeomDet::geographicalId(), TrackingRecHit::isValid(), TrackerTopology::layer(), ClusterParameterEstimator< T >::localParameters(), LogDebug, LogTrace, StackGeomDet::lowerDet(), edmNew::makeRefTo(), GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, VectorHitBuilderAlgorithmBase::printCluster(), edmNew::DetSetVector< T >::FastFiller::push_back(), StackGeomDet::subDetector(), VectorHitBuilderAlgorithmBase::tkTopo_, StackGeomDet::upperDet(), and vh.
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(), HLT_FULL_cff::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(), VectorHitBuilderAlgorithm::CurvatureAndPhi::curvature, VectorHitBuilderAlgorithm::CurvatureAndPhi::curvatureError, GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::cyx(), GlobalErrorBase< T, ErrorWeightType >::cyy(), srCondWrite_cfg::deltaPhi, mps_fire::i, M_PI, PV3DBase< T, PVType, FrameType >::perp2(), phi, VectorHitBuilderAlgorithm::CurvatureAndPhi::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 PVValHelper::dy, dqmiolumiharvest::j, linearFit(), slope, and mathSSE::sqrt().
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 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 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(), HLT_FULL_cff::clusters, TrackerGeometry::idToDet(), TrackerTopology::isLower(), LogDebug, TrackerTopology::partnerDetId(), DetId::rawId(), TrackerTopology::stack(), VectorHitBuilderAlgorithmBase::tkGeom_, and VectorHitBuilderAlgorithmBase::tkTopo_.
Referenced by VectorHitBuilderEDProducer::run().