BOSS 7.0.1
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. | |
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) | |
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.
Definition at line 61 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
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().
const AList< TMDCWireHit > & TMDC::axialHits | ( | unsigned | mask = 0 | ) | const |
returns a list of axial hits. 'update()' must be called before calling this function.
|
static |
Definition at line 991 of file TMDC.cxx.
Referenced by TMDCLayer::TMDCLayer().
|
static |
const AList< TMDCWireHit > & TMDC::badHits | ( | void | ) |
returns bad hits(finding invalid hits).
Definition at line 542 of file TMDC.cxx.
const AList< TMDCWireHit > & TMDC::badHits | ( | void | ) |
returns bad hits(finding invalid hits).
|
inline |
returns MDC version.
Definition at line 304 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
Referenced by dump().
std::string TMDC::cdcVersion | ( | void | ) | const |
returns MDC version.
void TMDC::classification | ( | void | ) |
classify hits.
Definition at line 445 of file TMDC.cxx.
Referenced by update().
void TMDC::classification | ( | void | ) |
classify hits.
|
virtual |
clears all TMDC information.
Reimplemented from TUpdater.
Definition at line 282 of file TMDC.cxx.
Referenced by fastClear().
|
inline |
sets debug level.
Definition at line 245 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
int TMDC::debugLevel | ( | int | ) |
sets debug level.
|
inline |
returns debug level.
Definition at line 239 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
int TMDC::debugLevel | ( | void | ) | const |
returns debug level.
|
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.
|
static |
calculates corrected drift time. correctionFlag(bit 0:tof, 1:T0 offset, 2:propagation delay, 3:tan(lambda) correction)
void TMDC::dump | ( | const std::string & | message | ) | const |
dumps debug information.
Definition at line 181 of file TMDC.cxx.
Referenced by dump().
void TMDC::dump | ( | const std::string & | message | ) | const |
dumps debug information.
void TMDC::fastClear | ( | void | ) |
clears TMDC information.
Definition at line 298 of file TMDC.cxx.
Referenced by TrkReco::finalize(), and update().
void TMDC::fastClear | ( | void | ) |
clears TMDC information.
|
inline |
sets/returns fudge factor for drift time error.
Definition at line 298 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
float TMDC::fudgeFactor | ( | float | ) |
sets/returns fudge factor for drift time error.
|
inline |
returns fudge factor for drift time error.
Definition at line 292 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
float TMDC::fudgeFactor | ( | void | ) | const |
returns fudge factor for drift time error.
|
static |
|
static |
Definition at line 95 of file TMDC.cxx.
Referenced by TBuilder0::buildStereo(), TConformalFinder::conformal2Wire(), TMDCTsf::createTsf(), TPerfectFinder::doit(), and TMDCWire::neighbor().
|
static |
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().
const AList< TMDCWireHit > & TMDC::hits | ( | unsigned | mask = 0 | ) | const |
returns a list of TMDCWireHit. 'update()' must be called before calling this function.
|
inline |
returns a list of TMDCWireHitMC. 'updateMC()' must be called before calling this function.
Definition at line 265 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
Referenced by TPerfectFinder::doit().
const AList< TMDCWireHitMC > & TMDC::hitsMC | ( | void | ) | const |
returns a list of TMDCWireHitMC. 'updateMC()' must be called before calling this function.
|
inline |
returns a pointer to a layer. 0 will be returned if 'id' is invalid.
Definition at line 259 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
Referenced by TMDCTsf::createTsf(), TMDCWire::neighbor(), and wire().
const TMDCLayer *const TMDC::layer | ( | unsigned | id | ) | const |
returns a pointer to a layer. 0 will be returned if 'id' is invalid.
|
static |
|
static |
|
static |
Definition at line 1004 of file TMDC.cxx.
|
static |
|
static |
Definition at line 598 of file TMDC.cxx.
Referenced by localLayerId(), wire(), and wireName().
|
static |
|
static |
|
static |
|
static |
Definition at line 676 of file TMDC.cxx.
Referenced by wire(), and wireName().
|
static |
|
static |
Definition at line 919 of file TMDC.cxx.
|
static |
|
static |
|
static |
|
static |
Definition at line 833 of file TMDC.cxx.
Referenced by TMDCLayer::TMDCLayer().
|
static |
std::string TMDC::name | ( | void | ) | const |
std::string TMDC::name | ( | void | ) | const |
returns name.
|
inline |
Definition at line 322 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
Referenced by TMDCWire::neighbor().
unsigned TMDC::nLayers | ( | void | ) | const |
|
inline |
returns # of wire layers in a super layer. 0 will be returned if 'superLayerId' is invalid.
Definition at line 251 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
unsigned TMDC::nLocalLayer | ( | unsigned | superLayerId | ) | const |
returns # of wire layers in a super layer. 0 will be returned if 'superLayerId' is invalid.
|
inline |
Definition at line 316 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
unsigned TMDC::nSuperLayers | ( | void | ) | const |
|
inline |
Definition at line 310 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
unsigned TMDC::nWires | ( | void | ) | const |
|
inlinestatic |
Definition at line 283 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
Referenced by wire().
|
static |
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().
const AList< TMDCWireHit > & TMDC::stereoHits | ( | unsigned | mask = 0 | ) | const |
returns a list of stereo hits. 'update()' must be called before calling this function.
returns a pointer to a super-layer. 0 will be returned if 'id' is invalid.
Definition at line 271 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
Referenced by TBuilder0::buildStereo(), classification(), and nLocalLayer().
returns a pointer to a super-layer. 0 will be returned if 'id' is invalid.
|
static |
Definition at line 810 of file TMDC.cxx.
|
static |
|
static |
|
static |
|
static |
Definition at line 765 of file TMDC.cxx.
Referenced by nLocalLayer(), superLayerId(), TMDCLayer::TMDCLayer(), and wireName().
|
static |
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().
void TMDC::updateMC | ( | void | ) |
updates TMDC information for MC.
std::string TMDC::version | ( | void | ) | const |
std::string TMDC::version | ( | void | ) | const |
returns version.
const TMDCWire *const TMDC::wire | ( | const HepPoint3D & | point | ) | const |
const TMDCWire *const TMDC::wire | ( | const HepPoint3D & | point | ) | const |
returns a pointer to a wire.
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 | ( | float | r, |
float | phi | ||
) | const |
returns a pointer to a wire.
const TMDCWire *const TMDC::wire | ( | unsigned | layerId, |
int | localId | ||
) | const |
const TMDCWire *const TMDC::wire | ( | unsigned | layerId, |
int | localId | ||
) | const |
returns a pointer to a wire. 'localId' can be negative. 0 will be returned if 'layerId' is invalid.
|
inline |
returns a pointer to a wire. 0 will be returned if 'wireId' is invalid.
Definition at line 277 of file InstallArea/include/TrkReco/TrkReco/TMDC.h.
Referenced by TConformalFinder::conformal2Wire(), driftDistance(), TMDCWire::neighbor(), and wire().
const TMDCWire *const TMDC::wire | ( | unsigned | wireId | ) | const |
returns a pointer to a wire. 0 will be returned if 'wireId' is invalid.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 575 of file TMDC.cxx.
Referenced by wireName().
|
static |