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