55 (iConfig.getParameter<
edm::InputTag>(
"OtherTracks")))
58 produces<ScoutingTrackCollection>();
75 for (
auto &trk : *otherTrackCollection) {
76 outTrack->emplace_back(trk.pt(), trk.eta(), trk.phi(),trk.chi2(), trk.ndof(),
77 trk.charge(), trk.dxy(), trk.dz(), trk.hitPattern().numberOfValidPixelHits(),
78 trk.hitPattern().trackerLayersWithMeasurement(), trk.hitPattern().numberOfValidStripHits(),
79 trk.qoverp(), trk.lambda(), trk.dxyError(), trk.dzError(),
97 descriptions.
add(
"hltScoutingTrackProducer", desc);
const edm::EDGetTokenT< reco::TrackCollection > otherTrackCollection_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< Track > TrackCollection
collection of Tracks
def setup(process, global_tag, zero_tesla=False)
std::vector< ScoutingTrack > ScoutingTrackCollection
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
#define DEFINE_FWK_MODULE(type)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void produce(edm::StreamID sid, edm::Event &iEvent, edm::EventSetup const &setup) const final
~HLTScoutingTrackProducer() override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HLTScoutingTrackProducer(const edm::ParameterSet &)