CGEM BOSS 6.6.5.f
BESIII Offline Software System
|
A manager of TTrack information to make outputs as MdcRec_trk. More...
#include <TTrackManager.h>
Public Member Functions | |
TTrackManager () | |
Constructor. | |
virtual | ~TTrackManager () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
std::string | name (void) const |
returns name. | |
std::string | version (void) const |
returns version. | |
const AList< TTrack > & | allTracks (void) const |
returns a list of all reconstructed tracks including junks. | |
const AList< TTrack > & | tracks (void) const |
returns a list of reconstructed tracks. | |
const AList< TTrack > & | tracks2D (void) const |
returns a list of 2D tracks. | |
const AList< TTrack > & | tracksFinal (void) const |
returns a list of tracks writen to MdcRec_trk. | |
void | fittingFlag (unsigned) |
sets fitting flag. | |
double | maxMomentum (double) |
sets the max. momentum. | |
int | debugLevel (void) const |
returns/sets debug level. | |
int | debugLevel (int) |
float | paraT0 (void) const |
void | clear (void) |
clears all internal information. | |
void | append (AList< TTrack > &list) |
appends (2D) tracks. 'list' will be cleaned up. | |
void | append2D (AList< TTrack > &list) |
void | refit (void) |
refits tracks. | |
void | finish (void) |
finishes tracks. | |
void | movePivot (void) |
moves pivot of tracks. | |
StatusCode | determineT0 (unsigned level, unsigned nMaxTracks) |
determines T0 and refit all tracks. | |
void | setCurlerFlags (void) |
tests for curlers. | |
void | sortTracksByQuality (void) |
sorts tracks. | |
void | sortTracksByPt (void) |
void | clearTables (void) const |
clears tables. | |
StatusCode | makeTds (RecMdcTrackCol *trackList, RecMdcHitCol *hitList, int tkStat=1, int runge=0, int cal=0) |
stores track info. into TDS. by Zang Shilei | |
void | saveTables (void) |
stores track info. into Panther table. | |
void | saveMCTables (void) const |
stores MC track info. into Panther table. | |
void | sortBanksByPt (void) const |
sorts RECMDC_TRK tables. | |
void | treatCurler (MdcTrk &curl, MdcRec_trk_add &cdc, unsigned flag) const |
final decision for a curler. | |
void | determineIP (void) |
determines IP. | |
void | maskCurlHits (const AList< TMDCWireHit > &axial, const AList< TMDCWireHit > &stereo, const AList< TTrack > &tracks) const |
masks hits on found curl tracks. | |
void | salvageAssociateHits (const AList< TMDCWireHit > &, float maxSigma2) |
salvages hits for dE/dx(not for track fitting). | |
TMLink & | divide (const TTrack &t, AList< TMLink > *l) const |
TMLink & | divideByIp (const TTrack &t, AList< TMLink > *l) const |
void | removeHitsAcrossOverIp (AList< TMLink > &) const |
TTrack * | closest (const AList< TTrack > &, const TMDCWireHit &) const |
returns a track which is the closest to a hit. | |
void | salvage (const AList< TMDCWireHit > &) const |
salvages remaining hits. | |
void | mask (void) const |
masks hits out which are in tail of curly tracks. | |
void | maskNormal (TTrack &) const |
void | maskCurl (TTrack &) const |
void | maskOut (TTrack &, const AList< TMLink > &) const |
void | maskMultiHits (TTrack &) const |
void | merge (void) |
void | sett0bes (double t0) |
TTrackManager () | |
Constructor. | |
virtual | ~TTrackManager () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
std::string | name (void) const |
returns name. | |
std::string | version (void) const |
returns version. | |
const AList< TTrack > & | allTracks (void) const |
returns a list of all reconstructed tracks including junks. | |
const AList< TTrack > & | tracks (void) const |
returns a list of reconstructed tracks. | |
const AList< TTrack > & | tracks2D (void) const |
returns a list of 2D tracks. | |
const AList< TTrack > & | tracksFinal (void) const |
returns a list of tracks writen to MdcRec_trk. | |
void | fittingFlag (unsigned) |
sets fitting flag. | |
double | maxMomentum (double) |
sets the max. momentum. | |
int | debugLevel (void) const |
returns/sets debug level. | |
int | debugLevel (int) |
float | paraT0 (void) const |
void | clear (void) |
clears all internal information. | |
void | append (AList< TTrack > &list) |
appends (2D) tracks. 'list' will be cleaned up. | |
void | append2D (AList< TTrack > &list) |
void | refit (void) |
refits tracks. | |
void | finish (void) |
finishes tracks. | |
void | movePivot (void) |
moves pivot of tracks. | |
StatusCode | determineT0 (unsigned level, unsigned nMaxTracks) |
determines T0 and refit all tracks. | |
void | setCurlerFlags (void) |
tests for curlers. | |
void | sortTracksByQuality (void) |
sorts tracks. | |
void | sortTracksByPt (void) |
void | clearTables (void) const |
clears tables. | |
StatusCode | makeTds (RecMdcTrackCol *trackList, RecMdcHitCol *hitList, int tkStat=1, int runge=0, int cal=0) |
stores track info. into TDS. by Zang Shilei | |
void | saveTables (void) |
stores track info. into Panther table. | |
void | saveMCTables (void) const |
stores MC track info. into Panther table. | |
void | sortBanksByPt (void) const |
sorts RECMDC_TRK tables. | |
void | treatCurler (MdcTrk &curl, MdcRec_trk_add &cdc, unsigned flag) const |
final decision for a curler. | |
void | determineIP (void) |
determines IP. | |
void | maskCurlHits (const AList< TMDCWireHit > &axial, const AList< TMDCWireHit > &stereo, const AList< TTrack > &tracks) const |
masks hits on found curl tracks. | |
void | salvageAssociateHits (const AList< TMDCWireHit > &, float maxSigma2) |
salvages hits for dE/dx(not for track fitting). | |
TMLink & | divide (const TTrack &t, AList< TMLink > *l) const |
TMLink & | divideByIp (const TTrack &t, AList< TMLink > *l) const |
void | removeHitsAcrossOverIp (AList< TMLink > &) const |
TTrack * | closest (const AList< TTrack > &, const TMDCWireHit &) const |
returns a track which is the closest to a hit. | |
void | salvage (const AList< TMDCWireHit > &) const |
salvages remaining hits. | |
void | mask (void) const |
masks hits out which are in tail of curly tracks. | |
void | maskNormal (TTrack &) const |
void | maskCurl (TTrack &) const |
void | maskOut (TTrack &, const AList< TMLink > &) const |
void | maskMultiHits (TTrack &) const |
void | merge (void) |
void | sett0bes (double t0) |
Public Member Functions inherited from TUpdater | |
TUpdater () | |
Constructor. | |
virtual | ~TUpdater () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
virtual bool | updated (void) const |
returns true if an object is updated. | |
virtual void | update (void) |
updates an object. | |
virtual bool | initialized (void) const |
returns true if an object is initialized. | |
virtual void | initialize (void) |
initializes an object. | |
virtual void | clear (void) |
clears an object. | |
TUpdater () | |
Constructor. | |
virtual | ~TUpdater () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
virtual bool | updated (void) const |
returns true if an object is updated. | |
virtual void | update (void) |
updates an object. | |
virtual bool | initialized (void) const |
returns true if an object is initialized. | |
virtual void | initialize (void) |
initializes an object. | |
virtual void | clear (void) |
clears an object. | |
Static Public Member Functions | |
static bool | goodTrack (const TTrack &, bool track2D=false) |
checks goodness of a track. | |
static void | maskBadHits (const AList< TTrack > &, float maxSigma2) |
masks hits with large chisq as associated hits. Pull in TMLink is used. | |
static bool | goodTrack (const TTrack &, bool track2D=false) |
checks goodness of a track. | |
static void | maskBadHits (const AList< TTrack > &, float maxSigma2) |
masks hits with large chisq as associated hits. Pull in TMLink is used. | |
A manager of TTrack information to make outputs as MdcRec_trk.
Definition at line 44 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
TTrackManager::TTrackManager | ( | ) |
Constructor.
Definition at line 79 of file TTrackManager.cxx.
|
virtual |
TTrackManager::TTrackManager | ( | ) |
Constructor.
|
virtual |
Destructor.
returns a list of all reconstructed tracks including junks.
Definition at line 281 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
returns a list of all reconstructed tracks including junks.
appends (2D) tracks. 'list' will be cleaned up.
Definition at line 889 of file TTrackManager.cxx.
Referenced by TrkReco::execute().
appends (2D) tracks. 'list' will be cleaned up.
Definition at line 896 of file TTrackManager.cxx.
Referenced by TrkReco::execute().
|
virtual |
clears all internal information.
Reimplemented from TUpdater.
Definition at line 854 of file TTrackManager.cxx.
Referenced by TrkReco::clear().
|
virtual |
clears all internal information.
Reimplemented from TUpdater.
void TTrackManager::clearTables | ( | void | ) | const |
clears tables.
Definition at line 2515 of file TTrackManager.cxx.
Referenced by TrkReco::clear().
void TTrackManager::clearTables | ( | void | ) | const |
clears tables.
TTrack * TTrackManager::closest | ( | const AList< TTrack > & | tracks, |
const TMDCWireHit & | hit | ||
) | const |
returns a track which is the closest to a hit.
Definition at line 255 of file TTrackManager.cxx.
Referenced by salvage().
TTrack * TTrackManager::closest | ( | const AList< TTrack > & | , |
const TMDCWireHit & | |||
) | const |
returns a track which is the closest to a hit.
|
inline |
Definition at line 299 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
int TTrackManager::debugLevel | ( | int | ) |
|
inline |
returns/sets debug level.
Definition at line 293 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
Referenced by TrkReco::initialize().
int TTrackManager::debugLevel | ( | void | ) | const |
returns/sets debug level.
void TTrackManager::determineIP | ( | void | ) |
determines IP.
Definition at line 2614 of file TTrackManager.cxx.
void TTrackManager::determineIP | ( | void | ) |
determines IP.
StatusCode TTrackManager::determineT0 | ( | unsigned | level, |
unsigned | nMaxTracks | ||
) |
determines T0 and refit all tracks.
Definition at line 1293 of file TTrackManager.cxx.
Referenced by TrkReco::execute().
StatusCode TTrackManager::determineT0 | ( | unsigned | level, |
unsigned | nMaxTracks | ||
) |
determines T0 and refit all tracks.
Definition at line 1028 of file TTrackManager.cxx.
Definition at line 1053 of file TTrackManager.cxx.
Referenced by divide(), maskCurl(), and maskNormal().
void TTrackManager::dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
Definition at line 111 of file TTrackManager.cxx.
void TTrackManager::dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
void TTrackManager::finish | ( | void | ) |
finishes tracks.
Definition at line 872 of file TTrackManager.cxx.
void TTrackManager::finish | ( | void | ) |
finishes tracks.
|
inline |
sets fitting flag.
Definition at line 305 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
Referenced by TrkReco::initialize().
void TTrackManager::fittingFlag | ( | unsigned | ) |
sets fitting flag.
checks goodness of a track.
Definition at line 3015 of file TTrackManager.cxx.
checks goodness of a track.
StatusCode TTrackManager::makeTds | ( | RecMdcTrackCol * | trackList, |
RecMdcHitCol * | hitList, | ||
int | tkStat = 1 , |
||
int | runge = 0 , |
||
int | cal = 0 |
||
) |
stores track info. into TDS. by Zang Shilei
added by Jike Wang
add by jialk: returns driftTime prop time correction & entra angle
check the result:MdcTrackCol
Definition at line 281 of file TTrackManager.cxx.
Referenced by TrkReco::execute().
StatusCode TTrackManager::makeTds | ( | RecMdcTrackCol * | trackList, |
RecMdcHitCol * | hitList, | ||
int | tkStat = 1 , |
||
int | runge = 0 , |
||
int | cal = 0 |
||
) |
stores track info. into TDS. by Zang Shilei
void TTrackManager::mask | ( | void | ) | const |
masks hits out which are in tail of curly tracks.
Definition at line 947 of file TTrackManager.cxx.
Referenced by TrkReco::execute().
void TTrackManager::mask | ( | void | ) | const |
masks hits out which are in tail of curly tracks.
masks hits with large chisq as associated hits. Pull in TMLink is used.
Definition at line 2487 of file TTrackManager.cxx.
Referenced by TConformalFinder::doit().
masks hits with large chisq as associated hits. Pull in TMLink is used.
void TTrackManager::maskCurl | ( | TTrack & | t | ) | const |
Definition at line 1237 of file TTrackManager.cxx.
Referenced by mask().
void TTrackManager::maskCurl | ( | TTrack & | ) | const |
void TTrackManager::maskCurlHits | ( | const AList< TMDCWireHit > & | axial, |
const AList< TMDCWireHit > & | stereo, | ||
const AList< TTrack > & | tracks | ||
) | const |
masks hits on found curl tracks.
Definition at line 175 of file TTrackManager.cxx.
Referenced by TrkReco::execute().
void TTrackManager::maskCurlHits | ( | const AList< TMDCWireHit > & | axial, |
const AList< TMDCWireHit > & | stereo, | ||
const AList< TTrack > & | tracks | ||
) | const |
masks hits on found curl tracks.
void TTrackManager::maskMultiHits | ( | TTrack & | t | ) | const |
Definition at line 1127 of file TTrackManager.cxx.
Referenced by mask().
void TTrackManager::maskMultiHits | ( | TTrack & | ) | const |
void TTrackManager::maskNormal | ( | TTrack & | t | ) | const |
Definition at line 1155 of file TTrackManager.cxx.
Referenced by mask().
void TTrackManager::maskNormal | ( | TTrack & | ) | const |
Definition at line 1112 of file TTrackManager.cxx.
Referenced by maskCurl(), maskMultiHits(), and maskNormal().
|
inline |
sets the max. momentum.
Definition at line 287 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
Referenced by TrkReco::initialize().
double TTrackManager::maxMomentum | ( | double | ) |
sets the max. momentum.
void TTrackManager::merge | ( | void | ) |
Definition at line 1547 of file TTrackManager.cxx.
Referenced by TrkReco::execute().
void TTrackManager::merge | ( | void | ) |
void TTrackManager::movePivot | ( | void | ) |
moves pivot of tracks.
Definition at line 843 of file TTrackManager.cxx.
Referenced by finish().
void TTrackManager::movePivot | ( | void | ) |
moves pivot of tracks.
|
inline |
std::string TTrackManager::name | ( | void | ) | const |
returns name.
|
inline |
Definition at line 320 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
Referenced by TrkReco::execute().
float TTrackManager::paraT0 | ( | void | ) | const |
void TTrackManager::refit | ( | void | ) |
refits tracks.
Definition at line 904 of file TTrackManager.cxx.
Referenced by finish().
void TTrackManager::refit | ( | void | ) |
refits tracks.
Definition at line 1072 of file TTrackManager.cxx.
void TTrackManager::salvage | ( | const AList< TMDCWireHit > & | hits | ) | const |
salvages remaining hits.
Definition at line 212 of file TTrackManager.cxx.
Referenced by TrkReco::execute().
void TTrackManager::salvage | ( | const AList< TMDCWireHit > & | ) | const |
salvages remaining hits.
void TTrackManager::salvageAssociateHits | ( | const AList< TMDCWireHit > & | hits, |
float | maxSigma2 | ||
) |
salvages hits for dE/dx(not for track fitting).
Definition at line 2378 of file TTrackManager.cxx.
void TTrackManager::salvageAssociateHits | ( | const AList< TMDCWireHit > & | , |
float | maxSigma2 | ||
) |
salvages hits for dE/dx(not for track fitting).
void TTrackManager::saveMCTables | ( | void | ) | const |
stores MC track info. into Panther table.
Definition at line 797 of file TTrackManager.cxx.
void TTrackManager::saveMCTables | ( | void | ) | const |
stores MC track info. into Panther table.
void TTrackManager::saveTables | ( | void | ) |
stores track info. into Panther table.
Definition at line 652 of file TTrackManager.cxx.
void TTrackManager::saveTables | ( | void | ) |
stores track info. into Panther table.
void TTrackManager::setCurlerFlags | ( | void | ) |
tests for curlers.
Definition at line 2341 of file TTrackManager.cxx.
void TTrackManager::setCurlerFlags | ( | void | ) |
tests for curlers.
|
inline |
Definition at line 211 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
Referenced by TrkReco::execute().
|
inline |
Definition at line 211 of file Reconstruction/TrkReco/TrkReco-00-08-59-patch4-slc6tag/TrkReco/TTrackManager.h.
void TTrackManager::sortBanksByPt | ( | void | ) | const |
sorts RECMDC_TRK tables.
Definition at line 2012 of file TTrackManager.cxx.
void TTrackManager::sortBanksByPt | ( | void | ) | const |
sorts RECMDC_TRK tables.
void TTrackManager::sortTracksByPt | ( | void | ) |
Definition at line 1883 of file TTrackManager.cxx.
void TTrackManager::sortTracksByPt | ( | void | ) |
void TTrackManager::sortTracksByQuality | ( | void | ) |
sorts tracks.
Definition at line 1862 of file TTrackManager.cxx.
void TTrackManager::sortTracksByQuality | ( | void | ) |
sorts tracks.
returns a list of reconstructed tracks.
Definition at line 269 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
Referenced by closest(), TrkReco::execute(), maskBadHits(), and maskCurlHits().
returns a list of reconstructed tracks.
returns a list of 2D tracks.
Definition at line 275 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
returns a list of tracks writen to MdcRec_trk.
Definition at line 314 of file InstallArea/include/TrkReco/TrkReco/TTrackManager.h.
Referenced by TrkReco::tracks().
returns a list of tracks writen to MdcRec_trk.
void TTrackManager::treatCurler | ( | MdcTrk & | curl, |
MdcRec_trk_add & | cdc, | ||
unsigned | flag | ||
) | const |
final decision for a curler.
Definition at line 1911 of file TTrackManager.cxx.
void TTrackManager::treatCurler | ( | MdcTrk & | curl, |
MdcRec_trk_add & | cdc, | ||
unsigned | flag | ||
) | const |
final decision for a curler.
std::string TTrackManager::version | ( | void | ) | const |
returns version.
Definition at line 106 of file TTrackManager.cxx.
std::string TTrackManager::version | ( | void | ) | const |
returns version.