File indexing completed on 2024-09-07 04:38:16
0001 #ifndef RPCPatts_Constants_h
0002 #define RPCPatts_Constants_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #include <cmath>
0021 namespace RPCpg {
0022 const int mu = 0;
0023 const int mubar = 1;
0024 const int muundefined = 10;
0025
0026 const unsigned int maxPlanes_s = 6;
0027 const unsigned int empty_s = 99;
0028 const unsigned int ptBins_s = 32;
0029
0030 static const double pts[33] = {0.0, 0.01, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5., 6.,
0031 7., 8., 10., 12., 14., 16., 18., 20., 25., 30., 35.,
0032 40., 45., 50., 60., 70., 80., 90., 100., 120., 140., 160.};
0033 double rate(double x);
0034
0035 }
0036
0037 #include <vector>
0038 #include <map>
0039 #include <string>
0040 namespace RPCPatGen {
0041
0042
0043 struct TQualityStruct {
0044 TQualityStruct(const std::string &str, short int qual, short int tabNum)
0045 : m_qualStr(str), m_qual(qual), m_tabNum(tabNum) {}
0046 std::string m_qualStr;
0047 short int m_qual;
0048 short int m_tabNum;
0049 };
0050 typedef std::vector<TQualityStruct> TQualVec;
0051 typedef std::map<int, TQualVec> TTowerToQualMap;
0052
0053 typedef std::vector<int> TOrSize;
0054 typedef std::map<int, TOrSize> TOrSizeMap;
0055 typedef std::map<int, TOrSizeMap> TPtOrSizeMap;
0056
0057 }
0058
0059 #endif