CMS 3D CMS Logo

Classes | Enumerations | Variables
cmsdt Namespace Reference

Classes

struct  LATQ_TYPE
 
struct  metaPrimitive
 
struct  PARTIAL_LATQ_TYPE
 

Enumerations

enum  algo { Standard = 0, PseudoBayes = 1, HoughTrans = 2 }
 
enum  LATERAL_CASES { LEFT = 0, RIGHT, NONE }
 
enum  MP_QUALITY {
  NOPATH = 0, LOWQ = 1, CLOWQ = 2, HIGHQ = 3,
  CHIGHQ = 4, LOWLOWQ = 6, HIGHLOWQ = 7, HIGHHIGHQ = 8
}
 
enum  RPC_QUALITY {
  NORPC = 0, RPC_TIME, RPC_ONLY, RPC_HIT,
  RPC_CONFIRM, RPC_ASSOCIATE
}
 
enum  scenario { MC = 0, DATA = 1, SLICE_TEST = 2 }
 

Variables

constexpr int BX_SHIFT = 20
 
constexpr int CELL_HEIGHT = 13
 
constexpr int CELL_LENGTH = 42
 
constexpr float CELL_SEMIHEIGHT = 6.5
 
constexpr int CELL_SEMILENGTH = 21
 
constexpr int CH_CENTER_TO_MID_SL_X2 = 470
 
constexpr int CHI2RES_CONV = 1000000
 
constexpr int DIV_SHR_BITS_POS = 21
 
constexpr int DIV_SHR_BITS_SLOPE = 21
 
constexpr int DIV_SHR_BITS_SLOPE_XHH = 18
 
constexpr int DIV_SHR_BITS_T0 = 16
 
constexpr float DRIFT_SPEED = 0.0542
 
constexpr int DRIFT_SPEED_X4 = 889
 
constexpr int DTDD_MULT = 445
 
constexpr int DTDD_PREADD = 9
 
constexpr int DTDD_SHIFTR_BITS = 13
 
constexpr int INCREASED_RES_POS = 4
 
constexpr int INCREASED_RES_POS_POW = 16
 
constexpr int INCREASED_RES_SLOPE = 12
 
constexpr int INCREASED_RES_SLOPE_POW = 4096
 
constexpr int INCREASED_RES_SLOPE_XHH = 4
 
constexpr int INCREASED_RES_T0 = 0
 
constexpr float KRES_CONV = 65536. / 2
 
constexpr int LHC_CLK_FREQ = 25
 
constexpr int MAX_BX_IDX = 3564
 
constexpr int MAX_VALUE_OF_TIME = (LHC_CLK_FREQ * MAX_BX_IDX + 5000)
 
constexpr float MAXDRIFT = 387
 
constexpr int NUM_CELL_COMB = 3
 
constexpr int NUM_CELLS_PER_BLOCK = 10
 
constexpr int NUM_CH_PER_LAYER = 100
 
constexpr int NUM_LATERALITIES = 16
 
constexpr int NUM_LAYERS = 4
 
constexpr int NUM_LAYERS_2SL = 8
 
constexpr int NUM_SUPERLAYERS = 3
 
constexpr int PAYLOAD_ENTRIES = 9
 
constexpr int PHI_B_SHL_BITS = 7
 
constexpr double PHI_CONV = 0.5235988
 
constexpr int PHI_LUT_A_BITS = 12
 
constexpr int PHI_LUT_ADDR_WIDTH = 12
 
constexpr int PHI_LUT_B_BITS = 20
 
constexpr int PHI_MULT_SHR_BITS = 10
 
constexpr int PHI_PHIB_RES_DIFF_BITS = 6
 
constexpr int PHI_SIZE = 17
 
constexpr int PHIB_B_SHL_BITS = 7
 
constexpr int PHIB_LUT_A_BITS = 10
 
constexpr int PHIB_LUT_ADDR_WIDTH = 9
 
constexpr int PHIB_LUT_B_BITS = 16
 
constexpr int PHIB_MULT_SHR_BITS = 10
 
constexpr int PHIB_SIZE = 11
 
constexpr float PHIBRES_CONV = 4096. / 2.
 
constexpr float PHIRES_CONV = 65536. / 0.5
 
constexpr int SIZE_SEEKT_BUFFER = 32
 
constexpr int TANPSI_SIZE = 15
 
constexpr int TDCTIME_REDUCED_SIZE = 10
 
constexpr int TOTAL_BTI = 100
 
constexpr int TOTAL_CHANNELS = (NUM_LAYERS * NUM_CH_PER_LAYER)
 
constexpr float VERT_PHI1_PHI3 = 23.5
 
constexpr int VERT_PHI1_PHI3_INV = 558
 
constexpr double X_POS_L3 = 0.65
 
constexpr double X_POS_L4 = 1.95
 
constexpr int X_SIZE = 18
 
constexpr float Z_POS_SL = 11.75
 
constexpr float Z_SHIFT_MB4 = -1.8
 
constexpr float ZRES_CONV = 65536. / 1500
 

Detailed Description

Project: File name: constants.h Language: C++


Description:

To Do:

Author: Jose Manuel Cela josem.nosp@m.anue.nosp@m.l.cel.nosp@m.a@ci.nosp@m.emat..nosp@m.es


Copyright (c) 2015-08-07 Jose Manuel Cela josem.nosp@m.anue.nosp@m.l.cel.nosp@m.a@ci.nosp@m.emat..nosp@m.es

For internal use, all rights reserved.


Enumeration Type Documentation

◆ algo

Enumerator
Standard 
PseudoBayes 
HoughTrans 

Definition at line 171 of file constants.h.

171 { Standard = 0, PseudoBayes = 1, HoughTrans = 2 };

◆ LATERAL_CASES

Enumerator
LEFT 
RIGHT 
NONE 

Definition at line 45 of file constants.h.

45 { LEFT = 0, RIGHT, NONE };

◆ MP_QUALITY

Enumerator
NOPATH 
LOWQ 
CLOWQ 
HIGHQ 
CHIGHQ 
LOWLOWQ 
HIGHLOWQ 
HIGHHIGHQ 

Definition at line 42 of file constants.h.

42 { NOPATH = 0, LOWQ = 1, CLOWQ = 2, HIGHQ = 3, CHIGHQ = 4, LOWLOWQ = 6, HIGHLOWQ = 7, HIGHHIGHQ = 8 };

◆ RPC_QUALITY

Enumerator
NORPC 
RPC_TIME 
RPC_ONLY 
RPC_HIT 
RPC_CONFIRM 
RPC_ASSOCIATE 

Definition at line 47 of file constants.h.

◆ scenario

Enumerator
MC 
DATA 
SLICE_TEST 

Definition at line 173 of file constants.h.

173 { MC = 0, DATA = 1, SLICE_TEST = 2 };

Variable Documentation

◆ BX_SHIFT

constexpr int cmsdt::BX_SHIFT = 20
constexpr

Definition at line 257 of file constants.h.

Referenced by RPCIntegrator::prepareMetaPrimitives().

◆ CELL_HEIGHT

constexpr int cmsdt::CELL_HEIGHT = 13
constexpr

Definition at line 184 of file constants.h.

Referenced by MuonPathAssociator::correlateMPaths().

◆ CELL_LENGTH

constexpr int cmsdt::CELL_LENGTH = 42
constexpr

Definition at line 186 of file constants.h.

Referenced by MuonPathAssociator::correlateMPaths(), and DTPrimitive::wireHorizPos().

◆ CELL_SEMIHEIGHT

constexpr float cmsdt::CELL_SEMIHEIGHT = 6.5
constexpr

Definition at line 185 of file constants.h.

◆ CELL_SEMILENGTH

constexpr int cmsdt::CELL_SEMILENGTH = 21
constexpr

Definition at line 187 of file constants.h.

Referenced by MuonPathAssociator::correlateMPaths(), and DTPrimitive::wireHorizPos().

◆ CH_CENTER_TO_MID_SL_X2

constexpr int cmsdt::CH_CENTER_TO_MID_SL_X2 = 470
constexpr

Definition at line 200 of file constants.h.

Referenced by MuonPathAssociator::correlateMPaths().

◆ CHI2RES_CONV

constexpr int cmsdt::CHI2RES_CONV = 1000000
constexpr

Definition at line 226 of file constants.h.

Referenced by DTTrigPhase2Prod::produce().

◆ DIV_SHR_BITS_POS

constexpr int cmsdt::DIV_SHR_BITS_POS = 21
constexpr

Definition at line 267 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ DIV_SHR_BITS_SLOPE

constexpr int cmsdt::DIV_SHR_BITS_SLOPE = 21
constexpr

Definition at line 268 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ DIV_SHR_BITS_SLOPE_XHH

constexpr int cmsdt::DIV_SHR_BITS_SLOPE_XHH = 18
constexpr

Definition at line 269 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ DIV_SHR_BITS_T0

constexpr int cmsdt::DIV_SHR_BITS_T0 = 16
constexpr

Definition at line 266 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ DRIFT_SPEED

constexpr float cmsdt::DRIFT_SPEED = 0.0542
constexpr

◆ DRIFT_SPEED_X4

constexpr int cmsdt::DRIFT_SPEED_X4 = 889
constexpr

Definition at line 191 of file constants.h.

Referenced by MuonPathAssociator::correlateMPaths().

◆ DTDD_MULT

constexpr int cmsdt::DTDD_MULT = 445
constexpr

Definition at line 281 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ DTDD_PREADD

constexpr int cmsdt::DTDD_PREADD = 9
constexpr

Definition at line 280 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ DTDD_SHIFTR_BITS

constexpr int cmsdt::DTDD_SHIFTR_BITS = 13
constexpr

Definition at line 282 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ INCREASED_RES_POS

constexpr int cmsdt::INCREASED_RES_POS = 4
constexpr

◆ INCREASED_RES_POS_POW

constexpr int cmsdt::INCREASED_RES_POS_POW = 16
constexpr

◆ INCREASED_RES_SLOPE

constexpr int cmsdt::INCREASED_RES_SLOPE = 12
constexpr

Definition at line 273 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ INCREASED_RES_SLOPE_POW

constexpr int cmsdt::INCREASED_RES_SLOPE_POW = 4096
constexpr

◆ INCREASED_RES_SLOPE_XHH

constexpr int cmsdt::INCREASED_RES_SLOPE_XHH = 4
constexpr

Definition at line 274 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ INCREASED_RES_T0

constexpr int cmsdt::INCREASED_RES_T0 = 0
constexpr

Definition at line 271 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ KRES_CONV

constexpr float cmsdt::KRES_CONV = 65536. / 2
constexpr

Definition at line 229 of file constants.h.

Referenced by DTTrigPhase2Prod::produce().

◆ LHC_CLK_FREQ

constexpr int cmsdt::LHC_CLK_FREQ = 25
constexpr

◆ MAX_BX_IDX

constexpr int cmsdt::MAX_BX_IDX = 3564
constexpr

Definition at line 179 of file constants.h.

◆ MAX_VALUE_OF_TIME

constexpr int cmsdt::MAX_VALUE_OF_TIME = (LHC_CLK_FREQ * MAX_BX_IDX + 5000)
constexpr

Definition at line 210 of file constants.h.

◆ MAXDRIFT

constexpr float cmsdt::MAXDRIFT = 387
constexpr

Definition at line 182 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ NUM_CELL_COMB

constexpr int cmsdt::NUM_CELL_COMB = 3
constexpr

Definition at line 221 of file constants.h.

◆ NUM_CELLS_PER_BLOCK

constexpr int cmsdt::NUM_CELLS_PER_BLOCK = 10
constexpr

Definition at line 242 of file constants.h.

◆ NUM_CH_PER_LAYER

constexpr int cmsdt::NUM_CH_PER_LAYER = 100
constexpr

◆ NUM_LATERALITIES

constexpr int cmsdt::NUM_LATERALITIES = 16
constexpr

Definition at line 220 of file constants.h.

◆ NUM_LAYERS

constexpr int cmsdt::NUM_LAYERS = 4
constexpr

◆ NUM_LAYERS_2SL

constexpr int cmsdt::NUM_LAYERS_2SL = 8
constexpr

◆ NUM_SUPERLAYERS

constexpr int cmsdt::NUM_SUPERLAYERS = 3
constexpr

Definition at line 223 of file constants.h.

Referenced by InitialGrouping::run().

◆ PAYLOAD_ENTRIES

constexpr int cmsdt::PAYLOAD_ENTRIES = 9
constexpr

Definition at line 249 of file constants.h.

Referenced by DTPrimitive::DTPrimitive().

◆ PHI_B_SHL_BITS

constexpr int cmsdt::PHI_B_SHL_BITS = 7
constexpr

Definition at line 294 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ PHI_CONV

constexpr double cmsdt::PHI_CONV = 0.5235988
constexpr

◆ PHI_LUT_A_BITS

constexpr int cmsdt::PHI_LUT_A_BITS = 12
constexpr

Definition at line 296 of file constants.h.

◆ PHI_LUT_ADDR_WIDTH

constexpr int cmsdt::PHI_LUT_ADDR_WIDTH = 12
constexpr

Definition at line 293 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ PHI_LUT_B_BITS

constexpr int cmsdt::PHI_LUT_B_BITS = 20
constexpr

Definition at line 297 of file constants.h.

◆ PHI_MULT_SHR_BITS

constexpr int cmsdt::PHI_MULT_SHR_BITS = 10
constexpr

Definition at line 295 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ PHI_PHIB_RES_DIFF_BITS

constexpr int cmsdt::PHI_PHIB_RES_DIFF_BITS = 6
constexpr

Definition at line 305 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ PHI_SIZE

constexpr int cmsdt::PHI_SIZE = 17
constexpr

Definition at line 290 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ PHIB_B_SHL_BITS

constexpr int cmsdt::PHIB_B_SHL_BITS = 7
constexpr

Definition at line 300 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ PHIB_LUT_A_BITS

constexpr int cmsdt::PHIB_LUT_A_BITS = 10
constexpr

Definition at line 302 of file constants.h.

◆ PHIB_LUT_ADDR_WIDTH

constexpr int cmsdt::PHIB_LUT_ADDR_WIDTH = 9
constexpr

Definition at line 299 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ PHIB_LUT_B_BITS

constexpr int cmsdt::PHIB_LUT_B_BITS = 16
constexpr

Definition at line 303 of file constants.h.

◆ PHIB_MULT_SHR_BITS

constexpr int cmsdt::PHIB_MULT_SHR_BITS = 10
constexpr

Definition at line 301 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ PHIB_SIZE

constexpr int cmsdt::PHIB_SIZE = 11
constexpr

Definition at line 291 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ PHIBRES_CONV

constexpr float cmsdt::PHIBRES_CONV = 4096. / 2.
constexpr

Definition at line 225 of file constants.h.

Referenced by DTTrigPhase2Prod::produce().

◆ PHIRES_CONV

constexpr float cmsdt::PHIRES_CONV = 65536. / 0.5
constexpr

Definition at line 224 of file constants.h.

Referenced by DTTrigPhase2Prod::produce().

◆ SIZE_SEEKT_BUFFER

constexpr int cmsdt::SIZE_SEEKT_BUFFER = 32
constexpr

Definition at line 239 of file constants.h.

◆ TANPSI_SIZE

constexpr int cmsdt::TANPSI_SIZE = 15
constexpr

Definition at line 289 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ TDCTIME_REDUCED_SIZE

constexpr int cmsdt::TDCTIME_REDUCED_SIZE = 10
constexpr

◆ TOTAL_BTI

constexpr int cmsdt::TOTAL_BTI = 100
constexpr

Definition at line 217 of file constants.h.

Referenced by InitialGrouping::run().

◆ TOTAL_CHANNELS

constexpr int cmsdt::TOTAL_CHANNELS = (NUM_LAYERS * NUM_CH_PER_LAYER)
constexpr

Definition at line 222 of file constants.h.

◆ VERT_PHI1_PHI3

constexpr float cmsdt::VERT_PHI1_PHI3 = 23.5
constexpr

Definition at line 194 of file constants.h.

Referenced by MuonPathAssociator::correlateMPaths().

◆ VERT_PHI1_PHI3_INV

constexpr int cmsdt::VERT_PHI1_PHI3_INV = 558
constexpr

Definition at line 197 of file constants.h.

Referenced by MuonPathAssociator::correlateMPaths().

◆ X_POS_L3

constexpr double cmsdt::X_POS_L3 = 0.65
constexpr

Definition at line 260 of file constants.h.

Referenced by MuonPathAssociator::correlateMPaths().

◆ X_POS_L4

constexpr double cmsdt::X_POS_L4 = 1.95
constexpr

Definition at line 261 of file constants.h.

Referenced by MuonPathAssociator::correlateMPaths().

◆ X_SIZE

constexpr int cmsdt::X_SIZE = 18
constexpr

Definition at line 288 of file constants.h.

Referenced by GlobalCoordsObtainer::get_global_coordinates().

◆ Z_POS_SL

constexpr float cmsdt::Z_POS_SL = 11.75
constexpr

Definition at line 259 of file constants.h.

Referenced by MuonPathAnalyticAnalyzer::segment_fitter().

◆ Z_SHIFT_MB4

constexpr float cmsdt::Z_SHIFT_MB4 = -1.8
constexpr

◆ ZRES_CONV

constexpr float cmsdt::ZRES_CONV = 65536. / 1500
constexpr

Definition at line 228 of file constants.h.

Referenced by DTTrigPhase2Prod::produce().

cmsdt::NOPATH
Definition: constants.h:42
cmsdt::RPC_HIT
Definition: constants.h:47
cmsdt::LEFT
Definition: constants.h:45
cmsdt::HIGHQ
Definition: constants.h:42
cmsdt::RPC_ONLY
Definition: constants.h:47
cmsdt::CHIGHQ
Definition: constants.h:42
cmsdt::NORPC
Definition: constants.h:47
cmsdt::HoughTrans
Definition: constants.h:171
cmsdt::Standard
Definition: constants.h:171
cmsdt::CLOWQ
Definition: constants.h:42
cmsdt::SLICE_TEST
Definition: constants.h:173
cmsdt::RIGHT
Definition: constants.h:45
cmsdt::RPC_ASSOCIATE
Definition: constants.h:47
cmsdt::MC
Definition: constants.h:173
cmsdt::HIGHHIGHQ
Definition: constants.h:42
cmsdt::HIGHLOWQ
Definition: constants.h:42
cmsdt::LOWQ
Definition: constants.h:42
cmsdt::RPC_TIME
Definition: constants.h:47
cmsdt::PseudoBayes
Definition: constants.h:171
cmsdt::RPC_CONFIRM
Definition: constants.h:47
cmsdt::DATA
Definition: constants.h:173
cmsdt::LOWLOWQ
Definition: constants.h:42
cmsdt::NONE
Definition: constants.h:45