test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCTriggerElectronicsMapping.cc
Go to the documentation of this file.
2 #include <iostream>
3 #include <fstream>
4 #include <sstream>
5 
7 
9 
10 int CSCTriggerElectronicsMapping::hwId( int SPboardID, int FPGA, int cscid, int zero1, int zero2 ) const {
11 
12  int id = 0;
13 
14  id = ((cscid) | (FPGA << 4) | (SPboardID << 8));
15 
16  if ( debugV() ) std::cout << myName() << ": hardware id for SP Board Id " << SPboardID
17  << " FPGA " << FPGA << " cscid " << cscid << " = " << id << std::endl;
18  return id;
19 }
virtual ~CSCTriggerElectronicsMapping()
Destructor.
bool debugV(void) const
int hwId(int SPboardId, int FPGA, int cscid, int zero1=0, int zero2=0) const
const std::string & myName(void) const
tuple cout
Definition: gather_cfg.py:145