13#ifndef THistogram_FLAG_
14#define THistogram_FLAG_
16#ifdef TRKRECO_DEBUG_DETAIL
24#define HEP_SHORT_NAMES
25#include "CLHEP/Alist/AList.h"
27#include "TrkReco/TMLink.h"
28#include "TrkReco/TSegment0.h"
29#include "TrkReco/TSegment.h"
45 void dump(
const std::string & message = std::string(
""),
46 const std::string & prefix = std::string(
""))
const;
55 unsigned nBin(
unsigned i)
const;
58 unsigned nBins(
void)
const;
95 void mask(
unsigned binN);
111#ifdef THistogram_NO_INLINE
115#define THistogram_INLINE_DEFINE_HERE
118#ifdef THistogram_INLINE_DEFINE_HERE
123 if (i < _nBins)
return _links[i];
130 while (i < 0) i += _nBins;
131 return _links[i % _nBins];
149 for (
unsigned i = 0; i < _nBins; i++) _masks[i] =
false;
161 if (i < _nBins)
return _bins[i];
*******INTEGER m_nBinMax INTEGER m_NdiMax !No of bins in histogram for cell exploration division $ !Last vertex $ !Last active cell $ !Last cell in buffer $ !No of sampling when dividing cell $ !No of function total $ !Flag for random ceel for $ !Flag for type of for WtMax $ !Flag which decides whether vertices are included in the sampling $ entire domain is hyp !Maximum effective eevents per bin
A class to represent a circle in tracking.
A class for a histogram used in tracking.
const AList< TMLink > & contents(void) const
returns an AList<TMLink> of all contents.
virtual ~THistogram()
Destructor.
void mask(unsigned binN)
masks a bin. Masked bin will not be returned by ::findPeak.
unsigned nBins(void) const
returns # of bins.
AList< TSegment0 > clusters0(void) const
returns an AList<TSegment0> of clusters.
void fillX(const AList< TMLink > &links)
fills with hits.
void remove(const AList< TMLink > &links)
removes links.
AList< TSegment > segments(void) const
returns an AList<TSegment0> using clusters() function.
unsigned nBin(unsigned i) const
returns number in i'th bin.
AList< TSegment0 > segments0(void) const
returns an AList<TSegment0> using clusters() function.
const AList< TMLink > *const bin(unsigned i) const
returns a pointer to i'th AList<TMLink>.
void fillY(const AList< TMLink > &links)
fills with hits.
void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
void unmask(void)
remove masks.
void fillPhi(const AList< TMLink > &links)
fills with hits.
AList< TSegment > clusters(void) const
returns an AList<TSegment0> of clusters.