BOSS 6.6.4.p03
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. | |
A class for a histogram used in tracking.
Definition at line 34 of file 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.
returns a pointer to i'th AList<TMLink>.
Definition at line 129 of file THistogram.h.
returns a pointer to i'th AList<TMLink>.
Definition at line 122 of file THistogram.h.
returns an AList<TSegment0> of clusters.
Definition at line 229 of file THistogram.cxx.
Referenced by segments().
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 of TMLinks from 'start' bin to 'end' bin region.
Definition at line 154 of file THistogram.cxx.
returns an AList of TMLinks within 'center' bin +- 'width' bin region.
Definition at line 143 of file THistogram.cxx.
returns an AList<TMLink> of all contents.
Definition at line 154 of file THistogram.h.
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.
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 THistogram.h.
|
inline |
returns number in i'th bin.
Definition at line 160 of file THistogram.h.
|
inline |
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.
Definition at line 192 of file THistogram.cxx.
|
inline |
remove masks.
Definition at line 148 of file THistogram.h.