Go to the documentation of this file.
59 vtxMinDist(iConfig.getParameter<double>(
"vtxMinDist")) {
61 produces<Run3ScoutingTrackCollection>();
77 for (
auto& trk : *otherTrackCollection) {
84 double min_dist_tmp =
pow(trk.dz(vrt.position()), 2);
86 if (min_dist_tmp < min_dist) {
87 min_dist = min_dist_tmp;
104 trk.hitPattern().numberOfValidPixelHits(),
105 trk.hitPattern().trackerLayersWithMeasurement(),
106 trk.hitPattern().numberOfValidStripHits(),
142 desc.
add<
int>(
"mantissaPrecision", 10);
143 desc.
add<
double>(
"vtxMinDist", 0.01);
144 descriptions.
add(
"hltScoutingTrackProducer", desc);
const edm::EDGetTokenT< reco::TrackCollection > otherTrackCollection_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::vector< Vertex > VertexCollection
collection of Vertex objects
HLTScoutingTrackProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void produce(edm::StreamID sid, edm::Event &iEvent, edm::EventSetup const &setup) const final
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< Run3ScoutingTrack > Run3ScoutingTrackCollection
const edm::EDGetTokenT< reco::VertexCollection > vertexCollection_
static float reduceMantissaToNbitsRounding(const float &f)
const int mantissaPrecision
Power< A, B >::type pow(const A &a, const B &b)
std::vector< Track > TrackCollection
collection of Tracks
~HLTScoutingTrackProducer() override