CMS 3D CMS Logo

Public Member Functions | Private Attributes

CoreSimVertex Class Reference

#include <CoreSimVertex.h>

Inheritance diagram for CoreSimVertex:
SimVertex FSimVertex

List of all members.

Public Member Functions

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

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

Definition at line 18 of file CoreSimVertex.h.

References theVertex.

                                                     { 
    theVertex.SetXYZT( v.x(), v.y(), v.z(), tof) ;
  }
CoreSimVertex::CoreSimVertex ( const math::XYZTLorentzVectorD v) [inline]

Definition at line 22 of file CoreSimVertex.h.

References theVertex.

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

Member Function Documentation

EncodedEventId CoreSimVertex::eventId ( ) const [inline]

Definition at line 30 of file CoreSimVertex.h.

References eId.

Referenced by edm::TestMix::analyze(), and TrackingTruthProducer::setTrackingVertex().

{return eId;}
const math::XYZTLorentzVectorD& CoreSimVertex::position ( void  ) const [inline]
void CoreSimVertex::setEventId ( EncodedEventId  e) [inline]

Definition at line 28 of file CoreSimVertex.h.

References eId.

Referenced by G4SimEvent::load().

{eId=e;}
void CoreSimVertex::setTof ( float  tof) [inline]

Definition at line 32 of file CoreSimVertex.h.

References theVertex.

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

Member Data Documentation

Definition at line 37 of file CoreSimVertex.h.

Referenced by eventId(), and setEventId().

Definition at line 38 of file CoreSimVertex.h.

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