58 std::vector<math::XYZPointF>
result;
62 std::vector<reco::CaloClusterPtr>
matchingBC(2);
76 if (
track.innermostMeasurementState().globalPosition().eta() > 0.) {
87 result.push_back(ecalImpactPosition);
91 float bcDistanceToTrack = 9999;
96 for (
auto const& bc : *bcHandle) {
97 float dEta = bc.position().eta() - ecalImpactPosition.eta();
98 float dPhi = bc.position().phi() - ecalImpactPosition.phi();
static BoundCylinder * initBarrel()
TrajectoryStateOnSurface stateAtECAL_
static BoundDisk * initNegative()
static const ReferenceCountingPointer< BoundDisk > theNegativeEtaEndcap_
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
constexpr float barrelHalfLength
static const BoundDisk & positiveEtaEndcap()
ConversionTrackEcalImpactPoint(const MagneticField *field)
std::vector< reco::CaloClusterPtr > matchingBC() const
~ConversionTrackEcalImpactPoint()
static BoundDisk * initPositive()
std::vector< reco::CaloClusterPtr > matchingBC_
GlobalPoint globalPosition() const
static const BoundDisk & negativeEtaEndcap()
constexpr float endcapRadius
std::vector< math::XYZPointF > find(const std::vector< reco::TransientTrack > &tracks, const edm::Handle< edm::View< reco::CaloCluster > > &bcHandle)
static const BoundCylinder & barrel()
static const ReferenceCountingPointer< BoundDisk > thePositiveEtaEndcap_
static const ReferenceCountingPointer< BoundCylinder > theBarrel_
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
constexpr float barrelRadius
PropagatorWithMaterial * forwardPropagator_
const MagneticField * theMF_
PropagationDirection dir_