35 covSchema_(iConfig.getParameter<unsigned int>(
"covSchema")),
36 covVersion_(iConfig.getParameter<unsigned int>(
"covVersion")),
37 nHits_(iConfig.getParameter<unsigned int>(
"nHits")),
38 nPixelHits_(iConfig.getParameter<unsigned int>(
"nPixelHits")) {}
50 if (!output.back().hasTrackDetails() && output.back().fromTrackCandidate())
61 desc.
add<
unsigned int>(
"covSchema", 1025);
62 desc.
add<
unsigned int>(
"covVersion", 1);
63 desc.
add<
unsigned int>(
"nHits", 8);
64 desc.
add<
unsigned int>(
"nPixelHits", 3);
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
const edm::EDGetTokenT< pat::PackedCandidateCollection > inputCandidates_
#define DEFINE_FWK_MODULE(type)
std::vector< pat::PackedCandidate > PackedCandidateCollection
const edm::EDPutTokenT< pat::PackedCandidateCollection > outputCandidates_
~PackedCandidatesTrackLiteModifier() override=default
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool get(ProductID const &oid, Handle< PROD > &result) const
const unsigned int covSchema_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
const unsigned int covVersion_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
const unsigned int nHits_
PackedCandidatesTrackLiteModifier(const edm::ParameterSet &)
const unsigned int nPixelHits_