5 #ifndef PhysicsTools_PatAlgos_PATElectronProducer_h
6 #define PhysicsTools_PatAlgos_PATElectronProducer_h
47 class TrackerIsolationPt;
48 class CaloIsolationEnergy;
86 typedef std::vector<edm::Handle<edm::Association<reco::GenParticleCollection> > >
GenAssociations;
88 typedef std::vector< edm::Handle< edm::ValueMap<IsoDeposit> > >
IsoDepositMaps;
114 const char* psetName,
118 typedef std::pair<std::string, edm::InputTag>
NameTag;
bool embedGsfElectronCore_
Assists in assimilating all pat::UserData into pat objects.
edm::InputTag electronSrc_
IsolationLabels isoDepositLabels_
void fillElectron(Electron &aElectron, const ElectronBaseRef &electronRef, const reco::CandidateBaseRef &baseRef, const GenAssociations &genMatches, const IsoDepositMaps &deposits, const IsolationValueMaps &isolationValues) const
common electron filling, for both the standard and PF2PAT case
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
edm::RefToBase< reco::GsfElectron > ElectronBaseRef
std::vector< edm::InputTag > genMatchSrc_
std::pair< pat::IsolationKeys, edm::InputTag > IsolationLabel
GreaterByPt< Electron > pTComparator_
pat::helper::MultiIsolator isolator_
std::vector< edm::Handle< edm::Association< reco::GenParticleCollection > > > GenAssociations
Produces pat::Electron's.
PATElectronProducer(const edm::ParameterSet &iConfig)
edm::InputTag beamLineSrc_
std::vector< edm::Handle< edm::ValueMap< double > > > IsolationValueMaps
bool embedHighLevelSelection_
embed high level selection variables?
std::pair< std::string, edm::InputTag > NameTag
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void fillElectron2(Electron &anElectron, const reco::CandidatePtr &candPtrForIsolation, const reco::CandidatePtr &candPtrForGenMatch, const reco::CandidatePtr &candPtrForLoader, const GenAssociations &genMatches, const IsoDepositMaps &deposits, const IsolationValueMaps &isolationValues) const
pat::helper::EfficiencyLoader efficiencyLoader_
pat::PATUserDataHelper< pat::Electron > userDataHelper_
bool useParticleFlow_
pflow specific
Analysis-level electron class.
std::vector< std::pair< pat::IsolationKeys, float > > IsolationValuePairs
std::vector< IsolationLabel > IsolationLabels
IsolationLabels isolationValueLabels_
pat::helper::KinResolutionsLoader resolutionLoader_
void readIsolationLabels(const edm::ParameterSet &iConfig, const char *psetName, IsolationLabels &labels)
pat::helper::MultiIsolator::IsolationValuePairs isolatorTmpStorage_
std::vector< NameTag > elecIDSrcs_
std::vector< edm::Handle< edm::ValueMap< IsoDeposit > > > IsoDepositMaps