CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Attributes
RPCConst Class Reference

#include <RPCConst.h>

Classes

struct  l1RpcConeCrdnts
 The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment. More...
 

Public Types

typedef std::vector< short > TQualityTab
 
typedef std::vector< TQualityTabTQualityTabsVec
 

Public Member Functions

std::string intToString (int number)
 Converts inteager number to string. More...
 
int stringToInt (std::string str)
 Converts string to inteager number. If string contains chars, that are not digits, throws RPCException. More...
 

Static Public Member Functions

static double etaFromTowerNum (const int atower)
 
static int iptFromPt (const double pt)
 
static double phiFromLogSegSec (const int logSegment, const int logSector)
 
static double phiFromSegmentNum (const int iseg)
 
static double ptFromIpt (const int ipt)
 
static int segmentNumFromPhi (const double phi)
 
static int towerNumFromEta (const double eta)
 
static double vxIntegMuRate (int ptCode, double etaFrom, double etaTo)
 
static double vxIntegMuRate (int ptCode, int m_tower)
 
static double vxMuRate (int ptCode)
 

Static Public Attributes

static constexpr int IPT_MAX = 31
 Max pt bin code. More...
 
static constexpr int ITOW_MAX = 16
 Maximal number of abs(m_tower_number) More...
 
static constexpr int ITOW_MIN = 0
 Minimal number of abs(m_tower_number) More...
 
static const unsigned int m_FINAL_OUT_MUONS_CNT
 m_Number of muon candidates return by Final GhostBuster&Sorter More...
 
static const int m_FIRST_PLANE = m_LOGPLANE1
 Use ase a first index in loops. More...
 
static const unsigned int m_GBETA_OUT_MUONS_CNT
 m_Number of muon candidates return by Trigger Board's eta Ghost Buster More...
 
static const unsigned int m_GBPHI_OUT_MUONS_CNT
 m_Number of muon candidates return by Trigger Board's phi Ghost Buster More...
 
static const int m_LAST_PLANE = m_LOGPLANE6
 Use ase a last index in loops. More...
 
static const int m_LOGPLANE1
 The Logic Planes are named starting from '1', but in varoius loop indeks are from '0', that's why always use these consts. More...
 
static const int m_LOGPLANE2 = 1
 
static const int m_LOGPLANE3 = 2
 
static const int m_LOGPLANE4 = 3
 
static const int m_LOGPLANE5 = 4
 
static const int m_LOGPLANE6 = 5
 
static const unsigned int m_LOGPLANE_SIZE [m_TOWER_COUNT][m_LOGPLANES_COUNT]
 Definition of Logic Cone Sizes - number of Logic m_Strips in each plane. More...
 
static const std::string m_LOGPLANE_STR []
 Log Planes names. More...
 
static const int m_LOGPLANES_COUNT = 6
 Max Logic Planes Count in trigger towers. More...
 
static const int m_NOT_CONECTED
 Denotes Logic m_Strips that is not valid (f.e. in Patterns denotes, that in given plane the pattern is not defined). More...
 
static const int m_PT_CODE_MAX = 31
 Pt_code range = 0-m_PT_CODE_MAX. More...
 
static const int m_REF_PLANE [m_TOWER_COUNT]
 Definition of Referenece Plane for each m_Tower. More...
 
static const unsigned int m_SEGMENTS_IN_SECTOR_CNT
 m_Number of Logic Segments in one Logic Sector, defines also the number of Logic Cones for one Logic Sector of one m_Tower. More...
 
static const unsigned int m_TCGB_OUT_MUONS_CNT
 m_Number of muon candidates return by Trigger Crate's Ghost Buster More...
 
static const int m_TOWER_COUNT = 16 + 1
 Only half of the detector. More...
 
static const unsigned int m_TOWERS_ON_TB_CNT = 4
 Max number of towers covered by one Trugger Board. More...
 
static const int m_USED_PLANES_COUNT [m_TOWER_COUNT]
 m_Number of Logic Planes existing in each m_Tower. More...
 
static const int m_VLPT_CUT = 7
 Max Pt code of Very Low Pt patterns. More...
 
static const int m_VLPT_PLANES_COUNT [m_TOWER_COUNT] = {4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3}
 m_Number of Logic Planes used for Very Low Pt patterns. More...
 
static constexpr int NSEG = NSTRIPS / 8
 
static constexpr int NSTRIPS = 1152
 m_Number of Rpc strips in phi direction. More...
 
static constexpr int OFFSET = 5
 Offset of the first trigger phi sector [deg]. More...
 

Static Private Attributes

static const double m_etas [RPCConst::ITOW_MAX+2]
 
static const double m_pts [RPCConst::IPT_MAX+1]
 

Detailed Description

Class contains number of L1RpcTrigger specific constanst, and transforming methods (eg. phi <-> segment number) (Should migrate to DDD?)

Author
Marcin Konecki, Warsaw Artur Kalinowski, Warsaw

Definition at line 23 of file RPCConst.h.

Member Typedef Documentation

◆ TQualityTab

typedef std::vector<short> RPCConst::TQualityTab

Definition at line 112 of file RPCConst.h.

◆ TQualityTabsVec

typedef std::vector<TQualityTab> RPCConst::TQualityTabsVec

Definition at line 113 of file RPCConst.h.

Member Function Documentation

◆ etaFromTowerNum()

double RPCConst::etaFromTowerNum ( const int  atower)
static

Method converts from m_tower number to eta (gives center of m_tower).

Definition at line 42 of file RPCConst.cc.

References PVValHelper::eta, ITOW_MAX, m_etas, mps_check::msg, and AlCaHLTBitMon_QueryRunRegistry::string.

42  {
43  int iabsitow = (atower >= 0) ? atower : -atower;
44  if (0 == iabsitow)
45  return 0.;
46  if (iabsitow > RPCConst::ITOW_MAX) {
47  //edm::LogError("RPCTrigger") << "**RPCConst::etaFromTowerNum** iabsitow>ITOW_MAX for m_tower:"
48  // << atower ;
49  std::string msg = "[RPCConst::etaFromTowerNum] iabsitow>ITOW_MAX for m_tower:";
50  std::ostringstream ostr;
51  ostr << atower;
52  msg += ostr.str();
53  throw RPCException(msg);
54  return 0.;
55  }
56  double eta = (m_etas[iabsitow] + m_etas[iabsitow + 1]) / 2.;
57  return (atower >= 0) ? eta : -eta;
58 }
static constexpr int ITOW_MAX
Maximal number of abs(m_tower_number)
Definition: RPCConst.h:26
static const double m_etas[RPCConst::ITOW_MAX+2]
Definition: RPCConst.h:239
tuple msg
Definition: mps_check.py:286

◆ intToString()

std::string RPCConst::intToString ( int  number)

Converts inteager number to string.

Definition at line 264 of file RPCConst.cc.

References contentValuesFiles::number, str, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.

Referenced by RPCPacData::getPatternsGroupDescription(), RPCPacData::insertPatterns(), and RPCPacData::RPCPacData().

264  {
266  /* Some problems. AK
267  std::ostringstream ostr;
268  ostr<<number;
269  str = ostr.str();
270  edm::LogError("RPCTrigger")<<"std::string intToString(int number)";
271  edm::LogError("RPCTrigger")<<str;
272  */
273  char tmp[20];
274  sprintf(tmp, "%d", number);
275  str.append(tmp);
276  return str;
277 }
#define str(s)
tmp
align.sh
Definition: createJobs.py:716

◆ iptFromPt()

int RPCConst::iptFromPt ( const double  pt)
static

Method converts pt [Gev/c] into pt bin number (0, 31).

Definition at line 10 of file RPCConst.cc.

References IPT_MAX, m_pts, mps_check::msg, DiDispStaMuonMonitor_cfi::pt, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by OMTFProcessor< GoldenPatternType >::fillCounts(), and PatternOptimizerBase::printPatterns().

10  {
11  if (pt == 0.)
12  return 0;
13  if (pt < m_pts[0]) {
14  //edm::LogError("RPCTrigger")<<"** RPCConst ** iptFromPt called with illegal pt="<<pt;
15  std::string msg = "[RPCConst::iptFromPt] called with illegal pt=";
16  std::ostringstream ostr;
17  ostr << pt;
18  msg += ostr.str();
19  throw RPCException(msg);
20  return 0;
21  }
22  int ipt = RPCConst::IPT_MAX;
23  while (pt < m_pts[ipt]) {
24  ipt--;
25  };
26  return ipt;
27 }
static constexpr int IPT_MAX
Max pt bin code.
Definition: RPCConst.h:28
tuple msg
Definition: mps_check.py:286
static const double m_pts[RPCConst::IPT_MAX+1]
Definition: RPCConst.h:235

◆ phiFromLogSegSec()

double RPCConst::phiFromLogSegSec ( const int  logSegment,
const int  logSector 
)
static

Method converts from logSegment (0..11) and logSector(0...11) .

Definition at line 78 of file RPCConst.cc.

References m_pi, NSEG, OFFSET, and phi.

78  {
79  int iseg = logSegment * 12 + logSector;
80  double phi = OFFSET + 2. * m_pi * (iseg) / (double)RPCConst::NSEG;
81  return (phi < 2. * m_pi) ? phi : phi - 2. * m_pi;
82 }
static constexpr int NSEG
Definition: RPCConst.h:30
#define m_pi
Definition: RPCConst.cc:8
static constexpr int OFFSET
Offset of the first trigger phi sector [deg].
Definition: RPCConst.h:32

◆ phiFromSegmentNum()

double RPCConst::phiFromSegmentNum ( const int  iseg)
static

Method converts from segment number (0, 144). obsolete

Definition at line 73 of file RPCConst.cc.

References m_pi, NSEG, OFFSET, and phi.

73  {
74  double phi = OFFSET + 2. * m_pi * (iseg) / (double)RPCConst::NSEG;
75  return (phi < 2. * m_pi) ? phi : phi - 2. * m_pi;
76 }
static constexpr int NSEG
Definition: RPCConst.h:30
#define m_pi
Definition: RPCConst.cc:8
static constexpr int OFFSET
Offset of the first trigger phi sector [deg].
Definition: RPCConst.h:32

◆ ptFromIpt()

double RPCConst::ptFromIpt ( const int  ipt)
static

Method converts pt bin number (0, 31) to pt [GeV/c].

Definition at line 29 of file RPCConst.cc.

References IPT_MAX, m_pts, mps_check::msg, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by OMTFPatternMaker::endJob(), OMTFProcessor< GoldenPatternType >::fillCounts(), vxIntegMuRate(), and vxMuRate().

29  {
30  if (ipt < 0 || ipt > RPCConst::IPT_MAX) {
31  //edm::LogError("RPCTrigger") <<"**RPCConst::ptFromIpt** problem with ipt: "<<ipt;
32  std::string msg = "[RPCConst::ptFromIpt] problem with ipt: ";
33  std::ostringstream ostr;
34  ostr << ipt;
35  msg += ostr.str();
36  throw RPCException(msg);
37  return 0.;
38  } else
39  return m_pts[ipt];
40 }
static constexpr int IPT_MAX
Max pt bin code.
Definition: RPCConst.h:28
tuple msg
Definition: mps_check.py:286
static const double m_pts[RPCConst::IPT_MAX+1]
Definition: RPCConst.h:235

◆ segmentNumFromPhi()

int RPCConst::segmentNumFromPhi ( const double  phi)
static

obsolete Method converts phi to segment number (0, 144).

Definition at line 84 of file RPCConst.cc.

References createfilelist::int, hcalRecHitTable_cff::iphi, m_pi, NSEG, OFFSET, and phi.

84  {
85  double iphi;
86  if (phi - OFFSET < 0) {
87  iphi = 2 * m_pi + phi;
88  } else {
89  iphi = phi - OFFSET;
90  }
91  int iseg = (int)(iphi * RPCConst::NSEG / (2. * m_pi));
92  return iseg;
93 }
static constexpr int NSEG
Definition: RPCConst.h:30
#define m_pi
Definition: RPCConst.cc:8
static constexpr int OFFSET
Offset of the first trigger phi sector [deg].
Definition: RPCConst.h:32

◆ stringToInt()

int RPCConst::stringToInt ( std::string  str)

Converts string to inteager number. If string contains chars, that are not digits, throws RPCException.

Definition at line 255 of file RPCConst.cc.

References mps_fire::i, and str.

Referenced by RPCPatternsParser::startElement().

255  {
256  for (unsigned int i = 0; i < str.size(); i++)
257  if (str[i] < '0' || str[i] > '9')
258  throw RPCException("Error in stringToInt(): the string cannot be converted to a number");
259  //edm::LogError("RPCTrigger")<< "Error in stringToInt(): the string cannot be converted to a number";
260  return atoi(str.c_str());
261 }
#define str(s)

◆ towerNumFromEta()

int RPCConst::towerNumFromEta ( const double  eta)
static

Method converts from eta to trigger m_tower number.

Definition at line 60 of file RPCConst.cc.

References PVValHelper::eta, ITOW_MAX, and m_etas.

Referenced by RPCPhiEff::analyze().

60  {
61  int m_tower = 0;
62  double abseta = (eta >= 0.) ? eta : -eta;
63  while (m_tower <= ITOW_MAX) {
64  if (m_etas[m_tower] <= abseta && abseta < m_etas[m_tower + 1])
65  break;
66  m_tower++;
67  }
68  if (m_tower > ITOW_MAX)
69  m_tower = ITOW_MAX;
70  return (eta >= 0) ? m_tower : -m_tower;
71 }
static constexpr int ITOW_MAX
Maximal number of abs(m_tower_number)
Definition: RPCConst.h:26
static const double m_etas[RPCConst::ITOW_MAX+2]
Definition: RPCConst.h:239

◆ vxIntegMuRate() [1/2]

double RPCConst::vxIntegMuRate ( int  ptCode,
double  etaFrom,
double  etaTo 
)
static

Definition at line 130 of file RPCConst.cc.

References ptFromIpt(), RPCpg::rate(), and vxMuRate().

Referenced by vxIntegMuRate().

130  {
131  //calkowanie metoda trapezow - nie do konca dobre
132  double rate =
133  0.5 * (vxMuRate(ptCode) + vxMuRate(ptCode + 1)) * (RPCConst::ptFromIpt(ptCode + 1) - RPCConst::ptFromIpt(ptCode));
134 
135  rate = rate * (etaTo - etaFrom);
136 
137  //edm::LogError("RPCTrigger")<<ptCode<<" "<<rate;//<<<<<<<<<<<<<<<<<<<<<<<<
138  return rate;
139 }
static double vxMuRate(int ptCode)
Definition: RPCConst.cc:106
static double ptFromIpt(const int ipt)
Definition: RPCConst.cc:29
double rate(double x)
Definition: Constants.cc:3

◆ vxIntegMuRate() [2/2]

double RPCConst::vxIntegMuRate ( int  ptCode,
int  m_tower 
)
static

Definition at line 143 of file RPCConst.cc.

References funct::abs(), m_etas, RPCpg::rate(), and vxIntegMuRate().

143  {
144  //calkowanie metoda trapezow - nie do konca dobre
145  double rate = vxIntegMuRate(ptCode, RPCConst::m_etas[abs(m_tower)], RPCConst::m_etas[abs(m_tower) + 1]);
146 
147  //edm::LogError("RPCTrigger")<<ptCode<<" "<<rate;//<<<<<<<<<<<<<<<<<<<<<<<<
148  return rate;
149 }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
static const double m_etas[RPCConst::ITOW_MAX+2]
Definition: RPCConst.h:239
double rate(double x)
Definition: Constants.cc:3
static double vxIntegMuRate(int ptCode, double etaFrom, double etaTo)
Definition: RPCConst.cc:130

◆ vxMuRate()

double RPCConst::vxMuRate ( int  ptCode)
static

Spectrum of muons originating from vertex. See CMS-TN-1995/150

Definition at line 106 of file RPCConst.cc.

References a, JetChargeProducer_cfi::exp, amptDefaultParameters_cff::mu, ptFromIpt(), and RPCpg::rate().

Referenced by vxIntegMuRate().

106  {
107  double pt_ev = RPCConst::ptFromIpt(ptCode);
108  if (pt_ev == 0)
109  return 0.0;
110  const double lum = 2.0e33; //defoult is 1.0e34;
111  const double dabseta = 1.0;
112  const double dpt = 1.0;
113  const double afactor = 1.0e-34 * lum * dabseta * dpt;
114  const double a = 2 * 1.3084E6;
115  const double mu = -0.725;
116  const double sigma = 0.4333;
117  const double s2 = 2 * sigma * sigma;
118 
119  double ptlog10;
120  ptlog10 = log10(pt_ev);
121  double ex = (ptlog10 - mu) * (ptlog10 - mu) / s2;
122  double rate = (a * exp(-ex) * afactor);
123 
124  //edm::LogError("RPCTrigger")<<ptCode<<" "<<rate;//<<<<<<<<<<<<<<<<<<<<<<<<
125  return rate;
126 }
static double ptFromIpt(const int ipt)
Definition: RPCConst.cc:29
double rate(double x)
Definition: Constants.cc:3
double a
Definition: hdecay.h:121

Member Data Documentation

◆ IPT_MAX

constexpr int RPCConst::IPT_MAX = 31
static

Max pt bin code.

Definition at line 28 of file RPCConst.h.

Referenced by iptFromPt(), and ptFromIpt().

◆ ITOW_MAX

constexpr int RPCConst::ITOW_MAX = 16
static

Maximal number of abs(m_tower_number)

Definition at line 26 of file RPCConst.h.

Referenced by etaFromTowerNum(), RPCBasicTrigConfig::getTBNum(), RPCBasicTrigConfig::getTowerNumOnTb(), and towerNumFromEta().

◆ ITOW_MIN

constexpr int RPCConst::ITOW_MIN = 0
static

Minimal number of abs(m_tower_number)

Definition at line 25 of file RPCConst.h.

◆ m_etas

const double RPCConst::m_etas
staticprivate
Initial value:
= {
0.00, 0.07, 0.27, 0.44, 0.58, 0.72, 0.83, 0.93, 1.04, 1.14, 1.24, 1.36, 1.48, 1.61, 1.73, 1.85, 1.97, 2.10}

Matrix with approximate upper towers limits. Only positive ones are reported, for negative ones mirror symmetry assumed.

Definition at line 239 of file RPCConst.h.

Referenced by etaFromTowerNum(), towerNumFromEta(), and vxIntegMuRate().

◆ m_FINAL_OUT_MUONS_CNT

const unsigned int RPCConst::m_FINAL_OUT_MUONS_CNT
static
Initial value:
=
4

m_Number of muon candidates return by Final GhostBuster&Sorter

Definition at line 161 of file RPCConst.h.

Referenced by RPCFinalSorter::runFinalSorter(), and RPCHalfSorter::runHalf().

◆ m_FIRST_PLANE

const int RPCConst::m_FIRST_PLANE = m_LOGPLANE1
static

◆ m_GBETA_OUT_MUONS_CNT

const unsigned int RPCConst::m_GBETA_OUT_MUONS_CNT
static
Initial value:
=
4

m_Number of muon candidates return by Trigger Board's eta Ghost Buster

Definition at line 157 of file RPCConst.h.

Referenced by RPCTBGhostBuster::gBEta().

◆ m_GBPHI_OUT_MUONS_CNT

const unsigned int RPCConst::m_GBPHI_OUT_MUONS_CNT
static
Initial value:
=
4

m_Number of muon candidates return by Trigger Board's phi Ghost Buster

Definition at line 155 of file RPCConst.h.

Referenced by RPCTBGhostBuster::gBPhi().

◆ m_LAST_PLANE

const int RPCConst::m_LAST_PLANE = m_LOGPLANE6
static

Use ase a last index in loops.

Definition at line 55 of file RPCConst.h.

Referenced by RPCLogCone::shift(), RPCLogCone::toString(), and TPatternsGroup::updateShape().

◆ m_LOGPLANE1

const int RPCConst::m_LOGPLANE1
static
Initial value:
=
0

The Logic Planes are named starting from '1', but in varoius loop indeks are from '0', that's why always use these consts.

Definition at line 46 of file RPCConst.h.

◆ m_LOGPLANE2

const int RPCConst::m_LOGPLANE2 = 1
static

Definition at line 48 of file RPCConst.h.

◆ m_LOGPLANE3

const int RPCConst::m_LOGPLANE3 = 2
static

Definition at line 49 of file RPCConst.h.

◆ m_LOGPLANE4

const int RPCConst::m_LOGPLANE4 = 3
static

Definition at line 50 of file RPCConst.h.

Referenced by RPCLogCone::possibleTrigger().

◆ m_LOGPLANE5

const int RPCConst::m_LOGPLANE5 = 4
static

Definition at line 51 of file RPCConst.h.

◆ m_LOGPLANE6

const int RPCConst::m_LOGPLANE6 = 5
static

Definition at line 52 of file RPCConst.h.

◆ m_LOGPLANE_SIZE

const unsigned int RPCConst::m_LOGPLANE_SIZE
static
Initial value:
= {
{72, 56, 8, 40, 40, 24},
{72, 56, 8, 40, 40, 24},
{72, 56, 8, 40, 40, 24},
{72, 56, 8, 40, 40, 24},
{72, 56, 8, 40, 40, 24},
{72, 56, 40, 8, 40, 24},
{56, 72, 40, 8, 24, 0},
{72, 56, 40, 8, 24, 0},
{72, 24, 40, 8, 0, 0},
{72, 8, 40, 0, 0, 0},
{72, 8, 40, 24, 0, 0},
{72, 8, 40, 24, 0, 0},
{72, 8, 40, 24, 0, 0},
{72, 8, 40, 24, 0, 0},
{72, 8, 40, 24, 0, 0},
{72, 8, 40, 24, 0, 0},
{72, 8, 40, 24, 0, 0}
}

Definition of Logic Cone Sizes - number of Logic m_Strips in each plane.

Definition at line 80 of file RPCConst.h.

Referenced by RPCLogCone::getCompressedCone(), RPCLogCone::RPCLogCone(), RPCLogCone::shift(), and RPCLogCone::toString().

◆ m_LOGPLANE_STR

const std::string RPCConst::m_LOGPLANE_STR
static
Initial value:
= {
"m_LOGPLANE1", "m_LOGPLANE2", "m_LOGPLANE3", "m_LOGPLANE4", "m_LOGPLANE5", "m_LOGPLANE6"}

Log Planes names.

Definition at line 77 of file RPCConst.h.

Referenced by RPCLogCone::toString().

◆ m_LOGPLANES_COUNT

const int RPCConst::m_LOGPLANES_COUNT = 6
static

Max Logic Planes Count in trigger towers.

Definition at line 44 of file RPCConst.h.

Referenced by RPCPacData::insertQualityRecord(), and RPCLogCone::RPCLogCone().

◆ m_NOT_CONECTED

const int RPCConst::m_NOT_CONECTED
static
Initial value:
=
99

Denotes Logic m_Strips that is not valid (f.e. in Patterns denotes, that in given plane the pattern is not defined).

Definition at line 93 of file RPCConst.h.

Referenced by RPCPac::runEnergeticPatternsGroups(), RPCPac::runTrackPatternsGroup(), and TPatternsGroup::updateShape().

◆ m_PT_CODE_MAX

const int RPCConst::m_PT_CODE_MAX = 31
static

Pt_code range = 0-m_PT_CODE_MAX.

Definition at line 42 of file RPCConst.h.

◆ m_pts

const double RPCConst::m_pts
staticprivate
Initial value:
= {
0.0, 0.01,
1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5., 6., 7., 8., 10., 12., 14., 16.,
18., 20., 25., 30., 35., 40., 45., 50., 60., 70., 80., 90., 100., 120., 140.}

Matrix with pt bins upper limits.

Definition at line 235 of file RPCConst.h.

Referenced by iptFromPt(), and ptFromIpt().

◆ m_REF_PLANE

const int RPCConst::m_REF_PLANE
static

◆ m_SEGMENTS_IN_SECTOR_CNT

const unsigned int RPCConst::m_SEGMENTS_IN_SECTOR_CNT
static
Initial value:
=
12

m_Number of Logic Segments in one Logic Sector, defines also the number of Logic Cones for one Logic Sector of one m_Tower.

Definition at line 153 of file RPCConst.h.

Referenced by RPCTBGhostBuster::gBPhi(), RPCHalfSorter::runHalf(), and RPCTriggerBoard::runTBGB().

◆ m_TCGB_OUT_MUONS_CNT

const unsigned int RPCConst::m_TCGB_OUT_MUONS_CNT
static
Initial value:
=
4

m_Number of muon candidates return by Trigger Crate's Ghost Buster

Definition at line 159 of file RPCConst.h.

Referenced by RPCTCGhostBusterSorter::run().

◆ m_TOWER_COUNT

const int RPCConst::m_TOWER_COUNT = 16 + 1
static

Only half of the detector.

Definition at line 40 of file RPCConst.h.

Referenced by RPCPacManager< RPCPacData >::init(), and RPCTriggerConfig::produce().

◆ m_TOWERS_ON_TB_CNT

const unsigned int RPCConst::m_TOWERS_ON_TB_CNT = 4
static

Max number of towers covered by one Trugger Board.

Definition at line 152 of file RPCConst.h.

Referenced by RPCTriggerBoard::runTBGB().

◆ m_USED_PLANES_COUNT

const int RPCConst::m_USED_PLANES_COUNT
static
Initial value:
= {
6,
6,
6,
6,
6,
6,
5,
5,
4,
3,
4,
4,
4,
4,
4,
4,
4}

m_Number of Logic Planes existing in each m_Tower.

Definition at line 86 of file RPCConst.h.

Referenced by RPCLogCone::getCompressedCone(), RPCLogCone::getFiredPlanesCnt(), RPCLogCone::possibleTrigger(), RPCLogCone::RPCLogCone(), RPCPac::runEnergeticPatternsGroups(), and RPCPac::runTrackPatternsGroup().

◆ m_VLPT_CUT

const int RPCConst::m_VLPT_CUT = 7
static

Max Pt code of Very Low Pt patterns.

Definition at line 91 of file RPCConst.h.

◆ m_VLPT_PLANES_COUNT

const int RPCConst::m_VLPT_PLANES_COUNT = {4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3}
static

m_Number of Logic Planes used for Very Low Pt patterns.

Definition at line 89 of file RPCConst.h.

◆ NSEG

constexpr int RPCConst::NSEG = NSTRIPS / 8
static

m_Number of trigger segments. One segment covers 8 RPC strips in referencial plane (hardware 2 or 6(2')

Definition at line 30 of file RPCConst.h.

Referenced by phiFromLogSegSec(), phiFromSegmentNum(), and segmentNumFromPhi().

◆ NSTRIPS

constexpr int RPCConst::NSTRIPS = 1152
static

m_Number of Rpc strips in phi direction.

Definition at line 29 of file RPCConst.h.

◆ OFFSET

constexpr int RPCConst::OFFSET = 5
static

Offset of the first trigger phi sector [deg].

Definition at line 32 of file RPCConst.h.

Referenced by phiFromLogSegSec(), phiFromSegmentNum(), and segmentNumFromPhi().