 |
Belle II Software
release-05-01-25
|
14 #ifndef TRGCDCHoughPlaneMulti_FLAG_
15 #define TRGCDCHoughPlaneMulti_FLAG_
17 #include "trg/cdc/HoughPlane.h"
19 #ifdef TRGCDC_SHORT_NAMES
20 #define TCHPlaneMulti TRGCDCHoughPlaneMulti
58 void dump(
const std::string& message = std::string(
""),
59 const std::string& prefix = std::string(
""))
const override;
63 void clear(
void)
override;
76 void vote(
float phi,
unsigned layerId,
int weight);
97 for (
unsigned i = 0; i <
N_LAYERS; i++)
A class to represent a Hough parameter plane.
virtual void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
void clear(void) override
Clears all entries.
A class to represent a Hough parameter plane.
void vote(float rx, float ry, float charge, const TRGCDCHoughTransformation &hough, unsigned weight, unsigned layerId)
vote
TRGCDCHoughPlane * _layers[N_LAYERS]
layers of TRGCDCHoughPlane
float yMax(void) const
returns max. of y.
std::string name(void) const
returns name.
void id(unsigned serialId, unsigned &x, unsigned &y) const
returns x and y for serialID.
float charge(void) const
returns charge for this plane.
virtual ~TRGCDCHoughPlaneMulti()
Destructor.
void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override
dump debug info
unsigned nY(void) const
return # of y bins.
Abstract base class for different kinds of events.
void merge(void)
merge function
#define N_LAYERS
number of layers
void registerPattern(unsigned id) override
registers a pattern..
const TRGCDCHoughTransformation & transformation(void) const
returns Hough transformation object.
virtual unsigned nActiveCellsInPattern(void) const
returns # of active cells in the pattern.
float xMin(void) const
returns min. of x.
unsigned _nLayers
number of layers
float xMax(void) const
returns max. of x.
virtual void vote(float rx, float ry, int weight=1)
Voring.
unsigned nX(void) const
returns # of x bins.
float yMin(void) const
returns min. of y.
bool _usage[N_LAYERS]
usage of each layer