1 #ifndef RecoParticleFlow_PFProducer_PFLinker_h
2 #define RecoParticleFlow_PFProducer_PFLinker_h
49 template<
typename TYPE>
virtual void produce(edm::Event &, const edm::EventSetup &)
bool producePFCandidates_
Flags - if true: References will be towards new collection ; if false to the original one...
PFLinker(const edm::ParameterSet &)
edm::ValueMap< reco::PFCandidatePtr > fillValueMap(edm::Event &event, std::string label, edm::Handle< TYPE > &inputObjCollection, const std::map< edm::Ref< TYPE >, reco::PFCandidatePtr > &mapToTheCandidate, const edm::OrphanHandle< reco::PFCandidateCollection > &newPFCandColl) const
edm::InputTag inputTagMuons_
Input Muons.
std::string nameOutputElectronsPF_
name of output ValueMap electrons
std::string nameOutputPhotonsPF_
name of output ValueMap photons
std::string nameOutputPF_
name of output collection of PFCandidate
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
bool fetchCollection(edm::Handle< T > &c, const edm::InputTag &tag, const edm::Event &iEvent) const
edm::InputTag inputTagPhotons_
Input Photons.
virtual void beginRun(edm::Run &run, const edm::EventSetup &es)
bool fillMuonRefs_
Set muon refs and produce the value map?
edm::InputTag inputTagGsfElectrons_
Input GsfElectrons.
std::vector< edm::InputTag > inputTagPFCandidates_
Input PFCandidates.
std::string nameOutputMergedPF_
name of output merged ValueMap