CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
pos::PixelFEDParameters Class Reference

This class implements.. More...

#include "interface/PixelFEDParameters.h"

Public Member Functions

unsigned int getCrate () const
 
unsigned int getFEDNumber () const
 
unsigned int getVMEBaseAddress () const
 
 PixelFEDParameters ()
 
void setCrate (unsigned int crate)
 
void setFEDNumber (unsigned int fednumber)
 
void setFEDParameters (unsigned int fednumber, unsigned int crate, unsigned int vmebaseaddress)
 
void setVMEBaseAddress (unsigned int vmebaseaddress)
 
 ~PixelFEDParameters ()
 

Private Attributes

unsigned int crate_
 
unsigned int fednumber_
 
unsigned int vmebaseaddress_
 

Friends

std::ostream & pos::operator<< (std::ostream &s, const PixelFEDParameters &pFEDp)
 

Detailed Description

This class implements..

A longer explanation will be placed here later

Definition at line 22 of file PixelFEDParameters.h.

Constructor & Destructor Documentation

PixelFEDParameters::PixelFEDParameters ( )

Definition at line 6 of file PixelFEDParameters.cc.

References crate_, fednumber_, and vmebaseaddress_.

7 {
8 fednumber_=0;
9 crate_=0;
11 
12 }
PixelFEDParameters::~PixelFEDParameters ( )

Definition at line 14 of file PixelFEDParameters.cc.

15 {
16 
17 }

Member Function Documentation

unsigned int PixelFEDParameters::getCrate ( ) const

Definition at line 28 of file PixelFEDParameters.cc.

References crate_.

28  {
29 
30 
31  return crate_;
32 
33 }
unsigned int PixelFEDParameters::getFEDNumber ( ) const

Definition at line 20 of file PixelFEDParameters.cc.

References fednumber_.

20  {
21 
22 
23  return fednumber_;
24 
25 }
unsigned int PixelFEDParameters::getVMEBaseAddress ( ) const

Definition at line 36 of file PixelFEDParameters.cc.

References vmebaseaddress_.

36  {
37 
38 
39  return vmebaseaddress_;
40 
41 }
void PixelFEDParameters::setCrate ( unsigned int  crate)

Definition at line 58 of file PixelFEDParameters.cc.

References crate_.

58  {
59 
60 crate_=crate;
61 
62 }
void PixelFEDParameters::setFEDNumber ( unsigned int  fednumber)

Definition at line 51 of file PixelFEDParameters.cc.

References fednumber_.

51  {
52 
53 fednumber_ = fednumber;
54 
55 }
void PixelFEDParameters::setFEDParameters ( unsigned int  fednumber,
unsigned int  crate,
unsigned int  vmebaseaddress 
)

Definition at line 43 of file PixelFEDParameters.cc.

References crate_, fednumber_, and vmebaseaddress_.

Referenced by pos::PixelFEDConfig::PixelFEDConfig().

43  {
44 
45 fednumber_ = fednumber;
46 crate_ = crate;
47 vmebaseaddress_ =vmebaseaddress;
48 
49 }
void PixelFEDParameters::setVMEBaseAddress ( unsigned int  vmebaseaddress)

Definition at line 64 of file PixelFEDParameters.cc.

References vmebaseaddress_.

64  {
65 
66 vmebaseaddress_=vmebaseaddress;
67 
68 }

Friends And Related Function Documentation

std::ostream& pos::operator<< ( std::ostream &  s,
const PixelFEDParameters pFEDp 
)
friend

Member Data Documentation

unsigned int pos::PixelFEDParameters::crate_
private
unsigned int pos::PixelFEDParameters::fednumber_
private
unsigned int pos::PixelFEDParameters::vmebaseaddress_
private