CommonTools
TrackerMap
interface
TmCcu.h
Go to the documentation of this file.
1
#include <map>
2
#include <string>
3
4
class
TmCcu
{
5
public
:
6
TmCcu
(
int
crate
,
int
slot,
int
ring
,
int
addr
);
7
~TmCcu
();
8
int
red
,
green
,
blue
;
9
float
value
;
10
std::string
text
;
11
int
count
;
12
int
idex
;
13
int
crate
;
14
int
nmod
;
//number of modules connected to this ccu
15
std::string
cmodid
;
//list of modules connected to this ccu
16
int
layer
;
//tracker layer of connected modules
17
int
mpos
;
//ccu position in ring
18
int
getCcuCrate
() {
19
int
res
= (
int
)(
idex
/ 10000000);
20
return
res
;
21
}
22
int
getCcuSlot
() {
23
int
res
= (
int
)(
idex
/ 100000);
24
int
res1 = (
int
)(
res
/ 100);
25
return
res
- res1 * 100;
26
}
27
int
getCcuRing
() {
28
int
res
= (
int
)(
idex
% 100000);
29
int
res1 = (
int
)(
res
/ 1000);
30
return
res1;
31
}
32
int
getCcuAddr
() {
33
int
res
= (
int
)(
idex
% 1000);
34
return
res
;
35
}
36
};
TmCcu::cmodid
std::string cmodid
Definition:
TmCcu.h:15
TmCcu::layer
int layer
Definition:
TmCcu.h:16
TmCcu::getCcuRing
int getCcuRing()
Definition:
TmCcu.h:27
TmCcu::getCcuAddr
int getCcuAddr()
Definition:
TmCcu.h:32
TmCcu::count
int count
Definition:
TmCcu.h:11
TmCcu::nmod
int nmod
Definition:
TmCcu.h:14
TmCcu::crate
int crate
Definition:
TmCcu.h:13
res
Definition:
Electron.h:6
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TmCcu::getCcuSlot
int getCcuSlot()
Definition:
TmCcu.h:22
createfilelist.int
int
Definition:
createfilelist.py:10
generateTowerEtThresholdLUT.addr
addr
Definition:
generateTowerEtThresholdLUT.py:57
TmCcu::~TmCcu
~TmCcu()
Definition:
TmCcu.cc:17
TmCcu::getCcuCrate
int getCcuCrate()
Definition:
TmCcu.h:18
TmCcu::green
int green
Definition:
TmCcu.h:8
TmCcu::mpos
int mpos
Definition:
TmCcu.h:17
TmCcu::value
float value
Definition:
TmCcu.h:9
TmCcu::TmCcu
TmCcu(int crate, int slot, int ring, int addr)
Definition:
TmCcu.cc:5
TmCcu::idex
int idex
Definition:
TmCcu.h:12
TmCcu::red
int red
Definition:
TmCcu.h:8
TmCcu::blue
int blue
Definition:
TmCcu.h:8
TmCcu
Definition:
TmCcu.h:4
TmCcu::text
std::string text
Definition:
TmCcu.h:10
relativeConstraints.ring
ring
Definition:
relativeConstraints.py:68
Generated for CMSSW Reference Manual by
1.8.14