CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GenParticleProducer Class Reference
Inheritance diagram for GenParticleProducer:
edm::global::EDProducer< edm::RunCache< IDto3Charge > > edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

bool convertParticle (reco::GenParticle &cand, const HepMC::GenParticle *part, const IDto3Charge &id2Charge) const
 
bool fillDaughters (reco::GenParticleCollection &cand, const HepMC::GenParticle *part, reco::GenParticleRefProd const &ref, size_t index, std::unordered_map< int, size_t > &barcodes) const
 
bool fillIndices (const HepMC::GenEvent *mc, std::vector< const HepMC::GenParticle * > &particles, std::vector< int > &barCodeVector, int offset, std::unordered_map< int, size_t > &barcodes) const
 
 GenParticleProducer (const edm::ParameterSet &)
 constructor More...
 
std::shared_ptr< IDto3Charge > globalBeginRun (const edm::Run &, const edm::EventSetup &) const override
 
void globalEndRun (edm::Run const &, edm::EventSetup const &) const override
 
void produce (edm::StreamID, edm::Event &e, const edm::EventSetup &) const override
 process one event More...
 
 ~GenParticleProducer () override
 destructor More...
 
- Public Member Functions inherited from edm::global::EDProducer< edm::RunCache< IDto3Charge > >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::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)
 
 ~ProducerBase () noexcept(false) override
 
- 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
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
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
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

bool abortOnUnknownPDGCode_
 unknown code treatment flag More...
 
bool doSubEvent_
 input & output modes More...
 
MCTruthHelper< HepMC::GenParticle > mcTruthHelper_
 
MCTruthHelper< reco::GenParticlemcTruthHelperGenParts_
 
edm::EDGetTokenT< CrossingFrame< edm::HepMCProduct > > mixToken_
 
bool saveBarCodes_
 save bar-codes More...
 
edm::EDGetTokenT< edm::HepMCProductsrcToken_
 source collection name More...
 
bool useCF_
 
std::vector< edm::EDGetTokenT< edm::HepMCProduct > > vectorSrcTokens_
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase 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::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- 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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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

Definition at line 79 of file GenParticleProducer.cc.

Constructor & Destructor Documentation

GenParticleProducer::GenParticleProducer ( const edm::ParameterSet cfg)

constructor

Definition at line 145 of file GenParticleProducer.cc.

References SiStripOfflineCRack_cfg::alias, edm::ParameterSet::getParameter(), HLT_2018_cff::InputTag, mixToken_, saveBarCodes_, srcToken_, AlCaHLTBitMon_QueryRunRegistry::string, and useCF_.

146  : abortOnUnknownPDGCode_(cfg.getUntrackedParameter<bool>("abortOnUnknownPDGCode", true)),
147  saveBarCodes_(cfg.getUntrackedParameter<bool>("saveBarCodes", false)),
148  doSubEvent_(cfg.getUntrackedParameter<bool>("doSubEvent", false)),
149  useCF_(cfg.getUntrackedParameter<bool>("useCrossingFrame", false)) {
150  produces<GenParticleCollection>();
151  produces<math::XYZPointF>("xyz0");
152  produces<float>("t0");
153  if (saveBarCodes_) {
154  std::string alias(cfg.getParameter<std::string>("@module_label"));
155  produces<vector<int>>().setBranchAlias(alias + "BarCodes");
156  }
157 
158  if (useCF_)
159  mixToken_ =
160  mayConsume<CrossingFrame<HepMCProduct>>(InputTag(cfg.getParameter<std::string>("mix"), "generatorSmeared"));
161  else
162  srcToken_ = mayConsume<HepMCProduct>(cfg.getParameter<InputTag>("src"));
163 }
T getParameter(std::string const &) const
bool abortOnUnknownPDGCode_
unknown code treatment flag
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< CrossingFrame< edm::HepMCProduct > > mixToken_
edm::EDGetTokenT< edm::HepMCProduct > srcToken_
source collection name
bool doSubEvent_
input & output modes
bool saveBarCodes_
save bar-codes
GenParticleProducer::~GenParticleProducer ( )
override

destructor

Definition at line 165 of file GenParticleProducer.cc.

165 {}

Member Function Documentation

bool GenParticleProducer::convertParticle ( reco::GenParticle cand,
const HepMC::GenParticle *  part,
const IDto3Charge &  id2Charge 
) const

Definition at line 314 of file GenParticleProducer.cc.

References MCTruthHelper< P >::fillGenStatusFlags(), mcTruthHelper_, mmToCm, p4, EgammaValidation_cff::pdgId, reco::GenParticle::setCollisionId(), reco::LeafCandidate::setP4(), reco::LeafCandidate::setPdgId(), reco::LeafCandidate::setStatus(), reco::LeafCandidate::setThreeCharge(), reco::LeafCandidate::setVertex(), reco::GenParticle::statusFlags(), findQualityFiles::v, bphysicsOniaDQM_cfi::vertex, and badGlobalMuonTaggersAOD_cff::vtx.

Referenced by produce().

316  {
317  Candidate::LorentzVector p4(part->momentum());
318  int pdgId = part->pdg_id();
319  cand.setThreeCharge(id2Charge.chargeTimesThree(pdgId));
320  cand.setPdgId(pdgId);
321  cand.setStatus(part->status());
322  cand.setP4(p4);
323  cand.setCollisionId(0);
324  const GenVertex* v = part->production_vertex();
325  if (v != nullptr) {
326  ThreeVector vtx = v->point3d();
327  Candidate::Point vertex(vtx.x() * mmToCm, vtx.y() * mmToCm, vtx.z() * mmToCm);
328  cand.setVertex(vertex);
329  } else {
330  cand.setVertex(Candidate::Point(0, 0, 0));
331  }
333  return true;
334 }
MCTruthHelper< HepMC::GenParticle > mcTruthHelper_
void setCollisionId(int s)
Definition: GenParticle.h:35
void fillGenStatusFlags(const P &p, reco::GenStatusFlags &statusFlags) const
void setVertex(const Point &vertex) override
set vertex
double p4[4]
Definition: TauolaWrapper.h:92
const GenStatusFlags & statusFlags() const
Definition: GenParticle.h:38
void setThreeCharge(Charge qx3) final
set electric charge
static const double mmToCm
part
Definition: HCALResponse.h:20
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
math::XYZPoint Point
point in the space
Definition: Candidate.h:41
void setStatus(int status) final
set status word
void setPdgId(int pdgId) final
void setP4(const LorentzVector &p4) final
set 4-momentum
bool GenParticleProducer::fillDaughters ( reco::GenParticleCollection cand,
const HepMC::GenParticle *  part,
reco::GenParticleRefProd const &  ref,
size_t  index,
std::unordered_map< int, size_t > &  barcodes 
) const

Definition at line 336 of file GenParticleProducer.cc.

References GenParticle::GenParticle, visualization-live-secondInstance_cfg::m, and edm::second().

Referenced by produce().

340  {
341  const GenVertex* productionVertex = part->production_vertex();
342  size_t numberOfMothers = productionVertex->particles_in_size();
343  if (numberOfMothers > 0) {
344  GenVertex::particles_in_const_iterator motherIt = productionVertex->particles_in_const_begin();
345  for (; motherIt != productionVertex->particles_in_const_end(); motherIt++) {
346  const HepMC::GenParticle* mother = *motherIt;
347  size_t m = barcodes.find(mother->barcode())->second;
348  cands[m].addDaughter(GenParticleRef(ref, index));
349  cands[index].addMother(GenParticleRef(ref, m));
350  }
351  }
352 
353  return true;
354 }
U second(std::pair< T, U > const &p)
part
Definition: HCALResponse.h:20
edm::Ref< edm::HepMCProduct, HepMC::GenParticle > GenParticleRef
bool GenParticleProducer::fillIndices ( const HepMC::GenEvent mc,
std::vector< const HepMC::GenParticle * > &  particles,
std::vector< int > &  barCodeVector,
int  offset,
std::unordered_map< int, size_t > &  barcodes 
) const

Definition at line 356 of file GenParticleProducer.cc.

References begin, DEFINE_FWK_MODULE, end, GenParticle::GenParticle, training_settings::idx, hltrates_dqm_sourceclient-live_cfg::offset, and AlCaHLTBitMon_ParallelJobs::p.

Referenced by produce().

360  {
361  size_t idx = offset;
362  HepMC::GenEvent::particle_const_iterator begin = mc->particles_begin(), end = mc->particles_end();
363  for (HepMC::GenEvent::particle_const_iterator p = begin; p != end; ++p) {
364  const HepMC::GenParticle* particle = *p;
365  size_t barCode_this_event = particle->barcode();
366  size_t barCode = barCode_this_event + offset;
367  if (barcodes.find(barCode) != barcodes.end())
368  throw cms::Exception("WrongReference") << "barcodes are duplicated! " << endl;
369  particles[idx] = particle;
370  barCodeVector[idx] = barCode;
371  barcodes.insert(make_pair(barCode_this_event, idx++));
372  }
373  return true;
374 }
#define end
Definition: vmac.h:39
#define begin
Definition: vmac.h:32
std::shared_ptr< IDto3Charge > GenParticleProducer::globalBeginRun ( const edm::Run ,
const edm::EventSetup es 
) const
override

Definition at line 167 of file GenParticleProducer.cc.

References abortOnUnknownPDGCode_, and edm::EventSetup::getData().

167  {
169  es.getData(pdt);
170  return std::make_shared<IDto3Charge>(*pdt, abortOnUnknownPDGCode_);
171 }
bool abortOnUnknownPDGCode_
unknown code treatment flag
bool getData(T &iHolder) const
Definition: EventSetup.h:113
void GenParticleProducer::globalEndRun ( edm::Run const &  ,
edm::EventSetup const &   
) const
inlineoverride
void GenParticleProducer::produce ( edm::StreamID  ,
edm::Event e,
const edm::EventSetup es 
) const
override

process one event

fill indices

Definition at line 173 of file GenParticleProducer.cc.

References HLT_2018_cff::cands, convertParticle(), ztail::d, doSubEvent_, Exception, f, fillDaughters(), fillIndices(), GenParticle::GenParticle, edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), MixCollection< T >::getObject(), edm::Event::getRefBeforePut(), edm::Event::getRun(), mps_fire::i, edm::RefProd< C >::id(), edm::Run::index(), edm::errors::InvalidReference, dataCertificationJetMET_cfi::isHI, LogDebug, CaloTowersParam_cfi::mc, mixToken_, mmToCm, mmToNs, eostools::move(), hltrates_dqm_sourceclient-live_cfg::offset, ecalTrigSettings_cff::particles, position, edm::Handle< T >::product(), edm::Event::put(), reco::CompositeRefCandidateT< D >::resetDaughters(), saveBarCodes_, MixCollection< T >::size(), findQualityFiles::size, srcToken_, and useCF_.

173  {
174  std::unordered_map<int, size_t> barcodes;
175 
176  size_t totalSize = 0;
177  const GenEvent* mc = nullptr;
178  MixCollection<HepMCProduct>* cfhepmcprod = nullptr;
179  size_t npiles = 1;
180 
181  if (useCF_) {
183  evt.getByToken(mixToken_, cf);
184  cfhepmcprod = new MixCollection<HepMCProduct>(cf.product());
185  npiles = cfhepmcprod->size();
186  LogDebug("GenParticleProducer") << "npiles : " << npiles << endl;
187  for (unsigned int icf = 0; icf < npiles; ++icf) {
188  LogDebug("GenParticleProducer") << "subSize : " << cfhepmcprod->getObject(icf).GetEvent()->particles_size()
189  << endl;
190  totalSize += cfhepmcprod->getObject(icf).GetEvent()->particles_size();
191  }
192  LogDebug("GenParticleProducer") << "totalSize : " << totalSize << endl;
193  } else {
195  evt.getByToken(srcToken_, mcp);
196  mc = mcp->GetEvent();
197  if (mc == nullptr)
198  throw edm::Exception(edm::errors::InvalidReference) << "HepMC has null pointer to GenEvent" << endl;
199  totalSize = mc->particles_size();
200  }
201 
202  // initialise containers
203  const size_t size = totalSize;
204  vector<const HepMC::GenParticle*> particles(size);
205  auto candsPtr = std::make_unique<GenParticleCollection>(size);
206  auto barCodeVector = std::make_unique<vector<int>>(size);
207  std::unique_ptr<math::XYZPointF> xyz0Ptr(new math::XYZPointF(0., 0., 0.));
208  std::unique_ptr<float> t0Ptr(new float(0.f));
209  reco::GenParticleRefProd ref = evt.getRefBeforePut<GenParticleCollection>();
210  GenParticleCollection& cands = *candsPtr;
211  size_t offset = 0;
212  size_t suboffset = 0;
213 
214  IDto3Charge const& id2Charge = *runCache(evt.getRun().index());
216  if (doSubEvent_ || useCF_) {
217  for (size_t ipile = 0; ipile < npiles; ++ipile) {
218  LogDebug("GenParticleProducer") << "mixed object ipile : " << ipile << endl;
219  barcodes.clear();
220  if (useCF_)
221  mc = cfhepmcprod->getObject(ipile).GetEvent();
222 
223  //Look whether heavy ion/signal event
224  bool isHI = false;
225  const HepMC::HeavyIon* hi = mc->heavy_ion();
226  if (hi && hi->Ncoll_hard() > 1)
227  isHI = true;
228  size_t num_particles = mc->particles_size();
229  LogDebug("GenParticleProducer") << "num_particles : " << num_particles << endl;
230  if (ipile == 0) {
231  auto origin = (*mc->vertices_begin())->position();
232  xyz0Ptr->SetXYZ(origin.x() * mmToCm, origin.y() * mmToCm, origin.z() * mmToCm);
233  *t0Ptr = origin.t() * mmToNs;
234  }
235  fillIndices(mc, particles, *barCodeVector, offset, barcodes);
236  // fill output collection and save association
237  for (size_t ipar = offset; ipar < offset + num_particles; ++ipar) {
238  const HepMC::GenParticle* part = particles[ipar];
239  reco::GenParticle& cand = cands[ipar];
240  // convert HepMC::GenParticle to new reco::GenParticle
241  convertParticle(cand, part, id2Charge);
242  cand.resetDaughters(ref.id());
243  }
244 
245  for (size_t d = offset; d < offset + num_particles; ++d) {
246  const HepMC::GenParticle* part = particles[d];
247  const GenVertex* productionVertex = part->production_vertex();
248  int sub_id = 0;
249  if (productionVertex != nullptr) {
250  sub_id = productionVertex->id();
251  if (!isHI)
252  sub_id = 0;
253  // search barcode map and attach daughters
254  fillDaughters(cands, part, ref, d, barcodes);
255  } else {
256  const GenVertex* endVertex = part->end_vertex();
257  if (endVertex != nullptr)
258  sub_id = endVertex->id();
259  else
260  throw cms::Exception("SubEventID")
261  << "SubEvent not determined. Particle has no production and no end vertex!" << endl;
262  }
263  if (sub_id < 0)
264  sub_id = 0;
265  int new_id = sub_id + suboffset;
266  GenParticleRef dref(ref, d);
267  cands[d].setCollisionId(new_id); // For new GenParticle
268  LogDebug("VertexId") << "SubEvent offset 3 : " << suboffset;
269  }
270  int nsub = -2;
271  if (isHI) {
272  nsub = hi->Ncoll_hard() + 1;
273  suboffset += nsub;
274  } else {
275  suboffset += 1;
276  }
277  offset += num_particles;
278  }
279  } else {
280  auto origin = (*mc->vertices_begin())->position();
281  xyz0Ptr->SetXYZ(origin.x() * mmToCm, origin.y() * mmToCm, origin.z() * mmToCm);
282  *t0Ptr = origin.t() * mmToNs;
283  fillIndices(mc, particles, *barCodeVector, 0, barcodes);
284 
285  // fill output collection and save association
286  for (size_t i = 0; i < particles.size(); ++i) {
287  const HepMC::GenParticle* part = particles[i];
288  reco::GenParticle& cand = cands[i];
289  // convert HepMC::GenParticle to new reco::GenParticle
290  convertParticle(cand, part, id2Charge);
291  cand.resetDaughters(ref.id());
292  }
293 
294  // fill references to daughters
295  for (size_t d = 0; d < cands.size(); ++d) {
296  const HepMC::GenParticle* part = particles[d];
297  const GenVertex* productionVertex = part->production_vertex();
298  // search barcode map and attach daughters
299  if (productionVertex != nullptr)
300  fillDaughters(cands, part, ref, d, barcodes);
301  cands[d].setCollisionId(0);
302  }
303  }
304 
305  evt.put(std::move(candsPtr));
306  if (saveBarCodes_)
307  evt.put(std::move(barCodeVector));
308  if (cfhepmcprod)
309  delete cfhepmcprod;
310  evt.put(std::move(xyz0Ptr), "xyz0");
311  evt.put(std::move(t0Ptr), "t0");
312 }
#define LogDebug(id)
size
Write out results.
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
static const double mmToNs
bool fillDaughters(reco::GenParticleCollection &cand, const HepMC::GenParticle *part, reco::GenParticleRefProd const &ref, size_t index, std::unordered_map< int, size_t > &barcodes) const
edm::EDGetTokenT< CrossingFrame< edm::HepMCProduct > > mixToken_
bool fillIndices(const HepMC::GenEvent *mc, std::vector< const HepMC::GenParticle * > &particles, std::vector< int > &barCodeVector, int offset, std::unordered_map< int, size_t > &barcodes) const
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
Definition: Point3D.h:10
edm::EDGetTokenT< edm::HepMCProduct > srcToken_
source collection name
bool convertParticle(reco::GenParticle &cand, const HepMC::GenParticle *part, const IDto3Charge &id2Charge) const
int size() const
Definition: MixCollection.h:20
void resetDaughters(const edm::ProductID &id)
set daughters product ID
double f[11][100]
d
Definition: ztail.py:151
ProductID id() const
Accessor for product ID.
Definition: RefProd.h:124
const T & getObject(unsigned int ip) const
Definition: MixCollection.h:27
const HepMC::GenEvent * GetEvent() const
Definition: HepMCProduct.h:34
T const * product() const
Definition: Handle.h:69
static const double mmToCm
part
Definition: HCALResponse.h:20
bool doSubEvent_
input & output modes
static int position[264][3]
Definition: ReadPGInfo.cc:289
bool saveBarCodes_
save bar-codes
def move(src, dest)
Definition: eostools.py:511

Member Data Documentation

bool GenParticleProducer::abortOnUnknownPDGCode_
private

unknown code treatment flag

Definition at line 110 of file GenParticleProducer.cc.

Referenced by globalBeginRun().

bool GenParticleProducer::doSubEvent_
private

input & output modes

Definition at line 115 of file GenParticleProducer.cc.

Referenced by produce().

MCTruthHelper<HepMC::GenParticle> GenParticleProducer::mcTruthHelper_
private

Definition at line 118 of file GenParticleProducer.cc.

Referenced by convertParticle().

MCTruthHelper<reco::GenParticle> GenParticleProducer::mcTruthHelperGenParts_
private

Definition at line 119 of file GenParticleProducer.cc.

edm::EDGetTokenT<CrossingFrame<edm::HepMCProduct> > GenParticleProducer::mixToken_
private

Definition at line 107 of file GenParticleProducer.cc.

Referenced by GenParticleProducer(), and produce().

bool GenParticleProducer::saveBarCodes_
private

save bar-codes

Definition at line 112 of file GenParticleProducer.cc.

Referenced by GenParticleProducer(), and produce().

edm::EDGetTokenT<edm::HepMCProduct> GenParticleProducer::srcToken_
private

source collection name

Definition at line 105 of file GenParticleProducer.cc.

Referenced by GenParticleProducer(), and produce().

bool GenParticleProducer::useCF_
private

Definition at line 116 of file GenParticleProducer.cc.

Referenced by GenParticleProducer(), and produce().

std::vector<edm::EDGetTokenT<edm::HepMCProduct> > GenParticleProducer::vectorSrcTokens_
private

Definition at line 106 of file GenParticleProducer.cc.