44 iConfig.getParameter<
edm::
InputTag>(
"srcIsoTracks"))),
46 iConfig.getParameter<
edm::
InputTag>(
"packedPFCandidates"))),
49 produces<edm::ValueMap<bool>>(
"isFromLostTrack");
94 std::vector<bool> v_isFromLostTrack(Nit,
false);
96 for (
unsigned int iit = 0; iit < Nit; iit++) {
99 isotrack->packedCandRef();
114 desc.add<
edm::InputTag>(
"srcIsoTracks")->setComment(
"isolated track input collection");
115 desc.add<
edm::InputTag>(
"packedPFCandidates")->setComment(
"packed PF Candidates collection ");
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
ProductID id() const
Accessor for product ID.
#define DEFINE_FWK_MODULE(type)
std::vector< pat::PackedCandidate > PackedCandidateCollection
bool isNonnull() const
Checks for non-null.
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
~IsFromLostTrackMapProducer() override
edm::EDGetTokenT< pat::PackedCandidateCollection > lt_
edm::EDGetTokenT< pat::PackedCandidateCollection > pc_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::EDGetTokenT< edm::View< pat::IsolatedTrack > > srcIsoTracks_
IsFromLostTrackMapProducer(const edm::ParameterSet &iConfig)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)