BOSS 6.6.4.p03
BESIII Offline Software System
|
#include <TMDC.h>
Public Member Functions | |
std::string | name (void) const |
returns name. | |
std::string | version (void) const |
returns version. | |
std::string | cdcVersion (void) const |
returns MDC version. | |
void | dump (const std::string &message) const |
dumps debug information. | |
int | debugLevel (void) const |
returns debug level. | |
float | fudgeFactor (void) const |
returns fudge factor for drift time error. | |
void | clear (void) |
clears all TMDC information. | |
void | fastClear (void) |
clears TMDC information. | |
void | update (bool mcAnalysis=true) |
updates TMDC information. clear() is called in this function. | |
int | debugLevel (int) |
sets debug level. | |
float | fudgeFactor (float) |
sets/returns fudge factor for drift time error. | |
const TMDCWire *const | wire (unsigned wireId) const |
returns a pointer to a wire. 0 will be returned if 'wireId' is invalid. | |
const TMDCWire *const | wire (unsigned layerId, int localId) const |
returns a pointer to a wire. 'localId' can be negative. 0 will be returned if 'layerId' is invalid. | |
const TMDCWire *const | wire (const HepPoint3D &point) const |
returns a pointer to a wire. | |
const TMDCWire *const | wire (float r, float phi) const |
returns a pointer to a wire. | |
const TMDCLayer *const | layer (unsigned id) const |
returns a pointer to a layer. 0 will be returned if 'id' is invalid. | |
const AList< TMDCLayer > *const | superLayer (unsigned id) const |
returns a pointer to a super-layer. 0 will be returned if 'id' is invalid. | |
unsigned | nLocalLayer (unsigned superLayerId) const |
returns # of wire layers in a super layer. 0 will be returned if 'superLayerId' is invalid. | |
const AList< TMDCWireHit > & | hits (unsigned mask=0) const |
returns a list of TMDCWireHit. 'update()' must be called before calling this function. | |
const AList< TMDCWireHit > & | axialHits (unsigned mask=0) const |
returns a list of axial hits. 'update()' must be called before calling this function. | |
const AList< TMDCWireHit > & | stereoHits (unsigned mask=0) const |
returns a list of stereo hits. 'update()' must be called before calling this function. | |
const AList< TMDCWireHitMC > & | hitsMC (void) const |
returns a list of TMDCWireHitMC. 'updateMC()' must be called before calling this function. | |
const AList< TMDCWireHit > & | badHits (void) |
returns bad hits(finding invalid hits). | |
unsigned | nWires (void) const |
unsigned | nSuperLayers (void) const |
unsigned | nLayers (void) const |
void | classification (void) |
classify hits. | |
void | updateMC (void) |
updates TMDC information for MC. | |
Static Public Member Functions | |
static TMDC * | getTMDC (const std::string &cdcVersion) |
returns TMDC object. | |
static TMDC * | getTMDC (void) |
static std::string | wireName (unsigned wireId) |
static std::string | wireName (const MdcGeoWire *const) |
static std::string | wireName (const MdcRec_wirhit &) |
static unsigned | layerId (unsigned wireId) |
static unsigned | layerId (const MdcGeoWire *const) |
static unsigned | localId (unsigned wireId) |
static unsigned | localId (const MdcGeoWire *const) |
static unsigned | superLayerId (unsigned wireId) |
static unsigned | superLayerId (const MdcGeoWire *const) |
static unsigned | superLayerId (const MdcGeoLayer *const) |
static unsigned | localLayerId (unsigned wireId) |
static unsigned | localLayerId (const MdcGeoWire *const) |
static unsigned | localLayerId (const MdcGeoLayer *const) |
static unsigned | axialStereoLayerId (const MdcGeoLayer *const) |
static unsigned | layerId (unsigned axialStereo, unsigned axialStereoLayerId) |
static float | phi (float phi) |
static void | driftDistance (TMLink &link, const TTrack &track, unsigned correctionFlag=0, float T0Offset=0.) |
calculates corrected drift time. correctionFlag(bit 0:tof, 1:T0 offset, 2:propagation delay, 3:tan(lambda) correction) | |
A class to represent MDC.
The instance of TMDC is a singleton. 'TMDC::getTMDC()' gives you a pointer to access the TMDC. Geometrical information is initialized automatically. Before accessing hit information, user has to call 'update()' to initialize hit information event by event.
const AList< TMDCWireHit > & TMDC::axialHits | ( | unsigned | mask = 0 | ) | const |
returns a list of axial hits. 'update()' must be called before calling this function.
Definition at line 518 of file TMDC.cxx.
Referenced by TrkReco::execute().
|
static |
Definition at line 991 of file TMDC.cxx.
Referenced by TMDCLayer::TMDCLayer().
const AList< TMDCWireHit > & TMDC::badHits | ( | void | ) |
returns bad hits(finding invalid hits).
Definition at line 542 of file TMDC.cxx.
|
inline |
void TMDC::classification | ( | void | ) |
classify hits.
Definition at line 445 of file TMDC.cxx.
Referenced by update().
|
virtual |
clears all TMDC information.
Reimplemented from TUpdater.
Definition at line 282 of file TMDC.cxx.
Referenced by fastClear().
|
inline |
|
inline |
|
static |
calculates corrected drift time. correctionFlag(bit 0:tof, 1:T0 offset, 2:propagation delay, 3:tan(lambda) correction)
Definition at line 1029 of file TMDC.cxx.
void TMDC::dump | ( | const std::string & | message | ) | const |
dumps debug information.
Definition at line 181 of file TMDC.cxx.
Referenced by dump().
void TMDC::fastClear | ( | void | ) |
clears TMDC information.
Definition at line 298 of file TMDC.cxx.
Referenced by TrkReco::finalize(), and update().
|
inline |
|
inline |
|
static |
|
static |
Definition at line 95 of file TMDC.cxx.
Referenced by TBuilder0::buildStereo(), TConformalFinder::conformal2Wire(), TMDCTsf::createTsf(), TPerfectFinder::doit(), and TMDCWire::neighbor().
const AList< TMDCWireHit > & TMDC::hits | ( | unsigned | mask = 0 | ) | const |
returns a list of TMDCWireHit. 'update()' must be called before calling this function.
Definition at line 534 of file TMDC.cxx.
Referenced by TrkReco::execute().
|
inline |
returns a list of TMDCWireHitMC. 'updateMC()' must be called before calling this function.
Definition at line 265 of file TMDC.h.
Referenced by TPerfectFinder::doit().
|
inline |
returns a pointer to a layer. 0 will be returned if 'id' is invalid.
Definition at line 259 of file TMDC.h.
Referenced by TMDCTsf::createTsf(), TMDCWire::neighbor(), and wire().
|
static |
|
static |
Definition at line 1004 of file TMDC.cxx.
|
static |
Definition at line 598 of file TMDC.cxx.
Referenced by localLayerId(), wire(), and wireName().
|
static |
|
static |
Definition at line 676 of file TMDC.cxx.
Referenced by wire(), and wireName().
|
static |
Definition at line 919 of file TMDC.cxx.
|
static |
|
static |
Definition at line 833 of file TMDC.cxx.
Referenced by TMDCLayer::TMDCLayer().
std::string TMDC::name | ( | void | ) | const |
|
inline |
Definition at line 322 of file TMDC.h.
Referenced by TMDCWire::neighbor().
|
inline |
returns # of wire layers in a super layer. 0 will be returned if 'superLayerId' is invalid.
|
inline |
|
inline |
|
inlinestatic |
const AList< TMDCWireHit > & TMDC::stereoHits | ( | unsigned | mask = 0 | ) | const |
returns a list of stereo hits. 'update()' must be called before calling this function.
Definition at line 526 of file TMDC.cxx.
Referenced by TrkReco::execute().
returns a pointer to a super-layer. 0 will be returned if 'id' is invalid.
Definition at line 271 of file TMDC.h.
Referenced by TBuilder0::buildStereo(), classification(), and nLocalLayer().
|
static |
Definition at line 810 of file TMDC.cxx.
|
static |
|
static |
Definition at line 765 of file TMDC.cxx.
Referenced by nLocalLayer(), superLayerId(), TMDCLayer::TMDCLayer(), and wireName().
updates TMDC information. clear() is called in this function.
Definition at line 317 of file TMDC.cxx.
Referenced by TrkReco::execute().
void TMDC::updateMC | ( | void | ) |
updates TMDC information for MC.
Definition at line 376 of file TMDC.cxx.
Referenced by update().
std::string TMDC::version | ( | void | ) | const |
const TMDCWire *const TMDC::wire | ( | const HepPoint3D & | point | ) | const |
const TMDCWire *const TMDC::wire | ( | float | r, |
float | phi | ||
) | const |
returns a pointer to a wire.
Definition at line 257 of file TMDC.cxx.
const TMDCWire *const TMDC::wire | ( | unsigned | layerId, |
int | localId | ||
) | const |
|
inline |
returns a pointer to a wire. 0 will be returned if 'wireId' is invalid.
Definition at line 277 of file TMDC.h.
Referenced by TConformalFinder::conformal2Wire(), driftDistance(), TMDCWire::neighbor(), and wire().
|
static |
|
static |
|
static |
Definition at line 575 of file TMDC.cxx.
Referenced by wireName().