CMS 3D CMS Logo

PixelTKFECParameters.cc
Go to the documentation of this file.
2 #include <ostream>
3 
4 using namespace pos;
5 
7  TKFECID_ = "";
8  crate_ = 0;
9  type_ = "";
10  address_ = 0;
11 }
12 
14 
16 
17 unsigned int PixelTKFECParameters::getCrate() const { return crate_; }
18 
20 
21 unsigned int PixelTKFECParameters::getAddress() const { return address_; }
22 
24  unsigned int crate,
26  unsigned int address) {
27  TKFECID_ = TKFECID;
28  crate_ = crate;
29  type_ = type;
30  address_ = address;
31 }
32 
34 
35 void PixelTKFECParameters::setCrate(unsigned int crate) { crate_ = crate; }
36 
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
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
pos::PixelTKFECParameters::TKFECID_
std::string TKFECID_
Definition: PixelTKFECParameters.h:37
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:39
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
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