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