CMS 3D CMS Logo

CoreSimVertex Class Reference

a generic Simulated Vertex More...

#include <SimDataFormats/Vertex/interface/CoreSimVertex.h>

Inheritance diagram for CoreSimVertex:

SimVertex FSimVertex

List of all members.

Public Member Functions

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

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.

00016 {}

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

Definition at line 18 of file CoreSimVertex.h.

References theVertex.

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

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

Definition at line 21 of file CoreSimVertex.h.

References theVertex.

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


Member Function Documentation

EncodedEventId CoreSimVertex::eventId (  )  const [inline]

Definition at line 29 of file CoreSimVertex.h.

References eId.

00029 {return eId;}

const math::XYZTLorentzVectorD& CoreSimVertex::position ( void   )  const [inline]

Reimplemented in FSimVertex.

Definition at line 25 of file CoreSimVertex.h.

References theVertex.

Referenced by FBaseSimEvent::fill(), PizeroMCTruthFinder::find(), ElectronMCTruthFinder::find(), PhotonMCTruthFinder::find(), HTrackAssociator::getFreeTrajectoryState(), TrackDetectorAssociator::getFreeTrajectoryState(), operator<<(), and TrajectorySeedProducer::produce().

00025 { return theVertex; }

void CoreSimVertex::setEventId ( EncodedEventId  e  )  [inline]

Definition at line 28 of file CoreSimVertex.h.

References eId.

Referenced by CrossingFrame< T >::addPileups(), and G4SimEvent::load().

00028 {eId=e;}


Member Data Documentation

EncodedEventId CoreSimVertex::eId [private]

Definition at line 32 of file CoreSimVertex.h.

Referenced by eventId(), and setEventId().

math::XYZTLorentzVectorD CoreSimVertex::theVertex [private]

Definition at line 33 of file CoreSimVertex.h.

Referenced by CoreSimVertex(), and position().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:16:49 2009 for CMSSW by  doxygen 1.5.4