BOSS 6.6.4.p03
BESIII Offline Software System
|
A class to represent a wire in MDC. More...
#include <TMDCWire.h>
Public Member Functions | |
TMDCWire (const MdcGeoWire *, TMDCLayer *) | |
Constructor. | |
virtual | ~TMDCWire () |
Destructor. | |
unsigned | id (void) const |
returns id. | |
unsigned | localId (void) const |
returns local id in a wire 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 id. | |
const MdcGeoWire * | geocdc (void) const |
returns a pointer to GEOMDC_WIR. | |
const TMDCLayer *const | layer (void) const |
returns a pointer to a layer. | |
const TMDCWireHit *const | hit (void) const |
returns a pointer to a TMDCWireHit. | |
const TMDCTsf *const | tsf (void) const |
returns a pointer to a TMDCTsf. | |
unsigned | state (void) const |
returns 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. | |
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. | |
const TMDCWire *const | neighbor (unsigned) const |
returns a pointer to a neighbor wire. | |
bool | consective (const TMDCWire &) const |
returns true if a given wire is consective in a layer. | |
bool | adjacent (const TMDCWire &) 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. | |
const HepPoint3D & | forwardPosition (void) const |
returns position in forward endplate. | |
const HepPoint3D & | backwardPosition (void) const |
returns position in backward endplate. | |
double * | backwardPosition (double p[3]) const |
const double & | tension (void) const |
const HepPoint3D & | xyPosition (void) const |
returns middle position of a wire. z componet is 0. | |
double * | xyPosition (double p[3]) const |
const HepPoint3D | xyPosition (double z) const |
const HepVector3D & | direction (void) const |
returns direction vector of the wire. | |
void | wirePosition (float zPosition, HepPoint3D &xyPosition, HepPoint3D &backwardPosition, HepVector3D &direction) const |
calculates position and direction vector with sag correction. | |
float | cellSize (void) const |
returns cell size in phi. | |
int | localIdDifference (const TMDCWire &) const |
returns local id difference. | |
std::string | name (void) const |
returns name. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
const TMDCWireHit *const | hit (const TMDCWireHit *const) |
sets a pointer to TMDCWireHit. | |
const TMDCWireHitMC *const | hit (TMDCWireHitMC *const) |
appends a pointer to TMDCWireHitMC. | |
TMDCTsf * | tsf (TMDCTsf *) |
sets a pointer of TMDCTsf. | |
unsigned | state (unsigned newState) |
sets state. | |
void | clear (void) |
clears information. | |
A class to represent a wire in MDC.
Definition at line 55 of file TMDCWire.h.
TMDCWire::TMDCWire | ( | const MdcGeoWire * | w, |
TMDCLayer * | l | ||
) |
Constructor.
Definition at line 32 of file TMDCWire.cxx.
|
virtual |
returns true if a given wire is adjacent.
Definition at line 403 of file TMDCWire.h.
|
inline |
returns true if this wire is in an axial layer.
Definition at line 348 of file TMDCWire.h.
Referenced by name(), TMDCWireHit::TMDCWireHit(), and TMDC::update().
|
inline |
returns id of axial or stereo id.
Definition at line 360 of file TMDCWire.h.
Referenced by TConformalFinder0::findSegments().
|
inline |
Definition at line 318 of file TMDCWire.h.
|
inline |
returns position in backward endplate.
Definition at line 306 of file TMDCWire.h.
Referenced by TTrack::approach(), T3DLine::approach(), TRunge::approach(), TBuilder::initialLine(), TBuilder::initialLineOld(), TTrack::stereoHitForCurl(), and TTrack::szPosition().
|
inline |
returns cell size in phi.
Definition at line 380 of file TMDCWire.h.
|
inline |
clears information.
Definition at line 273 of file TMDCWire.h.
returns true if a given wire is consective in a layer.
Definition at line 395 of file TMDCWire.h.
|
inline |
returns direction vector of the wire.
Definition at line 342 of file TMDCWire.h.
Referenced by TTrack::approach(), T3DLine::approach(), TRunge::approach(), TCosmicFitter::fit(), TTrack::stereoHitForCurl(), and TTrack::szPosition().
void TMDCWire::dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
Definition at line 57 of file TMDCWire.cxx.
Referenced by dump().
|
inline |
returns position in forward endplate.
Definition at line 300 of file TMDCWire.h.
Referenced by TRunge::approach(), TBuilder::initialLine(), TBuilder::initialLineOld(), TTrack::stereoHitForCurl(), and TTrack::szPosition().
|
inline |
returns a pointer to GEOMDC_WIR.
Definition at line 237 of file TMDCWire.h.
|
inline |
sets a pointer to TMDCWireHit.
Definition at line 281 of file TMDCWire.h.
|
inline |
appends a pointer to TMDCWireHitMC.
Definition at line 293 of file TMDCWire.h.
|
inline |
returns a pointer to a TMDCWireHit.
Definition at line 287 of file TMDCWire.h.
Referenced by TMDC::classification(), TMDCWireHit::TMDCWireHit(), TMDC::update(), and TMDC::updateMC().
|
inline |
returns id.
Definition at line 207 of file TMDCWire.h.
Referenced by TBuilderCurl::buildStereo(), TMDC::driftDistance(), TRungeFitter::fit(), TMDC::updateMC(), and wirePosition().
|
inline |
returns true if this wire is in the inner part.
Definition at line 366 of file TMDCWire.h.
|
inline |
returns a pointer to a layer.
Definition at line 243 of file TMDCWire.h.
Referenced by TBuilder0::buildStereo(), Edges(), localIdDifference(), TTrackManager::removeHitsAcrossOverIp(), and Width().
|
inline |
returns layer id.
Definition at line 219 of file TMDCWire.h.
Referenced by TLine0::appendByszdistance(), TMLine::appendByszdistance(), TBuilderCosmic::buildStereo(), TMDCTsf::createTsf(), TPerfectFinder::doit(), TMDCTsf::dump(), TMDCWireHit::dump(), findIsolatedCloseHits(), TCosmicFitter::fit(), TRungeFitter::fit(), TLine0::fit2(), TMLine::fit2(), TLine0::fit2p(), TMLine::fit2p(), TLine0::fit2s(), TMLine::fit2s(), TLine0::fit2sp(), TMLine::fit2sp(), TTrackManager::makeTds(), TTrackManager::maskNormal(), TTrackManager::merge(), TTrack::movePivot(), neighbor(), offsetBorder(), TLine0::refine(), TMLine::refine(), TLine0::removeChits(), TMLine::removeChits(), SameLayer(), and TCircle::weight().
|
inline |
returns local id in a wire layer.
Definition at line 213 of file TMDCWire.h.
Referenced by TLine0::appendByszdistance(), TMLine::appendByszdistance(), TBuilder0::buildStereo(), TBuilderCosmic::buildStereo(), TMDCTsf::createTsf(), TMDCTsf::dump(), TMDCWireHit::dump(), Edges(), findIsolatedCloseHits(), TCosmicFitter::fit(), TRungeFitter::fit(), TLine0::fit2(), TMLine::fit2(), TLine0::fit2p(), TMLine::fit2p(), localIdDifference(), TTrackManager::makeTds(), neighbor(), TLine0::refine(), TMLine::refine(), TTrackManager::removeHitsAcrossOverIp(), TCircle::weight(), and Width().
int TMDCWire::localIdDifference | ( | const TMDCWire & | a | ) | const |
returns local id difference.
Definition at line 577 of file TMDCWire.cxx.
int TMDCWire::localIdForMinus | ( | void | ) | const |
returns localId but if 0, return maxLocalId + 1.
Definition at line 355 of file TMDCWire.cxx.
int TMDCWire::localIdForPlus | ( | void | ) | const |
returns localId but if maxLocalId, return -1.
Definition at line 166 of file TMDCWire.cxx.
|
inline |
returns local layer id in a super layer.
Definition at line 231 of file TMDCWire.h.
Referenced by TSegmentCurl::append(), TMDCTsf::createTsf(), dump(), TSegmentCurl::remove(), and TSegment::splitTsf().
|
inline |
returns true if this wire is in the main part.
Definition at line 373 of file TMDCWire.h.
|
inline |
returns name.
Definition at line 412 of file TMDCWire.h.
Referenced by TTrackBase::append(), TTrack::approach(), TTrack::assign(), TBuilder0::buildRphi(), TBuilder0::buildStereo(), TTrackManager::divide(), Dump(), TMDCWireHit::dump(), TTrackManager::salvage(), and TTrackManager::salvageAssociateHits().
const TMDCWire *const TMDCWire::neighbor | ( | unsigned | i | ) | const |
returns a pointer to a neighbor wire.
Definition at line 95 of file TMDCWire.cxx.
Referenced by adjacent(), TMDC::classification(), consective(), dump(), and TSegment::solveThreeHits().
|
inline |
|
inline |
|
inline |
returns true if this wire is in a stereo layer.
Definition at line 354 of file TMDCWire.h.
Referenced by TCosmicFitter::fit(), and TTrackManager::makeTds().
|
inline |
returns super layer id.
Definition at line 225 of file TMDCWire.h.
Referenced by TLine0::appendByszdistance(), TMLine::appendByszdistance(), TMDC::classification(), dump(), TLine0::fit2(), TMLine::fit2(), TLine0::fit2p(), TMLine::fit2p(), localIdDifference(), neighbor(), SameSuperLayer(), and Width().
|
inline |
Definition at line 312 of file TMDCWire.h.
|
inline |
returns a pointer to a TMDCTsf.
Definition at line 249 of file TMDCWire.h.
void TMDCWire::wirePosition | ( | float | zPosition, |
HepPoint3D & | xyPosition, | ||
HepPoint3D & | backwardPosition, | ||
HepVector3D & | direction | ||
) | const |
calculates position and direction vector with sag correction.
Definition at line 541 of file TMDCWire.cxx.
Referenced by TTrack::approach(), T3DLine::approach(), TRunge::approach(), TRunge::SetFlightLength(), and wirePosition().
|
inline |
Definition at line 333 of file TMDCWire.h.
const HepPoint3D TMDCWire::xyPosition | ( | double | z | ) | const |
Definition at line 76 of file TMDCWire.cxx.
|
inline |
returns middle position of a wire. z componet is 0.
Definition at line 327 of file TMDCWire.h.
Referenced by TTrack::approach(), T3DLine::approach(), TRunge::approach(), TTrack::approach2D(), calVirtualCircle(), TRunge::DisToWire(), TPerfectFinder::doit(), TTrack::fit2D(), TTrackManager::salvageAssociateHits(), and TMLink::xyPosition().