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 60 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 61 of file PATGenCandsFromSimTracksProducer.cc.

68  : simtks(simtks1),
69  simvtxs(simvtxs1),
70  gens(gens1),
71  genBarcodes(genBarcodes1),
72  barcodesAreSorted(barcodesAreSorted1),
73  output(output1),
74  refprod(refprod1),
75  simTksProcessed() {}

Member Data Documentation

◆ barcodesAreSorted

bool pat::PATGenCandsFromSimTracksProducer::GlobalContext::barcodesAreSorted

Definition at line 82 of file PATGenCandsFromSimTracksProducer.cc.

◆ genBarcodes

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

Definition at line 81 of file PATGenCandsFromSimTracksProducer.cc.

◆ gens

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

Definition at line 80 of file PATGenCandsFromSimTracksProducer.cc.

◆ output

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

Definition at line 84 of file PATGenCandsFromSimTracksProducer.cc.

◆ refprod

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

Definition at line 85 of file PATGenCandsFromSimTracksProducer.cc.

◆ simtks

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

Definition at line 77 of file PATGenCandsFromSimTracksProducer.cc.

◆ simTksProcessed

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

Definition at line 87 of file PATGenCandsFromSimTracksProducer.cc.

◆ simvtxs

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

Definition at line 78 of file PATGenCandsFromSimTracksProducer.cc.

pat::PATGenCandsFromSimTracksProducer::GlobalContext::genBarcodes
const edm::Handle< std::vector< int > > & genBarcodes
Definition: PATGenCandsFromSimTracksProducer.cc:81
pat::PATGenCandsFromSimTracksProducer::GlobalContext::simTksProcessed
std::map< unsigned int, int > simTksProcessed
Definition: PATGenCandsFromSimTracksProducer.cc:87
skim900GeV_StreamA_MinBiasPD_cfg.output1
output1
Definition: skim900GeV_StreamA_MinBiasPD_cfg.py:212
pat::PATGenCandsFromSimTracksProducer::GlobalContext::gens
const edm::Handle< reco::GenParticleCollection > & gens
Definition: PATGenCandsFromSimTracksProducer.cc:80
pat::PATGenCandsFromSimTracksProducer::GlobalContext::simtks
const edm::SimTrackContainer & simtks
Definition: PATGenCandsFromSimTracksProducer.cc:77
pat::PATGenCandsFromSimTracksProducer::GlobalContext::simvtxs
const edm::SimVertexContainer & simvtxs
Definition: PATGenCandsFromSimTracksProducer.cc:78
pat::PATGenCandsFromSimTracksProducer::GlobalContext::refprod
const edm::RefProd< reco::GenParticleCollection > & refprod
Definition: PATGenCandsFromSimTracksProducer.cc:85
pat::PATGenCandsFromSimTracksProducer::GlobalContext::barcodesAreSorted
bool barcodesAreSorted
Definition: PATGenCandsFromSimTracksProducer.cc:82
pat::PATGenCandsFromSimTracksProducer::GlobalContext::output
reco::GenParticleCollection & output
Definition: PATGenCandsFromSimTracksProducer.cc:84