Main Page
Namespaces
Classes
Package Documentation
CommonTools
TrackerMap
interface
TmPsu.h
Go to the documentation of this file.
1
#include <map>
2
#include <string>
3
4
class
TmModule
;
5
6
class
TmPsu
{
7
public
:
8
TmPsu
(
int
dcs,
int
branch
,
int
rack,
int
crate,
int
board);
9
~TmPsu
();
10
int
id
;
11
int
idex
;
12
std::string
psId
;
//ex: TECminus_5_6_4_2_3...
13
int
getPsuDcs
(){
int
res
= (
int
) (
id
%100000);
return
(
int
)(
id
- res)/100000;}
14
int
getPsuBranch
(){
int
res1 = (
int
)(
id
%100000);
int
res
= (
int
)(res1%1000);
return
(
int
) (res1 -res)/1000;}
15
int
getPsuRack
(){
int
res
= (
int
) (idex%1000);
return
(idex - res)/1000;}
16
int
getPsuCrate
(){
int
res1 = (
int
) (idex%1000);
int
res
=(
int
)(res1%100);
return
(
int
)(res1 - res)/100;}
17
int
getPsuBoard
(){
int
res2 = (
int
) (idex%1000);
int
res1=(
int
)(res2%100);
return
res1;}
18
19
20
int
red
,
green
,
blue
;
21
int
redHV2
,
greenHV2
,
blueHV2
;
22
int
redHV3
,
greenHV3
,
blueHV3
;
23
float
value
;
24
float
valueHV3
;
25
float
valueHV2
;
26
int
count
;
27
int
countHV2
;
28
int
countHV3
;
29
int
nmod
;
30
int
nmodHV2
;
31
int
nmodHV3
;
32
std::string
cmodid_LV
;
//list of modules connected to the LV channels of this psu
33
std::string
cmodid_HV2
;
34
std::string
cmodid_HV3
;
35
std::string
text
;
36
std::string
textHV2
;
37
std::string
textHV3
;
38
39
40
};
41
42
43
44
TmPsu::getPsuBranch
int getPsuBranch()
Definition:
TmPsu.h:14
MicroEventContent_cff.branch
branch
Definition:
MicroEventContent_cff.py:158
TmPsu::redHV2
int redHV2
Definition:
TmPsu.h:21
TmPsu::cmodid_HV2
std::string cmodid_HV2
Definition:
TmPsu.h:33
TmPsu::nmodHV3
int nmodHV3
Definition:
TmPsu.h:31
TmPsu::count
int count
Definition:
TmPsu.h:26
TmPsu::idex
int idex
Definition:
TmPsu.h:11
TmPsu::countHV2
int countHV2
Definition:
TmPsu.h:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TmPsu::value
float value
Definition:
TmPsu.h:23
TmPsu::getPsuBoard
int getPsuBoard()
Definition:
TmPsu.h:17
TmPsu::red
int red
Definition:
TmPsu.h:20
TmPsu::greenHV3
int greenHV3
Definition:
TmPsu.h:22
res
Definition:
Electron.h:6
TmPsu::getPsuDcs
int getPsuDcs()
Definition:
TmPsu.h:13
createfilelist.int
int
Definition:
createfilelist.py:10
TmPsu::nmod
int nmod
Definition:
TmPsu.h:29
TmPsu::blueHV3
int blueHV3
Definition:
TmPsu.h:22
TmPsu::greenHV2
int greenHV2
Definition:
TmPsu.h:21
TmPsu::getPsuRack
int getPsuRack()
Definition:
TmPsu.h:15
TmPsu::nmodHV2
int nmodHV2
Definition:
TmPsu.h:30
TmPsu::green
int green
Definition:
TmPsu.h:20
TmPsu::psId
std::string psId
Definition:
TmPsu.h:12
TmPsu::redHV3
int redHV3
Definition:
TmPsu.h:22
TmPsu::~TmPsu
~TmPsu()
Definition:
TmPsu.cc:24
TmModule
Definition:
TmModule.h:5
TmPsu::cmodid_HV3
std::string cmodid_HV3
Definition:
TmPsu.h:34
TmPsu::id
int id
Definition:
TmPsu.h:10
TmPsu::valueHV2
float valueHV2
Definition:
TmPsu.h:25
TmPsu::TmPsu
TmPsu(int dcs, int branch, int rack, int crate, int board)
Definition:
TmPsu.cc:5
TmPsu::textHV3
std::string textHV3
Definition:
TmPsu.h:37
TmPsu::text
std::string text
Definition:
TmPsu.h:35
TmPsu::countHV3
int countHV3
Definition:
TmPsu.h:28
TmPsu::cmodid_LV
std::string cmodid_LV
Definition:
TmPsu.h:32
TmPsu::valueHV3
float valueHV3
Definition:
TmPsu.h:24
TmPsu::textHV2
std::string textHV2
Definition:
TmPsu.h:36
TmPsu::blue
int blue
Definition:
TmPsu.h:20
TmPsu::blueHV2
int blueHV2
Definition:
TmPsu.h:21
TmPsu
Definition:
TmPsu.h:6
TmPsu::getPsuCrate
int getPsuCrate()
Definition:
TmPsu.h:16
Generated for CMSSW Reference Manual by
1.8.11