Belle II Software
release-08-01-10
|
A class to represent a track segment hit in CDC. More...
#include <SegmentHit.h>
Public Member Functions | |
TRGCDCSegmentHit (const TRGCDCSegment &) | |
Constructor. | |
virtual | ~TRGCDCSegmentHit () |
Destructor. | |
virtual void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override |
dumps debug information. | |
const TRGCDCSegment & | segment (void) const |
returns a pointer to a track segment. | |
const TRGSignal & | signal (void) const |
returns trigger output. Null will returned if no signal. | |
int | mcLR (void) const |
returns mc left/right information | |
virtual const TRGCDCCell & | cell (void) const |
returns a pointer to a TRGCDCWire. | |
unsigned | state (void) const |
returns state. | |
unsigned | state (unsigned newState) |
sets state. Meaning of bits are written below. | |
unsigned | state (unsigned newState) const |
sets state. Meaning of bits are written below. (tmp) | |
float | drift (unsigned) const |
returns drift distance. | |
float | drift (void) const |
returns drift distance. | |
float | dDrift (unsigned) const |
returns drift distance error. | |
float | dDrift (void) const |
returns drift distance error. | |
const HepGeom::Point3D< double > & | xyPosition (void) const |
returns position in the middle of wire. z is always zero, however. | |
HepGeom::Point3D< double > | position (unsigned) const |
returns left position. z is always zero. | |
const void * | track (void) const |
assigns a pointer to a TTrack. | |
const void * | track (const void *) |
assigns a pointer to a TTrack. | |
const void * | track (const void *) const |
assigns a pointer to a TTrack. (tmp) | |
unsigned | sequence (void) const |
returns sequential Length in one segment : this parameter is used in TCurlFinder now. | |
unsigned | sequence (unsigned) const |
sets sequential length in one segment : this parameter is used in TCurlFinder now. | |
unsigned | iCDCHit (void) const |
returns an index to CDCHit. | |
unsigned | iCDCSimHit (void) const |
returns an index to CDCSimHit. | |
unsigned | iMCParticle (void) const |
returns an index to MCParticle. | |
const CDCHit * | hit (void) const |
Access to CDCHit. | |
const CDCSimHit * | simHit (void) const |
Access to CDCSimHit. | |
const MCParticle * | mcParticle (void) const |
Access to MCParticle. | |
void | setDriftTime (double driftTime, unsigned i) |
Sets drift time. | |
Static Public Member Functions | |
static void | removeAll (void) |
destructs all TRGCDCCellHit objects. (Called by TRGCDC) | |
static void * | operator new (size_t) |
new operator. | |
static void | operator delete (void *) |
delete operator. | |
static int | sortById (const TRGCDCSegmentHit **a, const TRGCDCSegmentHit **b) |
Sorting funnction. | |
static int | sortById (const TRGCDCCellHit **a, const TRGCDCCellHit **b) |
Sort function. | |
Private Attributes | |
int | _mcLR |
mc left/right information | |
unsigned | _state |
state, defined above | |
float | _drift [2] |
drift distance | |
float | _driftError [2] |
drift distance error | |
const TRGCDCCell & | _cell |
a pointer to a TRGCDCWire | |
const HepGeom::Point3D< double > & | _xyPosition |
position in the middle of wire. z is always zero, however. | |
const void * | _track |
a pointer to a TTrack | |
unsigned | _sequentialLength |
sequential Length in one segment | |
unsigned | _iCDCHit |
Index to CDCHit array. | |
unsigned | _iCDCSimHit |
Index to CDCSimHit array. | |
unsigned | _iMCParticle |
Index to MCParticle array. | |
Static Private Attributes | |
static std::vector< TRGCDCSegmentHit * > | _all |
Keeps all TRGCDCSegmentHit created by new(). | |
A class to represent a track segment hit in CDC.
Definition at line 31 of file SegmentHit.h.