CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions
FEDNumbering Class Reference

#include <FEDNumbering.h>

Public Types

enum  {
  NOT_A_FEDID = -1, MAXFEDID = 4096, MINSiPixelFEDID = 0, MAXSiPixelFEDID = 40,
  MINSiStripFEDID = 50, MAXSiStripFEDID = 489, MINPreShowerFEDID = 520, MAXPreShowerFEDID = 575,
  MINTotemTriggerFEDID = 577, MAXTotemTriggerFEDID = 577, MINTotemRPHorizontalFEDID = 578, MAXTotemRPHorizontalFEDID = 581,
  MINCTPPSDiamondFEDID = 582, MAXCTPPSDiamondFEDID = 583, MINTotemRPVerticalFEDID = 584, MAXTotemRPVerticalFEDID = 585,
  MINTotemRPTimingVerticalFEDID = 586, MAXTotemRPTimingVerticalFEDID = 587, MINECALFEDID = 600, MAXECALFEDID = 670,
  MINCASTORFEDID = 690, MAXCASTORFEDID = 693, MINHCALFEDID = 700, MAXHCALFEDID = 731,
  MINLUMISCALERSFEDID = 735, MAXLUMISCALERSFEDID = 735, MINCSCFEDID = 750, MAXCSCFEDID = 757,
  MINCSCTFFEDID = 760, MAXCSCTFFEDID = 760, MINDTFEDID = 770, MAXDTFEDID = 779,
  MINDTTFFEDID = 780, MAXDTTFFEDID = 780, MINRPCFEDID = 790, MAXRPCFEDID = 795,
  MINTriggerGTPFEDID = 812, MAXTriggerGTPFEDID = 813, MINTriggerEGTPFEDID = 814, MAXTriggerEGTPFEDID = 814,
  MINTriggerGCTFEDID = 745, MAXTriggerGCTFEDID = 749, MINTriggerLTCFEDID = 816, MAXTriggerLTCFEDID = 824,
  MINTriggerLTCmtccFEDID = 815, MAXTriggerLTCmtccFEDID = 815, MINTriggerLTCTriggerFEDID = 816, MAXTriggerLTCTriggerFEDID = 816,
  MINTriggerLTCHCALFEDID = 817, MAXTriggerLTCHCALFEDID = 817, MINTriggerLTCSiStripFEDID = 818, MAXTriggerLTCSiStripFEDID = 818,
  MINTriggerLTCECALFEDID = 819, MAXTriggerLTCECALFEDID = 819, MINTriggerLTCTotemCastorFEDID = 820, MAXTriggerLTCTotemCastorFEDID = 820,
  MINTriggerLTCRPCFEDID = 821, MAXTriggerLTCRPCFEDID = 821, MINTriggerLTCCSCFEDID = 822, MAXTriggerLTCCSCFEDID = 822,
  MINTriggerLTCDTFEDID = 823, MAXTriggerLTCDTFEDID = 823, MINTriggerLTCSiPixelFEDID = 824, MAXTriggerLTCSiPixelFEDID = 824,
  MINCSCDDUFEDID = 830, MAXCSCDDUFEDID = 869, MINCSCContingencyFEDID = 880, MAXCSCContingencyFEDID = 887,
  MINCSCTFSPFEDID = 890, MAXCSCTFSPFEDID = 901, MINDAQeFEDFEDID = 902, MAXDAQeFEDFEDID = 931,
  MINMetaDataSoftFEDID = 1022, MAXMetaDataSoftFEDID = 1022, MINDAQmFEDFEDID = 1023, MAXDAQmFEDFEDID = 1023,
  MINTCDSuTCAFEDID = 1024, MAXTCDSuTCAFEDID = 1099, MINHCALuTCAFEDID = 1100, MAXHCALuTCAFEDID = 1199,
  MINSiPixeluTCAFEDID = 1200, MAXSiPixeluTCAFEDID = 1349, MINRCTFEDID = 1350, MAXRCTFEDID = 1359,
  MINCalTrigUp = 1360, MAXCalTrigUp = 1367, MINDTUROSFEDID = 1369, MAXDTUROSFEDID = 1371,
  MINTriggerUpgradeFEDID = 1372, MAXTriggerUpgradeFEDID = 1409, MINSiPixel2nduTCAFEDID = 1500, MAXSiPixel2nduTCAFEDID = 1649,
  MINSiPixelTestFEDID = 1450, MAXSiPixelTestFEDID = 1461, MINSiPixelAMC13FEDID = 1410, MAXSiPixelAMC13FEDID = 1449,
  MINCTPPSPixelsFEDID = 1462, MAXCTPPSPixelsFEDID = 1466, MINGEMFEDID = 1467, MINGE0FEDID = 1473,
  MINGE21FEDID = 1469, MAXGEMFEDID = 1478, MINDAQvFEDFEDID = 2815, MAXDAQvFEDFEDID = 4095
}
 

Static Public Member Functions

static bool inRange (int)
 
static bool inRangeNoGT (int)
 
static constexpr int lastFEDId ()
 

Detailed Description

This class holds the fed numbering scheme for the CMS geometry. No two feds should have the same id. Each subdetector has a reserved range. Gaps between ranges give flexibility to the numbering.

$Log

Author
G. Bruno - CERN, EP Division

Definition at line 17 of file FEDNumbering.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NOT_A_FEDID 
MAXFEDID 
MINSiPixelFEDID 
MAXSiPixelFEDID 
MINSiStripFEDID 
MAXSiStripFEDID 
MINPreShowerFEDID 
MAXPreShowerFEDID 
MINTotemTriggerFEDID 
MAXTotemTriggerFEDID 
MINTotemRPHorizontalFEDID 
MAXTotemRPHorizontalFEDID 
MINCTPPSDiamondFEDID 
MAXCTPPSDiamondFEDID 
MINTotemRPVerticalFEDID 
MAXTotemRPVerticalFEDID 
MINTotemRPTimingVerticalFEDID 
MAXTotemRPTimingVerticalFEDID 
MINECALFEDID 
MAXECALFEDID 
MINCASTORFEDID 
MAXCASTORFEDID 
MINHCALFEDID 
MAXHCALFEDID 
MINLUMISCALERSFEDID 
MAXLUMISCALERSFEDID 
MINCSCFEDID 
MAXCSCFEDID 
MINCSCTFFEDID 
MAXCSCTFFEDID 
MINDTFEDID 
MAXDTFEDID 
MINDTTFFEDID 
MAXDTTFFEDID 
MINRPCFEDID 
MAXRPCFEDID 
MINTriggerGTPFEDID 
MAXTriggerGTPFEDID 
MINTriggerEGTPFEDID 
MAXTriggerEGTPFEDID 
MINTriggerGCTFEDID 
MAXTriggerGCTFEDID 
MINTriggerLTCFEDID 
MAXTriggerLTCFEDID 
MINTriggerLTCmtccFEDID 
MAXTriggerLTCmtccFEDID 
MINTriggerLTCTriggerFEDID 
MAXTriggerLTCTriggerFEDID 
MINTriggerLTCHCALFEDID 
MAXTriggerLTCHCALFEDID 
MINTriggerLTCSiStripFEDID 
MAXTriggerLTCSiStripFEDID 
MINTriggerLTCECALFEDID 
MAXTriggerLTCECALFEDID 
MINTriggerLTCTotemCastorFEDID 
MAXTriggerLTCTotemCastorFEDID 
MINTriggerLTCRPCFEDID 
MAXTriggerLTCRPCFEDID 
MINTriggerLTCCSCFEDID 
MAXTriggerLTCCSCFEDID 
MINTriggerLTCDTFEDID 
MAXTriggerLTCDTFEDID 
MINTriggerLTCSiPixelFEDID 
MAXTriggerLTCSiPixelFEDID 
MINCSCDDUFEDID 
MAXCSCDDUFEDID 
MINCSCContingencyFEDID 
MAXCSCContingencyFEDID 
MINCSCTFSPFEDID 
MAXCSCTFSPFEDID 
MINDAQeFEDFEDID 
MAXDAQeFEDFEDID 
MINMetaDataSoftFEDID 
MAXMetaDataSoftFEDID 
MINDAQmFEDFEDID 
MAXDAQmFEDFEDID 
MINTCDSuTCAFEDID 
MAXTCDSuTCAFEDID 
MINHCALuTCAFEDID 
MAXHCALuTCAFEDID 
MINSiPixeluTCAFEDID 
MAXSiPixeluTCAFEDID 
MINRCTFEDID 
MAXRCTFEDID 
MINCalTrigUp 
MAXCalTrigUp 
MINDTUROSFEDID 
MAXDTUROSFEDID 
MINTriggerUpgradeFEDID 
MAXTriggerUpgradeFEDID 
MINSiPixel2nduTCAFEDID 
MAXSiPixel2nduTCAFEDID 
MINSiPixelTestFEDID 
MAXSiPixelTestFEDID 
MINSiPixelAMC13FEDID 
MAXSiPixelAMC13FEDID 
MINCTPPSPixelsFEDID 
MAXCTPPSPixelsFEDID 
MINGEMFEDID 
MINGE0FEDID 
MINGE21FEDID 
MAXGEMFEDID 
MINDAQvFEDFEDID 
MAXDAQvFEDFEDID 

Definition at line 24 of file FEDNumbering.h.

24  {
25  NOT_A_FEDID = -1,
26  MAXFEDID = 4096, // must be larger than largest used FED id
27  MINSiPixelFEDID = 0,
28  MAXSiPixelFEDID = 40, // increase from 39 for the pilot blade fed
29  MINSiStripFEDID = 50,
30  MAXSiStripFEDID = 489,
31  MINPreShowerFEDID = 520,
32  MAXPreShowerFEDID = 575,
43  MINECALFEDID = 600,
44  MAXECALFEDID = 670,
45  MINCASTORFEDID = 690,
46  MAXCASTORFEDID = 693,
47  MINHCALFEDID = 700,
48  MAXHCALFEDID = 731,
49  MINLUMISCALERSFEDID = 735,
50  MAXLUMISCALERSFEDID = 735,
51  MINCSCFEDID = 750,
52  MAXCSCFEDID = 757,
53  MINCSCTFFEDID = 760,
54  MAXCSCTFFEDID = 760,
55  MINDTFEDID = 770,
56  MAXDTFEDID = 779,
57  MINDTTFFEDID = 780,
58  MAXDTTFFEDID = 780,
59  MINRPCFEDID = 790,
60  MAXRPCFEDID = 795,
61  MINTriggerGTPFEDID = 812,
62  MAXTriggerGTPFEDID = 813,
63  MINTriggerEGTPFEDID = 814,
64  MAXTriggerEGTPFEDID = 814,
65  MINTriggerGCTFEDID = 745,
66  MAXTriggerGCTFEDID = 749,
67  MINTriggerLTCFEDID = 816,
68  MAXTriggerLTCFEDID = 824,
89  MINCSCDDUFEDID = 830,
90  MAXCSCDDUFEDID = 869,
93  MINCSCTFSPFEDID = 890,
94  MAXCSCTFSPFEDID = 901,
95  MINDAQeFEDFEDID = 902,
96  MAXDAQeFEDFEDID = 931,
97  MINMetaDataSoftFEDID = 1022,
98  MAXMetaDataSoftFEDID = 1022,
99  MINDAQmFEDFEDID = 1023,
100  MAXDAQmFEDFEDID = 1023,
101  MINTCDSuTCAFEDID = 1024,
102  MAXTCDSuTCAFEDID = 1099,
103  MINHCALuTCAFEDID = 1100,
104  MAXHCALuTCAFEDID = 1199,
105  MINSiPixeluTCAFEDID = 1200,
106  MAXSiPixeluTCAFEDID = 1349,
107  MINRCTFEDID = 1350,
108  MAXRCTFEDID = 1359,
109  MINCalTrigUp = 1360,
110  MAXCalTrigUp = 1367,
111  MINDTUROSFEDID = 1369,
112  MAXDTUROSFEDID = 1371,
113  MINTriggerUpgradeFEDID = 1372,
114  MAXTriggerUpgradeFEDID = 1409,
115  MINSiPixel2nduTCAFEDID = 1500,
116  MAXSiPixel2nduTCAFEDID = 1649,
117  MINSiPixelTestFEDID = 1450,
118  MAXSiPixelTestFEDID = 1461,
119  MINSiPixelAMC13FEDID = 1410,
120  MAXSiPixelAMC13FEDID = 1449,
121  MINCTPPSPixelsFEDID = 1462,
122  MAXCTPPSPixelsFEDID = 1466,
123  MINGEMFEDID = 1467,
124  MINGE0FEDID = 1473,
125  MINGE21FEDID = 1469,
126  MAXGEMFEDID = 1478,
127  MINDAQvFEDFEDID = 2815,
128  MAXDAQvFEDFEDID = 4095
129  };

Member Function Documentation

◆ inRange()

bool FEDNumbering::inRange ( int  i)
static

◆ inRangeNoGT()

bool FEDNumbering::inRangeNoGT ( int  i)
static

Definition at line 107 of file FEDNumbering.cc.

107  {
109  return false;
110  return in_[i];
111 }

References mps_fire::i.

◆ lastFEDId()

static constexpr int FEDNumbering::lastFEDId ( )
inlinestaticconstexpr
FEDNumbering::MAXSiPixelTestFEDID
Definition: FEDNumbering.h:118
FEDNumbering::MINTriggerLTCFEDID
Definition: FEDNumbering.h:67
FEDNumbering::MAXTriggerLTCSiStripFEDID
Definition: FEDNumbering.h:76
FEDNumbering::MINCSCFEDID
Definition: FEDNumbering.h:51
FEDNumbering::MAXTriggerUpgradeFEDID
Definition: FEDNumbering.h:114
FEDNumbering::MAXRCTFEDID
Definition: FEDNumbering.h:108
mps_fire.i
i
Definition: mps_fire.py:428
FEDNumbering::MAXTriggerLTCCSCFEDID
Definition: FEDNumbering.h:84
FEDNumbering::MAXGEMFEDID
Definition: FEDNumbering.h:126
FEDNumbering::MINTriggerEGTPFEDID
Definition: FEDNumbering.h:63
FEDNumbering::MAXCSCTFFEDID
Definition: FEDNumbering.h:54
FEDNumbering::MINTriggerLTCRPCFEDID
Definition: FEDNumbering.h:81
FEDNumbering::MAXTriggerLTCFEDID
Definition: FEDNumbering.h:68
FEDNumbering::MAXTriggerLTCECALFEDID
Definition: FEDNumbering.h:78
FEDNumbering::MINSiPixelFEDID
Definition: FEDNumbering.h:27
FEDNumbering::MAXCASTORFEDID
Definition: FEDNumbering.h:46
FEDNumbering::MAXTriggerLTCRPCFEDID
Definition: FEDNumbering.h:82
FEDNumbering::MINHCALuTCAFEDID
Definition: FEDNumbering.h:103
FEDNumbering::MAXSiPixelFEDID
Definition: FEDNumbering.h:28
FEDNumbering::MINSiPixeluTCAFEDID
Definition: FEDNumbering.h:105
FEDNumbering::MINTriggerUpgradeFEDID
Definition: FEDNumbering.h:113
FEDNumbering::MINDTTFFEDID
Definition: FEDNumbering.h:57
FEDNumbering::MAXCSCDDUFEDID
Definition: FEDNumbering.h:90
FEDNumbering::MINDAQvFEDFEDID
Definition: FEDNumbering.h:127
FEDNumbering::MINTriggerGCTFEDID
Definition: FEDNumbering.h:65
FEDNumbering::MINTriggerLTCSiStripFEDID
Definition: FEDNumbering.h:75
FEDNumbering::MINTotemTriggerFEDID
Definition: FEDNumbering.h:33
FEDNumbering::MAXLUMISCALERSFEDID
Definition: FEDNumbering.h:50
FEDNumbering::MAXFEDID
Definition: FEDNumbering.h:26
FEDNumbering::MAXECALFEDID
Definition: FEDNumbering.h:44
FEDNumbering::MAXDTFEDID
Definition: FEDNumbering.h:56
FEDNumbering::MAXHCALuTCAFEDID
Definition: FEDNumbering.h:104
FEDNumbering::MAXCTPPSPixelsFEDID
Definition: FEDNumbering.h:122
FEDNumbering::MINRCTFEDID
Definition: FEDNumbering.h:107
FEDNumbering::MINTotemRPVerticalFEDID
Definition: FEDNumbering.h:39
FEDNumbering::MAXTriggerGCTFEDID
Definition: FEDNumbering.h:66
FEDNumbering::MAXDAQvFEDFEDID
Definition: FEDNumbering.h:128
FEDNumbering::MAXSiPixelAMC13FEDID
Definition: FEDNumbering.h:120
FEDNumbering::MINTriggerLTCCSCFEDID
Definition: FEDNumbering.h:83
FEDNumbering::MINTotemRPHorizontalFEDID
Definition: FEDNumbering.h:35
FEDNumbering::MINCTPPSPixelsFEDID
Definition: FEDNumbering.h:121
FEDNumbering::MINTriggerGTPFEDID
Definition: FEDNumbering.h:61
FEDNumbering::MAXHCALFEDID
Definition: FEDNumbering.h:48
FEDNumbering::MAXMetaDataSoftFEDID
Definition: FEDNumbering.h:98
FEDNumbering::MAXTriggerLTCTotemCastorFEDID
Definition: FEDNumbering.h:80
FEDNumbering::MINTriggerLTCHCALFEDID
Definition: FEDNumbering.h:73
FEDNumbering::MAXTCDSuTCAFEDID
Definition: FEDNumbering.h:102
FEDNumbering::MAXTriggerGTPFEDID
Definition: FEDNumbering.h:62
FEDNumbering::MINSiPixelAMC13FEDID
Definition: FEDNumbering.h:119
FEDNumbering::MINSiStripFEDID
Definition: FEDNumbering.h:29
FEDNumbering::MINRPCFEDID
Definition: FEDNumbering.h:59
FEDNumbering::MINDAQeFEDFEDID
Definition: FEDNumbering.h:95
FEDNumbering::MINTCDSuTCAFEDID
Definition: FEDNumbering.h:101
FEDNumbering::MAXCSCTFSPFEDID
Definition: FEDNumbering.h:94
FEDNumbering::MAXDTTFFEDID
Definition: FEDNumbering.h:58
FEDNumbering::MINTriggerLTCTriggerFEDID
Definition: FEDNumbering.h:71
FEDNumbering::MINCTPPSDiamondFEDID
Definition: FEDNumbering.h:37
FEDNumbering::MAXDAQeFEDFEDID
Definition: FEDNumbering.h:96
FEDNumbering::MINTriggerLTCTotemCastorFEDID
Definition: FEDNumbering.h:79
FEDNumbering::MINHCALFEDID
Definition: FEDNumbering.h:47
FEDNumbering::MINSiPixelTestFEDID
Definition: FEDNumbering.h:117
FEDNumbering::MAXTotemRPTimingVerticalFEDID
Definition: FEDNumbering.h:42
FEDNumbering::MAXTotemRPVerticalFEDID
Definition: FEDNumbering.h:40
FEDNumbering::MINCSCDDUFEDID
Definition: FEDNumbering.h:89
FEDNumbering::MAXDTUROSFEDID
Definition: FEDNumbering.h:112
FEDNumbering::MINMetaDataSoftFEDID
Definition: FEDNumbering.h:97
FEDNumbering::MINPreShowerFEDID
Definition: FEDNumbering.h:31
FEDNumbering::MAXTriggerLTCDTFEDID
Definition: FEDNumbering.h:86
FEDNumbering::NOT_A_FEDID
Definition: FEDNumbering.h:25
FEDNumbering::MAXTriggerLTCTriggerFEDID
Definition: FEDNumbering.h:72
FEDNumbering::MAXCTPPSDiamondFEDID
Definition: FEDNumbering.h:38
FEDNumbering::MAXTriggerLTCmtccFEDID
Definition: FEDNumbering.h:70
FEDNumbering::MINCalTrigUp
Definition: FEDNumbering.h:109
FEDNumbering::MINCSCTFFEDID
Definition: FEDNumbering.h:53
FEDNumbering::MINCSCContingencyFEDID
Definition: FEDNumbering.h:91
FEDNumbering::MAXSiPixel2nduTCAFEDID
Definition: FEDNumbering.h:116
FEDNumbering::MINTriggerLTCmtccFEDID
Definition: FEDNumbering.h:69
FEDNumbering::MINTotemRPTimingVerticalFEDID
Definition: FEDNumbering.h:41
FEDNumbering::MAXTriggerLTCSiPixelFEDID
Definition: FEDNumbering.h:88
FEDNumbering::MAXTriggerEGTPFEDID
Definition: FEDNumbering.h:64
FEDNumbering::MAXCalTrigUp
Definition: FEDNumbering.h:110
FEDNumbering::MAXCSCFEDID
Definition: FEDNumbering.h:52
FEDNumbering::MINTriggerLTCDTFEDID
Definition: FEDNumbering.h:85
FEDNumbering::MINGE0FEDID
Definition: FEDNumbering.h:124
FEDNumbering::MAXSiPixeluTCAFEDID
Definition: FEDNumbering.h:106
FEDNumbering::MINGEMFEDID
Definition: FEDNumbering.h:123
FEDNumbering::MINECALFEDID
Definition: FEDNumbering.h:43
FEDNumbering::MAXSiStripFEDID
Definition: FEDNumbering.h:30
FEDNumbering::MAXCSCContingencyFEDID
Definition: FEDNumbering.h:92
FEDNumbering::MINCSCTFSPFEDID
Definition: FEDNumbering.h:93
FEDNumbering::MAXTotemTriggerFEDID
Definition: FEDNumbering.h:34
FEDNumbering::MINGE21FEDID
Definition: FEDNumbering.h:125
FEDNumbering::MINSiPixel2nduTCAFEDID
Definition: FEDNumbering.h:115
FEDNumbering::MINLUMISCALERSFEDID
Definition: FEDNumbering.h:49
FEDNumbering::MINDTFEDID
Definition: FEDNumbering.h:55
FEDNumbering::MAXTotemRPHorizontalFEDID
Definition: FEDNumbering.h:36
FEDNumbering::MAXDAQmFEDFEDID
Definition: FEDNumbering.h:100
FEDNumbering::MINTriggerLTCSiPixelFEDID
Definition: FEDNumbering.h:87
FEDNumbering::MAXRPCFEDID
Definition: FEDNumbering.h:60
FEDNumbering::MINDTUROSFEDID
Definition: FEDNumbering.h:111
FEDNumbering::MINDAQmFEDFEDID
Definition: FEDNumbering.h:99
FEDNumbering::MINTriggerLTCECALFEDID
Definition: FEDNumbering.h:77
FEDNumbering::MAXTriggerLTCHCALFEDID
Definition: FEDNumbering.h:74
FEDNumbering::MAXPreShowerFEDID
Definition: FEDNumbering.h:32
FEDNumbering::MINCASTORFEDID
Definition: FEDNumbering.h:45