Go to the documentation of this file.
51 produces<reco::ConversionTrackCollection>();
67 std::map<reco::TrackRef, edm::Ref<std::vector<Trajectory> > > tracktrajmap;
68 std::map<reco::GsfTrackRef, edm::Ref<std::vector<Trajectory> > > gsftracktrajmap;
71 if (!hTrks->empty()) {
72 if (dynamic_cast<const reco::GsfTrack*>(&hTrks->at(0))) {
77 gsftracktrajmap[iPair->val] = iPair->key;
84 tracktrajmap[iPair->val] = iPair->key;
91 outputTrks = std::make_unique<reco::ConversionTrackCollection>();
105 edm::LogError(
"Invalid Collection") <<
"invalid collection for the BeamSpot";
114 for (
size_t i = 0;
i < hTrks->size(); ++
i) {
136 if (!gsftracktrajmap.empty()) {
T const * product() const
void produce(edm::Event &e, const edm::EventSetup &c) override
void setIsArbitratedMerged(bool b)
trackProducer
Run2: False; Run1: True.
void setIsArbitratedEcalSeeded(bool b)
edm::EDGetTokenT< TrajTrackAssociationCollection > kfTrajectories
const_iterator end() const
last iterator over the map (read only)
void setMagnField(const MagneticField *magnField)
edm::EDGetTokenT< edm::View< reco::Track > > genericTracks
bool setArbitratedMergedEcalGeneral
const Point & position() const
position
void setTrajRef(edm::Ref< std::vector< Trajectory > > tr)
bool setArbitratedEcalSeeded
friend struct const_iterator
bool filterOnConvTrackHyp
XYZVectorD XYZVector
spatial vector with cartesian internal representation
edm::EDGetTokenT< TrajGsfTrackAssociationCollection > gsfTrajectories
std::string trackProducer
void setIsTrackerOnly(bool b)
setArbitratedMergedEcalGeneral
const_iterator begin() const
first iterator over the map (read only)
~ConversionTrackProducer() override
edm::EDGetTokenT< reco::BeamSpot > beamSpotInputTag
void setIsGsfTrackOpen(bool b)
ConversionTrackProducer(const edm::ParameterSet &conf)
void setIsArbitratedMergedEcalGeneral(bool b)
std::unique_ptr< reco::ConversionTrackCollection > outputTrks
IdealHelixParameters ConvTrackPreSelector
bool isTangentPointDistanceLessThan(float rmax, const reco::Track *track, const math::XYZVector &refPoint)