CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
pat::PATGenCandsFromSimTracksProducer::GlobalContext Struct Reference

Global context for all recursive methods. More...

Public Member Functions

 GlobalContext (const edm::SimTrackContainer &simtks1, const edm::SimVertexContainer &simvtxs1, const edm::Handle< reco::GenParticleCollection > &gens1, const edm::Handle< std::vector< int > > &genBarcodes1, bool barcodesAreSorted1, reco::GenParticleCollection &output1, const edm::RefProd< reco::GenParticleCollection > &refprod1)
 

Public Attributes

bool barcodesAreSorted
 
const edm::Handle< std::vector< int > > & genBarcodes
 
const edm::Handle< reco::GenParticleCollection > & gens
 
reco::GenParticleCollectionoutput
 
const edm::RefProd< reco::GenParticleCollection > & refprod
 
const edm::SimTrackContainersimtks
 
std::map< unsigned int, int > simTksProcessed
 
const edm::SimVertexContainersimvtxs
 

Detailed Description

Global context for all recursive methods.

Definition at line 62 of file PATGenCandsFromSimTracksProducer.cc.

Constructor & Destructor Documentation

◆ GlobalContext()

pat::PATGenCandsFromSimTracksProducer::GlobalContext::GlobalContext ( const edm::SimTrackContainer simtks1,
const edm::SimVertexContainer simvtxs1,
const edm::Handle< reco::GenParticleCollection > &  gens1,
const edm::Handle< std::vector< int > > &  genBarcodes1,
bool  barcodesAreSorted1,
reco::GenParticleCollection output1,
const edm::RefProd< reco::GenParticleCollection > &  refprod1 
)
inline

Definition at line 63 of file PATGenCandsFromSimTracksProducer.cc.

70  : simtks(simtks1),
71  simvtxs(simvtxs1),
72  gens(gens1),
73  genBarcodes(genBarcodes1),
74  barcodesAreSorted(barcodesAreSorted1),
75  output(output1),
76  refprod(refprod1),
77  simTksProcessed() {}
const edm::Handle< reco::GenParticleCollection > & gens
const edm::RefProd< reco::GenParticleCollection > & refprod

Member Data Documentation

◆ barcodesAreSorted

bool pat::PATGenCandsFromSimTracksProducer::GlobalContext::barcodesAreSorted

Definition at line 84 of file PATGenCandsFromSimTracksProducer.cc.

◆ genBarcodes

const edm::Handle<std::vector<int> >& pat::PATGenCandsFromSimTracksProducer::GlobalContext::genBarcodes

Definition at line 83 of file PATGenCandsFromSimTracksProducer.cc.

◆ gens

const edm::Handle<reco::GenParticleCollection>& pat::PATGenCandsFromSimTracksProducer::GlobalContext::gens

Definition at line 82 of file PATGenCandsFromSimTracksProducer.cc.

◆ output

reco::GenParticleCollection& pat::PATGenCandsFromSimTracksProducer::GlobalContext::output

Definition at line 86 of file PATGenCandsFromSimTracksProducer.cc.

◆ refprod

const edm::RefProd<reco::GenParticleCollection>& pat::PATGenCandsFromSimTracksProducer::GlobalContext::refprod

Definition at line 87 of file PATGenCandsFromSimTracksProducer.cc.

◆ simtks

const edm::SimTrackContainer& pat::PATGenCandsFromSimTracksProducer::GlobalContext::simtks

Definition at line 79 of file PATGenCandsFromSimTracksProducer.cc.

◆ simTksProcessed

std::map<unsigned int, int> pat::PATGenCandsFromSimTracksProducer::GlobalContext::simTksProcessed

Definition at line 89 of file PATGenCandsFromSimTracksProducer.cc.

◆ simvtxs

const edm::SimVertexContainer& pat::PATGenCandsFromSimTracksProducer::GlobalContext::simvtxs

Definition at line 80 of file PATGenCandsFromSimTracksProducer.cc.