CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CoreSimVertex Class Reference

#include <CoreSimVertex.h>

Inheritance diagram for CoreSimVertex:
SimVertex FSimVertex

Public Member Functions

 CoreSimVertex ()
 constructors More...
 
 CoreSimVertex (const math::XYZVectorD &v, float tof)
 
 CoreSimVertex (const math::XYZTLorentzVectorD &v)
 
EncodedEventId eventId () const
 
const math::XYZTLorentzVectorDposition () const
 
void setEventId (EncodedEventId e)
 
void setTof (float tof)
 

Private Attributes

EncodedEventId eId
 
math::XYZTLorentzVectorD theVertex
 

Detailed Description

a generic Simulated Vertex

Definition at line 12 of file CoreSimVertex.h.

Constructor & Destructor Documentation

CoreSimVertex::CoreSimVertex ( )
inline

constructors

Definition at line 15 of file CoreSimVertex.h.

15 {}
CoreSimVertex::CoreSimVertex ( const math::XYZVectorD v,
float  tof 
)
inline

Definition at line 17 of file CoreSimVertex.h.

References theVertex.

17 { theVertex.SetXYZT(v.x(), v.y(), v.z(), tof); }
math::XYZTLorentzVectorD theVertex
Definition: CoreSimVertex.h:31
CoreSimVertex::CoreSimVertex ( const math::XYZTLorentzVectorD v)
inline

Definition at line 19 of file CoreSimVertex.h.

References theVertex.

19 { theVertex.SetXYZT(v.x(), v.y(), v.z(), v.t()); }
math::XYZTLorentzVectorD theVertex
Definition: CoreSimVertex.h:31

Member Function Documentation

EncodedEventId CoreSimVertex::eventId ( ) const
inline

Definition at line 25 of file CoreSimVertex.h.

References eId.

Referenced by edm::TestMix::analyze(), ntupleDataFormat.Event::eventIdStr(), and TrackingTruthAccumulator::fillSimHits().

25 { return eId; }
EncodedEventId eId
Definition: CoreSimVertex.h:30
const math::XYZTLorentzVectorD& CoreSimVertex::position ( ) const
inline
void CoreSimVertex::setEventId ( EncodedEventId  e)
inline

Definition at line 23 of file CoreSimVertex.h.

References MillePedeFileConverter_cfg::e, and eId.

Referenced by G4SimEvent::load().

void CoreSimVertex::setTof ( float  tof)
inline

Definition at line 27 of file CoreSimVertex.h.

References theVertex.

27 { theVertex.SetXYZT(theVertex.x(), theVertex.y(), theVertex.z(), tof); }
math::XYZTLorentzVectorD theVertex
Definition: CoreSimVertex.h:31

Member Data Documentation

EncodedEventId CoreSimVertex::eId
private

Definition at line 30 of file CoreSimVertex.h.

Referenced by eventId(), and setEventId().

math::XYZTLorentzVectorD CoreSimVertex::theVertex
private

Definition at line 31 of file CoreSimVertex.h.

Referenced by CoreSimVertex(), position(), and setTof().