CondFormats
RPCObjects
src
FebLocationSpec.cc
Go to the documentation of this file.
1
#include "
CondFormats/RPCObjects/interface/FebLocationSpec.h
"
2
#include <sstream>
3
4
std::string
FebLocationSpec::localEtaPartitionName
()
const
{
5
std::ostringstream
str
;
6
const
static
std::string
localPartVal[7] = {
"Forward"
,
"Central"
,
"Backward"
,
"A"
,
"B"
,
"C"
,
"D"
};
7
str
<< localPartVal[
localEtaPartition
- 1];
8
return
str
.str();
9
}
10
11
std::string
FebLocationSpec::print
(
int
depth
)
const
{
12
std::ostringstream
str
;
13
std::string
cmsPartVal[6] = {
"1"
,
"2"
,
"3"
,
"A"
,
"B"
,
"C"
};
14
if
(
depth
>= 0) {
15
str
<<
"FebLocationSpec: "
<< std::endl
16
<<
" local partition: "
<<
localEtaPartitionName
() <<
" ("
<<
int
(
positionInLocalEtaPartition
) <<
")"
17
<<
" cms partition: "
<< cmsPartVal[
cmsEtaPartition
- 1] <<
" ("
<<
int
(
positionInCmsEtaPartition
) <<
")"
18
<< std::endl;
19
}
20
return
str
.str();
21
}
FebLocationSpec::print
std::string print(int depth=0) const
Definition:
FebLocationSpec.cc:11
FebLocationSpec::localEtaPartition
char localEtaPartition
Definition:
FebLocationSpec.h:15
FebLocationSpec::cmsEtaPartition
char cmsEtaPartition
Definition:
FebLocationSpec.h:13
FebLocationSpec.h
FebLocationSpec::positionInCmsEtaPartition
char positionInCmsEtaPartition
Definition:
FebLocationSpec.h:14
str
#define str(s)
Definition:
TestProcessor.cc:51
LEDCalibrationChannels.depth
depth
Definition:
LEDCalibrationChannels.py:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FebLocationSpec::positionInLocalEtaPartition
char positionInLocalEtaPartition
Definition:
FebLocationSpec.h:16
createfilelist.int
int
Definition:
createfilelist.py:10
FebLocationSpec::localEtaPartitionName
std::string localEtaPartitionName() const
debug printout
Definition:
FebLocationSpec.cc:4
Generated for CMSSW Reference Manual by
1.8.16