Belle II Software  release-08-01-10
TRGCDCCellHit Class Reference

A class to represent a wire hit in CDC. More...

#include <CellHit.h>

Inheritance diagram for TRGCDCCellHit:
Collaboration diagram for TRGCDCCellHit:

Public Member Functions

 TRGCDCCellHit (const TRGCDCCell &, unsigned indexCDCHit=0, unsigned indexCDCSimHit=0, unsigned indexMCParticle=0, float driftLeft=0, float driftLeftError=0, float driftRight=0, float driftRightError=0, int mcLRflag=0, float fudgeFacgtor=1)
 Constructor.
 
virtual ~TRGCDCCellHit ()
 Destructor.
 
virtual void dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
 dumps debug information.
 
int mcLR (void) const
 returns mc left/right information
 
virtual const TRGCDCCellcell (void) const
 returns a pointer to a TRGCDCWire.
 
unsigned state (void) const
 returns state.
 
float drift (unsigned) const
 returns drift distance.
 
float dDrift (unsigned) const
 returns drift distance error.
 
float drift (void) const
 returns drift distance.
 
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.
 
unsigned sequence (void) const
 returns 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 CDCHithit (void) const
 Access to CDCHit.
 
const CDCSimHitsimHit (void) const
 Access to CDCSimHit.
 
const MCParticlemcParticle (void) const
 Access to MCParticle.
 
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)
 
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 (unsigned) const
 sets sequential length in one segment : this parameter is used in TCurlFinder now.
 
void setDriftTime (double driftTime, unsigned i)
 Sets drift time.
 

Static Public Member Functions

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.
 

Detailed Description

A class to represent a wire hit in CDC.

Definition at line 74 of file CellHit.h.


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