#include <RPCConst.h>
Classes | |
struct | l1RpcConeCrdnts |
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment. More... | |
Public Types | |
enum | { ITOW_MIN = 0, ITOW_MAX = 16, IPT_MAX = 31, NSTRIPS = 1152, NSEG = NSTRIPS/8, OFFSET = 5 } |
typedef std::vector< short > | TQualityTab |
typedef std::vector< TQualityTab > | TQualityTabsVec |
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 const unsigned int | m_FINAL_OUT_MUONS_CNT = 4 |
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 = 4 |
m_Number of muon candidates return by Trigger Board's eta Ghost Buster More... | |
static const unsigned int | m_GBPHI_OUT_MUONS_CNT = 4 |
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 = 0 |
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 = 99 |
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 = 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. More... | |
static const unsigned int | m_TCGB_OUT_MUONS_CNT = 4 |
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] |
m_Number of Logic Planes used for Very Low Pt patterns. More... | |
Static Private Attributes | |
static const double | m_etas [RPCConst::ITOW_MAX+2] |
static const double | m_pts [RPCConst::IPT_MAX+1] |
Class contains number of L1RpcTrigger specific constanst, and transforming methods (eg. phi <-> segment number) (Should migrate to DDD?)
Definition at line 23 of file RPCConst.h.
typedef std::vector<short> RPCConst::TQualityTab |
Definition at line 114 of file RPCConst.h.
typedef std::vector<TQualityTab> RPCConst::TQualityTabsVec |
Definition at line 115 of file RPCConst.h.
anonymous enum |
Definition at line 27 of file RPCConst.h.
|
static |
Method converts from m_tower number to eta (gives center of m_tower).
Definition at line 43 of file RPCConst.cc.
References eta(), ITOW_MAX, m_etas, visualization-live-secondInstance_cfg::msg, and AlCaHLTBitMon_QueryRunRegistry::string.
std::string RPCConst::intToString | ( | int | number | ) |
Converts inteager number to string.
Definition at line 252 of file RPCConst.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
Referenced by RPCPacData::getPatternsGroupDescription(), RPCPacData::insertPatterns(), and RPCPacData::RPCPacData().
|
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, visualization-live-secondInstance_cfg::msg, EnergyCorrector::pt, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Method converts from logSegment (0..11) and logSector(0...11) .
Definition at line 79 of file RPCConst.cc.
|
static |
Method converts from segment number (0, 144). obsolete
Definition at line 74 of file RPCConst.cc.
|
static |
Method converts pt bin number (0, 31) to pt [GeV/c].
Definition at line 28 of file RPCConst.cc.
References IPT_MAX, m_pts, visualization-live-secondInstance_cfg::msg, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by vxIntegMuRate(), and vxMuRate().
|
static |
obsolete Method converts phi to segment number (0, 144).
Definition at line 85 of file RPCConst.cc.
References m_pi, NSEG, OFFSET, and phi.
int RPCConst::stringToInt | ( | std::string | str | ) |
Converts string to inteager number. If string contains chars, that are not digits, throws RPCException.
Definition at line 243 of file RPCConst.cc.
References i.
Referenced by RPCPatternsParser::startElement().
|
static |
Method converts from eta to trigger m_tower number.
Definition at line 62 of file RPCConst.cc.
References eta(), ITOW_MAX, and m_etas.
Referenced by RPCPhiEff::analyze().
|
static |
Definition at line 132 of file RPCConst.cc.
References ptFromIpt(), RPCpg::rate(), and vxMuRate().
Referenced by vxIntegMuRate().
|
static |
Definition at line 145 of file RPCConst.cc.
References funct::abs(), m_etas, RPCpg::rate(), and vxIntegMuRate().
|
static |
Spectrum of muons originating from vertex. See CMS-TN-1995/150
Definition at line 108 of file RPCConst.cc.
References a, create_public_lumi_plots::exp, RPCpg::mu, ptFromIpt(), RPCpg::rate(), and indexGen::s2.
Referenced by vxIntegMuRate().
|
staticprivate |
Matrix with approximate upper towers limits. Only positive ones are reported, for negative ones mirror symmetry assumed.
Definition at line 241 of file RPCConst.h.
Referenced by etaFromTowerNum(), towerNumFromEta(), and vxIntegMuRate().
|
static |
m_Number of muon candidates return by Final GhostBuster&Sorter
Definition at line 163 of file RPCConst.h.
Referenced by RPCFinalSorter::runFinalSorter(), and RPCHalfSorter::runHalf().
|
static |
Use ase a first index in loops.
Definition at line 56 of file RPCConst.h.
Referenced by RPCLogCone::getCompressedCone(), RPCLogCone::getFiredPlanesCnt(), RPCLogCone::possibleTrigger(), RPCLogCone::RPCLogCone(), RPCPac::runEnergeticPatternsGroups(), RPCPac::runTrackPatternsGroup(), RPCLogCone::shift(), RPCLogCone::toString(), and TPatternsGroup::updateShape().
|
static |
m_Number of muon candidates return by Trigger Board's eta Ghost Buster
Definition at line 161 of file RPCConst.h.
Referenced by RPCTBGhostBuster::gBEta().
|
static |
m_Number of muon candidates return by Trigger Board's phi Ghost Buster
Definition at line 160 of file RPCConst.h.
Referenced by RPCTBGhostBuster::gBPhi().
|
static |
Use ase a last index in loops.
Definition at line 57 of file RPCConst.h.
Referenced by RPCLogCone::shift(), RPCLogCone::toString(), and TPatternsGroup::updateShape().
|
static |
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 49 of file RPCConst.h.
|
static |
Definition at line 50 of file RPCConst.h.
|
static |
Definition at line 51 of file RPCConst.h.
|
static |
Definition at line 52 of file RPCConst.h.
Referenced by RPCLogCone::possibleTrigger().
|
static |
Definition at line 53 of file RPCConst.h.
|
static |
Definition at line 54 of file RPCConst.h.
|
static |
Definition of Logic Cone Sizes - number of Logic m_Strips in each plane.
Definition at line 82 of file RPCConst.h.
Referenced by RPCLogCone::getCompressedCone(), RPCLogCone::RPCLogCone(), RPCLogCone::shift(), and RPCLogCone::toString().
|
static |
Log Planes names.
Definition at line 79 of file RPCConst.h.
Referenced by RPCLogCone::toString().
|
static |
Max Logic Planes Count in trigger towers.
Definition at line 47 of file RPCConst.h.
Referenced by RPCPacData::insertQualityRecord(), and RPCLogCone::RPCLogCone().
|
static |
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 95 of file RPCConst.h.
Referenced by RPCPac::runEnergeticPatternsGroups(), RPCPac::runTrackPatternsGroup(), and TPatternsGroup::updateShape().
|
static |
Pt_code range = 0-m_PT_CODE_MAX.
Definition at line 45 of file RPCConst.h.
|
staticprivate |
Matrix with pt bins upper limits.
Definition at line 237 of file RPCConst.h.
Referenced by iptFromPt(), and ptFromIpt().
|
static |
Definition of Referenece Plane for each m_Tower.
Definition at line 85 of file RPCConst.h.
|
static |
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 159 of file RPCConst.h.
Referenced by RPCTBGhostBuster::gBPhi(), RPCHalfSorter::runHalf(), and RPCTriggerBoard::runTBGB().
|
static |
m_Number of muon candidates return by Trigger Crate's Ghost Buster
Definition at line 162 of file RPCConst.h.
Referenced by RPCTCGhostBusterSorter::run().
|
static |
Only half of the detector.
Definition at line 43 of file RPCConst.h.
Referenced by RPCPacManager< RPCPacData >::init(), and RPCTriggerConfig::produce().
|
static |
Max number of towers covered by one Trugger Board.
Definition at line 158 of file RPCConst.h.
Referenced by RPCTriggerBoard::runTBGB().
|
static |
m_Number of Logic Planes existing in each m_Tower.
Definition at line 88 of file RPCConst.h.
Referenced by RPCLogCone::getCompressedCone(), RPCLogCone::getFiredPlanesCnt(), RPCLogCone::possibleTrigger(), RPCLogCone::RPCLogCone(), RPCPac::runEnergeticPatternsGroups(), and RPCPac::runTrackPatternsGroup().
|
static |
Max Pt code of Very Low Pt patterns.
Definition at line 93 of file RPCConst.h.
|
static |
m_Number of Logic Planes used for Very Low Pt patterns.
Definition at line 91 of file RPCConst.h.