CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelTKFECParameters.cc
Go to the documentation of this file.
2 #include <ostream>
3 
4 using namespace pos;
5 
7 {
8 TKFECID_="";
9 crate_=0;
10 type_="";
11 address_=0;
12 
13 }
14 
16 {
17 
18 }
19 
20 
22  return TKFECID_;
23 }
24 
25 unsigned int PixelTKFECParameters::getCrate() const{
26  return crate_;
27 }
28 
30  return type_;
31 }
32 
33 unsigned int PixelTKFECParameters::getAddress() const{
34  return address_;
35 }
36 
37 void PixelTKFECParameters::setTKFECParameters( std::string TKFECID , unsigned int crate , std::string type, unsigned int address){
38 
39 TKFECID_ = TKFECID;
40 crate_ = crate;
41 type_ = type;
42 address_ =address;
43 
44 }
45 
47 
48 TKFECID_ = TKFECID;
49 
50 }
51 
52 void PixelTKFECParameters::setCrate(unsigned int crate) {
53 
54 crate_=crate;
55 
56 }
57 
59 
60 type_ = type;
61 
62 }
63 
64 void PixelTKFECParameters::setAddress(unsigned int address){
65 
66 address_=address;
67 
68 }
69 
70 std::ostream& pos::operator <<(std::ostream& s ,const PixelTKFECParameters &pTKFECp){
71 
72 s <<"TKFEC ID:"<<pTKFECp.TKFECID_<<std::endl;
73 s <<"Crate Number:"<<pTKFECp.crate_<<std::endl;
74 s <<pTKFECp.type_<<std::endl;
75 s <<"Address:"<<pTKFECp.address_<<std::endl;
76 
77 return s;
78 
79 }
80 
81 
82 
type
Definition: HCALResponse.h:21
void setCrate(unsigned int crate)
void setTKFECID(std::string TKFECID)
void setTKFECParameters(std::string TKFECID, unsigned int crate, std::string type, unsigned int address)
std::string getType() const
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
std::string getTKFECID() const
unsigned int getCrate() const
unsigned int getAddress() const
This class implements..
void setType(std::string type)
void setAddress(unsigned int address)