Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
CSCObjects
src
CSCTriggerElectronicsMapping.cc
Go to the documentation of this file.
1
#include "
CondFormats/CSCObjects/interface/CSCTriggerElectronicsMapping.h
"
2
#include <iostream>
3
#include <fstream>
4
#include <sstream>
5
6
CSCTriggerElectronicsMapping::CSCTriggerElectronicsMapping
(){}
7
8
CSCTriggerElectronicsMapping::~CSCTriggerElectronicsMapping
(){}
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
}
CSCTriggerElectronicsMapping::~CSCTriggerElectronicsMapping
virtual ~CSCTriggerElectronicsMapping()
Destructor.
Definition:
CSCTriggerElectronicsMapping.cc:8
evf::utils::zero1
num zero1
Definition:
procUtils.cc:114
CSCTriggerMapping::debugV
bool debugV(void) const
Definition:
CSCTriggerMapping.h:95
CSCTriggerElectronicsMapping.h
errorMatrix2Lands_multiChannel.id
tuple id
Definition:
errorMatrix2Lands_multiChannel.py:151
evf::utils::zero2
num zero2
Definition:
procUtils.cc:115
CSCTriggerElectronicsMapping::hwId
int hwId(int SPboardId, int FPGA, int cscid, int zero1=0, int zero2=0) const
Definition:
CSCTriggerElectronicsMapping.cc:10
CSCTriggerElectronicsMapping::CSCTriggerElectronicsMapping
CSCTriggerElectronicsMapping()
Constructor.
Definition:
CSCTriggerElectronicsMapping.cc:6
CSCTriggerMapping::myName
const std::string & myName(void) const
Definition:
CSCTriggerMapping.h:100
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:121
Generated for CMSSW Reference Manual by
1.8.5