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::XYZTLorentzVectorD &v)
 
 CoreSimVertex (const math::XYZVectorD &v, float tof)
 
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.

17 { theVertex.SetXYZT(v.x(), v.y(), v.z(), tof); }

References theVertex, and findQualityFiles::v.

◆ CoreSimVertex() [3/3]

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

Definition at line 19 of file CoreSimVertex.h.

19 { theVertex.SetXYZT(v.x(), v.y(), v.z(), v.t()); }

References theVertex, and findQualityFiles::v.

Member Function Documentation

◆ eventId()

EncodedEventId CoreSimVertex::eventId ( ) const
inline

Definition at line 25 of file CoreSimVertex.h.

25 { return eId; }

References eId.

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

◆ position()

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

◆ setEventId()

void CoreSimVertex::setEventId ( EncodedEventId  e)
inline

Definition at line 23 of file CoreSimVertex.h.

23 { eId = e; }

References MillePedeFileConverter_cfg::e, and eId.

◆ setTof()

void CoreSimVertex::setTof ( float  tof)
inline

Definition at line 27 of file CoreSimVertex.h.

27 { theVertex.SetXYZT(theVertex.x(), theVertex.y(), theVertex.z(), tof); }

References theVertex.

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().

CoreSimVertex::theVertex
math::XYZTLorentzVectorD theVertex
Definition: CoreSimVertex.h:31
findQualityFiles.v
v
Definition: findQualityFiles.py:179
CoreSimVertex::eId
EncodedEventId eId
Definition: CoreSimVertex.h:30
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37