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() [1/3]

CoreSimVertex::CoreSimVertex ( )
inline

constructors

Definition at line 15 of file CoreSimVertex.h.

15 {}

◆ CoreSimVertex() [2/3]

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

Definition at line 17 of file CoreSimVertex.h.

References theVertex, and findQualityFiles::v.

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

◆ CoreSimVertex() [3/3]

CoreSimVertex::CoreSimVertex ( const math::XYZTLorentzVectorD v)
inline

Definition at line 19 of file CoreSimVertex.h.

References theVertex, and findQualityFiles::v.

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

Member Function Documentation

◆ eventId()

EncodedEventId CoreSimVertex::eventId ( ) const
inline

Definition at line 25 of file CoreSimVertex.h.

References eId.

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

25 { return eId; }
EncodedEventId eId
Definition: CoreSimVertex.h:30

◆ position()

const math::XYZTLorentzVectorD& CoreSimVertex::position ( ) const
inline

◆ setEventId()

void CoreSimVertex::setEventId ( EncodedEventId  e)
inline

Definition at line 23 of file CoreSimVertex.h.

References MillePedeFileConverter_cfg::e, and eId.

◆ setTof()

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

◆ eId

EncodedEventId CoreSimVertex::eId
private

Definition at line 30 of file CoreSimVertex.h.

Referenced by eventId(), and setEventId().

◆ theVertex

math::XYZTLorentzVectorD CoreSimVertex::theVertex
private

Definition at line 31 of file CoreSimVertex.h.

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