BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event::McTrajectory Class Reference

#include <McTrajectory.h>

Inheritance diagram for Event::McTrajectory:

Public Member Functions

virtual const CLID & clID () const
 McTrajectory ()
 ~McTrajectory ()
void addPoints (std::vector< Hep3Vector > &points)
 Add the 3d points to the trajectory.
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).
const McParticlegetMcParticle () const
 Get the pointer to the McParticle.
McParticlegetMcParticle ()
std::vector< Hep3Vector > & getPoints ()
 Get the 3d points.
int getCharge () const
 get, set charge
void setCharge (int charge)
virtual const CLID & clID () const
 McTrajectory ()
 ~McTrajectory ()
void addPoints (std::vector< Hep3Vector > &points)
 Add the 3d points to the trajectory.
void setMcParticle (SmartRef< McParticle > value)
 Set the pointer to the McParticle.
void setMcParticle (McParticle *value)
const McParticlegetMcParticle () const
 Get the pointer to the McParticle.
McParticlegetMcParticle ()
std::vector< Hep3Vector > & getPoints ()
 Get the 3d points.
int getCharge () const
 get, set charge
void setCharge (int charge)
virtual const CLID & clID () const
 McTrajectory ()
 ~McTrajectory ()
void addPoints (std::vector< Hep3Vector > &points)
 Add the 3d points to the trajectory.
void setMcParticle (SmartRef< McParticle > value)
 Set the pointer to the McParticle.
void setMcParticle (McParticle *value)
const McParticlegetMcParticle () const
 Get the pointer to the McParticle.
McParticlegetMcParticle ()
std::vector< Hep3Vector > & getPoints ()
 Get the 3d points.
int getCharge () const
 get, set charge
void setCharge (int charge)

Static Public Member Functions

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

Detailed Description

Definition at line 19 of file Event/McTruth/include/McTruth/McTrajectory.h.

Constructor & Destructor Documentation

◆ McTrajectory() [1/3]

Event::McTrajectory::McTrajectory ( )
inline

Definition at line 24 of file Event/McTruth/include/McTruth/McTrajectory.h.

24{}

◆ ~McTrajectory() [1/3]

Event::McTrajectory::~McTrajectory ( )
inline

Definition at line 25 of file Event/McTruth/include/McTruth/McTrajectory.h.

25{}

◆ McTrajectory() [2/3]

Event::McTrajectory::McTrajectory ( )
inline

◆ ~McTrajectory() [2/3]

Event::McTrajectory::~McTrajectory ( )
inline

◆ McTrajectory() [3/3]

Event::McTrajectory::McTrajectory ( )
inline

◆ ~McTrajectory() [3/3]

Event::McTrajectory::~McTrajectory ( )
inline

Member Function Documentation

◆ addPoints() [1/3]

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

Add the 3d points to the trajectory.

Definition at line 16 of file McTrajectory.cxx.

16{ m_points = points; }

◆ addPoints() [2/3]

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

Add the 3d points to the trajectory.

◆ addPoints() [3/3]

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

Add the 3d points to the trajectory.

◆ classID() [1/3]

const CLID & Event::McTrajectory::classID ( )
inlinestatic

Definition at line 22 of file Event/McTruth/include/McTruth/McTrajectory.h.

22{ return CLID_McTrajectory; }
const CLID & CLID_McTrajectory

Referenced by clID().

◆ classID() [2/3]

const CLID & Event::McTrajectory::classID ( )
inlinestatic

◆ classID() [3/3]

const CLID & Event::McTrajectory::classID ( )
inlinestatic

◆ clID() [1/3]

virtual const CLID & Event::McTrajectory::clID ( ) const
inlinevirtual

◆ clID() [2/3]

virtual const CLID & Event::McTrajectory::clID ( ) const
inlinevirtual

◆ clID() [3/3]

virtual const CLID & Event::McTrajectory::clID ( ) const
inlinevirtual

◆ getCharge() [1/3]

int Event::McTrajectory::getCharge ( ) const
inline

get, set charge

Definition at line 42 of file Event/McTruth/include/McTruth/McTrajectory.h.

42{ return m_charge; }

◆ getCharge() [2/3]

int Event::McTrajectory::getCharge ( ) const
inline

get, set charge

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McTrajectory.h.

42{ return m_charge; }

◆ getCharge() [3/3]

int Event::McTrajectory::getCharge ( ) const
inline

get, set charge

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McTrajectory.h.

42{ return m_charge; }

◆ getMcParticle() [1/6]

McParticle * Event::McTrajectory::getMcParticle ( )

Definition at line 9 of file McTrajectory.cxx.

9{ return m_mcParticle; }

◆ getMcParticle() [2/6]

McParticle * Event::McTrajectory::getMcParticle ( )

◆ getMcParticle() [3/6]

McParticle * Event::McTrajectory::getMcParticle ( )

◆ getMcParticle() [4/6]

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

Get the pointer to the McParticle.

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

Definition at line 8 of file McTrajectory.cxx.

8{ return m_mcParticle; }

◆ getMcParticle() [5/6]

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

Get the pointer to the McParticle.

◆ getMcParticle() [6/6]

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

Get the pointer to the McParticle.

◆ getPoints() [1/3]

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

Get the 3d points.

Definition at line 39 of file Event/McTruth/include/McTruth/McTrajectory.h.

39{ return m_points; }

◆ getPoints() [2/3]

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

Get the 3d points.

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McTrajectory.h.

39{ return m_points; }

◆ getPoints() [3/3]

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

Get the 3d points.

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McTrajectory.h.

39{ return m_points; }

◆ setCharge() [1/3]

void Event::McTrajectory::setCharge ( int charge)
inline

Definition at line 43 of file Event/McTruth/include/McTruth/McTrajectory.h.

43{ m_charge = charge; }

◆ setCharge() [2/3]

void Event::McTrajectory::setCharge ( int charge)
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McTrajectory.h.

43{ m_charge = charge; }

◆ setCharge() [3/3]

void Event::McTrajectory::setCharge ( int charge)
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McTrajectory.h.

43{ m_charge = charge; }

◆ setMcParticle() [1/6]

void Event::McTrajectory::setMcParticle ( McParticle * value)

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

Definition at line 12 of file McTrajectory.cxx.

12{ m_mcParticle = value; }

◆ setMcParticle() [2/6]

void Event::McTrajectory::setMcParticle ( McParticle * value)

◆ setMcParticle() [3/6]

void Event::McTrajectory::setMcParticle ( McParticle * value)

◆ setMcParticle() [4/6]

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

Set the pointer to the McParticle.

Definition at line 14 of file McTrajectory.cxx.

14{ m_mcParticle = value; }

◆ setMcParticle() [5/6]

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

Set the pointer to the McParticle.

◆ setMcParticle() [6/6]

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

Set the pointer to the McParticle.


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