/[PAMELA software]/PamCut/CommonDefs.h
ViewVC logotype

Diff of /PamCut/CommonDefs.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by pam-fi, Wed Jun 10 12:45:46 2009 UTC revision 1.5 by pam-fi, Tue Oct 27 10:26:40 2009 UTC
# Line 30  enum DETECTORCODE { Line 30  enum DETECTORCODE {
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   */   */
# Line 55  public: Line 66  public:
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    }    }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23