#include <G4SimEvent.h>
Public Member Functions | |
void | add (G4SimTrack *t) |
void | add (G4SimVertex *v) |
void | collisionPoint (const math::XYZTLorentzVectorD &v) |
const math::XYZTLorentzVectorD & | collisionPoint () const |
G4SimEvent () | |
const G4SimTrack & | g4track (int i) const |
const G4SimVertex & | g4vertex (int i) const |
void | hepEvent (const HepMC::GenEvent *r) |
const HepMC::GenEvent * | hepEvent () const |
void | load (edm::SimTrackContainer &c) const |
void | load (edm::SimVertexContainer &c) const |
unsigned int | nGenParts () const |
void | nparam (int n) |
const int | nparam () const |
unsigned int | nTracks () const |
unsigned int | nVertices () const |
void | param (const std::vector< float > &p) |
const std::vector< float > & | param () const |
void | weight (float w) |
float | weight () const |
virtual | ~G4SimEvent () |
Protected Attributes | |
math::XYZTLorentzVectorD | collisionPoint_ |
std::vector< G4SimTrack * > | g4tracks |
std::vector< G4SimVertex * > | g4vertices |
const HepMC::GenEvent * | hepMCEvent |
int | nparam_ |
std::vector< float > | param_ |
float | weight_ |
Definition at line 15 of file G4SimEvent.h.
G4SimEvent::G4SimEvent | ( | ) |
Definition at line 14 of file G4SimEvent.cc.
|
virtual |
Definition at line 19 of file G4SimEvent.cc.
References g4tracks, g4vertices, mps_fire::i, and nullptr.
|
inline |
Definition at line 35 of file G4SimEvent.h.
References g4tracks.
Referenced by SimTrackManager::getOrCreateVertex(), SimTrackManager::reallyStoreTracks(), and counter.Counter::register().
|
inline |
Definition at line 36 of file G4SimEvent.h.
References g4vertices.
Referenced by counter.Counter::register().
|
inline |
Definition at line 29 of file G4SimEvent.h.
References collisionPoint_, and findQualityFiles::v.
Referenced by RunManager::produce().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 25 of file G4SimEvent.h.
References hepMCEvent, and alignCSCRings::r.
Referenced by RunManager::produce().
|
inline |
void G4SimEvent::load | ( | edm::SimTrackContainer & | c | ) | const |
Definition at line 55 of file G4SimEvent.cc.
References G4SimTrack::energy(), g4tracks, GeV, mps_fire::i, G4SimTrack::id(), G4SimTrack::igenpart(), G4SimTrack::ivert(), G4SimTrack::momentum(), AlCaHLTBitMon_ParallelJobs::p, G4SimTrack::part(), mcMuonSeeds_cfi::SimTrack, lumiQTWidget::t, G4SimTrack::trackerSurfaceMomentum(), and G4SimTrack::trackerSurfacePosition().
Referenced by OscarProducer::produce(), and OscarMTProducer::produce().
void G4SimEvent::load | ( | edm::SimVertexContainer & | c | ) | const |
Definition at line 88 of file G4SimEvent.cc.
References g4vertices, mps_fire::i, G4SimVertex::parentIndex(), G4SimVertex::processType(), edm::second(), CoreSimVertex::setEventId(), SimVertex::setProcessType(), mcMuonSeeds_cfi::SimVertex, lumiQTWidget::t, findQualityFiles::v, G4SimVertex::vertexGlobalTime(), G4SimVertex::vertexPosition(), and badGlobalMuonTaggersAOD_cff::vtx.
|
inline |
Definition at line 24 of file G4SimEvent.h.
References hepMCEvent.
Referenced by RunManager::produce().
|
inline |
|
inline |
|
inline |
Definition at line 22 of file G4SimEvent.h.
References g4tracks.
Referenced by RunManager::produce().
|
inline |
Definition at line 23 of file G4SimEvent.h.
References g4vertices.
Referenced by RunManager::produce().
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 42 of file G4SimEvent.h.
Referenced by collisionPoint().
|
protected |
Definition at line 45 of file G4SimEvent.h.
Referenced by add(), g4track(), load(), nTracks(), and ~G4SimEvent().
|
protected |
Definition at line 46 of file G4SimEvent.h.
Referenced by add(), g4vertex(), load(), nVertices(), and ~G4SimEvent().
|
protected |
Definition at line 40 of file G4SimEvent.h.
Referenced by hepEvent(), and nGenParts().
|
protected |
Definition at line 43 of file G4SimEvent.h.
Referenced by nparam().
|
protected |
Definition at line 44 of file G4SimEvent.h.
Referenced by param().
|
protected |
Definition at line 41 of file G4SimEvent.h.
Referenced by weight().