Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Event::McTrajectory Class Reference

#include <McTrajectory.h>

Inheritance diagram for Event::McTrajectory:

ContainedObject ContainedObject List of all members.

Public Member Functions

void addPoints (std::vector< Hep3Vector > &points)
 Add the 3d points to the trajectory.
void addPoints (std::vector< Hep3Vector > &points)
 Add the 3d points to the trajectory.
virtual const CLID & clID () const
virtual const CLID & clID () const
int getCharge () const
 get, set charge
int getCharge () const
 get, set charge
McParticlegetMcParticle ()
const McParticlegetMcParticle () const
 Get the pointer to the McParticle.
McParticlegetMcParticle ()
const McParticlegetMcParticle () const
 Retrieve pointer to McParticle (const or non-const).
std::vector< Hep3Vector > & getPoints ()
 Get the 3d points.
std::vector< Hep3Vector > & getPoints ()
 Get the 3d points.
 McTrajectory ()
 McTrajectory ()
void setCharge (int charge)
void setCharge (int charge)
void setMcParticle (McParticle *value)
void setMcParticle (SmartRef< McParticle > value)
 Set the pointer to the McParticle.
void setMcParticle (McParticle *value)
 Update pointer to McParticle (by a C++ pointer or a smart reference).
void setMcParticle (SmartRef< McParticle > value)
 Set the pointer to the McParticle.
 ~McTrajectory ()
 ~McTrajectory ()

Static Public Member Functions

const CLID & classID ()
const CLID & classID ()

Private Attributes

int m_charge
 the (redundant?) charge
SmartRef< McParticlem_mcParticle
 Pointer to McParticle of this trajectory.
SmartRef< McParticlem_mcParticle
 Pointer to McParticle of this trajectory.
std::vector< Hep3Vector > m_points
 The point of the trajectory.
std::vector< Hep3Vector > m_points
 The point of the trajectory.

Constructor & Destructor Documentation

Event::McTrajectory::McTrajectory  )  [inline]
 

00025 {}

Event::McTrajectory::~McTrajectory  )  [inline]
 

00026 {}

Event::McTrajectory::McTrajectory  )  [inline]
 

00025 {}

Event::McTrajectory::~McTrajectory  )  [inline]
 

00026 {}


Member Function Documentation

void Event::McTrajectory::addPoints std::vector< Hep3Vector > &  points  ) 
 

Add the 3d points to the trajectory.

void Event::McTrajectory::addPoints std::vector< Hep3Vector > &  points  ) 
 

Add the 3d points to the trajectory.

00024                                                           {
00025   m_points = points;
00026 }

const CLID& Event::McTrajectory::classID  )  [inline, static]
 

00023 { return CLID_McTrajectory; }

const CLID& Event::McTrajectory::classID  )  [inline, static]
 

00023 { return CLID_McTrajectory; }

virtual const CLID& Event::McTrajectory::clID  )  const [inline, virtual]
 

00022 { return McTrajectory::classID(); }

virtual const CLID& Event::McTrajectory::clID  )  const [inline, virtual]
 

00022 { return McTrajectory::classID(); }

int Event::McTrajectory::getCharge  )  const [inline]
 

get, set charge

00043 { return m_charge; }

int Event::McTrajectory::getCharge  )  const [inline]
 

get, set charge

00043 { return m_charge; }

McParticle* Event::McTrajectory::getMcParticle  ) 
 

const McParticle* Event::McTrajectory::getMcParticle  )  const
 

Get the pointer to the McParticle.

McParticle * Event::McTrajectory::getMcParticle  ) 
 

00011                                         {
00012     return m_mcParticle; 
00013 }

const McParticle * Event::McTrajectory::getMcParticle  )  const
 

Retrieve pointer to McParticle (const or non-const).

00008                                                     {
00009     return m_mcParticle; 
00010 }

std::vector<Hep3Vector>& Event::McTrajectory::getPoints  )  [inline]
 

Get the 3d points.

00040 {return m_points;}

std::vector<Hep3Vector>& Event::McTrajectory::getPoints  )  [inline]
 

Get the 3d points.

00040 {return m_points;}

void Event::McTrajectory::setCharge int  charge  )  [inline]
 

00044 { m_charge=charge;}

void Event::McTrajectory::setCharge int  charge  )  [inline]
 

00044 { m_charge=charge;}

void Event::McTrajectory::setMcParticle McParticle value  ) 
 

void Event::McTrajectory::setMcParticle SmartRef< McParticle value  ) 
 

Set the pointer to the McParticle.

void Event::McTrajectory::setMcParticle McParticle value  ) 
 

Update pointer to McParticle (by a C++ pointer or a smart reference).

00016                                                    {
00017     m_mcParticle = value; 
00018 }

void Event::McTrajectory::setMcParticle SmartRef< McParticle value  ) 
 

Set the pointer to the McParticle.

00020                                                              { 
00021     m_mcParticle = value; 
00022 }


Member Data Documentation

int Event::McTrajectory::m_charge [private]
 

the (redundant?) charge

SmartRef<McParticle> Event::McTrajectory::m_mcParticle [private]
 

Pointer to McParticle of this trajectory.

SmartRef<McParticle> Event::McTrajectory::m_mcParticle [private]
 

Pointer to McParticle of this trajectory.

std::vector<Hep3Vector> Event::McTrajectory::m_points [private]
 

The point of the trajectory.

std::vector<Hep3Vector> Event::McTrajectory::m_points [private]
 

The point of the trajectory.


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 19:20:48 2011 for BOSS6.5.5 by  doxygen 1.3.9.1