30 |
///< Code for Calorimeter level1 |
///< Code for Calorimeter level1 |
31 |
}; |
}; |
32 |
|
|
33 |
|
/*! @enum TOFLAYERS Flags to identify layers. */ |
34 |
|
enum TOFLAYERS { |
35 |
|
S11 = 1, ///< S11. |
36 |
|
S12 = 2, ///< S12. |
37 |
|
S21 = 4, ///< S21. |
38 |
|
S22 = 8, ///< S22. |
39 |
|
S31 = 16, ///< S31. |
40 |
|
S32 = 32 |
41 |
|
///< S32. |
42 |
|
}; |
43 |
|
|
44 |
/*! @var TOFNPADLAYER |
/*! @var TOFNPADLAYER |
45 |
* The number of pads in each ToF layer. S11 corresponds to element 0, S12 to element 1 and so on. |
* The number of pads in each ToF layer. S11 corresponds to element 0, S12 to element 1 and so on. |
46 |
*/ |
*/ |
66 |
* @param nCols The number of columns |
* @param nCols The number of columns |
67 |
* @param elements The initialization value for the matrix elements. |
* @param elements The initialization value for the matrix elements. |
68 |
*/ |
*/ |
69 |
SimpleMatrix(unsigned int nRows, unsigned int nCols, T elements = T()) : |
SimpleMatrix(unsigned int nRows = 0, unsigned int nCols = 0, T elements = T()) : |
70 |
_matrix(nRows, std::vector<T>(nCols, elements)) { |
_matrix(nRows, std::vector<T>(nCols, elements)) { |
71 |
|
|
72 |
} |
} |