BOSS 7.0.2
BESIII Offline Software System
|
A class for a histogram used in tracking. More...
#include <THistogram.h>
Public Member Functions | |
THistogram (unsigned nBins) | |
Constructor. | |
virtual | ~THistogram () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
const AList< TMLink > *const | bin (unsigned i) const |
returns a pointer to i'th AList<TMLink>. | |
const AList< TMLink > *const | bin (int i) const |
returns a pointer to i'th AList<TMLink>. | |
unsigned | nBin (unsigned i) const |
returns number in i'th bin. | |
unsigned | nBins (void) const |
returns # of bins. | |
AList< TMLink > | contents (unsigned center, unsigned width) const |
returns an AList of TMLinks within 'center' bin +- 'width' bin region. | |
AList< TMLink > | contents (int start, int end) const |
returns an AList of TMLinks from 'start' bin to 'end' bin region. | |
const AList< TMLink > & | contents (void) const |
returns an AList<TMLink> of all contents. | |
AList< TSegment0 > | clusters0 (void) const |
returns an AList<TSegment0> of clusters. | |
AList< TSegment > | clusters (void) const |
returns an AList<TSegment0> of clusters. | |
AList< TSegment0 > | segments0 (void) const |
returns an AList<TSegment0> using clusters() function. | |
AList< TSegment > | segments (void) const |
returns an AList<TSegment0> using clusters() function. | |
void | fillX (const AList< TMLink > &links) |
fills with hits. | |
void | fillY (const AList< TMLink > &links) |
fills with hits. | |
void | fillPhi (const AList< TMLink > &links) |
fills with hits. | |
void | remove (const AList< TMLink > &links) |
removes links. | |
void | mask (unsigned binN) |
masks a bin. Masked bin will not be returned by ::findPeak. | |
void | unmask (void) |
remove masks. | |
THistogram (unsigned nBins) | |
Constructor. | |
virtual | ~THistogram () |
Destructor. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
const AList< TMLink > *const | bin (unsigned i) const |
returns a pointer to i'th AList<TMLink>. | |
const AList< TMLink > *const | bin (int i) const |
returns a pointer to i'th AList<TMLink>. | |
unsigned | nBin (unsigned i) const |
returns number in i'th bin. | |
unsigned | nBins (void) const |
returns # of bins. | |
AList< TMLink > | contents (unsigned center, unsigned width) const |
returns an AList of TMLinks within 'center' bin +- 'width' bin region. | |
AList< TMLink > | contents (int start, int end) const |
returns an AList of TMLinks from 'start' bin to 'end' bin region. | |
const AList< TMLink > & | contents (void) const |
returns an AList<TMLink> of all contents. | |
AList< TSegment0 > | clusters0 (void) const |
returns an AList<TSegment0> of clusters. | |
AList< TSegment > | clusters (void) const |
returns an AList<TSegment0> of clusters. | |
AList< TSegment0 > | segments0 (void) const |
returns an AList<TSegment0> using clusters() function. | |
AList< TSegment > | segments (void) const |
returns an AList<TSegment0> using clusters() function. | |
void | fillX (const AList< TMLink > &links) |
fills with hits. | |
void | fillY (const AList< TMLink > &links) |
fills with hits. | |
void | fillPhi (const AList< TMLink > &links) |
fills with hits. | |
void | remove (const AList< TMLink > &links) |
removes links. | |
void | mask (unsigned binN) |
masks a bin. Masked bin will not be returned by ::findPeak. | |
void | unmask (void) |
remove masks. | |
A class for a histogram used in tracking.
Definition at line 34 of file InstallArea/include/TrkReco/TrkReco/THistogram.h.
THistogram::THistogram | ( | unsigned | nBins | ) |
Constructor.
Definition at line 19 of file THistogram.cxx.
|
virtual |
Destructor.
Definition at line 31 of file THistogram.cxx.
THistogram::THistogram | ( | unsigned | nBins | ) |
Constructor.
|
virtual |
Destructor.
returns a pointer to i'th AList<TMLink>.
Definition at line 129 of file InstallArea/include/TrkReco/TrkReco/THistogram.h.
returns a pointer to i'th AList<TMLink>.
returns a pointer to i'th AList<TMLink>.
Definition at line 122 of file InstallArea/include/TrkReco/TrkReco/THistogram.h.
returns a pointer to i'th AList<TMLink>.
returns an AList<TSegment0> of clusters.
Definition at line 229 of file THistogram.cxx.
Referenced by segments().
returns an AList<TSegment0> of clusters.
returns an AList<TSegment0> of clusters.
Definition at line 162 of file THistogram.cxx.
Referenced by TFastFinder::doit(), TConformalFinder0::findClusters(), TConformalFinder0::findClusters2(), and segments0().
returns an AList<TSegment0> of clusters.
returns an AList of TMLinks from 'start' bin to 'end' bin region.
Definition at line 154 of file THistogram.cxx.
returns an AList of TMLinks from 'start' bin to 'end' bin region.
returns an AList of TMLinks within 'center' bin +- 'width' bin region.
Definition at line 143 of file THistogram.cxx.
returns an AList of TMLinks within 'center' bin +- 'width' bin region.
returns an AList<TMLink> of all contents.
Definition at line 154 of file InstallArea/include/TrkReco/TrkReco/THistogram.h.
returns an AList<TMLink> of all contents.
void THistogram::dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
Definition at line 40 of file THistogram.cxx.
void THistogram::dump | ( | const std::string & | message = std::string("") , |
const std::string & | prefix = std::string("") |
||
) | const |
dumps debug information.
fills with hits.
Definition at line 111 of file THistogram.cxx.
fills with hits.
Definition at line 76 of file THistogram.cxx.
Referenced by TFastFinder::doit(), and TConformalFinder0::findSegments().
fills with hits.
Definition at line 94 of file THistogram.cxx.
|
inline |
masks a bin. Masked bin will not be returned by ::findPeak.
Definition at line 142 of file InstallArea/include/TrkReco/TrkReco/THistogram.h.
void THistogram::mask | ( | unsigned | binN | ) |
masks a bin. Masked bin will not be returned by ::findPeak.
|
inline |
returns number in i'th bin.
Definition at line 160 of file InstallArea/include/TrkReco/TrkReco/THistogram.h.
unsigned THistogram::nBin | ( | unsigned | i | ) | const |
returns number in i'th bin.
|
inline |
returns # of bins.
Definition at line 136 of file InstallArea/include/TrkReco/TrkReco/THistogram.h.
unsigned THistogram::nBins | ( | void | ) | const |
returns # of bins.
removes links.
Definition at line 134 of file THistogram.cxx.
returns an AList<TSegment0> using clusters() function.
Definition at line 259 of file THistogram.cxx.
returns an AList<TSegment0> using clusters() function.
returns an AList<TSegment0> using clusters() function.
Definition at line 192 of file THistogram.cxx.
returns an AList<TSegment0> using clusters() function.
|
inline |
remove masks.
Definition at line 148 of file InstallArea/include/TrkReco/TrkReco/THistogram.h.
void THistogram::unmask | ( | void | ) |
remove masks.