Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
{
6
std::ostringstream str;
7
static
std::string localPartVal[7]={
"Forward"
,
"Central"
,
"Backward"
,
"A"
,
"B"
,
"C"
,
"D"
};
8
str << localPartVal[
localEtaPartition
-1];
9
return
str.str();
10
}
11
12
std::string
FebLocationSpec::print
(
int
depth)
const
13
{
14
std::ostringstream str;
15
std::string cmsPartVal[6]={
"1"
,
"2"
,
"3"
,
"A"
,
"B"
,
"C"
};
16
if
(depth >= 0) {
17
str <<
"FebLocationSpec: "
<< std::endl
18
<<
" local partition: "
<<
localEtaPartitionName
()<<
" ("
<<int(
positionInLocalEtaPartition
) <<
")"
19
<<
" cms partition: "
<<cmsPartVal[
cmsEtaPartition
-1] <<
" ("
<<int(
positionInCmsEtaPartition
)<<
")"
20
<< std::endl;
21
}
22
return
str.str();
23
}
FebLocationSpec.h
FebLocationSpec::localEtaPartitionName
std::string localEtaPartitionName() const
debug printout
Definition:
FebLocationSpec.cc:4
FebLocationSpec::cmsEtaPartition
char cmsEtaPartition
Definition:
FebLocationSpec.h:12
FebLocationSpec::print
std::string print(int depth=0) const
Definition:
FebLocationSpec.cc:12
FebLocationSpec::positionInLocalEtaPartition
char positionInLocalEtaPartition
Definition:
FebLocationSpec.h:15
FebLocationSpec::positionInCmsEtaPartition
char positionInCmsEtaPartition
Definition:
FebLocationSpec.h:13
FebLocationSpec::localEtaPartition
char localEtaPartition
Definition:
FebLocationSpec.h:14
Generated for CMSSW Reference Manual by
1.8.5