CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
pat::PATGenericParticleProducer Class Reference

Produces the pat::GenericParticle. More...

#include "PhysicsTools/PatAlgos/interface/PATGenericParticleProducer.h"

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

Public Member Functions

 PATGenericParticleProducer (const edm::ParameterSet &iConfig)
 
virtual void produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override
 
 ~PATGenericParticleProducer ()
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
virtual ~ProducerBase () noexcept(false)
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

bool addEfficiencies_
 
bool addGenMatch_
 
bool addQuality_
 
bool addResolutions_
 
pat::helper::EfficiencyLoader efficiencyLoader_
 
bool embedCaloTower_
 
bool embedCombined_
 
bool embedGenMatch_
 
bool embedGsfTrack_
 
bool embedStandalone_
 
bool embedSuperCluster_
 
bool embedTrack_
 
bool embedTracks_
 
GreaterByEt< GenericParticleeTComparator_
 
std::vector< edm::EDGetTokenT< edm::Association< reco::GenParticleCollection > > > genMatchTokens_
 
std::vector< std::pair< pat::IsolationKeys, edm::InputTag > > isoDepositLabels_
 
std::vector< edm::EDGetTokenT< edm::ValueMap< IsoDeposit > > > isoDepositTokens_
 
pat::helper::MultiIsolator isolator_
 
pat::helper::MultiIsolator::IsolationValuePairs isolatorTmpStorage_
 
edm::EDGetTokenT< edm::ValueMap< float > > qualitySrcToken_
 
pat::helper::KinResolutionsLoader resolutionLoader_
 
edm::EDGetTokenT< edm::View< reco::Candidate > > srcToken_
 
pat::PATUserDataHelper< pat::GenericParticleuserDataHelper_
 
bool useUserData_
 
pat::helper::VertexingHelper vertexingHelper_
 

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, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
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

Produces the pat::GenericParticle.

The PATGenericParticleProducer produces the analysis-level pat::GenericParticle starting from any collection of Candidates

Author
Giovanni Petrucciani
Version
Id
PATGenericParticleProducer.h,v 1.9 2009/06/25 23:49:35 gpetrucc Exp

Definition at line 42 of file PATGenericParticleProducer.h.

Constructor & Destructor Documentation

PATGenericParticleProducer::PATGenericParticleProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 12 of file PATGenericParticleProducer.cc.

References addEfficiencies_, addGenMatch_, addQuality_, addResolutions_, edm::EDConsumerBase::consumes(), edm::EDConsumerBase::consumesCollector(), pat::EcalIso, efficiencyLoader_, embedCaloTower_, embedCombined_, embedGenMatch_, embedGsfTrack_, embedStandalone_, embedSuperCluster_, embedTrack_, embedTracks_, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), genMatchTokens_, edm::ParameterSet::getParameter(), pat::HcalIso, isoDepositLabels_, isoDepositTokens_, crabWrapper::key, diffTwoXMLs::label, qualitySrcToken_, resolutionLoader_, srcToken_, GlobalPosition_Frontier_DevDB_cff::tag, pat::TrackIso, pat::UserBaseIso, useUserData_, edm::vector_transform(), and vertexingHelper_.

12  :
13  isolator_(iConfig.exists("userIsolation") ? iConfig.getParameter<edm::ParameterSet>("userIsolation") : edm::ParameterSet(), consumesCollector(), false),
15 {
16  // initialize the configurables
17  srcToken_ = consumes<edm::View<reco::Candidate> >(iConfig.getParameter<edm::InputTag>( "src" ));
18 
19  // RECO embedding
20  embedTrack_ = iConfig.getParameter<bool>( "embedTrack" );
21  embedGsfTrack_ = iConfig.getParameter<bool>( "embedGsfTrack" );
22  embedStandalone_ = iConfig.getParameter<bool>( "embedStandAloneMuon" );
23  embedCombined_ = iConfig.getParameter<bool>( "embedCombinedMuon" );
24  embedSuperCluster_ = iConfig.getParameter<bool>( "embedSuperCluster" );
25  embedTracks_ = iConfig.getParameter<bool>( "embedMultipleTracks" );
26  embedCaloTower_ = iConfig.getParameter<bool>( "embedCaloTower" );
27 
28  // MC matching configurables
29  addGenMatch_ = iConfig.getParameter<bool>( "addGenMatch" );
30  if (addGenMatch_) {
31  embedGenMatch_ = iConfig.getParameter<bool>( "embedGenMatch" );
32  if (iConfig.existsAs<edm::InputTag>("genParticleMatch")) {
34  } else {
35  genMatchTokens_ = edm::vector_transform(iConfig.getParameter<std::vector<edm::InputTag> >( "genParticleMatch" ), [this](edm::InputTag const & tag){return consumes<edm::Association<reco::GenParticleCollection> >(tag);});
36  }
37  }
38 
39  // quality
40  addQuality_ = iConfig.getParameter<bool>("addQuality");
41  qualitySrcToken_ = mayConsume<edm::ValueMap<float> >(iConfig.getParameter<edm::InputTag>("qualitySource"));
42 
43  // produces vector of particles
44  produces<std::vector<GenericParticle> >();
45 
46  if (iConfig.exists("isoDeposits")) {
47  edm::ParameterSet depconf = iConfig.getParameter<edm::ParameterSet>("isoDeposits");
48  if (depconf.exists("tracker")) isoDepositLabels_.push_back(std::make_pair(pat::TrackIso, depconf.getParameter<edm::InputTag>("tracker")));
49  if (depconf.exists("ecal")) isoDepositLabels_.push_back(std::make_pair(pat::EcalIso, depconf.getParameter<edm::InputTag>("ecal")));
50  if (depconf.exists("hcal")) isoDepositLabels_.push_back(std::make_pair(pat::HcalIso, depconf.getParameter<edm::InputTag>("hcal")));
51  if (depconf.exists("user")) {
52  std::vector<edm::InputTag> userdeps = depconf.getParameter<std::vector<edm::InputTag> >("user");
53  std::vector<edm::InputTag>::const_iterator it = userdeps.begin(), ed = userdeps.end();
54  int key = UserBaseIso;
55  for ( ; it != ed; ++it, ++key) {
56  isoDepositLabels_.push_back(std::make_pair(IsolationKeys(key), *it));
57  }
58  }
59  }
60  isoDepositTokens_ = edm::vector_transform(isoDepositLabels_, [this](std::pair<IsolationKeys,edm::InputTag> const & label){return consumes<edm::ValueMap<IsoDeposit> >(label.second);});
61 
62  // Efficiency configurables
63  addEfficiencies_ = iConfig.getParameter<bool>("addEfficiencies");
64  if (addEfficiencies_) {
66  }
67 
68  // Resolution configurables
69  addResolutions_ = iConfig.getParameter<bool>("addResolutions");
70  if (addResolutions_) {
72  }
73 
74  if (iConfig.exists("vertexing")) {
76  }
77 
78  // Check to see if the user wants to add user data
79  useUserData_ = false;
80  if ( iConfig.exists("userData") ) {
81  useUserData_ = true;
82  }
83 }
T getParameter(std::string const &) const
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:186
bool exists(std::string const &parameterName) const
checks if a parameter exists
IsolationKeys
Enum defining isolation keys.
Definition: Isolation.h:9
std::vector< edm::EDGetTokenT< edm::Association< reco::GenParticleCollection > > > genMatchTokens_
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
Definition: transform.h:11
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
pat::PATUserDataHelper< pat::GenericParticle > userDataHelper_
edm::EDGetTokenT< edm::View< reco::Candidate > > srcToken_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
std::vector< edm::EDGetTokenT< edm::ValueMap< IsoDeposit > > > isoDepositTokens_
pat::helper::EfficiencyLoader efficiencyLoader_
pat::helper::VertexingHelper vertexingHelper_
std::vector< std::pair< pat::IsolationKeys, edm::InputTag > > isoDepositLabels_
pat::helper::KinResolutionsLoader resolutionLoader_
edm::EDGetTokenT< edm::ValueMap< float > > qualitySrcToken_
Produces and/or checks pat::VertexAssociation&#39;s.
PATGenericParticleProducer::~PATGenericParticleProducer ( )

Definition at line 85 of file PATGenericParticleProducer.cc.

85  {
86 }

Member Function Documentation

void PATGenericParticleProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Definition at line 88 of file PATGenericParticleProducer.cc.

References addGenMatch_, pat::PATObject< ObjectType >::addGenParticleRef(), addQuality_, pat::helper::MultiIsolator::beginEvent(), DEFINE_FWK_MODULE, CandIsolatorFromDeposits_cfi::deposits, efficiencyLoader_, pat::GenericParticle::embedCaloTower(), embedCaloTower_, pat::GenericParticle::embedCombined(), embedCombined_, embedGenMatch_, pat::PATObject< ObjectType >::embedGenParticle(), pat::GenericParticle::embedGsfTrack(), embedGsfTrack_, pat::GenericParticle::embedStandalone(), embedStandalone_, pat::GenericParticle::embedSuperCluster(), embedSuperCluster_, pat::GenericParticle::embedTrack(), embedTrack_, pat::GenericParticle::embedTracks(), embedTracks_, pat::helper::EfficiencyLoader::enabled(), pat::helper::KinResolutionsLoader::enabled(), pat::helper::MultiIsolator::enabled(), pat::helper::VertexingHelper::enabled(), pat::helper::MultiIsolator::endEvent(), eTComparator_, pat::helper::MultiIsolator::fill(), plotBeamSpotDB::first, genMatchTokens_, edm::Event::getByToken(), mps_fire::i, training_settings::idx, isoDepositLabels_, isoDepositTokens_, isolator_, isolatorTmpStorage_, eostools::move(), gen::n, pat::helper::EfficiencyLoader::newEvent(), pat::helper::KinResolutionsLoader::newEvent(), pat::helper::VertexingHelper::newEvent(), edm::Event::put(), qualitySrcToken_, resolutionLoader_, pat::helper::EfficiencyLoader::setEfficiencies(), pat::GenericParticle::setIsoDeposit(), pat::GenericParticle::setIsolation(), pat::GenericParticle::setQuality(), pat::helper::KinResolutionsLoader::setResolutions(), pat::GenericParticle::setVertexAssociation(), srcToken_, userDataHelper_, useUserData_, and vertexingHelper_.

88  {
89  // Get the vector of GenericParticle's from the event
91  iEvent.getByToken(srcToken_, cands);
92 
93  // prepare isolation
94  if (isolator_.enabled()) isolator_.beginEvent(iEvent,iSetup);
95 
97  if (resolutionLoader_.enabled()) resolutionLoader_.newEvent(iEvent, iSetup);
98  if (vertexingHelper_.enabled()) vertexingHelper_.newEvent(iEvent,iSetup);
99 
100  // prepare IsoDeposits
101  std::vector<edm::Handle<edm::ValueMap<IsoDeposit> > > deposits(isoDepositTokens_.size());
102  for (size_t j = 0, nd = deposits.size(); j < nd; ++j) {
103  iEvent.getByToken(isoDepositTokens_[j], deposits[j]);
104  }
105 
106  // prepare the MC matching
107  std::vector<edm::Handle<edm::Association<reco::GenParticleCollection> > > genMatches(genMatchTokens_.size());
108  if (addGenMatch_) {
109  for (size_t j = 0, nd = genMatchTokens_.size(); j < nd; ++j) {
110  iEvent.getByToken(genMatchTokens_[j], genMatches[j]);
111  }
112  }
113 
114  // prepare the quality
116  if (addQuality_) iEvent.getByToken(qualitySrcToken_, qualities);
117 
118  // loop over cands
119  std::vector<GenericParticle> * PATGenericParticles = new std::vector<GenericParticle>();
120  for (edm::View<reco::Candidate>::const_iterator itGenericParticle = cands->begin(); itGenericParticle != cands->end(); itGenericParticle++) {
121  // construct the GenericParticle from the ref -> save ref to original object
122  unsigned int idx = itGenericParticle - cands->begin();
123  edm::RefToBase<reco::Candidate> candRef = cands->refAt(idx);
124 
125  PATGenericParticles->push_back(GenericParticle(candRef));
126  GenericParticle & aGenericParticle = PATGenericParticles->back();
127 
128  // embed RECO
129  if (embedTrack_) aGenericParticle.embedTrack();
130  if (embedGsfTrack_) aGenericParticle.embedGsfTrack();
131  if (embedTracks_) aGenericParticle.embedTracks();
132  if (embedStandalone_) aGenericParticle.embedStandalone();
133  if (embedCombined_) aGenericParticle.embedCombined();
134  if (embedSuperCluster_) aGenericParticle.embedSuperCluster();
135  if (embedCaloTower_) aGenericParticle.embedCaloTower();
136 
137  // isolation
138  if (isolator_.enabled()) {
139  isolator_.fill(*cands, idx, isolatorTmpStorage_);
140  typedef pat::helper::MultiIsolator::IsolationValuePairs IsolationValuePairs;
141  // better to loop backwards, so the vector is resized less times
142  for (IsolationValuePairs::const_reverse_iterator it = isolatorTmpStorage_.rbegin(), ed = isolatorTmpStorage_.rend(); it != ed; ++it) {
143  aGenericParticle.setIsolation(it->first, it->second);
144  }
145  }
146 
147  // isodeposit
148  for (size_t j = 0, nd = deposits.size(); j < nd; ++j) {
149  aGenericParticle.setIsoDeposit(isoDepositLabels_[j].first, (*deposits[j])[candRef]);
150  }
151 
152  // store the match to the generated final state muons
153  if (addGenMatch_) {
154  for(size_t i = 0, n = genMatches.size(); i < n; ++i) {
155  reco::GenParticleRef genGenericParticle = (*genMatches[i])[candRef];
156  aGenericParticle.addGenParticleRef(genGenericParticle);
157  }
158  if (embedGenMatch_) aGenericParticle.embedGenParticle();
159  }
160 
161  if (addQuality_) {
162  aGenericParticle.setQuality( (*qualities)[candRef] );
163  }
164 
165  if (efficiencyLoader_.enabled()) {
166  efficiencyLoader_.setEfficiencies( aGenericParticle, candRef );
167  }
168 
169  if (resolutionLoader_.enabled()) {
170  resolutionLoader_.setResolutions(aGenericParticle);
171  }
172 
173  if (vertexingHelper_.enabled()) {
174  aGenericParticle.setVertexAssociation( vertexingHelper_(candRef) );
175  }
176 
177  if ( useUserData_ ) {
178  userDataHelper_.add( aGenericParticle, iEvent, iSetup );
179  }
180 
181  // PATGenericParticles->push_back(aGenericParticle); // NOOOOO!!!!
182  // We have already pushed_back this generic particle in the collection
183  // (we first push an empty particle and then fill it, to avoid useless copies)
184  }
185 
186  // sort GenericParticles in ET
187  std::sort(PATGenericParticles->begin(), PATGenericParticles->end(), eTComparator_);
188 
189  // put genEvt object in Event
190  std::unique_ptr<std::vector<GenericParticle> > myGenericParticles(PATGenericParticles);
191  iEvent.put(std::move(myGenericParticles));
193 
194 }
bool enabled() const
&#39;true&#39; if this there is at least one efficiency configured
void newEvent(const edm::Event &event)
To be called for each new event, reads in the ValueMaps for efficiencies.
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:127
void setIsolation(IsolationKeys key, float value)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:508
void embedTrack()
embeds the master track instead of keeping a reference to it
std::vector< edm::EDGetTokenT< edm::Association< reco::GenParticleCollection > > > genMatchTokens_
void setResolutions(pat::PATObject< T > &obj) const
Sets the efficiencies for this object, using the reference to the original objects.
bool enabled() const
&#39;true&#39; if this there is at least one efficiency configured
bool enabled() const
True if it has a non null configuration.
Definition: MultiIsolator.h:50
Analysis-level Generic Particle class (e.g. for hadron or muon not fully reconstructed) ...
pat::PATUserDataHelper< pat::GenericParticle > userDataHelper_
void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup)
void embedStandalone()
embeds the stand-alone track instead of keeping a reference to it
void embedGenParticle()
Definition: PATObject.h:694
pat::helper::MultiIsolator::IsolationValuePairs isolatorTmpStorage_
edm::EDGetTokenT< edm::View< reco::Candidate > > srcToken_
void newEvent(const edm::Event &event, const edm::EventSetup &setup)
To be called for each new event, reads in the EventSetup object.
GreaterByEt< GenericParticle > eTComparator_
std::vector< edm::EDGetTokenT< edm::ValueMap< IsoDeposit > > > isoDepositTokens_
void embedGsfTrack()
embeds the gsf track instead of keeping a reference to it
void embedSuperCluster()
embeds the supercluster instead of keeping a reference to it
void addGenParticleRef(const reco::GenParticleRef &ref)
Definition: PATObject.h:678
void embedTracks()
embeds the other tracks instead of keeping references
void newEvent(const edm::Event &event)
To be called for each new event, reads in the vertex collection.
void setEfficiencies(pat::PATObject< T > &obj, const R &originalRef) const
Sets the efficiencies for this object, using the reference to the original objects.
bool enabled() const
returns true if this was given a non dummy configuration
pat::helper::EfficiencyLoader efficiencyLoader_
pat::helper::VertexingHelper vertexingHelper_
std::vector< std::pair< pat::IsolationKeys, float > > IsolationValuePairs
Definition: MultiIsolator.h:16
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:86
void setIsoDeposit(IsolationKeys key, const IsoDeposit &dep)
Sets the IsoDeposit associated with some key; if it is already existent, it is overwritten.
void embedCaloTower()
embeds the calotower instead of keeping a reference to it
std::vector< std::pair< pat::IsolationKeys, edm::InputTag > > isoDepositLabels_
void setQuality(float quality)
sets a user defined quality value
void embedCombined()
embeds the combined track instead of keeping a reference to it
pat::helper::KinResolutionsLoader resolutionLoader_
edm::EDGetTokenT< edm::ValueMap< float > > qualitySrcToken_
def move(src, dest)
Definition: eostools.py:510
void setVertexAssociation(const pat::VertexAssociation &assoc)
Set a single vertex association.
void fill(const edm::View< T > &coll, int idx, IsolationValuePairs &isolations) const
Definition: MultiIsolator.h:82

Member Data Documentation

bool pat::PATGenericParticleProducer::addEfficiencies_
private

Definition at line 74 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer().

bool pat::PATGenericParticleProducer::addGenMatch_
private

Definition at line 62 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

bool pat::PATGenericParticleProducer::addQuality_
private

Definition at line 59 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

bool pat::PATGenericParticleProducer::addResolutions_
private

Definition at line 77 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer().

pat::helper::EfficiencyLoader pat::PATGenericParticleProducer::efficiencyLoader_
private

Definition at line 75 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

bool pat::PATGenericParticleProducer::embedCaloTower_
private

Definition at line 57 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

bool pat::PATGenericParticleProducer::embedCombined_
private

Definition at line 57 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

bool pat::PATGenericParticleProducer::embedGenMatch_
private

Definition at line 63 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

bool pat::PATGenericParticleProducer::embedGsfTrack_
private

Definition at line 57 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

bool pat::PATGenericParticleProducer::embedStandalone_
private

Definition at line 57 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

bool pat::PATGenericParticleProducer::embedSuperCluster_
private

Definition at line 57 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

bool pat::PATGenericParticleProducer::embedTrack_
private

Definition at line 57 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

bool pat::PATGenericParticleProducer::embedTracks_
private

Definition at line 57 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

GreaterByEt<GenericParticle> pat::PATGenericParticleProducer::eTComparator_
private

Definition at line 67 of file PATGenericParticleProducer.h.

Referenced by produce().

std::vector<edm::EDGetTokenT<edm::Association<reco::GenParticleCollection> > > pat::PATGenericParticleProducer::genMatchTokens_
private

Definition at line 64 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

std::vector<std::pair<pat::IsolationKeys,edm::InputTag> > pat::PATGenericParticleProducer::isoDepositLabels_
private

Definition at line 71 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

std::vector<edm::EDGetTokenT<edm::ValueMap<IsoDeposit> > > pat::PATGenericParticleProducer::isoDepositTokens_
private

Definition at line 72 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

pat::helper::MultiIsolator pat::PATGenericParticleProducer::isolator_
private

Definition at line 69 of file PATGenericParticleProducer.h.

Referenced by produce().

pat::helper::MultiIsolator::IsolationValuePairs pat::PATGenericParticleProducer::isolatorTmpStorage_
private

Definition at line 70 of file PATGenericParticleProducer.h.

Referenced by produce().

edm::EDGetTokenT<edm::ValueMap<float> > pat::PATGenericParticleProducer::qualitySrcToken_
private

Definition at line 60 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

pat::helper::KinResolutionsLoader pat::PATGenericParticleProducer::resolutionLoader_
private

Definition at line 78 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

edm::EDGetTokenT<edm::View<reco::Candidate> > pat::PATGenericParticleProducer::srcToken_
private

Definition at line 54 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

pat::PATUserDataHelper<pat::GenericParticle> pat::PATGenericParticleProducer::userDataHelper_
private

Definition at line 83 of file PATGenericParticleProducer.h.

Referenced by produce().

bool pat::PATGenericParticleProducer::useUserData_
private

Definition at line 82 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().

pat::helper::VertexingHelper pat::PATGenericParticleProducer::vertexingHelper_
private

Definition at line 80 of file PATGenericParticleProducer.h.

Referenced by PATGenericParticleProducer(), and produce().