Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CommonTools
TrackerMap
interface
TmCcu.h
Go to the documentation of this file.
1
#include <map>
2
#include <string>
3
4
5
class
TmCcu
{
6
public
:
7
TmCcu
(
int
crate
,
int
slot,
int
ring
,
int
addr);
8
~TmCcu
();
9
int
red
,
green
,
blue
;
10
float
value
;
11
std::string
text
;
12
int
count
;
13
int
idex
;
14
int
crate
;
15
int
nmod
;
//number of modules connected to this ccu
16
std::string
cmodid
;
//list of modules connected to this ccu
17
int
layer
;
//tracker layer of connected modules
18
int
mpos
;
//ccu position in ring
19
int
getCcuCrate
(){
int
res = (int) (
idex
/10000000);
return
res;}
20
int
getCcuSlot
(){
int
res = (int) (
idex
/100000);
int
res1=(int)(res/100);
return
res - res1*100;}
21
int
getCcuRing
(){
int
res = (int) (
idex
%100000);
int
res1=(int)(res/1000);
return
res1 ;}
22
int
getCcuAddr
(){
int
res = (int) (
idex
%1000);
return
res;}
23
};
TmCcu::cmodid
std::string cmodid
Definition:
TmCcu.h:16
TmCcu::layer
int layer
Definition:
TmCcu.h:17
TmCcu::getCcuRing
int getCcuRing()
Definition:
TmCcu.h:21
TmCcu::getCcuAddr
int getCcuAddr()
Definition:
TmCcu.h:22
TmCcu::count
int count
Definition:
TmCcu.h:12
TmCcu::nmod
int nmod
Definition:
TmCcu.h:15
TmCcu::crate
int crate
Definition:
TmCcu.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
TmCcu::getCcuSlot
int getCcuSlot()
Definition:
TmCcu.h:20
TmCcu::~TmCcu
~TmCcu()
Definition:
TmCcu.cc:16
TmCcu::getCcuCrate
int getCcuCrate()
Definition:
TmCcu.h:19
TmCcu::green
int green
Definition:
TmCcu.h:9
relativeConstraints.ring
tuple ring
Definition:
relativeConstraints.py:67
TmCcu::mpos
int mpos
Definition:
TmCcu.h:18
TmCcu::value
float value
Definition:
TmCcu.h:10
TmCcu::TmCcu
TmCcu(int crate, int slot, int ring, int addr)
Definition:
TmCcu.cc:5
TmCcu::idex
int idex
Definition:
TmCcu.h:13
TmCcu::red
int red
Definition:
TmCcu.h:9
TmCcu::blue
int blue
Definition:
TmCcu.h:9
TmCcu
Definition:
TmCcu.h:5
TmCcu::text
std::string text
Definition:
TmCcu.h:11
Generated for CMSSW Reference Manual by
1.8.5