CMS 3D CMS Logo

FEDNumbering Class Reference

This class holds the fed numbering scheme for the CMS geometry. More...

#include <DataFormats/FEDRawData/interface/FEDNumbering.h>

List of all members.

Public Types

enum  {
  NOT_A_FEDID = -1, MAXFEDID = 1023, MINSiPixelFEDID = 0, MAXSiPixelFEDID = 39,
  MINSiStripFEDID = 50, MAXSiStripFEDID = 489, MINPreShowerFEDID = 520, MAXPreShowerFEDID = 575,
  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 = 815, 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
}

Public Member Functions

virtual ~FEDNumbering ()

Static Public Member Functions

static const std::string & fromDet (int)
static std::pair< int, intgetCastorFEDIds ()
static std::pair< int, intgetCSCContingencyFEDIds ()
static std::pair< int, intgetCSCDDUFEDIds ()
static std::pair< int, intgetCSCFEDIds ()
static std::pair< int, intgetCSCTFFEDIds ()
static std::pair< int, intgetCSCTFSPFEDIds ()
static std::pair< int, intgetDAQeFEDFEDIds ()
static std::pair< int, intgetDTFEDIds ()
static std::pair< int, intgetDTTFFEDIds ()
static std::pair< int, intgetEcalFEDIds ()
static std::pair< int, intgetHcalFEDIds ()
static std::pair< int, intgetLumiScalersFEDIds ()
static std::pair< int, intgetPreShowerFEDIds ()
static std::pair< int, intgetRPCFEDIds ()
static std::pair< int, intgetSiPixelFEDIds ()
static std::pair< int, intgetSiStripFEDIds ()
static std::pair< int, intgetTriggerEGTPFEDIds ()
static std::pair< int, intgetTriggerGCTFEDIds ()
static std::pair< int, intgetTriggerGTPFEDIds ()
static std::pair< int, intgetTriggerLTCCSCFEDID ()
static std::pair< int, intgetTriggerLTCDTFEDID ()
static std::pair< int, intgetTriggerLTCECALFEDID ()
static std::pair< int, intgetTriggerLTCFEDIds ()
static std::pair< int, intgetTriggerLTCHCALFEDID ()
static std::pair< int, intgetTriggerLTCmtccFEDIds ()
static std::pair< int, intgetTriggerLTCRPCFEDID ()
static std::pair< int, intgetTriggerLTCSiPixelFEDID ()
static std::pair< int, intgetTriggerLTCSiStripFEDID ()
static std::pair< int, intgetTriggerLTCTotemCastorFEDID ()
static std::pair< int, intgetTriggerLTCTriggerFEDID ()
static void init ()
static bool inRange (int)
static bool inRangeNoGT (int)
static int lastFEDId ()

Static Private Attributes

static std::vector< std::string > from_
static boolin_ = new bool[1024]
static bool init_ = true


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 18 of file FEDNumbering.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
NOT_A_FEDID 
MAXFEDID 
MINSiPixelFEDID 
MAXSiPixelFEDID 
MINSiStripFEDID 
MAXSiStripFEDID 
MINPreShowerFEDID 
MAXPreShowerFEDID 
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 

Definition at line 76 of file FEDNumbering.h.

00076         {
00077      NOT_A_FEDID = -1,
00078      MAXFEDID = 1023, // 10 bits
00079      MINSiPixelFEDID = 0,
00080      MAXSiPixelFEDID = 39,
00081      MINSiStripFEDID = 50,
00082      MAXSiStripFEDID = 489,
00083      MINPreShowerFEDID = 520,
00084      MAXPreShowerFEDID = 575,
00085      MINECALFEDID = 600,
00086      MAXECALFEDID = 670,
00087      MINCASTORFEDID = 690,
00088      MAXCASTORFEDID = 693,
00089      MINHCALFEDID = 700,
00090      MAXHCALFEDID = 731,
00091      MINLUMISCALERSFEDID = 735,
00092      MAXLUMISCALERSFEDID = 735,
00093      MINCSCFEDID = 750,
00094      MAXCSCFEDID = 757,
00095      MINCSCTFFEDID = 760,
00096      MAXCSCTFFEDID = 760,
00097      MINDTFEDID = 770,
00098      MAXDTFEDID = 779,
00099      MINDTTFFEDID = 780,
00100      MAXDTTFFEDID = 780,
00101      MINRPCFEDID = 790,
00102      MAXRPCFEDID = 795,
00103      MINTriggerGTPFEDID = 812,
00104      MAXTriggerGTPFEDID = 813,
00105      MINTriggerEGTPFEDID = 814,
00106      MAXTriggerEGTPFEDID = 815,
00107      MINTriggerGCTFEDID = 745,
00108      MAXTriggerGCTFEDID = 749,
00109      MINTriggerLTCFEDID = 816,
00110      MAXTriggerLTCFEDID = 824,
00111      MINTriggerLTCmtccFEDID = 815,
00112      MAXTriggerLTCmtccFEDID = 815,
00113      MINTriggerLTCTriggerFEDID = 816,
00114      MAXTriggerLTCTriggerFEDID = 816,
00115      MINTriggerLTCHCALFEDID = 817,
00116      MAXTriggerLTCHCALFEDID = 817,
00117      MINTriggerLTCSiStripFEDID = 818,
00118      MAXTriggerLTCSiStripFEDID = 818,
00119      MINTriggerLTCECALFEDID = 819,
00120      MAXTriggerLTCECALFEDID = 819,
00121      MINTriggerLTCTotemCastorFEDID = 820,
00122      MAXTriggerLTCTotemCastorFEDID = 820,
00123      MINTriggerLTCRPCFEDID = 821,
00124      MAXTriggerLTCRPCFEDID = 821,
00125      MINTriggerLTCCSCFEDID = 822,
00126      MAXTriggerLTCCSCFEDID = 822,
00127      MINTriggerLTCDTFEDID = 823,
00128      MAXTriggerLTCDTFEDID = 823,
00129      MINTriggerLTCSiPixelFEDID = 824,
00130      MAXTriggerLTCSiPixelFEDID = 824,
00131      MINCSCDDUFEDID = 830,
00132      MAXCSCDDUFEDID = 869,
00133      MINCSCContingencyFEDID = 880,
00134      MAXCSCContingencyFEDID = 887,
00135      MINCSCTFSPFEDID = 890,
00136      MAXCSCTFSPFEDID = 901,
00137      MINDAQeFEDFEDID = 902,
00138      MAXDAQeFEDFEDID = 931
00139    };


Constructor & Destructor Documentation

virtual FEDNumbering::~FEDNumbering (  )  [inline, virtual]

Definition at line 23 of file FEDNumbering.h.

00023 {};


Member Function Documentation

string const & FEDNumbering::fromDet ( int  i  )  [static]

Definition at line 339 of file FEDNumbering.cc.

References from_, init(), and init_.

00340 {
00341   if(init_) init();
00342   return from_[i];
00343 }  

pair< int, int > FEDNumbering::getCastorFEDIds (  )  [static]

Definition at line 80 of file FEDNumbering.cc.

References MAXCASTORFEDID, and MINCASTORFEDID.

Referenced by init().

00080                                            {
00081 
00082   return pair<int,int> (MINCASTORFEDID, MAXCASTORFEDID);
00083 
00084 }

pair< int, int > FEDNumbering::getCSCContingencyFEDIds (  )  [static]

Definition at line 190 of file FEDNumbering.cc.

References MAXCSCContingencyFEDID, and MINCSCContingencyFEDID.

Referenced by init(), and SubdetFEDSelector::produce().

00190                                                     {
00191 
00192 return pair<int,int>(MINCSCContingencyFEDID, MAXCSCContingencyFEDID);  
00193 
00194 }

pair< int, int > FEDNumbering::getCSCDDUFEDIds (  )  [static]

Definition at line 184 of file FEDNumbering.cc.

References MAXCSCDDUFEDID, and MINCSCDDUFEDID.

Referenced by init(), and SubdetFEDSelector::produce().

00184                                             {
00185 
00186 return pair<int,int>(MINCSCDDUFEDID, MAXCSCDDUFEDID);  
00187 
00188 }

pair< int, int > FEDNumbering::getCSCFEDIds (  )  [static]

Definition at line 47 of file FEDNumbering.cc.

References MAXCSCFEDID, and MINCSCFEDID.

Referenced by CSCOldGainAnalyzer::analyze(), CSCscaAnalyzer::analyze(), CSCSaturationAnalyzer::analyze(), CSCGainAnalyzer::analyze(), CSCOldCrossTalkAnalyzer::analyze(), CSCCompThreshAnalyzer::analyze(), CSCNoiseMatrixAnalyzer::analyze(), CSCCrossTalkAnalyzer::analyze(), CSCCFEBConnectivityAnalyzer::analyze(), BxTiming::beginJob(), DQMDaqInfo::beginJob(), CSCDigiToRaw::createFedBuffers(), CSCFileDumper::CSCFileDumper(), CSCFileReader::CSCFileReader(), dqm::daq::FEDMonitorClient::defaultWebPage(), CSCTFFileReader::fillRawData(), init(), CSCHLTMonitorModule::monitorEvent(), CSCMonitorModule::monitorEvent(), CSCFileReader::nextEventFromFUs(), SubdetFEDSelector::produce(), and CSCDCCUnpacker::produce().

00047                                         {
00048 
00049   return pair<int,int> (MINCSCFEDID, MAXCSCFEDID);
00050 
00051 }

pair< int, int > FEDNumbering::getCSCTFFEDIds (  )  [static]

Definition at line 52 of file FEDNumbering.cc.

References MAXCSCTFFEDID, and MINCSCTFFEDID.

Referenced by CSCTFValidator::analyze(), BxTiming::beginJob(), CSCFileReader::buildEventFromRUIs(), CSCFileDumper::CSCFileDumper(), CSCFileReader::CSCFileReader(), dqm::daq::FEDMonitorClient::defaultWebPage(), init(), CSCFileReader::nextEventFromFUs(), SubdetFEDSelector::produce(), CSCTFPacker::produce(), and CSCTFUnpacker::produce().

00052                                           {
00053 
00054   return pair<int,int> (MINCSCTFFEDID, MAXCSCTFFEDID);
00055 
00056 }

pair< int, int > FEDNumbering::getCSCTFSPFEDIds (  )  [static]

Definition at line 196 of file FEDNumbering.cc.

References MAXCSCTFSPFEDID, and MINCSCTFSPFEDID.

Referenced by init(), and SubdetFEDSelector::produce().

00196                                              {
00197 
00198 return pair<int,int>(MINCSCTFSPFEDID, MAXCSCTFSPFEDID);  
00199 
00200 }

pair< int, int > FEDNumbering::getDAQeFEDFEDIds (  )  [static]

Definition at line 202 of file FEDNumbering.cc.

References MAXDAQeFEDFEDID, and MINDAQeFEDFEDID.

Referenced by dqm::daq::FEDMonitorClient::defaultWebPage(), init(), and SubdetFEDSelector::produce().

00202                                              {
00203 
00204 return pair<int,int>(MINDAQeFEDFEDID, MAXDAQeFEDFEDID);  
00205 
00206 }

pair< int, int > FEDNumbering::getDTFEDIds (  )  [static]

Definition at line 33 of file FEDNumbering.cc.

References MAXDTFEDID, and MINDTFEDID.

Referenced by BxTiming::beginJob(), DTDAQInfo::beginLuminosityBlock(), dqm::daq::FEDMonitorClient::defaultWebPage(), DTDataIntegrityTest::endLuminosityBlock(), DTDDUFileReader::fillRawData(), DTROS25FileReader::fillRawData(), DTROS8FileReader::fillRawData(), init(), DTDataIntegrityTask::postBeginJob(), SubdetFEDSelector::produce(), DTDigiToRawModule::produce(), and DTUnpackingModule::produce().

00033                                        {
00034 
00035   return pair<int,int> (MINDTFEDID, MAXDTFEDID);
00036 
00037 }

pair< int, int > FEDNumbering::getDTTFFEDIds (  )  [static]

Definition at line 39 of file FEDNumbering.cc.

References MAXDTTFFEDID, and MINDTTFFEDID.

Referenced by BxTiming::beginJob(), dqm::daq::FEDMonitorClient::defaultWebPage(), init(), and SubdetFEDSelector::produce().

00039                                          {
00040 
00041   return pair<int,int> (MINDTTFFEDID, MAXDTTFFEDID);
00042 
00043 }

pair< int, int > FEDNumbering::getEcalFEDIds (  )  [static]

Definition at line 73 of file FEDNumbering.cc.

References MAXECALFEDID, and MINECALFEDID.

Referenced by BxTiming::beginJob(), BlockFormatter::BlockFormatter(), dqm::daq::FEDMonitorClient::defaultWebPage(), EcalRawToDigiDev::EcalRawToDigiDev(), EcalRawToRecHitLazyUnpacker::EcalRawToRecHitLazyUnpacker(), EcalRegionCabling::elementIndex(), EcalRegionCabling::fedIndex(), init(), EcalRegionCabling::maxElementIndex(), SubdetFEDSelector::produce(), EcalRawToRecHitRoI::produce(), EcalListOfFEDSProducer::produce(), and EcalDigiToRaw::produce().

00073                                          {
00074 
00075   return pair<int,int> (MINECALFEDID, MAXECALFEDID);
00076 
00077 }

pair< int, int > FEDNumbering::getHcalFEDIds (  )  [static]

Definition at line 87 of file FEDNumbering.cc.

References MAXHCALFEDID, and MINHCALFEDID.

Referenced by BxTiming::beginJob(), DQMDaqInfo::beginJob(), CastorRawToDigi::CastorRawToDigi(), HcalMonitorModule::CheckSubdetectorStatus(), dqm::daq::FEDMonitorClient::defaultWebPage(), HcalRawToDigi::HcalRawToDigi(), init(), SubdetFEDSelector::produce(), HcalDigiToRaw::produce(), HcalEEUSMonitor::setup(), HcalDataIntegrityTask::setup(), HcalDataFormatMonitor::setup(), and HcalExpertMonitor::setup().

00087                                          {
00088 
00089   return pair<int,int> (MINHCALFEDID, MAXHCALFEDID);
00090 
00091 }

pair< int, int > FEDNumbering::getLumiScalersFEDIds (  )  [static]

Definition at line 93 of file FEDNumbering.cc.

References MAXLUMISCALERSFEDID, and MINLUMISCALERSFEDID.

Referenced by init().

00093                                                 {
00094 
00095   return pair<int,int> (MINLUMISCALERSFEDID, MAXLUMISCALERSFEDID);
00096 
00097 }

pair< int, int > FEDNumbering::getPreShowerFEDIds (  )  [static]

Definition at line 66 of file FEDNumbering.cc.

References MAXPreShowerFEDID, and MINPreShowerFEDID.

Referenced by dqm::daq::FEDMonitorClient::defaultWebPage(), init(), ESDigiToRaw::produce(), ESDigiToRawTB::produce(), SubdetFEDSelector::produce(), and ECALRegFEDSelector::produce().

00066                                               {
00067 
00068   return pair<int,int> (MINPreShowerFEDID, MAXPreShowerFEDID);
00069 
00070 }

pair< int, int > FEDNumbering::getRPCFEDIds (  )  [static]

Definition at line 59 of file FEDNumbering.cc.

References MAXRPCFEDID, and MINRPCFEDID.

Referenced by LinkDataXMLWriter::analyze(), BxTiming::beginJob(), LinkDataXMLReader::clear(), dqm::daq::FEDMonitorClient::defaultWebPage(), init(), LinkDataXMLReader::LinkDataXMLReader(), SubdetFEDSelector::produce(), RPCUnpackingModule::produce(), and LinkDataXMLReader::produce().

00059                                         {
00060 
00061   return pair<int,int> (MINRPCFEDID, MAXRPCFEDID);
00062 
00063 }

pair< int, int > FEDNumbering::getSiPixelFEDIds (  )  [static]

Definition at line 26 of file FEDNumbering.cc.

References MAXSiPixelFEDID, and MINSiPixelFEDID.

Referenced by DQMDaqInfo::beginJob(), SiPixelRawDataErrorSource::buildStructure(), dqm::daq::FEDMonitorClient::defaultWebPage(), init(), SubdetFEDSelector::produce(), and SiPixelFedFillerWordEventNumber::produce().

00026                                             {
00027 
00028   return pair<int,int> (MINSiPixelFEDID, MAXSiPixelFEDID);
00029 
00030 }

pair< int, int > FEDNumbering::getSiStripFEDIds (  )  [static]

Definition at line 19 of file FEDNumbering.cc.

References MAXSiStripFEDID, and MINSiStripFEDID.

Referenced by SiStripFEDCheckPlugin::analyze(), SiStripFEDMonitorPlugin::analyze(), SiStripFEDCheckPlugin::beginJob(), DQMDaqInfo::beginJob(), SiStripFEDMonitorPlugin::beginJob(), SiStripDaqInfo::beginLuminosityBlock(), SiStripOfflineDQM::beginRun(), SiStripFEDMonitorPlugin::bookAllFEDHistograms(), SiStripFEDMonitorPlugin::bookTopLevelHistograms(), sistrip::FEDBufferBase::checkSourceIDs(), SiStripAnalyser::checkTrackerFEDs(), SiStripRawToDigiUnpacker::createDigis(), dqm::daq::FEDMonitorClient::defaultWebPage(), init(), SubdetFEDSelector::produce(), SiStripDaqInfo::readSubdetFedFractions(), and SiStripFEDCheckPlugin::updateHistograms().

00019                                             {
00020 
00021   return pair<int,int> (MINSiStripFEDID, MAXSiStripFEDID);
00022 
00023 }

pair< int, int > FEDNumbering::getTriggerEGTPFEDIds (  )  [static]

Definition at line 106 of file FEDNumbering.cc.

References MAXTriggerEGTPFEDID, and MINTriggerEGTPFEDID.

Referenced by dqm::daq::FEDMonitorClient::defaultWebPage(), init(), and SubdetFEDSelector::produce().

00106                                                 {
00107 
00108   return pair<int,int> (MINTriggerEGTPFEDID, MAXTriggerEGTPFEDID);
00109 
00110 }

pair< int, int > FEDNumbering::getTriggerGCTFEDIds (  )  [static]

Definition at line 113 of file FEDNumbering.cc.

References MAXTriggerGCTFEDID, and MINTriggerGCTFEDID.

Referenced by BxTiming::beginJob(), init(), and SubdetFEDSelector::produce().

00113                                                {
00114 
00115   return pair<int,int> (MINTriggerGCTFEDID, MAXTriggerGCTFEDID);
00116 
00117 }

pair< int, int > FEDNumbering::getTriggerGTPFEDIds (  )  [static]

Definition at line 99 of file FEDNumbering.cc.

References MAXTriggerGTPFEDID, and MINTriggerGTPFEDID.

Referenced by BxTiming::beginJob(), DQMDaqInfo::beginJob(), dqm::daq::FEDMonitorClient::defaultWebPage(), init(), L1GtTextToRaw::L1GtTextToRaw(), and SubdetFEDSelector::produce().

00099                                                {
00100 
00101   return pair<int,int> (MINTriggerGTPFEDID, MAXTriggerGTPFEDID);
00102 
00103 }

pair< int, int > FEDNumbering::getTriggerLTCCSCFEDID (  )  [static]

Definition at line 168 of file FEDNumbering.cc.

References MAXTriggerLTCCSCFEDID, and MINTriggerLTCCSCFEDID.

Referenced by SubdetFEDSelector::produce().

00168                                                   {
00169 
00170 return pair<int,int>(MINTriggerLTCCSCFEDID, MAXTriggerLTCCSCFEDID);
00171 
00172 }

pair< int, int > FEDNumbering::getTriggerLTCDTFEDID (  )  [static]

Definition at line 173 of file FEDNumbering.cc.

References MAXTriggerLTCDTFEDID, and MINTriggerLTCDTFEDID.

Referenced by SubdetFEDSelector::produce().

00173                                                  {
00174 
00175 return pair<int,int>(MINTriggerLTCDTFEDID, MAXTriggerLTCDTFEDID);
00176 
00177 }

pair< int, int > FEDNumbering::getTriggerLTCECALFEDID (  )  [static]

Definition at line 151 of file FEDNumbering.cc.

References MAXTriggerLTCECALFEDID, and MINTriggerLTCECALFEDID.

Referenced by SubdetFEDSelector::produce().

00151                                                    {
00152 
00153 return pair<int,int>(MINTriggerLTCECALFEDID, MAXTriggerLTCECALFEDID);
00154 
00155 }

pair< int, int > FEDNumbering::getTriggerLTCFEDIds (  )  [static]

Definition at line 126 of file FEDNumbering.cc.

References MAXTriggerLTCFEDID, and MINTriggerLTCFEDID.

Referenced by init(), and SubdetFEDSelector::produce().

00126                                                {
00127 
00128   return pair<int,int> (MINTriggerLTCFEDID, MAXTriggerLTCFEDID);
00129 
00130 }

pair< int, int > FEDNumbering::getTriggerLTCHCALFEDID (  )  [static]

Definition at line 139 of file FEDNumbering.cc.

References MAXTriggerLTCHCALFEDID, and MINTriggerLTCHCALFEDID.

Referenced by SubdetFEDSelector::produce().

00139                                                    {
00140 
00141   return pair<int,int>(MINTriggerLTCHCALFEDID, MAXTriggerLTCHCALFEDID);
00142 
00143 }

pair< int, int > FEDNumbering::getTriggerLTCmtccFEDIds (  )  [static]

Definition at line 120 of file FEDNumbering.cc.

References MAXTriggerLTCmtccFEDID, and MINTriggerLTCmtccFEDID.

Referenced by init(), and SubdetFEDSelector::produce().

00120                                                    {
00121 
00122   return pair<int,int> (MINTriggerLTCmtccFEDID, MAXTriggerLTCmtccFEDID);
00123 
00124 
00125 }

pair< int, int > FEDNumbering::getTriggerLTCRPCFEDID (  )  [static]

Definition at line 163 of file FEDNumbering.cc.

References MAXTriggerLTCRPCFEDID, and MINTriggerLTCRPCFEDID.

Referenced by SubdetFEDSelector::produce().

00163                                                   {
00164 
00165 return pair<int,int>(MINTriggerLTCRPCFEDID, MAXTriggerLTCRPCFEDID);
00166 
00167 }

pair< int, int > FEDNumbering::getTriggerLTCSiPixelFEDID (  )  [static]

Definition at line 178 of file FEDNumbering.cc.

References MAXTriggerLTCSiPixelFEDID, and MINTriggerLTCSiPixelFEDID.

Referenced by SubdetFEDSelector::produce().

00178                                                       {
00179 
00180 return pair<int,int>(MINTriggerLTCSiPixelFEDID, MAXTriggerLTCSiPixelFEDID);
00181 
00182 }

pair< int, int > FEDNumbering::getTriggerLTCSiStripFEDID (  )  [static]

Definition at line 145 of file FEDNumbering.cc.

References MAXTriggerLTCSiStripFEDID, and MINTriggerLTCSiStripFEDID.

Referenced by SubdetFEDSelector::produce().

00145                                                       {
00146 
00147   return pair<int,int>(MINTriggerLTCSiStripFEDID, MAXTriggerLTCSiStripFEDID);
00148 
00149 }

pair< int, int > FEDNumbering::getTriggerLTCTotemCastorFEDID (  )  [static]

Definition at line 157 of file FEDNumbering.cc.

References MAXTriggerLTCTotemCastorFEDID, and MINTriggerLTCTotemCastorFEDID.

Referenced by SubdetFEDSelector::produce().

pair< int, int > FEDNumbering::getTriggerLTCTriggerFEDID (  )  [static]

Definition at line 133 of file FEDNumbering.cc.

References MAXTriggerLTCTriggerFEDID, and MINTriggerLTCTriggerFEDID.

Referenced by SubdetFEDSelector::produce().

00133                                                       {
00134 
00135 return pair<int,int>(MINTriggerLTCTriggerFEDID, MAXTriggerLTCTriggerFEDID);
00136 
00137 }

void FEDNumbering::init ( void   )  [static]

Definition at line 212 of file FEDNumbering.cc.

References from_, getCastorFEDIds(), getCSCContingencyFEDIds(), getCSCDDUFEDIds(), getCSCFEDIds(), getCSCTFFEDIds(), getCSCTFSPFEDIds(), getDAQeFEDFEDIds(), getDTFEDIds(), getDTTFFEDIds(), getEcalFEDIds(), getHcalFEDIds(), getLumiScalersFEDIds(), getPreShowerFEDIds(), getRPCFEDIds(), getSiPixelFEDIds(), getSiStripFEDIds(), getTriggerEGTPFEDIds(), getTriggerGCTFEDIds(), getTriggerGTPFEDIds(), getTriggerLTCFEDIds(), getTriggerLTCmtccFEDIds(), i, in_, init_, and lastFEDId().

Referenced by fromDet(), inRange(), and inRangeNoGT().

00213 {
00214   int i = 0;
00215   for(i=0; i< lastFEDId(); i++)
00216     in_[i] = false;
00217   for(i=getSiPixelFEDIds().first; i<=getSiPixelFEDIds().second; i++)
00218     {
00219       in_[i] = true;
00220       from_[i] = "SiPixel";
00221     }
00222   for(i=getSiStripFEDIds().first; i<=getSiStripFEDIds().second; i++)
00223     {
00224       in_[i] = true;
00225       from_[i] = "SiStrip";
00226     }
00227   for(i=getPreShowerFEDIds().first; i<=getPreShowerFEDIds().second; i++)
00228     {
00229       in_[i] = true;
00230       from_[i] = "PreShower";
00231     }
00232   for(i=getEcalFEDIds().first; i<=getEcalFEDIds().second; i++)
00233     {
00234       in_[i] = true;
00235       from_[i] = "Ecal";
00236     }
00237   for(i=getCastorFEDIds().first; i<=getCastorFEDIds().second; i++)
00238     {
00239       in_[i] = true;
00240       from_[i] = "Castor";
00241     }
00242   for(i=getHcalFEDIds().first; i<=getHcalFEDIds().second; i++)
00243     {
00244       in_[i] = true;
00245       from_[i] = "Hcal";
00246     }
00247   for(i=getLumiScalersFEDIds().first; i<=getLumiScalersFEDIds().second; i++)
00248     {
00249       in_[i] = true;
00250       from_[i] = "LumiScalers";
00251     }
00252   for(i=getCSCFEDIds().first; i<=getCSCFEDIds().second; i++)
00253     {
00254       in_[i] = true;
00255       from_[i] = "CSC";
00256     }
00257   for(i=getCSCTFFEDIds().first; i<=getCSCTFFEDIds().second; i++)
00258     {
00259       in_[i] = true;
00260       from_[i] = "CSCTF";
00261     }
00262   for(i=getDTFEDIds().first; i<=getDTFEDIds().second; i++)
00263     {
00264       in_[i] = true;
00265       from_[i] = "DT";
00266     }
00267   for(i=getDTTFFEDIds().first; i<=getDTTFFEDIds().second; i++)
00268     {
00269       in_[i] = true;
00270       from_[i] = "DTTF";
00271     }
00272   for(i=getRPCFEDIds().first; i<=getRPCFEDIds().second; i++)
00273     {
00274       in_[i] = true;
00275       from_[i] = "RPC";
00276     }
00277   for(i=getTriggerGTPFEDIds().first; i<=getTriggerGTPFEDIds().second; i++)
00278     {
00279       in_[i] = true;
00280       from_[i] = "TriggerGTP";
00281     }
00282   for(i=getTriggerEGTPFEDIds().first; i<=getTriggerEGTPFEDIds().second; i++)
00283     {
00284       in_[i] = true;
00285       from_[i] = "TriggerEGTP";
00286     }
00287   for(i=getTriggerGCTFEDIds().first; i<=getTriggerGCTFEDIds().second; i++)
00288     {
00289       in_[i] = true;
00290       from_[i] = "TriggerGCT";
00291     }
00292   for(i=getTriggerLTCFEDIds().first; i<=getTriggerLTCFEDIds().second; i++)
00293     {
00294       in_[i] = true;
00295       from_[i] = "TriggerLTC";
00296     }
00297   for(i=getTriggerLTCmtccFEDIds().first; i<=getTriggerLTCmtccFEDIds().second; i++)
00298     {
00299       in_[i] = true;
00300       from_[i] = "TriggerLTCmtcc";
00301     }
00302   for(i=getCSCDDUFEDIds().first; i<=getCSCDDUFEDIds().second; i++)
00303     {
00304       in_[i] = true;
00305       from_[i] = "CSCDDU";
00306     }
00307   for(i=getCSCContingencyFEDIds().first; i<=getCSCContingencyFEDIds().second; i++)
00308     {
00309       in_[i] = true;
00310       from_[i] = "CSCContingency";
00311     }
00312   for(i=getCSCTFSPFEDIds().first; i<=getCSCTFSPFEDIds().second; i++)
00313     {
00314       in_[i] = true;
00315       from_[i] = "CSCTFSP";
00316     }
00317   for(i=getDAQeFEDFEDIds().first; i<=getDAQeFEDFEDIds().second; i++)
00318     {
00319       in_[i] = true;
00320       from_[i] = "DAQeFED";
00321     }
00322 
00323 
00324   init_ = false;
00325 }

bool FEDNumbering::inRange ( int  i  )  [static]

Definition at line 327 of file FEDNumbering.cc.

References in_, init(), and init_.

Referenced by evf::BU::enabling(), and evf::FUResource::findFEDs().

00328 {
00329   if(init_) init();
00330   return in_[i];
00331 }

bool FEDNumbering::inRangeNoGT ( int  i  )  [static]

Definition at line 332 of file FEDNumbering.cc.

References in_, init(), init_, MAXTriggerEGTPFEDID, MAXTriggerGTPFEDID, MINTriggerEGTPFEDID, and MINTriggerGTPFEDID.

Referenced by evf::BU::enabling().

00333 {
00334   if(init_) init();
00335   if((i>=MINTriggerGTPFEDID && i<=MAXTriggerGTPFEDID) || (i>=MINTriggerEGTPFEDID && i<=MAXTriggerEGTPFEDID)) return false;
00336   return in_[i];
00337 }

int FEDNumbering::lastFEDId (  )  [static]

Definition at line 208 of file FEDNumbering.cc.

References MAXFEDID.

Referenced by BxTiming::analyze(), PlaybackRawDataProvider::analyze(), dqm::daq::FEDMonitor::analyze(), EcalHexDisplay::analyze(), EcalTrigPrimAnalyzerMIPs::analyze(), dqm::daq::FEDMonitor::beginJob(), HcalTBWriter::buildTree(), BxTiming::BxTiming(), dqm::daq::FEDMonitor::FEDMonitor(), init(), SiStripRegFEDSelector::produce(), SubdetFEDSelector::produce(), EcalDCCTB07UnpackingModule::produce(), ECALRegFEDSelector::produce(), EcalDCCTBUnpackingModule::produce(), RawDataCollectorModule::produce(), and SiStripRawToDigiUnpacker::triggerFed().

00208                            {
00209   return MAXFEDID;
00210 }


Member Data Documentation

vector< string > FEDNumbering::from_ [static, private]

Definition at line 141 of file FEDNumbering.h.

Referenced by fromDet(), and init().

bool * FEDNumbering::in_ = new bool[1024] [static, private]

Definition at line 142 of file FEDNumbering.h.

Referenced by init(), inRange(), and inRangeNoGT().

bool FEDNumbering::init_ = true [static, private]

Definition at line 143 of file FEDNumbering.h.

Referenced by fromDet(), init(), inRange(), and inRangeNoGT().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:20:51 2009 for CMSSW by  doxygen 1.5.4