CalibFormats
SiPixelObjects
src
PixelTKFECParameters.cc
Go to the documentation of this file.
1
#include "
CalibFormats/SiPixelObjects/interface/PixelTKFECParameters.h
"
2
#include <ostream>
3
4
using namespace
pos
;
5
6
PixelTKFECParameters::PixelTKFECParameters
() {
7
TKFECID_
=
""
;
8
crate_
= 0;
9
type_
=
""
;
10
address_
= 0;
11
}
12
13
PixelTKFECParameters::~PixelTKFECParameters
() {}
14
15
std::string
PixelTKFECParameters::getTKFECID
()
const
{
return
TKFECID_
; }
16
17
unsigned
int
PixelTKFECParameters::getCrate
()
const
{
return
crate_
; }
18
19
std::string
PixelTKFECParameters::getType
()
const
{
return
type_
; }
20
21
unsigned
int
PixelTKFECParameters::getAddress
()
const
{
return
address_
; }
22
23
void
PixelTKFECParameters::setTKFECParameters
(
std::string
TKFECID,
24
unsigned
int
crate,
25
std::string
type
,
26
unsigned
int
address) {
27
TKFECID_
= TKFECID;
28
crate_
= crate;
29
type_
=
type
;
30
address_
= address;
31
}
32
33
void
PixelTKFECParameters::setTKFECID
(
std::string
TKFECID) {
TKFECID_
= TKFECID; }
34
35
void
PixelTKFECParameters::setCrate
(
unsigned
int
crate) {
crate_
= crate; }
36
37
void
PixelTKFECParameters::setType
(
std::string
type
) {
type_
=
type
; }
38
39
void
PixelTKFECParameters::setAddress
(
unsigned
int
address) {
address_
= address; }
40
41
std::ostream&
pos::operator<<
(std::ostream&
s
,
const
PixelTKFECParameters
& pTKFECp) {
42
s
<<
"TKFEC ID:"
<< pTKFECp.
TKFECID_
<< std::endl;
43
s
<<
"Crate Number:"
<< pTKFECp.
crate_
<< std::endl;
44
s
<< pTKFECp.
type_
<< std::endl;
45
s
<<
"Address:"
<< pTKFECp.
address_
<< std::endl;
46
47
return
s
;
48
}
pos::PixelTKFECParameters::getAddress
unsigned int getAddress() const
Definition:
PixelTKFECParameters.cc:21
pos::PixelTKFECParameters::setType
void setType(std::string type)
Definition:
PixelTKFECParameters.cc:37
pos::PixelTKFECParameters::setCrate
void setCrate(unsigned int crate)
Definition:
PixelTKFECParameters.cc:35
pos
Definition:
PixelAliasList.h:18
pos::PixelTKFECParameters::setTKFECParameters
void setTKFECParameters(std::string TKFECID, unsigned int crate, std::string type, unsigned int address)
Definition:
PixelTKFECParameters.cc:23
pos::PixelTKFECParameters::~PixelTKFECParameters
~PixelTKFECParameters()
Definition:
PixelTKFECParameters.cc:13
pos::PixelTKFECParameters::PixelTKFECParameters
PixelTKFECParameters()
Definition:
PixelTKFECParameters.cc:6
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
pos::PixelTKFECParameters::getType
std::string getType() const
Definition:
PixelTKFECParameters.cc:19
pos::PixelTKFECParameters::type_
std::string type_
Definition:
PixelTKFECParameters.h:39
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelTKFECParameters
This class implements..
Definition:
PixelTKFECParameters.h:20
pos::PixelTKFECParameters::getTKFECID
std::string getTKFECID() const
Definition:
PixelTKFECParameters.cc:15
pos::PixelTKFECParameters::TKFECID_
std::string TKFECID_
Definition:
PixelTKFECParameters.h:37
pos::operator<<
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
Definition:
PixelCalibConfiguration.cc:1325
pos::PixelTKFECParameters::getCrate
unsigned int getCrate() const
Definition:
PixelTKFECParameters.cc:17
type
type
Definition:
HCALResponse.h:21
pos::PixelTKFECParameters::setAddress
void setAddress(unsigned int address)
Definition:
PixelTKFECParameters.cc:39
PixelTKFECParameters.h
pos::PixelTKFECParameters::crate_
unsigned int crate_
Definition:
PixelTKFECParameters.h:38
pos::PixelTKFECParameters::setTKFECID
void setTKFECID(std::string TKFECID)
Definition:
PixelTKFECParameters.cc:33
pos::PixelTKFECParameters::address_
unsigned int address_
Definition:
PixelTKFECParameters.h:40
Generated for CMSSW Reference Manual by
1.8.16