CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
pat::PATElectronSlimmer Class Reference

Slimmer of PAT Electrons. More...

Inheritance diagram for pat::PATElectronSlimmer:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

virtual void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) overridefinal
 
 PATElectronSlimmer (const edm::ParameterSet &iConfig)
 
virtual void produce (edm::Event &iEvent, const edm::EventSetup &iSetup) overridefinal
 
virtual ~PATElectronSlimmer ()
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Attributes

const StringCutObjectSelector
< pat::Electron
dropBasicClusters_
 
const StringCutObjectSelector
< pat::Electron
dropClassifications_
 
const StringCutObjectSelector
< pat::Electron
dropCorrections_
 
const StringCutObjectSelector
< pat::Electron
dropExtrapolations_
 
const StringCutObjectSelector
< pat::Electron
dropIsolations_
 
const StringCutObjectSelector
< pat::Electron
dropPFlowClusters_
 
const StringCutObjectSelector
< pat::Electron
dropPreshowerClusters_
 
const StringCutObjectSelector
< pat::Electron
dropRecHits_
 
const StringCutObjectSelector
< pat::Electron
dropSeedCluster_
 
const StringCutObjectSelector
< pat::Electron
dropShapes_
 
const StringCutObjectSelector
< pat::Electron
dropSuperClusters_
 
std::unique_ptr
< pat::ObjectModifier
< pat::Electron > > 
electronModifier_
 
const bool linkToPackedPF_
 
const bool modifyElectron_
 
const edm::EDGetTokenT
< pat::PackedCandidateCollection
pc_
 
const edm::EDGetTokenT
< edm::Association
< pat::PackedCandidateCollection > > 
pf2pc_
 
const edm::EDGetTokenT
< edm::ValueMap< std::vector
< reco::PFCandidateRef > > > 
reco2pf_
 
const edm::EDGetTokenT
< EcalRecHitCollection
reducedBarrelRecHitCollectionToken_
 
const edm::EDGetTokenT
< EcalRecHitCollection
reducedEndcapRecHitCollectionToken_
 
const StringCutObjectSelector
< pat::Electron
saveNonZSClusterShapes_
 
const edm::EDGetTokenT
< edm::View< pat::Electron > > 
src_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::stream::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Slimmer of PAT Electrons.

Definition at line 26 of file PATElectronSlimmer.cc.

Constructor & Destructor Documentation

pat::PATElectronSlimmer::PATElectronSlimmer ( const edm::ParameterSet iConfig)
explicit

Definition at line 52 of file PATElectronSlimmer.cc.

References edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::getParameter(), and HLT_25ns14e33_v1_cff::InputTag.

52  :
54  dropSuperClusters_(iConfig.getParameter<std::string>("dropSuperCluster")),
55  dropBasicClusters_(iConfig.getParameter<std::string>("dropBasicClusters")),
56  dropPFlowClusters_(iConfig.getParameter<std::string>("dropPFlowClusters")),
57  dropPreshowerClusters_(iConfig.getParameter<std::string>("dropPreshowerClusters")),
58  dropSeedCluster_(iConfig.getParameter<std::string>("dropSeedCluster")),
59  dropRecHits_(iConfig.getParameter<std::string>("dropRecHits")),
60  dropCorrections_(iConfig.getParameter<std::string>("dropCorrections")),
61  dropIsolations_(iConfig.getParameter<std::string>("dropIsolations")),
62  dropShapes_(iConfig.getParameter<std::string>("dropShapes")),
63  dropExtrapolations_(iConfig.getParameter<std::string>("dropExtrapolations")),
64  dropClassifications_(iConfig.getParameter<std::string>("dropClassifications")),
65  reco2pf_(mayConsume<edm::ValueMap<std::vector<reco::PFCandidateRef>>>(iConfig.getParameter<edm::InputTag>("recoToPFMap"))),
67  pc_(mayConsume<pat::PackedCandidateCollection>(iConfig.getParameter<edm::InputTag>("packedPFCandidates"))),
68  linkToPackedPF_(iConfig.getParameter<bool>("linkToPackedPFCandidates")),
69  saveNonZSClusterShapes_(iConfig.getParameter<std::string>("saveNonZSClusterShapes")),
70  reducedBarrelRecHitCollectionToken_(consumes<EcalRecHitCollection>(iConfig.getParameter<edm::InputTag>("reducedBarrelRecHitCollection"))),
71  reducedEndcapRecHitCollectionToken_(consumes<EcalRecHitCollection>(iConfig.getParameter<edm::InputTag>("reducedEndcapRecHitCollection"))),
72  modifyElectron_(iConfig.getParameter<bool>("modifyElectrons"))
73 {
75  if( modifyElectron_ ) {
76  const edm::ParameterSet& mod_config = iConfig.getParameter<edm::ParameterSet>("modifierConfig");
78  electronModifier_->setConsumes(sumes);
79  } else {
80  electronModifier_.reset(nullptr);
81  }
82 
83  mayConsume<EcalRecHitCollection>(edm::InputTag("reducedEcalRecHitsEB"));
84  mayConsume<EcalRecHitCollection>(edm::InputTag("reducedEcalRecHitsEE"));
85 
86  produces<std::vector<pat::Electron> >();
87 }
T getParameter(std::string const &) const
const edm::EDGetTokenT< EcalRecHitCollection > reducedEndcapRecHitCollectionToken_
const StringCutObjectSelector< pat::Electron > dropRecHits_
const StringCutObjectSelector< pat::Electron > dropIsolations_
const edm::EDGetTokenT< edm::ValueMap< std::vector< reco::PFCandidateRef > > > reco2pf_
const StringCutObjectSelector< pat::Electron > dropSuperClusters_
const StringCutObjectSelector< pat::Electron > dropCorrections_
const edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > pf2pc_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const edm::EDGetTokenT< EcalRecHitCollection > reducedBarrelRecHitCollectionToken_
std::unique_ptr< pat::ObjectModifier< pat::Electron > > electronModifier_
const StringCutObjectSelector< pat::Electron > dropBasicClusters_
const StringCutObjectSelector< pat::Electron > dropPreshowerClusters_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
const StringCutObjectSelector< pat::Electron > dropClassifications_
const StringCutObjectSelector< pat::Electron > dropShapes_
const StringCutObjectSelector< pat::Electron > dropExtrapolations_
const StringCutObjectSelector< pat::Electron > saveNonZSClusterShapes_
const StringCutObjectSelector< pat::Electron > dropSeedCluster_
const StringCutObjectSelector< pat::Electron > dropPFlowClusters_
const edm::EDGetTokenT< edm::View< pat::Electron > > src_
const edm::EDGetTokenT< pat::PackedCandidateCollection > pc_
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
virtual pat::PATElectronSlimmer::~PATElectronSlimmer ( )
inlinevirtual

Definition at line 29 of file PATElectronSlimmer.cc.

29 { }

Member Function Documentation

void pat::PATElectronSlimmer::beginLuminosityBlock ( const edm::LuminosityBlock ,
const edm::EventSetup iSetup 
)
finaloverridevirtual

Reimplemented from edm::stream::EDProducerBase.

Definition at line 90 of file PATElectronSlimmer.cc.

90  {
91 }
void pat::PATElectronSlimmer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
finaloverridevirtual

Implements edm::stream::EDProducerBase.

Definition at line 94 of file PATElectronSlimmer.cc.

References pat::Electron::basicClusters_, dropBasicClusters_, dropClassifications_, dropCorrections_, dropExtrapolations_, dropIsolations_, dropPFlowClusters_, dropPreshowerClusters_, dropRecHits_, dropSeedCluster_, dropShapes_, dropSuperClusters_, metsig::electron, electronModifier_, pat::Electron::embeddedPflowSuperCluster_, pat::Electron::embeddedRecHits_, pat::Electron::embeddedSeedCluster_, pat::Electron::embeddedSuperCluster_, pat::Electron::full5x5_setSigmaIetaIphi(), edm::Event::getByToken(), relval_steps::key, relativeConstraints::keys, linkToPackedPF_, EcalClusterLazyToolsT< EcalClusterToolsImpl >::localCovariances(), modifyElectron_, dbtoconf::out, pc_, pf2pc_, pat::Electron::pflowBasicClusters_, pat::Electron::pflowPreshowerClusters_, pat::Electron::pflowSuperCluster_, pat::Electron::preshowerClusters_, edm::Event::put(), pat::Electron::recHits_, reco2pf_, reducedBarrelRecHitCollectionToken_, reducedEndcapRecHitCollectionToken_, pat::PATObject< ObjectType >::refToOrig_, saveNonZSClusterShapes_, pat::Electron::seedCluster_, pat::Electron::setAssociatedPackedPFCandidates(), reco::GsfElectron::setClassification(), reco::GsfElectron::setClassificationVariables(), reco::GsfElectron::setCorrections(), reco::GsfElectron::setDr03Isolation(), reco::GsfElectron::setDr04Isolation(), pat::Electron::setEcalPFClusterIso(), pat::Electron::setHcalPFClusterIso(), reco::GsfElectron::setPfIsolationVariables(), reco::GsfElectron::setShowerShape(), reco::GsfElectron::setTrackExtrapolations(), pat::Electron::sourceCandidatePtr(), alcazmumu_cfi::src, src_, pat::Electron::superCluster(), and pat::Electron::superCluster_.

94  {
95  using namespace edm;
96  using namespace std;
97 
99  iEvent.getByToken(src_, src);
100 
104  if (linkToPackedPF_) {
105  iEvent.getByToken(reco2pf_, reco2pf);
106  iEvent.getByToken(pf2pc_, pf2pc);
107  iEvent.getByToken(pc_, pc);
108  }
110 
111  auto_ptr<vector<pat::Electron> > out(new vector<pat::Electron>());
112  out->reserve(src->size());
113 
114  if( modifyElectron_ ) { electronModifier_->setEvent(iEvent); }
115  if( modifyElectron_ ) electronModifier_->setEventContent(iSetup);
116 
117  std::vector<unsigned int> keys;
118  for (View<pat::Electron>::const_iterator it = src->begin(), ed = src->end(); it != ed; ++it) {
119  out->push_back(*it);
120  pat::Electron & electron = out->back();
121 
122  if( modifyElectron_ ) { electronModifier_->modify(electron); }
123 
124  if (dropSuperClusters_(electron)) { electron.superCluster_.clear(); electron.embeddedSuperCluster_ = false; }
125  if (dropBasicClusters_(electron)) { electron.basicClusters_.clear(); }
126  if (dropSuperClusters_(electron) || dropPFlowClusters_(electron)) { electron.pflowSuperCluster_.clear(); electron.embeddedPflowSuperCluster_ = false; }
127  if (dropBasicClusters_(electron) || dropPFlowClusters_(electron)) { electron.pflowBasicClusters_.clear(); }
128  if (dropPreshowerClusters_(electron)) { electron.preshowerClusters_.clear(); }
129  if (dropPreshowerClusters_(electron) || dropPFlowClusters_(electron)) { electron.pflowPreshowerClusters_.clear(); }
130  if (dropSeedCluster_(electron)) { electron.seedCluster_.clear(); electron.embeddedSeedCluster_ = false; }
131  if (dropRecHits_(electron)) { electron.recHits_ = EcalRecHitCollection(); electron.embeddedRecHits_ = false; }
132  if (dropCorrections_(electron)) { electron.setCorrections(reco::GsfElectron::Corrections()); }
134  if (dropShapes_(electron)) { electron.setShowerShape(reco::GsfElectron::ShowerShape()); }
137  if (linkToPackedPF_) {
138  //std::cout << " PAT electron in " << src.id() << " comes from " << electron.refToOrig_.id() << ", " << electron.refToOrig_.key() << std::endl;
139  keys.clear();
140  for(auto const& pf: (*reco2pf)[electron.refToOrig_]) {
141  if( pf2pc->contains(pf.id()) ) {
142  keys.push_back( (*pf2pc)[pf].key());
143  }
144  }
146  keys.begin(), keys.end());
147  //std::cout << "Electron with pt " << electron.pt() << " associated to " << electron.associatedPackedFCandidateIndices_.size() << " PF Candidates\n";
148  //if there's just one PF Cand then it's me, otherwise I have no univoque parent so my ref will be null
149  if (keys.size() == 1) {
150  electron.refToOrig_ = electron.sourceCandidatePtr(0);
151  } else {
152  electron.refToOrig_ = reco::CandidatePtr(pc.id());
153  }
154  }
155  if (saveNonZSClusterShapes_(electron)) {
156  std::vector<float> vCov = lazyToolsNoZS.localCovariances(*( electron.superCluster()->seed()));
157  electron.full5x5_setSigmaIetaIphi(vCov[1]);
158  }
159  }
160 
161  iEvent.put(out);
162 }
void setDr04Isolation(const IsolationVariables &dr04)
Definition: GsfElectron.h:500
const edm::EDGetTokenT< EcalRecHitCollection > reducedEndcapRecHitCollectionToken_
const StringCutObjectSelector< pat::Electron > dropRecHits_
const StringCutObjectSelector< pat::Electron > dropIsolations_
const edm::EDGetTokenT< edm::ValueMap< std::vector< reco::PFCandidateRef > > > reco2pf_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
const StringCutObjectSelector< pat::Electron > dropSuperClusters_
const StringCutObjectSelector< pat::Electron > dropCorrections_
void full5x5_setSigmaIetaIphi(float sigmaIetaIphi)
Definition: Electron.h:211
void setShowerShape(const ShowerShape &s)
Definition: GsfElectron.h:434
std::vector< reco::SuperCluster > superCluster_
Place to store electron&#39;s supercluster internally.
Definition: Electron.h:280
void setHcalPFClusterIso(float hcalPFClus)
Definition: Electron.h:161
const edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > pf2pc_
void setPfIsolationVariables(const PflowIsolationVariables &iso)
Definition: GsfElectron.h:609
void setDr03Isolation(const IsolationVariables &dr03)
Definition: GsfElectron.h:499
std::vector< reco::CaloCluster > pflowBasicClusters_
Place to store electron&#39;s pflow basic clusters internally.
Definition: Electron.h:288
const edm::EDGetTokenT< EcalRecHitCollection > reducedBarrelRecHitCollectionToken_
std::unique_ptr< pat::ObjectModifier< pat::Electron > > electronModifier_
std::vector< reco::CaloCluster > basicClusters_
Place to store electron&#39;s basic clusters internally.
Definition: Electron.h:284
reco::SuperClusterRef superCluster() const
override the reco::GsfElectron::superCluster method, to access the internal storage of the superclust...
const StringCutObjectSelector< pat::Electron > dropBasicClusters_
std::vector< reco::CaloCluster > preshowerClusters_
Place to store electron&#39;s preshower clusters internally.
Definition: Electron.h:286
bool embeddedRecHits_
True if RecHits stored internally.
Definition: Electron.h:302
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:115
const StringCutObjectSelector< pat::Electron > dropPreshowerClusters_
const StringCutObjectSelector< pat::Electron > dropClassifications_
const StringCutObjectSelector< pat::Electron > dropShapes_
const StringCutObjectSelector< pat::Electron > dropExtrapolations_
bool embeddedSeedCluster_
True if seed cluster is stored internally.
Definition: Electron.h:298
const StringCutObjectSelector< pat::Electron > saveNonZSClusterShapes_
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
tuple out
Definition: dbtoconf.py:99
EcalRecHitCollection recHits_
Place to store electron&#39;s RecHits internally (5x5 around seed+ all RecHits)
Definition: Electron.h:304
const StringCutObjectSelector< pat::Electron > dropSeedCluster_
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
Definition: CandidateFwd.h:25
void setEcalPFClusterIso(float ecalPFClus)
Definition: Electron.h:160
const StringCutObjectSelector< pat::Electron > dropPFlowClusters_
void setClassification(Classification myclass)
Definition: GsfElectron.h:690
bool embeddedPflowSuperCluster_
True if electron&#39;s pflowsupercluster is stored internally.
Definition: Electron.h:278
Analysis-level electron class.
Definition: Electron.h:52
bool embeddedSuperCluster_
True if electron&#39;s supercluster is stored internally.
Definition: Electron.h:276
void setTrackExtrapolations(const TrackExtrapolations &te)
Definition: GsfElectron.h:297
reco::CandidatePtr sourceCandidatePtr(size_type i) const
get the source candidate pointer with index i
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:85
std::vector< reco::CaloCluster > pflowPreshowerClusters_
Place to store electron&#39;s pflow preshower clusters internally.
Definition: Electron.h:290
void setCorrections(const Corrections &c)
Definition: GsfElectron.h:767
void setAssociatedPackedPFCandidates(const edm::RefProd< pat::PackedCandidateCollection > &refprod, T beginIndexItr, T endIndexItr)
References to PFCandidates linked to this object (e.g. for isolation vetos or masking before jet recl...
Definition: Electron.h:250
void setClassificationVariables(const ClassificationVariables &cv)
Definition: GsfElectron.h:689
const edm::EDGetTokenT< edm::View< pat::Electron > > src_
const edm::EDGetTokenT< pat::PackedCandidateCollection > pc_
edm::Ptr< reco::Candidate > refToOrig_
Definition: PATObject.h:421
std::vector< reco::SuperCluster > pflowSuperCluster_
Place to store electron&#39;s pflow supercluster internally.
Definition: Electron.h:292
edm::SortedCollection< EcalRecHit > EcalRecHitCollection
std::vector< reco::CaloCluster > seedCluster_
Place to store electron&#39;s seed cluster internally.
Definition: Electron.h:300

Member Data Documentation

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropBasicClusters_
private

Definition at line 37 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropClassifications_
private

Definition at line 38 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropCorrections_
private

Definition at line 38 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropExtrapolations_
private

Definition at line 38 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropIsolations_
private

Definition at line 38 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropPFlowClusters_
private

Definition at line 37 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropPreshowerClusters_
private

Definition at line 37 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropRecHits_
private

Definition at line 37 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropSeedCluster_
private

Definition at line 37 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropShapes_
private

Definition at line 38 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::dropSuperClusters_
private

Definition at line 37 of file PATElectronSlimmer.cc.

Referenced by produce().

std::unique_ptr<pat::ObjectModifier<pat::Electron> > pat::PATElectronSlimmer::electronModifier_
private

Definition at line 47 of file PATElectronSlimmer.cc.

Referenced by produce().

const bool pat::PATElectronSlimmer::linkToPackedPF_
private

Definition at line 43 of file PATElectronSlimmer.cc.

Referenced by produce().

const bool pat::PATElectronSlimmer::modifyElectron_
private

Definition at line 46 of file PATElectronSlimmer.cc.

Referenced by produce().

const edm::EDGetTokenT<pat::PackedCandidateCollection> pat::PATElectronSlimmer::pc_
private

Definition at line 42 of file PATElectronSlimmer.cc.

Referenced by produce().

const edm::EDGetTokenT<edm::Association<pat::PackedCandidateCollection> > pat::PATElectronSlimmer::pf2pc_
private

Definition at line 41 of file PATElectronSlimmer.cc.

Referenced by produce().

const edm::EDGetTokenT<edm::ValueMap<std::vector<reco::PFCandidateRef> > > pat::PATElectronSlimmer::reco2pf_
private

Definition at line 40 of file PATElectronSlimmer.cc.

Referenced by produce().

const edm::EDGetTokenT<EcalRecHitCollection> pat::PATElectronSlimmer::reducedBarrelRecHitCollectionToken_
private

Definition at line 45 of file PATElectronSlimmer.cc.

Referenced by produce().

const edm::EDGetTokenT<EcalRecHitCollection> pat::PATElectronSlimmer::reducedEndcapRecHitCollectionToken_
private

Definition at line 45 of file PATElectronSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Electron> pat::PATElectronSlimmer::saveNonZSClusterShapes_
private

Definition at line 44 of file PATElectronSlimmer.cc.

Referenced by produce().

const edm::EDGetTokenT<edm::View<pat::Electron> > pat::PATElectronSlimmer::src_
private

Definition at line 35 of file PATElectronSlimmer.cc.

Referenced by produce().