LCFIVertex  0.7.2
Public Member Functions | List of all members
vertex_lcfi::Event Class Reference

Event. More...

#include <event.h>

Public Member Functions

 Event ()
 Default Constructor. More...
 
 Event (const Vector3 &Position, const SymMatrix3x3 &Error)
 Construct with interaction point. More...
 
 Event (Vertex *ipVertex)
 Construct with interaction point as vertex. More...
 
void addJet (Jet *Jet)
 Add Jet. More...
 
const std::vector< Jet * > & jets () const
 Get Jets. More...
 
void addTrack (Track *Track)
 Add Track. More...
 
const std::vector< Track * > & tracks () const
 Get Tracks. More...
 
void replacePrimaryVertex (Vertex *NewPrimary)
 Replace Primary Vertex. More...
 
const Vector3 & interactionPoint () const
 Interaction Point position. More...
 
const SymMatrix3x3 & interactionPointError () const
 Interaction Point position error. More...
 
Vertex * ipVertex () const
 Event Vertex. More...
 
 Event ()
 Default Constructor. More...
 
 Event (const Vector3 &Position, const SymMatrix3x3 &Error)
 Construct with interaction point. More...
 
 Event (Vertex *ipVertex)
 Construct with interaction point as vertex. More...
 
void addJet (Jet *Jet)
 Add Jet. More...
 
const std::vector< Jet * > & jets () const
 Get Jets. More...
 
void addTrack (Track *Track)
 Add Track. More...
 
const std::vector< Track * > & tracks () const
 Get Tracks. More...
 
void replacePrimaryVertex (Vertex *NewPrimary)
 Replace Primary Vertex. More...
 
const Vector3 & interactionPoint () const
 Interaction Point position. More...
 
const SymMatrix3x3 & interactionPointError () const
 Interaction Point position error. More...
 
Vertex * ipVertex () const
 Event Vertex. More...
 

Detailed Description

Event.

Description

Author
Ben Jeffery (b.jef.nosp@m.fery.nosp@m.1@phy.nosp@m.sics.nosp@m..ox.a.nosp@m.c.uk)

Definition at line 23 of file include/vertex_lcfi/inc/event.h.

Constructor & Destructor Documentation

vertex_lcfi::Event::Event ( )

Default Constructor.

Sets ip to origin and ip error to 10micron spherical

Definition at line 10 of file event.cpp.

References vertex_lcfi::MemoryManager< T >::Event().

vertex_lcfi::Event::Event ( const Vector3 &  Position,
const SymMatrix3x3 &  Error 
)

Construct with interaction point.

Parameters
Positionip position
Errorip error

Definition at line 20 of file event.cpp.

References vertex_lcfi::MemoryManager< T >::Event().

vertex_lcfi::Event::Event ( Vertex *  ipVertex)

Construct with interaction point as vertex.

Parameters
Pointerto IP Vertex

Definition at line 26 of file event.cpp.

vertex_lcfi::Event::Event ( )

Default Constructor.

Sets ip to origin and ip error to 10micron spherical

vertex_lcfi::Event::Event ( const Vector3 &  Position,
const SymMatrix3x3 &  Error 
)

Construct with interaction point.

Parameters
Positionip position
Errorip error
vertex_lcfi::Event::Event ( Vertex *  ipVertex)

Construct with interaction point as vertex.

Parameters
Pointerto IP Vertex

Member Function Documentation

void vertex_lcfi::Event::addJet ( Jet *  Jet)

Add Jet.

Parameters
JetPointer to jet

Definition at line 30 of file event.cpp.

void vertex_lcfi::Event::addJet ( Jet *  Jet)

Add Jet.

Parameters
JetPointer to jet
void vertex_lcfi::Event::addTrack ( Track *  Track)

Add Track.

Parameters
TrackPointer to track
void vertex_lcfi::Event::addTrack ( Track *  Track)

Add Track.

Parameters
TrackPointer to track

Definition at line 45 of file event.cpp.

const Vector3 & vertex_lcfi::Event::interactionPoint ( ) const
const Vector3& vertex_lcfi::Event::interactionPoint ( ) const

Interaction Point position.

Returns
Vector3 of interaction point position
const SymMatrix3x3& vertex_lcfi::Event::interactionPointError ( ) const

Interaction Point position error.

Returns
SymMatrix3x3 of interaction point position error
const SymMatrix3x3 & vertex_lcfi::Event::interactionPointError ( ) const

Interaction Point position error.

Returns
SymMatrix3x3 of interaction point position error

Definition at line 55 of file event.cpp.

References vertex_lcfi::Vertex::positionError().

Referenced by vertex_lcfi::PerEventIPFitter::calculateFor(), vertex_lcfi::ZVRES::calculateFor(), vertex_lcfi::ZVKIN::calculateFor(), and vertex_lcfi::Track::significance().

Vertex * vertex_lcfi::Event::ipVertex ( ) const

Event Vertex.

Returns
Pointer to this events primary vertex (IP)

Definition at line 60 of file event.cpp.

Referenced by vertex_lcfi::VertexDecaySignificance::calculateFor().

Vertex* vertex_lcfi::Event::ipVertex ( ) const

Event Vertex.

Returns
Pointer to this events primary vertex (IP)
const std::vector< Jet * > & vertex_lcfi::Event::jets ( ) const

Get Jets.

Returns
Vector of pointers to jets in the event

Definition at line 35 of file event.cpp.

const std::vector<Jet*>& vertex_lcfi::Event::jets ( ) const

Get Jets.

Returns
Vector of pointers to jets in the event
void vertex_lcfi::Event::replacePrimaryVertex ( Vertex *  NewPrimary)
inline

Replace Primary Vertex.

Replace the current Primary Vertex

Definition at line 73 of file vertex_lcfi/inc/event.h.

void vertex_lcfi::Event::replacePrimaryVertex ( Vertex *  NewPrimary)
inline

Replace Primary Vertex.

Replace the current Primary Vertex

Definition at line 73 of file include/vertex_lcfi/inc/event.h.

const std::vector< Track * > & vertex_lcfi::Event::tracks ( ) const

Get Tracks.

Returns
Vector of pointers to tracks in the event

Definition at line 40 of file event.cpp.

Referenced by vertex_lcfi::PerEventIPFitter::calculateFor().

const std::vector<Track*>& vertex_lcfi::Event::tracks ( ) const

Get Tracks.

Returns
Vector of pointers to tracks in the event

The documentation for this class was generated from the following files: