49 LogError(
"TrackAssociation") <<
"Invalid handle!";
52 std::pair<TrackingParticleRef, TrackPSimHitRef> clusterTPpairWithDummyTP(tpr,
TrackPSimHitRef());
56 for(
auto ip = range.first; ip != range.second; ++ip) {
80 if(tsAtClosestApproach.
isValid()){
111 LogError(
"TrackAssociation") <<
"Invalid handle!";
114 std::pair<TrackingParticleRef, TrackPSimHitRef> clusterTPpairWithDummyTP(tpr,
TrackPSimHitRef());
118 for(
auto ip = range.first; ip != range.second; ++ip) {
137 if(tsAtClosestApproach.
isValid()){
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
static bool simHitTPAssociationListGreater(SimHitTPPair i, SimHitTPPair j)
virtual TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const override
const Plane & surface() const
The nominal surface of the GeomDet.
math::XYZPointD Point
point in the space
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
GlobalVector momentum() const
FTS const & trackStateAtPCA() const
#define TYPELOOKUP_DATA_REG(_dataclass_)
GlobalPoint position() const
virtual TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const override
edm::Ref< edm::PSimHitContainer > TrackPSimHitRef
math::XYZVectorD Vector
point in the space
edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssoc