![]() |
Belle II Software
release-08-02-04
|
template class for SVd histograms More...
#include <SVDHistograms.h>


Public Types | |
| enum | E_side { VIndex = 0 , UIndex = 1 } |
| This enumeration assure the same semantic of the isU methods defined by Peter Kv. | |
Public Member Functions | |
| SVDHistograms () | |
| Default constructor. | |
| SVDHistograms (const H &templateHisto) | |
| the class is built with a default histogram for L3 and L456, U and V sides More... | |
| SVDHistograms (const H &templateU3, const H &templateV3, const H &templateU456, const H &templateV456) | |
| Use templates to initialize all the histograms. More... | |
| ~SVDHistograms () | |
| clean everything in the destructor | |
| H * | getHistogram (const VxdID &vxdID, int view) |
| get a reference to the histogram for More... | |
| template<class ... Types> | |
| void | fill (const VxdID &vxdID, int view, Types ... args) |
| fill the histogram for More... | |
| template<class ... Types> | |
| void | fill (const VxdID &vxdID, bool isU, Types ... args) |
| fill the histogram for More... | |
| void | customizeString (std::string &base, const VxdID &vxdID, bool isU) |
| replaces layer ladder sensor view and apv with the current numbers | |
| void | clean () |
| delete pointers | |
| void | reset () |
| Call Reset() on all histograms. | |
Private Types | |
| typedef std::vector< H * > | t_SVDSensor |
| a vector of H, length = 2 | |
| typedef std::vector< t_SVDSensor > | t_SVDLadder |
| a vector of vector of H, length = # svd sensors | |
| typedef std::vector< t_SVDLadder > | t_SVDLayer |
| a vector of vector of vector of H, length = # ladders | |
| typedef std::vector< t_SVDLayer > | t_SVD |
| a vector of vector of vector of vector of H, length = # layers | |
Private Member Functions | |
| void | customize (H &histogram, VxdID vxdID, int view) |
| customize the histogram with the sensor, view More... | |
| ClassDef (SVDHistograms, 1) | |
| needed by root | |
Private Attributes | |
| t_SVD | m_histograms |
| the vector of vector ... More... | |
| H * | m_defaultHistogram |
| the default histogram | |
template class for SVd histograms
Definition at line 24 of file SVDHistograms.h.
|
inlineexplicit |
the class is built with a default histogram for L3 and L456, U and V sides
Use
| templateHisto | to initialize all the histograms |
Definition at line 32 of file SVDHistograms.h.
|
inline |
fill the histogram for
| vxdID | side |
| isU | with |
| args |
Definition at line 85 of file SVDHistograms.h.
|
inline |
fill the histogram for
| vxdID | side |
| view | with |
| args |
Definition at line 77 of file SVDHistograms.h.
|
inline |
get a reference to the histogram for
| vxdID | side |
| view | please, use the enumeration SVDHistograms::Vindex and SVDHistograms::UIndex |
Definition at line 56 of file SVDHistograms.h.
|
private |
the vector of vector ...
that contains all histograms
Definition at line 145 of file SVDHistograms.h.