Belle II Software development
|
template class for the APV Histograms More...
#include <SVDAPVHistograms.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 | |
SVDAPVHistograms () | |
Default constructor. | |
SVDAPVHistograms (const H &templateAPV) | |
Use. | |
~SVDAPVHistograms () | |
clean everything in the destructor | |
H * | getHistogram (const VxdID &vxdID, int view, int apv) |
get a reference to the histogram for | |
template<class ... Types> | |
void | fill (const VxdID &vxdID, int view, int apv, Types ... args) |
fill the histogram for | |
template<class ... Types> | |
void | fill (const VxdID &vxdID, bool isU, int apv, Types ... args) |
fill the histogram for | |
void | customizeString (std::string &base, const VxdID &vxdID, bool isU, int user_apv) |
replaces layer ladder sensor view and apv with the current numbers | |
void | clean () |
delete pointers | |
Private Types | |
typedef std::vector< H * > | t_Views |
A t_SVDView is a vector of H that will have length = # APV chips. | |
typedef std::vector< t_Views > | t_SVDSensor |
a vector of vector of H, length = 2 | |
typedef std::vector< t_SVDSensor > | t_SVDLadder |
A t_SVDLadder is a vector of t_SVDSensors. | |
typedef std::vector< t_SVDLadder > | t_SVDLayer |
A t_SVDLayer is a vector of t_SVDLadders. | |
typedef std::vector< t_SVDLayer > | t_SVD |
The t_SVD is a vector of t_SVDLayers. | |
Private Member Functions | |
void | customize (H &histogram, VxdID vxdID, int view, int apv) |
customize the histogram with the sensor, view and APV numbers | |
ClassDef (SVDAPVHistograms, 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 the APV Histograms
Definition at line 24 of file SVDAPVHistograms.h.
|
private |
The t_SVD is a vector of t_SVDLayers.
a vector of vector of vector of vector of vector of H, length = # layers
Definition at line 139 of file SVDAPVHistograms.h.
|
private |
A t_SVDLadder is a vector of t_SVDSensors.
a vector of vector of vector of H, length = # svd sensors
Definition at line 133 of file SVDAPVHistograms.h.
|
private |
A t_SVDLayer is a vector of t_SVDLadders.
a vector of vector of vector of vector of H, length = # ladders
Definition at line 136 of file SVDAPVHistograms.h.
|
private |
a vector of vector of H, length = 2
Definition at line 130 of file SVDAPVHistograms.h.
|
private |
A t_SVDView is a vector of H that will have length = # APV chips.
Index 0 for the V side, index 1 for the U side Please, please, pleaseeeee use SVDAPVHistograms<...>::UIndex and SVDAPVHistograms<...>::VIndex instead of 1 and 0 for better code readibility a vector of H, length = # APV chips
Definition at line 128 of file SVDAPVHistograms.h.
enum E_side |
This enumeration assure the same semantic of the isU methods defined by Peter Kv.
Definition at line 39 of file SVDAPVHistograms.h.
|
inline |
Default constructor.
Definition at line 28 of file SVDAPVHistograms.h.
|
inline |
clean everything in the destructor
Definition at line 35 of file SVDAPVHistograms.h.
|
inline |
delete pointers
Definition at line 107 of file SVDAPVHistograms.h.
|
inline |
replaces layer ladder sensor view and apv with the current numbers
Definition at line 90 of file SVDAPVHistograms.h.
|
inline |
fill the histogram for
vxdID | side |
isU | |
apv | |
args | value to be filled |
Definition at line 83 of file SVDAPVHistograms.h.
|
inline |
fill the histogram for
vxdID | side |
view | |
apv | |
args | value to be filled |
Definition at line 71 of file SVDAPVHistograms.h.
|
inline |
get a reference to the histogram for
vxdID | side |
view | and |
apv | please, use the enumeration SVDAPVHistograms::Vindex and SVDAPVHistograms::UIndex |
Definition at line 44 of file SVDAPVHistograms.h.
|
private |
the default histogram
Definition at line 142 of file SVDAPVHistograms.h.
|
private |
the vector of vector ... that contains all histograms
Definition at line 141 of file SVDAPVHistograms.h.