CMS 3D CMS Logo

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

Produces reco::GenParticle from SimTracks. More...

Inheritance diagram for pat::GenPlusSimParticleProducer:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Classes

struct  LessById
 

Public Member Functions

 GenPlusSimParticleProducer (const edm::ParameterSet &)
 
 ~GenPlusSimParticleProducer ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
 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
 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
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Types

typedef
StringCutObjectSelector
< reco::GenParticle
StrFilter
 

Private Member Functions

void addGenParticle (const SimTrack &stMom, const SimTrack &stDau, unsigned int momidx, const edm::SimTrackContainer &simtks, const edm::SimVertexContainer &simvtxs, reco::GenParticleCollection &mergedGens, const reco::GenParticleRefProd ref, std::vector< int > &genBarcodes, bool &barcodesAreSorted) const
 Try to link the GEANT particle to the generator particle it came from. More...
 
virtual void endJob () override
 
virtual void produce (edm::Event &, const edm::EventSetup &) override
 

Private Attributes

std::auto_ptr< StrFilterfilter_
 
bool firstEvent_
 
edm::EDGetTokenT< std::vector
< int > > 
genBarcodesToken_
 
edm::EDGetTokenT
< reco::GenParticleCollection
gensToken_
 Collection of GenParticles I need to make refs to. It must also have its associated vector<int> of barcodes, aligned with them. More...
 
std::set< int > pdgIds_
 
std::vector< PdtEntrypdts_
 
int setStatus_
 
edm::EDGetTokenT
< edm::SimTrackContainer
simtracksToken_
 
edm::EDGetTokenT
< edm::SimVertexContainer
simverticesToken_
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- 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 reco::GenParticle from SimTracks.

The GenPlusSimParticleProducer produces GenParticles from SimTracks, so they can be used for MC matching. A copy of the original genParticle list is made and the genParticles created from the GEANT/FAMOS particles are added to the list including all ancestors and correct mother/daughter references

Sample useage in cfg.py file: process.genParticlePlusGEANT = cms.EDProducer("GenPlusSimParticleProducer", src = cms.InputTag("g4SimHits"), # use "famosSimHits" for FAMOS setStatus = cms.int32(8), # set status = 8 for GEANT GPs particleTypes = cms.vstring("pi+"), # also picks pi- (optional) filter = cms.vstring("pt > 0.0"), # just for testing genParticles = cms.InputTag("genParticles") # original genParticle list )

Author
Jordan Tucker (original module), Keith Ulmer (generalization)

Definition at line 39 of file GenPlusSimParticleProducer.cc.

Member Typedef Documentation

Definition at line 55 of file GenPlusSimParticleProducer.cc.

Constructor & Destructor Documentation

GenPlusSimParticleProducer::GenPlusSimParticleProducer ( const edm::ParameterSet cfg)
explicit

Definition at line 99 of file GenPlusSimParticleProducer.cc.

References edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), alcazmumu_cfi::filter, filter_, edm::ParameterSet::getParameter(), and pdts_.

99  :
100  firstEvent_(true),
101  simtracksToken_(consumes<SimTrackContainer>(cfg.getParameter<InputTag>("src"))), // source sim tracks & vertices
102  simverticesToken_(consumes<SimVertexContainer>(cfg.getParameter<InputTag>("src"))), // source sim tracks & vertices
103  setStatus_(cfg.getParameter<int32_t>("setStatus")), // set status of GenParticle to this code
104  gensToken_(consumes<GenParticleCollection>(cfg.getParameter<InputTag>("genParticles"))), // get the genParticles to add GEANT particles to
105  genBarcodesToken_(consumes<std::vector<int> >(cfg.getParameter<InputTag>("genParticles"))) // get the genParticles to add GEANT particles to
106 {
107  // Possibly allow a list of particle types
108  if (cfg.exists("particleTypes")) {
109  pdts_ = cfg.getParameter<vector<PdtEntry> >("particleTypes");
110  }
111 
112  // Possibly allow a string cut
113  if (cfg.existsAs<string>("filter")) {
114  string filter = cfg.getParameter<string>("filter");
115  if (!filter.empty()) {
116  filter_ = auto_ptr<StrFilter>(new StrFilter(filter));
117  }
118  }
119  produces<GenParticleCollection>();
120  produces<vector<int> >();
121 }
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:184
edm::EDGetTokenT< edm::SimVertexContainer > simverticesToken_
edm::EDGetTokenT< std::vector< int > > genBarcodesToken_
bool exists(std::string const &parameterName) const
checks if a parameter exists
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
StringCutObjectSelector< reco::GenParticle > StrFilter
edm::EDGetTokenT< reco::GenParticleCollection > gensToken_
Collection of GenParticles I need to make refs to. It must also have its associated vector&lt;int&gt; of ba...
edm::EDGetTokenT< edm::SimTrackContainer > simtracksToken_
pat::GenPlusSimParticleProducer::~GenPlusSimParticleProducer ( )
inline

Definition at line 42 of file GenPlusSimParticleProducer.cc.

42 {}

Member Function Documentation

void GenPlusSimParticleProducer::addGenParticle ( const SimTrack stMom,
const SimTrack stDau,
unsigned int  momidx,
const edm::SimTrackContainer simtks,
const edm::SimVertexContainer simvtxs,
reco::GenParticleCollection mergedGens,
const reco::GenParticleRefProd  ref,
std::vector< int > &  genBarcodes,
bool &  barcodesAreSorted 
) const
private

Try to link the GEANT particle to the generator particle it came from.

Arguments: – Specific – gp: GenParticle made from the GEANT particle st: The GEANT simTrack for which we create a genParticle

– GEANT related – simtks: A list of GEANT tracks, sorted by track id simvtxs: The list of GEANT vertices, in their natural order (skimtks have pointers into this vector!)

– GenParticle related – gens : Handle to the GenParticles, to make the ref to genBarcodes : Barcodes for each GenParticle, in a vector aligned to the GenParticleCollection. barcodesAreSorted: true if the barcodes are sorted (which means I can use binary_search on them)

Definition at line 123 of file GenPlusSimParticleProducer.cc.

References reco::CompositeRefCandidateT< D >::addDaughter(), DeDxDiscriminatorTools::charge(), CoreSimTrack::charge(), filter_, EgammaValidation_cff::genp, customizeTrackingMonitorSeedNumber::idx, CoreSimTrack::momentum(), SimVertex::noParent(), SimTrack::noVertex(), p4, SimVertex::parentIndex(), setStatus_, CoreSimTrack::trackId(), CoreSimTrack::type(), and SimTrack::vertIndex().

Referenced by produce().

132 {
133  // Make the genParticle for stDau and add it to the new collection and update the parent-child relationship
134  // Make up a GenParticleCandidate from the GEANT track info.
135  int charge = static_cast<int>(stDau.charge());
137  Particle::Point vtx; // = (0,0,0) by default
138  if (!stDau.noVertex()) vtx = simvertices[stDau.vertIndex()].position();
139  GenParticle genp(charge, p4, vtx, stDau.type(), setStatus_, true);
140 
141  // Maybe apply filter on the particle
142  if (filter_.get() != 0) {
143  if (!(*filter_)(genp)) return;
144  }
145 
146  reco::GenParticleRef parentRef(ref, momidx);
147  genp.addMother(parentRef);
148  mergedGens.push_back(genp);
149  // get the index for the daughter just added
150  unsigned int dauidx = mergedGens.size()-1;
151 
152  // update add daughter relationship
153  reco::GenParticle & cand = mergedGens[ momidx ];
154  cand.addDaughter( GenParticleRef( ref, dauidx) );
155 
156  //look for simtrack daughters of stDau to see if we need to recur further down the chain
157 
158  for (SimTrackContainer::const_iterator isimtrk = simtracksSorted.begin();
159  isimtrk != simtracksSorted.end(); ++isimtrk) {
160  if (!isimtrk->noVertex()) {
161  // Pick the vertex (isimtrk.vertIndex() is really an index)
162  const SimVertex &vtx = simvertices[isimtrk->vertIndex()];
163 
164  // Check if the vertex has a parent track (otherwise, we're lost)
165  if (!vtx.noParent()) {
166 
167  // Now note that vtx.parentIndex() is NOT an index, it's a track id, so I have to search for it
168  unsigned int idx = vtx.parentIndex();
169  SimTrackContainer::const_iterator it = std::lower_bound(simtracksSorted.begin(), simtracksSorted.end(), idx, LessById());
170  if ((it != simtracksSorted.end()) && (it->trackId() == idx)) {
171  if (it->trackId()==stDau.trackId()) {
172  //need the genparticle index of stDau which is dauidx
173  addGenParticle(stDau, *isimtrk, dauidx, simtracksSorted, simvertices, mergedGens, ref, genBarcodes, barcodesAreSorted);
174  }
175  }
176  }
177  }
178  }
179 }
edm::Ref< GenParticleCollection > GenParticleRef
persistent reference to a GenParticle
float charge() const
charge
Definition: CoreSimTrack.cc:3
double charge(const std::vector< uint8_t > &Ampls)
void addDaughter(const typename daughters::value_type &)
add a daughter via a reference
int parentIndex() const
Definition: SimVertex.h:33
double p4[4]
Definition: TauolaWrapper.h:92
math::XYZPoint Point
point in the space
Definition: Particle.h:31
bool noVertex() const
Definition: SimTrack.h:30
tuple genp
produce generated paricles in acceptance #
int vertIndex() const
index of the vertex in the Event container (-1 if no vertex)
Definition: SimTrack.h:29
unsigned int trackId() const
Definition: CoreSimTrack.h:49
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
int type() const
particle type (HEP PDT convension)
Definition: CoreSimTrack.h:40
const math::XYZTLorentzVectorD & momentum() const
particle info...
Definition: CoreSimTrack.h:36
void addGenParticle(const SimTrack &stMom, const SimTrack &stDau, unsigned int momidx, const edm::SimTrackContainer &simtks, const edm::SimVertexContainer &simvtxs, reco::GenParticleCollection &mergedGens, const reco::GenParticleRefProd ref, std::vector< int > &genBarcodes, bool &barcodesAreSorted) const
Try to link the GEANT particle to the generator particle it came from.
bool noParent() const
Definition: SimVertex.h:34
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Particle.h:27
virtual void pat::GenPlusSimParticleProducer::endJob ( void  )
inlineoverrideprivatevirtual

Reimplemented from edm::EDProducer.

Definition at line 46 of file GenPlusSimParticleProducer.cc.

46 {}
void GenPlusSimParticleProducer::produce ( edm::Event event,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDProducer.

Definition at line 181 of file GenPlusSimParticleProducer.cc.

References funct::abs(), reco::CompositeRefCandidateT< D >::addDaughter(), addGenParticle(), reco::CompositeRefCandidateT< D >::addMother(), reco::CompositeRefCandidateT< D >::daughterRefVector(), spr::find(), firstEvent_, genBarcodesToken_, gensToken_, i, edm::RefProd< T >::id(), customizeTrackingMonitorSeedNumber::idx, combine::key, m, reco::CompositeRefCandidateT< D >::motherRefVector(), SimVertex::noParent(), reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::CompositeRefCandidateT< D >::numberOfMothers(), SimVertex::parentIndex(), pdgIds_, pdts_, reco::CompositeRefCandidateT< D >::resetDaughters(), reco::CompositeRefCandidateT< D >::resetMothers(), simtracksToken_, simverticesToken_, and python.multivaluedict::sort().

182  {
183  if (firstEvent_){
184  if (!pdts_.empty()) {
185  pdgIds_.clear();
186  for (vector<PdtEntry>::iterator itp = pdts_.begin(), edp = pdts_.end(); itp != edp; ++itp) {
187  itp->setup(iSetup); // decode string->pdgId and vice-versa
188  pdgIds_.insert(std::abs(itp->pdgId()));
189  }
190  pdts_.clear();
191  }
192  firstEvent_ = false;
193  }
194 
195  // Simulated tracks (i.e. GEANT particles).
196  Handle<SimTrackContainer> simtracks;
197  event.getByToken(simtracksToken_, simtracks);
198 
199  // Need to check that SimTrackContainer is sorted; otherwise, copy and sort :-(
200  std::auto_ptr<SimTrackContainer> simtracksTmp;
201  const SimTrackContainer * simtracksSorted = &* simtracks;
202  if (!__gnu_cxx::is_sorted(simtracks->begin(), simtracks->end(), LessById())) {
203  simtracksTmp.reset(new SimTrackContainer(*simtracks));
204  std::sort(simtracksTmp->begin(), simtracksTmp->end(), LessById());
205  simtracksSorted = &* simtracksTmp;
206  }
207 
208  // Get the associated vertices
209  Handle<SimVertexContainer> simvertices;
210  event.getByToken(simverticesToken_, simvertices);
211 
212  // Get the GenParticles and barcodes, if needed to set mother and daughter links
214  Handle<std::vector<int> > genBarcodes;
215  bool barcodesAreSorted = true;
216  event.getByToken(gensToken_, gens);
217  event.getByToken(genBarcodesToken_, genBarcodes);
218  if (gens->size() != genBarcodes->size()) throw cms::Exception("Corrupt data") << "Barcodes not of the same size as GenParticles!\n";
219 
220  // make the output collection
221  auto_ptr<GenParticleCollection> candsPtr(new GenParticleCollection);
222  GenParticleCollection & cands = * candsPtr;
223 
224  const GenParticleRefProd ref = event.getRefBeforePut<GenParticleCollection>();
225 
226  // add the original genParticles to the merged output list
227  for( size_t i = 0; i < gens->size(); ++ i ) {
228  reco::GenParticle cand((*gens)[i]);
229  cands.push_back(cand);
230  }
231 
232  // make new barcodes vector and fill it with the original list
233  auto_ptr<vector<int> > newGenBarcodes( new vector<int>() );
234  for (unsigned int i = 0; i < genBarcodes->size(); ++i) {
235  newGenBarcodes->push_back((*genBarcodes)[i]);
236  }
237  barcodesAreSorted = __gnu_cxx::is_sorted(newGenBarcodes->begin(), newGenBarcodes->end());
238 
239  for( size_t i = 0; i < cands.size(); ++ i ) {
240  reco::GenParticle & cand = cands[ i ];
241  size_t nDaus = cand.numberOfDaughters();
243  cand.resetDaughters( ref.id() );
244  for ( size_t d = 0; d < nDaus; ++d) {
245  cand.addDaughter( GenParticleRef( ref, daus[d].key() ) );
246  }
247 
248  size_t nMoms = cand.numberOfMothers();
250  cand.resetMothers( ref.id() );
251  for ( size_t m = 0; m < nMoms; ++m) {
252  cand.addMother( GenParticleRef( ref, moms[m].key() ) );
253  }
254  }
255 
256  for (SimTrackContainer::const_iterator isimtrk = simtracks->begin();
257  isimtrk != simtracks->end(); ++isimtrk) {
258 
259  // Skip PYTHIA tracks.
260  if (isimtrk->genpartIndex() != -1) continue;
261 
262  // Maybe apply the PdgId filter
263  if (!pdgIds_.empty()) { // if we have a filter on pdg ids
264  if (pdgIds_.find(std::abs(isimtrk->type())) == pdgIds_.end()) continue;
265  }
266 
267  // find simtrack that has a genParticle match to its parent
268  // Look at the production vertex. If there is no vertex, I can do nothing...
269  if (!isimtrk->noVertex()) {
270 
271  // Pick the vertex (isimtrk.vertIndex() is really an index)
272  const SimVertex &vtx = (*simvertices)[isimtrk->vertIndex()];
273 
274  // Check if the vertex has a parent track (otherwise, we're lost)
275  if (!vtx.noParent()) {
276 
277  // Now note that vtx.parentIndex() is NOT an index, it's a track id, so I have to search for it
278  unsigned int idx = vtx.parentIndex();
279  SimTrackContainer::const_iterator it = std::lower_bound(simtracksSorted->begin(), simtracksSorted->end(), idx, LessById());
280  if ((it != simtracksSorted->end()) && (it->trackId() == idx)) { //it is the parent sim track
281  if (it->genpartIndex() != -1) {
282  std::vector<int>::const_iterator itIndex;
283  if (barcodesAreSorted) {
284  itIndex = std::lower_bound(genBarcodes->begin(), genBarcodes->end(), it->genpartIndex());
285  } else {
286  itIndex = std::find( genBarcodes->begin(), genBarcodes->end(), it->genpartIndex());
287  }
288 
289  // Check that I found something
290  // I need to check '*itIndex == it->genpartIndex()' because lower_bound just finds the right spot for an item in a sorted list, not the item
291  if ((itIndex != genBarcodes->end()) && (*itIndex == it->genpartIndex())) {
292  // Ok, I'll make the genParticle for st and add it to the new collection updating the map and parent-child relationship
293  // pass the mother and daughter sim tracks and the mother genParticle to method to create the daughter genParticle and recur
294  unsigned int momidx = itIndex - genBarcodes->begin();
295  addGenParticle(*it, *isimtrk, momidx, *simtracksSorted, *simvertices, *candsPtr, ref, *newGenBarcodes, barcodesAreSorted);
296  }
297  }
298  }
299  }
300  }
301  }
302 
303  event.put(candsPtr);
304  event.put(newGenBarcodes);
305 }
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
int i
Definition: DBlmapReader.cc:9
edm::EDGetTokenT< edm::SimVertexContainer > simverticesToken_
edm::Ref< GenParticleCollection > GenParticleRef
persistent reference to a GenParticle
edm::EDGetTokenT< std::vector< int > > genBarcodesToken_
const daughters & daughterRefVector() const
references to daughtes
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
void addDaughter(const typename daughters::value_type &)
add a daughter via a reference
void resetDaughters(const edm::ProductID &id)
set daughters product ID
int parentIndex() const
Definition: SimVertex.h:33
const mothers & motherRefVector() const
references to mothers
virtual size_t numberOfMothers() const
number of mothers
virtual size_t numberOfDaughters() const
number of daughters
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
void addMother(const typename mothers::value_type &)
add a daughter via a reference
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
edm::EDGetTokenT< reco::GenParticleCollection > gensToken_
Collection of GenParticles I need to make refs to. It must also have its associated vector&lt;int&gt; of ba...
list key
Definition: combine.py:13
ProductID id() const
Accessor for product ID.
Definition: RefProd.h:140
void addGenParticle(const SimTrack &stMom, const SimTrack &stDau, unsigned int momidx, const edm::SimTrackContainer &simtks, const edm::SimVertexContainer &simvtxs, reco::GenParticleCollection &mergedGens, const reco::GenParticleRefProd ref, std::vector< int > &genBarcodes, bool &barcodesAreSorted) const
Try to link the GEANT particle to the generator particle it came from.
bool noParent() const
Definition: SimVertex.h:34
void resetMothers(const edm::ProductID &id)
set mother product ID
std::vector< SimTrack > SimTrackContainer
edm::EDGetTokenT< edm::SimTrackContainer > simtracksToken_

Member Data Documentation

std::auto_ptr<StrFilter> pat::GenPlusSimParticleProducer::filter_
private

Definition at line 56 of file GenPlusSimParticleProducer.cc.

Referenced by addGenParticle(), and GenPlusSimParticleProducer().

bool pat::GenPlusSimParticleProducer::firstEvent_
private

Definition at line 48 of file GenPlusSimParticleProducer.cc.

Referenced by produce().

edm::EDGetTokenT<std::vector<int> > pat::GenPlusSimParticleProducer::genBarcodesToken_
private

Definition at line 60 of file GenPlusSimParticleProducer.cc.

Referenced by produce().

edm::EDGetTokenT<reco::GenParticleCollection> pat::GenPlusSimParticleProducer::gensToken_
private

Collection of GenParticles I need to make refs to. It must also have its associated vector<int> of barcodes, aligned with them.

Definition at line 59 of file GenPlusSimParticleProducer.cc.

Referenced by produce().

std::set<int> pat::GenPlusSimParticleProducer::pdgIds_
private

Definition at line 52 of file GenPlusSimParticleProducer.cc.

Referenced by produce().

std::vector<PdtEntry> pat::GenPlusSimParticleProducer::pdts_
private

Definition at line 53 of file GenPlusSimParticleProducer.cc.

Referenced by GenPlusSimParticleProducer(), and produce().

int pat::GenPlusSimParticleProducer::setStatus_
private

Definition at line 51 of file GenPlusSimParticleProducer.cc.

Referenced by addGenParticle().

edm::EDGetTokenT<edm::SimTrackContainer> pat::GenPlusSimParticleProducer::simtracksToken_
private

Definition at line 49 of file GenPlusSimParticleProducer.cc.

Referenced by produce().

edm::EDGetTokenT<edm::SimVertexContainer> pat::GenPlusSimParticleProducer::simverticesToken_
private

Definition at line 50 of file GenPlusSimParticleProducer.cc.

Referenced by produce().