13#include "trg/cdc/TRGCDC.h"
14#include "trg/cdc/TrackMC.h"
25 std::vector<const TRGCDCTrackMC*>
32 for (
unsigned i = 0; i <
_list.size(); i++)
74 for (
unsigned i = 0; i <
_list.size(); i++)
84 std::cout <<
id() <<
":";
85 std::cout <<
pType() <<
":";
87 else std::cout <<
"-";
89 std::cout <<
_p <<
":" <<
_v;
90 std::cout << std::endl;
93 std::vector<const TRGCDCTrackMC*>
96 std::vector<const TRGCDCTrackMC*> t;
101 std::vector<const TRGCDCWireHitMC*>
104 std::vector<const TRGCDCWireHitMC*> t;
std::vector< TRGCDCWireHitMC * > _hits
vector of pointers to TRGCDCWireHitMC
TRGCDCTrackMC * _mother
pointer to mother TRGCDCTrackMC
const CLHEP::HepLorentzVector _p
momentum
const CLHEP::Hep3Vector _v
vertex
static std::vector< const TRGCDCTrackMC * > _list
vector of pointers to TRGCDCTrackMC
std::vector< const TRGCDCWireHitMC * > hits(void) const
returns a list of TRGCDCWireHitMC.
void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
unsigned id(void) const
returns an id started from 0.
virtual ~TRGCDCTrackMC()
Destructor.
static void update(void)
updates information.
static TRGCDCTrackMC * _undefined
returns a pointer to gen_hepevt.
TRGCDCTrackMC()
Constructor.
int pType(void) const
returns particle type.
static std::vector< const TRGCDCTrackMC * > list(void)
returns a list of TRGCDCTrackMC's.
Abstract base class for different kinds of events.