Belle II Software development
|
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. More... | |
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 | |
SVDHistograms (const H &templateU3, const H &templateV3, const H &templateU456, const H &templateV456) | |
Use templates to initialize all the histograms. | |
~SVDHistograms () | |
clean everything in the destructor | |
H * | getHistogram (const VxdID &vxdID, int view) |
get a reference to the histogram for | |
template<class ... Types> | |
void | fill (const VxdID &vxdID, int view, Types ... args) |
fill the histogram for | |
template<class ... Types> | |
void | fill (const VxdID &vxdID, bool isU, Types ... args) |
fill the histogram for | |
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 | |
ClassDef (SVDHistograms, 1) | |
needed by root | |
Private Attributes | |
t_SVD | m_histograms |
the vector of vector ... that contains all histograms | |
H * | m_defaultHistogram |
the default histogram | |
template class for SVd histograms
Definition at line 24 of file SVDHistograms.h.
|
private |
a vector of vector of vector of vector of H, length = # layers
Definition at line 143 of file SVDHistograms.h.
|
private |
a vector of vector of H, length = # svd sensors
Definition at line 137 of file SVDHistograms.h.
|
private |
a vector of vector of vector of H, length = # ladders
Definition at line 140 of file SVDHistograms.h.
|
private |
a vector of H, length = 2
Definition at line 134 of file SVDHistograms.h.
enum E_side |
This enumeration assure the same semantic of the isU methods defined by Peter Kv.
Definition at line 51 of file SVDHistograms.h.
|
inline |
Default constructor.
Definition at line 28 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 |
|
inline |
delete pointers
Definition at line 107 of file SVDHistograms.h.
|
inline |
replaces layer ladder sensor view and apv with the current numbers
Definition at line 92 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.
|
inline |
Call Reset() on all histograms.
Definition at line 118 of file SVDHistograms.h.
|
private |
the default histogram
Definition at line 146 of file SVDHistograms.h.
|
private |
the vector of vector ... that contains all histograms
Definition at line 145 of file SVDHistograms.h.