CMS 3D CMS Logo

CSCTriggerSimpleMapping.cc
Go to the documentation of this file.
3 #include <iostream>
4 #include <fstream>
5 #include <sstream>
6 
8 
10 
11 int CSCTriggerSimpleMapping::hwId(int endcap, int station, int sector, int subsector, int cscid) const {
12  int id = 0;
14  int chamber = CSCTriggerNumbering::chamberFromTriggerLabels(sector, subsector, station, cscid);
15  // This is ONLY for Slice Test Nov-2005
16 
18 
19  if (debugV())
20  std::cout << myName() << ": hardware id for endcap " << endcap << " station " << station << " sector " << sector
21  << " subsector " << subsector << " cscid " << cscid << " = " << id << std::endl;
22  return id;
23 }
relativeConstraints.station
station
Definition: relativeConstraints.py:67
CSCTriggerMapping::myName
const std::string & myName(void) const
Definition: CSCTriggerMapping.h:126
gather_cfg.cout
cout
Definition: gather_cfg.py:144
CSCDetId::rawIdMaker
static int rawIdMaker(int iendcap, int istation, int iring, int ichamber, int ilayer)
Definition: CSCDetId.h:131
makeMuonMisalignmentScenario.endcap
endcap
Definition: makeMuonMisalignmentScenario.py:320
CSCTriggerSimpleMapping::CSCTriggerSimpleMapping
CSCTriggerSimpleMapping()
Constructor.
Definition: CSCTriggerSimpleMapping.cc:7
CSCTriggerNumbering.h
CSCTriggerSimpleMapping.h
CSCTriggerSimpleMapping::hwId
int hwId(int endcap, int station, int sector, int subsector, int cscid) const override
Definition: CSCTriggerSimpleMapping.cc:11
CSCTriggerSimpleMapping::~CSCTriggerSimpleMapping
~CSCTriggerSimpleMapping() override
Destructor.
Definition: CSCTriggerSimpleMapping.cc:9
CSCTriggerNumbering::ringFromTriggerLabels
static int ringFromTriggerLabels(int station, int triggerCSCID)
Definition: CSCTriggerNumbering.cc:5
CSCTriggerNumbering::chamberFromTriggerLabels
static int chamberFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station, int TriggerCSCID)
Definition: CSCTriggerNumbering.cc:30
CSCTriggerMapping::chamber
int chamber(int endcap, int station, int sector, int subsector, int cscid) const
Definition: CSCTriggerMapping.cc:9
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
CSCTriggerMapping::debugV
bool debugV(void) const
Definition: CSCTriggerMapping.h:121
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68