Belle II Software development
TRGCDCTrackMC Class Reference

A class to represent a GEN_HEPEVT particle in tracking. More...

#include <TrackMC.h>

Public Member Functions

virtual ~TRGCDCTrackMC ()
 Destructor.
 
std::string name (void) const
 returns name.
 
unsigned id (void) const
 returns an id started from 0.
 
int status (void) const
 returns status.
 
int pType (void) const
 returns particle type.
 
const TRGCDCTrackMCmother (void) const
 returns a pointer to a mother.
 
const TRGCDCTrackMCchild (unsigned i) const
 returns a pointer to i'th child.
 
const CLHEP::HepLorentzVector & p (void) const
 returns momentum vector.
 
const CLHEP::Hep3Vector & v (void) const
 returns position vector.
 
void dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
 dumps debug information.
 
std::vector< const TRGCDCWireHitMC * > hits (void) const
 returns a list of TRGCDCWireHitMC.
 

Static Public Member Functions

static std::vector< const TRGCDCTrackMC * > list (void)
 returns a list of TRGCDCTrackMC's.
 

Static Public Attributes

static TRGCDCTrackMC_undefined = new TRGCDCTrackMC()
 returns a pointer to gen_hepevt.
 

Private Member Functions

 TRGCDCTrackMC ()
 Constructor.
 

Static Private Member Functions

static void update (void)
 updates information.
 

Private Attributes

TRGCDCTrackMC_mother = nullptr
 pointer to mother TRGCDCTrackMC
 
std::vector< TRGCDCTrackMC * > _children
 vector of pointers to children TRGCDCTrackMC
 
const CLHEP::HepLorentzVector _p
 momentum
 
const CLHEP::Hep3Vector _v
 vertex
 
std::vector< TRGCDCWireHitMC * > _hits
 vector of pointers to TRGCDCWireHitMC
 

Static Private Attributes

static std::vector< const TRGCDCTrackMC * > _list = std::vector<const TRGCDCTrackMC*>()
 vector of pointers to TRGCDCTrackMC
 

Friends

class TRGCDC
 

Detailed Description

A class to represent a GEN_HEPEVT particle in tracking.

Definition at line 32 of file TrackMC.h.

Friends And Related Function Documentation

◆ TRGCDC

friend class TRGCDC
friend

Definition at line 107 of file TrackMC.h.

Member Data Documentation

◆ _children

std::vector<TRGCDCTrackMC*> _children
private

vector of pointers to children TRGCDCTrackMC

Definition at line 95 of file TrackMC.h.

◆ _hits

std::vector<TRGCDCWireHitMC*> _hits
private

vector of pointers to TRGCDCWireHitMC

Definition at line 101 of file TrackMC.h.

◆ _mother

TRGCDCTrackMC* _mother = nullptr
private

pointer to mother TRGCDCTrackMC

Definition at line 93 of file TrackMC.h.

◆ _p

const CLHEP::HepLorentzVector _p
private

momentum

Definition at line 97 of file TrackMC.h.

◆ _v

const CLHEP::Hep3Vector _v
private

vertex

Definition at line 99 of file TrackMC.h.


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