#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 |
|
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, i, G4SimTrack::id(), G4SimTrack::igenpart(), G4SimTrack::ivert(), G4SimTrack::momentum(), AlCaHLTBitMon_ParallelJobs::p, G4SimTrack::part(), edmStreamStallGrapher::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, i, G4SimVertex::parentIndex(), G4SimVertex::processType(), edm::second(), CoreSimVertex::setEventId(), SimVertex::setProcessType(), edmStreamStallGrapher::t, findQualityFiles::v, G4SimVertex::vertexGlobalTime(), and G4SimVertex::vertexPosition().
|
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 |
Definition at line 27 of file G4SimEvent.h.
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), and RunManager::produce().
|
inline |
Definition at line 28 of file G4SimEvent.h.
References weight_.
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), and cuy.graphElement::__init__().
|
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().