CMS 3D CMS Logo

EcalChannelStatusCode Class Reference

Author: Paolo Meridiani Created: 14 Nov 2006
Id
EcalChannelStatusCode.h,v 1.2 2008/02/18 10:49:28 ferriff Exp
. More...

#include <CondFormats/EcalObjects/interface/EcalChannelStatusCode.h>

List of all members.

Public Member Functions

 EcalChannelStatusCode (const uint16_t &encodedStatus)
 EcalChannelStatusCode (const EcalChannelStatusCode &codeStatus)
 EcalChannelStatusCode ()
 Author: Paolo Meridiani Created: 14 Nov 2006
Id
EcalChannelStatusCode.cc,v 1.1 2006/11/16 18:19:45 meridian Exp
.
uint16_t getStatusCode () const
EcalChannelStatusCodeoperator= (const EcalChannelStatusCode &rhs)
void print (std::ostream &s) const
 ~EcalChannelStatusCode ()

Private Attributes

uint16_t status_


Detailed Description

Author: Paolo Meridiani Created: 14 Nov 2006
Id
EcalChannelStatusCode.h,v 1.2 2008/02/18 10:49:28 ferriff Exp
.

Definition at line 13 of file EcalChannelStatusCode.h.


Constructor & Destructor Documentation

EcalChannelStatusCode::EcalChannelStatusCode (  ) 

Author: Paolo Meridiani Created: 14 Nov 2006

Id
EcalChannelStatusCode.cc,v 1.1 2006/11/16 18:19:45 meridian Exp
.

Definition at line 9 of file EcalChannelStatusCode.cc.

References status_.

00009                                              {
00010   status_ = 0;
00011 }

EcalChannelStatusCode::EcalChannelStatusCode ( const EcalChannelStatusCode codeStatus  ) 

Definition at line 13 of file EcalChannelStatusCode.cc.

References status_.

00013                                                                                 {
00014   status_ = ratio.status_;
00015 }

EcalChannelStatusCode::EcalChannelStatusCode ( const uint16_t &  encodedStatus  )  [inline]

Definition at line 17 of file EcalChannelStatusCode.h.

00017 : status_(encodedStatus) {};

EcalChannelStatusCode::~EcalChannelStatusCode (  ) 

Definition at line 17 of file EcalChannelStatusCode.cc.

00017                                               {
00018 }


Member Function Documentation

uint16_t EcalChannelStatusCode::getStatusCode (  )  const [inline]

Definition at line 25 of file EcalChannelStatusCode.h.

References status_.

Referenced by EcalTrivialObjectAnalyzer::analyze(), EcalRecHitProducer::produce(), and EcalUnpackerWorker::work().

00025 { return status_; }

EcalChannelStatusCode & EcalChannelStatusCode::operator= ( const EcalChannelStatusCode rhs  ) 

Definition at line 20 of file EcalChannelStatusCode.cc.

References status_.

00020                                                                                         {
00021   status_ = rhs.status_;
00022   return *this;
00023 }

void EcalChannelStatusCode::print ( std::ostream &  s  )  const [inline]

Definition at line 22 of file EcalChannelStatusCode.h.

References status_.

00022 { s << "status is: " << status_; }


Member Data Documentation

uint16_t EcalChannelStatusCode::status_ [private]

Definition at line 28 of file EcalChannelStatusCode.h.

Referenced by EcalChannelStatusCode(), getStatusCode(), operator=(), and print().


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