27 const std::vector<SimVertex>& simVertices) {
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
bool noEndVertex() const
no end vertex
void load(edm::SimTrackContainer &c, edm::SimTrackContainer &m) const
Load containers of tracks (and muons) and vertices for the edm::Event.
void fill(const HepMC::GenEvent &hev, edm::EventID &Id)
fill the FBaseSimEvent from the current HepMC::GenEvent
FSimEvent(const edm::ParameterSet &kine)
Default constructor.
unsigned int nVertices() const
Number of vertices.
const FSimVertexType & embdVertexType(int i) const
return embedded vertex type with given id
unsigned int nTracks() const
Number of tracks.
int closestDaughterId() const
Get the index of the closest charged daughter.
Abs< T >::type abs(const T &t)
std::vector< FSimVertexType > FSimVertexTypeCollection
collection of FSimVertexType objects
unsigned int nTracks() const
Number of tracks.
void fill(const HepMC::GenEvent &hev)
fill the FBaseSimEvent from the current HepMC::GenEvent
edm::EventID id() const
Method to return the EventId.
unsigned int nGenParts() const
Number of MC particles.
const SimVertex & embdVertex(int i) const
return embedded vertex with given id
virtual ~FSimEvent()
usual virtual destructor
unsigned int nVertices() const
Number of vertices.
std::vector< SimVertex > SimVertexContainer
const SimTrack & embdTrack(int i) const
return embedded track with given id
float weight() const
Method to return the event weight.
int type() const
particle type (HEP PDT convension)
unsigned int nGenParts() const
Number of generator particles.
const math::XYZTLorentzVectorD & momentum() const
bool noMother() const
no mother particle
std::vector< SimTrack > SimTrackContainer
const FSimTrack & mother() const
mother
FSimTrack & track(int id) const
Return track with given Id.