/[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.7 by pam-fi, Wed Mar 10 08:54:44 2010 UTC revision 1.10 by pam-fi, Thu Jul 8 14:00:24 2010 UTC
# Line 14  Line 14 
14  /*! @brief The implementations of PamCut::Check() must return this value if the event satisfy the cut*/  /*! @brief The implementations of PamCut::Check() must return this value if the event satisfy the cut*/
15  const int CUTOK = -1;  const int CUTOK = -1;
16    
17    const float POSITIVE = 1.0; ///< Positive sign alias
18    const float NEGATIVE = -1.0; ///< Negative sign alias
19    
20  /*! @enum DETECTORCODE  /*! @enum DETECTORCODE
21   * The values for each detector correspond to a binary code associated to that detector.   * The values for each detector correspond to a binary code associated to that detector.
22   * These can be arithmetically added to create a binary code for a set of detectors.   * These can be arithmetically added to create a binary code for a set of detectors.
# Line 31  enum DETECTORCODE { Line 34  enum DETECTORCODE {
34  ///< Code for Calorimeter level1  ///< Code for Calorimeter level1
35  };  };
36    
37  /*! @enum TOFLAYERS Flags to identify layers. */  /*! @enum TOFLAYERS Flags to identify TOF layers. */
38  enum TOFLAYERS {  enum TOFLAYERS {
39    S11 = 1, ///< S11.    S11 = 1, ///< S11.
40    S12 = 2, ///< S12.    S12 = 2, ///< S12.
# Line 42  enum TOFLAYERS { Line 45  enum TOFLAYERS {
45  ///< S32.  ///< S32.
46  };  };
47    
48    /*! @enum TRKLAYERS Flags to identify Tracker layers. */
49    enum TRKLAYERS {
50      T1X = 1, ///< T1X.
51      T2X = 2, ///< T2X.
52      T3X = 4, ///< T3X.
53      T4X = 8, ///< T4X.
54      T5X = 16, ///< T5X.
55      T6X = 32, ///< T6X.
56      TX = 63, ///< All the X layers
57      T1Y = 64, ///< T1Y.
58      T2Y = 128, ///< T2Y.
59      T3Y = 256, ///< T3Y.
60      T4Y = 512, ///< T4Y.
61      T5Y = 1024, ///< T5Y.
62      T6Y = 2048, ///< T6Y.
63      TY = 4032
64    ///< All the Y layers
65    };
66  /*! @var TOFNPADLAYER  /*! @var TOFNPADLAYER
67   * 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.
68   */   */
# Line 50  const int TOFNPADLAYER[6] = { 8, 6, 2, 2 Line 71  const int TOFNPADLAYER[6] = { 8, 6, 2, 2
71  /*! @var H_MASS  /*! @var H_MASS
72   * Proton mass   * Proton mass
73   */   */
74  const Float_t H_MASS = 0.93827203; // GeV (pdg.web.cern.ch)  const float H_MASS = 0.93827203; // GeV (pdg.web.cern.ch)
75    
76  /*! @var HE4_MASS  /*! @var HE4_MASS
77   * Helium 4 mass   * Helium 4 mass
78   */   */
79  const Float_t HE4_MASS = 3.7274; // GeV (http://hyperphysics.phy-astr.gsu.edu/Hbase/pertab/He.html)  const float HE4_MASS = 3.7274; // GeV (http://hyperphysics.phy-astr.gsu.edu/Hbase/pertab/He.html)
80    
81  /*! @var HE3_MASS  /*! @var HE3_MASS
82   * Helium 3 mass   * Helium 3 mass
83   */   */
84  const Float_t HE3_MASS = 2.8084; // GeV (http://hyperphysics.phy-astr.gsu.edu/Hbase/pertab/He.html)  const float HE3_MASS = 2.8084; // GeV (http://hyperphysics.phy-astr.gsu.edu/Hbase/pertab/He.html)
85    
86  /*! @var E_MASS  /*! @var E_MASS
87   * Electron mass   * Electron mass
88   */   */
89  const Float_t E_MASS = 0.000510998; // GeV (from PDG)  const float E_MASS = 0.000510998; // GeV (from PDG)
90    
91  /*! @brief A simple matrix class.  /*! @brief A simple matrix class.
92   *   *

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.23