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