|
| TRGCDCWire (unsigned id, unsigned localId, const TRGCDCLayer &, const HepGeom::Point3D< double > &forwardPosition, const HepGeom::Point3D< double > &backwardPosition, const TRGClock &clock) |
| Constructor.
|
|
virtual | ~TRGCDCWire () |
| Destructor.
|
|
const TRGCDCWireHit * | hit (void) const |
| returns a pointer to a TRGCDCWireHit.
|
|
const TRGCDCWire * | neighbor (unsigned) const |
| returns a pointer to a neighbor wire. This function is expensive.
|
|
bool | consecutive (const TRGCDCWire &) const |
| returns true if a given wire is consecutive in a layer.
|
|
bool | adjacent (const TRGCDCWire &) const |
| returns true if a given wire is adjacent.
|
|
int | localIdForPlus (void) const |
| returns localId but if maxLocalId, return -1.
|
|
int | localIdForMinus (void) const |
| returns localId but if 0, return maxLocalId + 1.
|
|
std::string | name (void) const override |
| returns name.
|
|
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override |
| dumps debug information.
|
|
void | clear (void) override |
| clears information.
|
|
const TRGCDCWireHit * | hit (const TRGCDCWireHit *) |
| returns a pointer to a TRGCDCWireHit.
|
|
const TRGCDCWireHitMC * | hit (TRGCDCWireHitMC *) |
| appends a pointer to TRGCDCWireHitMC.
|
|
void | addSignal (const TRGSignal &newSignal) |
| set signal |= newSignal
|
|
void | addSignal_adc (const TRGSignal &newSignal) |
| set signal |= newSignal
|
|
const TRGSignal & | signal (void) const override |
| returns an input to the trigger. This is sync'ed to 1GHz clock.
|
|
const TRGSignal & | signal_adc (void) const override |
| returns an input to the trigger. This is sync'ed to 1GHz clock.
|
|
unsigned | id (void) const |
| returns id.
|
|
unsigned | localId (void) const |
| returns local id in a layer.
|
|
unsigned | layerId (void) const |
| returns layer id.
|
|
unsigned | localLayerId (void) const |
| returns local layer id in a super layer.
|
|
unsigned | superLayerId (void) const |
| returns super layer id.
|
|
unsigned | axialStereoLayerId (void) const |
| returns id of axial or stereo layer id.
|
|
unsigned | axialStereoSuperLayerId (void) const |
| returns id of axial or stereo super layer id.
|
|
const TRGCDCLayer & | layer (void) const |
| returns a pointer to a layer.
|
|
unsigned | state (void) const |
| returns state.
|
|
unsigned | state (unsigned newState) |
| sets state.
|
|
bool | axial (void) const |
| returns true if this wire is in an axial layer.
|
|
bool | stereo (void) const |
| returns true if this wire is in a stereo layer.
|
|
int | localIdDifference (const TRGCDCCell &) const |
| returns local id difference.
|
|
const HepGeom::Point3D< double > & | forwardPosition (void) const |
| returns position in forward endplate.
|
|
const HepGeom::Point3D< double > & | backwardPosition (void) const |
| returns position in backward endplate.
|
|
double * | backwardPosition (double p[3]) const |
| position in backward endplate.
|
|
const HepGeom::Point3D< double > & | xyPosition (void) const |
| returns middle position of a wire. z component is 0.
|
|
double * | xyPosition (double p[3]) const |
| middle position of a wire. z component is 0.
|
|
const Vector3D & | direction (void) const |
| returns direction vector of the wire.
|
|
float | cellSize (void) const |
| calculates position and direction vector with sag correction.
|
|
virtual bool | hasMember (const std::string &a) const |
| returns true this has member named a.
|
|
const TRGCDCCellHit * | hit (const TRGCDCCellHit *) |
| sets a pointer to TRGCDCWireHit.
|
|
bool | innerPart (void) const |
| returns true if this wire is in the inner part.
|
|
bool | mainPart (void) const |
| returns true if this wire is in the main part.
|
|