CMS 3D CMS Logo

pos::PixelTKFECParameters Class Reference

This class implements.. More...

#include <interface/PixelTKFECParameters.h>

List of all members.

Public Member Functions

unsigned int getAddress () const
unsigned int getCrate () const
std::string getTKFECID () const
std::string getType () const
 PixelTKFECParameters ()
void setAddress (unsigned int address)
void setCrate (unsigned int crate)
void setTKFECID (std::string TKFECID)
void setTKFECParameters (std::string TKFECID, unsigned int crate, std::string type, unsigned int address)
void setType (std::string type)
 ~PixelTKFECParameters ()

Private Attributes

unsigned int address_
unsigned int crate_
std::string TKFECID_
std::string type_

Friends

std::ostream & operator<< (std::ostream &s, const PixelTKFECParameters &pTKFECp)


Detailed Description

This class implements..

A longer explanation will be placed here later

Definition at line 21 of file PixelTKFECParameters.h.


Constructor & Destructor Documentation

PixelTKFECParameters::PixelTKFECParameters (  ) 

Definition at line 7 of file PixelTKFECParameters.cc.

References address_, crate_, TKFECID_, and type_.

00008 {
00009 TKFECID_="";
00010 crate_=0;
00011 type_="";
00012 address_=0;
00013 
00014 }

PixelTKFECParameters::~PixelTKFECParameters (  ) 

Definition at line 16 of file PixelTKFECParameters.cc.

00017 {
00018 
00019 }


Member Function Documentation

unsigned int PixelTKFECParameters::getAddress (  )  const

Definition at line 34 of file PixelTKFECParameters.cc.

References address_.

00034                                                    {
00035     return address_;
00036 }

unsigned int PixelTKFECParameters::getCrate (  )  const

Definition at line 26 of file PixelTKFECParameters.cc.

References crate_.

00026                                                  {
00027     return crate_;
00028 }

std::string PixelTKFECParameters::getTKFECID (  )  const

Definition at line 22 of file PixelTKFECParameters.cc.

References TKFECID_.

00022                                                 {
00023     return TKFECID_;
00024 }

std::string PixelTKFECParameters::getType (  )  const

Definition at line 30 of file PixelTKFECParameters.cc.

References type_.

00030                                              {
00031     return type_;
00032 }

void PixelTKFECParameters::setAddress ( unsigned int  address  ) 

Definition at line 65 of file PixelTKFECParameters.cc.

References address_.

00065                                                          {
00066 
00067 address_=address;
00068 
00069 }

void PixelTKFECParameters::setCrate ( unsigned int  crate  ) 

Definition at line 53 of file PixelTKFECParameters.cc.

References crate_.

00053                                                       {
00054 
00055 crate_=crate;
00056 
00057 }

void PixelTKFECParameters::setTKFECID ( std::string  TKFECID  ) 

Definition at line 47 of file PixelTKFECParameters.cc.

References TKFECID_.

00047                                                        {
00048 
00049 TKFECID_ = TKFECID;
00050 
00051 }

void PixelTKFECParameters::setTKFECParameters ( std::string  TKFECID,
unsigned int  crate,
std::string  type,
unsigned int  address 
)

Definition at line 38 of file PixelTKFECParameters.cc.

References address_, crate_, TKFECID_, and type_.

Referenced by pos::PixelTKFECConfig::PixelTKFECConfig().

00038                                                                                                                            {
00039 
00040 TKFECID_ = TKFECID;
00041 crate_ = crate;
00042 type_ = type;
00043 address_ =address;
00044 
00045 }

void PixelTKFECParameters::setType ( std::string  type  ) 

Definition at line 59 of file PixelTKFECParameters.cc.

References type_.

00059                                                  {
00060 
00061 type_ = type;
00062 
00063 }


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const PixelTKFECParameters pTKFECp 
) [friend]

Definition at line 71 of file PixelTKFECParameters.cc.

00071                                                                                {
00072 
00073 s <<"TKFEC ID:"<<pTKFECp.TKFECID_<<std::endl;
00074 s <<"Crate Number:"<<pTKFECp.crate_<<std::endl;
00075 s <<pTKFECp.type_<<std::endl;
00076 s <<"Address:"<<pTKFECp.address_<<std::endl;
00077 
00078 return s;
00079 
00080 }


Member Data Documentation

unsigned int pos::PixelTKFECParameters::address_ [private]

Definition at line 43 of file PixelTKFECParameters.h.

Referenced by getAddress(), pos::operator<<(), PixelTKFECParameters(), setAddress(), and setTKFECParameters().

unsigned int pos::PixelTKFECParameters::crate_ [private]

Definition at line 41 of file PixelTKFECParameters.h.

Referenced by getCrate(), pos::operator<<(), PixelTKFECParameters(), setCrate(), and setTKFECParameters().

std::string pos::PixelTKFECParameters::TKFECID_ [private]

Definition at line 40 of file PixelTKFECParameters.h.

Referenced by getTKFECID(), pos::operator<<(), PixelTKFECParameters(), setTKFECID(), and setTKFECParameters().

std::string pos::PixelTKFECParameters::type_ [private]

Definition at line 42 of file PixelTKFECParameters.h.

Referenced by getType(), pos::operator<<(), PixelTKFECParameters(), setTKFECParameters(), and setType().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:50:37 2009 for CMSSW by  doxygen 1.5.4