CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 16 of file CoreSimVertex.h.

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

Definition at line 18 of file CoreSimVertex.h.

References theVertex.

18  {
19  theVertex.SetXYZT( v.x(), v.y(), v.z(), tof) ;
20  }
math::XYZTLorentzVectorD theVertex
Definition: CoreSimVertex.h:38
CoreSimVertex::CoreSimVertex ( const math::XYZTLorentzVectorD v)
inline

Definition at line 22 of file CoreSimVertex.h.

References theVertex.

22  {
23  theVertex.SetXYZT( v.x(), v.y(), v.z(), v.t() ) ;
24  }
math::XYZTLorentzVectorD theVertex
Definition: CoreSimVertex.h:38

Member Function Documentation

EncodedEventId CoreSimVertex::eventId ( ) const
inline

Definition at line 30 of file CoreSimVertex.h.

References eId.

Referenced by edm::TestMix::analyze().

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

Definition at line 28 of file CoreSimVertex.h.

References alignCSCRings::e, and eId.

Referenced by G4SimEvent::load().

28 {eId=e;}
EncodedEventId eId
Definition: CoreSimVertex.h:37
void CoreSimVertex::setTof ( float  tof)
inline

Definition at line 32 of file CoreSimVertex.h.

References theVertex.

32  {
33  theVertex.SetXYZT(theVertex.x(),theVertex.y(),theVertex.z(),tof);
34  }
math::XYZTLorentzVectorD theVertex
Definition: CoreSimVertex.h:38

Member Data Documentation

EncodedEventId CoreSimVertex::eId
private

Definition at line 37 of file CoreSimVertex.h.

Referenced by eventId(), and setEventId().

math::XYZTLorentzVectorD CoreSimVertex::theVertex
private

Definition at line 38 of file CoreSimVertex.h.

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