1#ifndef Event_McTrajectory_H
2#define Event_McTrajectory_H 1
7#include "CLHEP/Geometry/Point3D.h"
8#include "GaudiKernel/Kernel.h"
9#include "GaudiKernel/ContainedObject.h"
10#include "GaudiKernel/SmartRefVector.h"
11#include "GaudiKernel/ObjectVector.h"
12#include "GaudiKernel/ObjectList.h"
13#include "McTruth/McParticle.h"
29 void addPoints(std::vector<Hep3Vector>& points);
40 std::vector<Hep3Vector>&
getPoints(){
return m_points;}
48 SmartRef<McParticle> m_mcParticle;
50 std::vector<Hep3Vector> m_points;
const CLID & CLID_McTrajectory
int getCharge() const
get, set charge
const McParticle * getMcParticle() const
Get the pointer to the McParticle.
void setMcParticle(SmartRef< McParticle > value)
Set the pointer to the McParticle.
void setCharge(int charge)
static const CLID & classID()
virtual const CLID & clID() const
void addPoints(std::vector< Hep3Vector > &points)
Add the 3d points to the trajectory.
std::vector< Hep3Vector > & getPoints()
Get the 3d points.
ObjectList< McTrajectory > McTrajectoryList
ObjectVector< McTrajectory > McTrajectoryCol
ObjectVector< McTrajectory > McTrajectoryVector