CGEM BOSS 6.6.5.g
BESIII Offline Software System
|
#include <iostream>
#include <string>
#include "CLHEP/Geometry/Point3D.h"
#include "CLHEP/Alist/ConstAList.h"
#include "TrkReco/TMDCWire.h"
#include "TrkReco/TMDCWireHit.h"
Go to the source code of this file.
Classes | |
class | TMLink |
A class to relate TMDCWireHit and TTrack objects. More... | |
Macros | |
#define | HEP_SHORT_NAMES |
#define | TMLink_INLINE_DEFINE_HERE |
Typedefs | |
typedef HepGeom::Point3D< double > | HepPoint3D |
Functions | |
const TTrackHEP & | Links2HEP (const AList< TMLink > &links) |
returns TTrackHEP | |
unsigned | NSuperLayers (const AList< TMLink > &links) |
returns # of layers. | |
unsigned | NSuperLayers (const AList< TMLink > &links, unsigned minNHits) |
unsigned | NMissingAxialSuperLayers (const AList< TMLink > &links) |
unsigned | NLayers (const AList< TMLink > &links) |
returns # of layers. | |
void | NHits (const AList< TMLink > &links, unsigned nHits[50]) |
returns # of hits per layer. | |
void | NHitsSuperLayer (const AList< TMLink > &links, unsigned nHits[11]) |
returns # of hits per super layer. | |
AList< TMLink > | AxialHits (const AList< TMLink > &links) |
returns axial hits. | |
AList< TMLink > | StereoHits (const AList< TMLink > &links) |
returns stereo hits. | |
unsigned | NAxialHits (const AList< TMLink > &links) |
returns # of axial hits. | |
unsigned | NStereoHits (const AList< TMLink > &links) |
returns # of stereo hits. | |
unsigned | Width (const AList< TMLink > &) |
returns width(wire cell unit) of given AList<TMLink>. This function assumes that all TMLink's are in the same super layer. | |
AList< TMLink > | Edges (const AList< TMLink > &) |
returns links which are edges. This function assumes that all TMLink's are in the same super layer. | |
AList< TMLink > | SameLayer (const AList< TMLink > &list, const TMLink &a) |
returns links which are in the same layer as 'a' or 'id'. | |
AList< TMLink > | SameLayer (const AList< TMLink > &list, unsigned id) |
AList< TMLink > | SameSuperLayer (const AList< TMLink > &list, const TMLink &a) |
returns links which are in the same super layer as 'a' or 'id'. | |
AList< TMLink > | SameSuperLayer (const AList< TMLink > &list, unsigned id) |
unsigned | SuperLayer (const AList< TMLink > &list) |
returns super layer pattern. | |
unsigned | SuperLayer (const AList< TMLink > &list, unsigned minNHits) |
TMLink * | InnerMost (const AList< TMLink > &links) |
returns the inner(outer)-most link. | |
TMLink * | OuterMost (const AList< TMLink > &links) |
AList< TMLink > | InOut (const AList< TMLink > &) |
returns links which are in the inner most and outer most layer. This function assumes that all TMLink's are in the same super layer. | |
void | SeparateCores (const AList< TMLink > &input, AList< TMLink > &cores, AList< TMLink > &nonCores) |
separate cores and non-cores. | |
AList< TMLink > | Cores (const AList< TMLink > &input) |
void | Dump (const CAList< TMLink > &links, const std::string &message=std::string(""), const std::string &prefix=std::string("")) |
dumps TMLinks. | |
void | Dump (const TMLink &link, const std::string &message=std::string(""), const std::string &prefix=std::string("")) |
int | SortByWireId (const void *a, const void *b) |
Sorter. | |
int | SortByX (const void *a, const void *b) |
typedef HepGeom::Point3D<double> HepPoint3D |
returns axial hits.
Definition at line 314 of file TMLink.cxx.
Definition at line 381 of file TMLink.cxx.
void Dump | ( | const CAList< TMLink > & | links, |
const std::string & | message = std::string("") , |
||
const std::string & | prefix = std::string("") |
||
) |
dumps TMLinks.
Definition at line 185 of file TMLink.cxx.
Referenced by TBuilder0::buildRphi(), TBuilder::buildStereo(), TBuilder0::buildStereo(), TBuilder0::buildStereo0(), TTrackBase::dump(), TTrackManager::dump(), Dump(), TConformalFinder0::findSegments(), TTrackManager::mask(), TTrackManager::maskCurl(), TTrackManager::maskOut(), TTrackManager::merge(), TTrackBase::refine(), and TBuilder::salvage().
void Dump | ( | const TMLink & | link, |
const std::string & | message = std::string("") , |
||
const std::string & | prefix = std::string("") |
||
) |
Definition at line 287 of file TMLink.cxx.
returns links which are edges. This function assumes that all TMLink's are in the same super layer.
Definition at line 477 of file TMLink.cxx.
returns the inner(outer)-most link.
Definition at line 336 of file TMLink.cxx.
Referenced by TTrackManager::maskNormal(), and TTrackManager::merge().
returns links which are in the inner most and outer most layer. This function assumes that all TMLink's are in the same super layer.
Definition at line 568 of file TMLink.cxx.
Referenced by TSegment::solveDualHits(), and TSegment0::solveDualHits().
returns TTrackHEP
Definition at line 662 of file TMLink.cxx.
returns # of axial hits.
Definition at line 304 of file TMLink.cxx.
returns # of hits per super layer.
Definition at line 177 of file TMLink.cxx.
Referenced by TrackLayerUsage().
returns # of layers.
Definition at line 150 of file TMLink.cxx.
Referenced by TBuilder0::buildRphi(), and TTrackManager::maskNormal().
Definition at line 640 of file TMLink.cxx.
returns # of stereo hits.
Definition at line 294 of file TMLink.cxx.
Referenced by T3DLineFitter::fit(), TRungeFitter::fit(), and TrackInformation().
returns # of layers.
Definition at line 611 of file TMLink.cxx.
Referenced by TBuilder0::buildRphi(), TBuilder::initialLine(), TBuilder::initialLineOld(), TTrackManager::maskCurl(), TTrackManager::maskNormal(), TTrackManager::merge(), and TMSelector::preSelect().
Definition at line 627 of file TMLink.cxx.
Definition at line 351 of file TMLink.cxx.
Referenced by TTrackManager::divide(), TTrackManager::divideByIp(), and TTrackManager::makeTds().
returns links which are in the same layer as 'a' or 'id'.
Definition at line 526 of file TMLink.cxx.
Referenced by TTrackManager::mask(), TTrackManager::maskMultiHits(), TSegment::solveDualHits(), TSegment0::solveDualHits(), and TSegment::width().
Definition at line 548 of file TMLink.cxx.
returns links which are in the same super layer as 'a' or 'id'.
Definition at line 537 of file TMLink.cxx.
Referenced by TBuilder0::buildRphi().
Definition at line 558 of file TMLink.cxx.
void SeparateCores | ( | const AList< TMLink > & | input, |
AList< TMLink > & | cores, | ||
AList< TMLink > & | nonCores | ||
) |
separate cores and non-cores.
Definition at line 366 of file TMLink.cxx.
Referenced by TBuilder::buildRphi(), and TBuilder::buildStereo().
int SortByWireId | ( | const void * | a, |
const void * | b | ||
) |
Sorter.
Definition at line 411 of file TMLink.cxx.
Referenced by TBuilderCosmic::buildStereo(), Dump(), TTrackManager::maskMultiHits(), TLine0::refine(), TMLine::refine(), TSegment::TSegment(), and TSegment0::TSegment0().
int SortByX | ( | const void * | a, |
const void * | b | ||
) |
returns stereo hits.
Definition at line 325 of file TMLink.cxx.
Referenced by TBuilder::buildStereo(), and TBuilder::buildStereoNew().
returns super layer pattern.
Definition at line 589 of file TMLink.cxx.
Referenced by TBuilder0::buildRphi(), and MdcxFindTracks::process().
Definition at line 598 of file TMLink.cxx.
returns width(wire cell unit) of given AList<TMLink>. This function assumes that all TMLink's are in the same super layer.
Definition at line 432 of file TMLink.cxx.
Referenced by BesMucNoise::Initialize(), TTrackManager::mask(), TSegment::solveDualHits(), TSegment0::solveDualHits(), and TSegment::width().