CondFormats
SiStripObjects
src
Phase2TrackerModule.cc
Go to the documentation of this file.
1
#include "
CondFormats/SiStripObjects/interface/Phase2TrackerModule.h
"
2
#include <iostream>
3
#include <sstream>
4
5
std::string
Phase2TrackerModule::description
(
bool
compact)
const
{
6
std::stringstream
ss
;
7
if
(compact) {
8
ss
<<
"0x"
<< std::hex <<
getDetid
() <<
" ("
<< (
getModuleType
() ==
Phase2TrackerModule::SS
?
"2S"
:
"PS"
) <<
") "
;
9
ss
<<
"GBT 0x"
<< std::hex <<
getGbtid
() <<
" FED "
<<
std::dec
<<
getCh
().first <<
"."
<<
getCh
().second;
10
ss
<<
" C "
<<
getCoolingLoop
() <<
" P "
<<
getPowerGroup
() << std::endl;
11
}
else
{
12
ss
<<
"Module of type "
<< (
getModuleType
() ==
Phase2TrackerModule::SS
?
"2S"
:
"PS"
) <<
":"
<< std::endl;
13
ss
<<
" Detid: 0x"
<< std::hex <<
getDetid
() <<
" GBTid: 0x"
<<
getGbtid
() << std::endl;
14
ss
<<
" FED connection: "
<<
std::dec
<<
getCh
().first <<
"."
<<
getCh
().second << std::endl;
15
ss
<<
" Cooling loop: "
<<
getCoolingLoop
() << std::endl;
16
ss
<<
" Power group: "
<<
getPowerGroup
() << std::endl;
17
}
18
return
ss
.str();
19
}
Phase2TrackerModule::description
std::string description(bool compact=false) const
Definition:
Phase2TrackerModule.cc:5
Phase2TrackerModule::getCh
std::pair< unsigned int, unsigned int > getCh() const
Definition:
Phase2TrackerModule.h:42
Phase2TrackerModule::getCoolingLoop
uint32_t getCoolingLoop() const
Definition:
Phase2TrackerModule.h:43
Phase2TrackerModule::getPowerGroup
uint32_t getPowerGroup() const
Definition:
Phase2TrackerModule.h:44
contentValuesCheck.ss
ss
Definition:
contentValuesCheck.py:33
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Phase2TrackerModule::getModuleType
ModuleTypes getModuleType() const
Definition:
Phase2TrackerModule.h:45
Phase2TrackerModule::getDetid
uint32_t getDetid() const
Definition:
Phase2TrackerModule.h:40
Phase2TrackerModule::SS
Definition:
Phase2TrackerModule.h:11
Phase2TrackerModule::getGbtid
uint32_t getGbtid() const
Definition:
Phase2TrackerModule.h:41
Phase2TrackerModule.h
TauDecayModes.dec
dec
Definition:
TauDecayModes.py:143
Generated for CMSSW Reference Manual by
1.8.16