CMS 3D CMS Logo

Public Member Functions | Private Attributes

EcalTPGCrystalStatusCode Class Reference

#include <EcalTPGCrystalStatusCode.h>

List of all members.

Public Member Functions

 EcalTPGCrystalStatusCode ()
 EcalTPGCrystalStatusCode (const EcalTPGCrystalStatusCode &codeStatus)
 EcalTPGCrystalStatusCode (const uint16_t &encodedStatus)
uint16_t getStatusCode () const
EcalTPGCrystalStatusCodeoperator= (const EcalTPGCrystalStatusCode &rhs)
void print (std::ostream &s) const
void setStatusCode (const uint16_t &val)
 ~EcalTPGCrystalStatusCode ()

Private Attributes

uint16_t status_

Detailed Description

Author: FC Created: 3 dec 2008

Definition at line 13 of file EcalTPGCrystalStatusCode.h.


Constructor & Destructor Documentation

EcalTPGCrystalStatusCode::EcalTPGCrystalStatusCode ( )

Author: Paolo Meridiani Created: 14 Nov 2006

Id:
EcalTPGCrystalStatusCode.cc,v 1.1 2008/12/03 15:09:24 fra Exp

Definition at line 9 of file EcalTPGCrystalStatusCode.cc.

References status_.

                                                   {
  status_ = 0;
}
EcalTPGCrystalStatusCode::EcalTPGCrystalStatusCode ( const EcalTPGCrystalStatusCode codeStatus)

Definition at line 13 of file EcalTPGCrystalStatusCode.cc.

References status_.

                                                                                         {
  status_ = ratio.status_;
}
EcalTPGCrystalStatusCode::EcalTPGCrystalStatusCode ( const uint16_t &  encodedStatus) [inline]

Definition at line 17 of file EcalTPGCrystalStatusCode.h.

: status_(encodedStatus) {};
EcalTPGCrystalStatusCode::~EcalTPGCrystalStatusCode ( )

Definition at line 17 of file EcalTPGCrystalStatusCode.cc.

                                                    {
}

Member Function Documentation

uint16_t EcalTPGCrystalStatusCode::getStatusCode ( ) const [inline]

Definition at line 25 of file EcalTPGCrystalStatusCode.h.

References status_.

Referenced by EcalFenixLinearizer::setInput().

{ return status_; }
EcalTPGCrystalStatusCode & EcalTPGCrystalStatusCode::operator= ( const EcalTPGCrystalStatusCode rhs)

Definition at line 20 of file EcalTPGCrystalStatusCode.cc.

References status_.

                                                                                                 {
  status_ = rhs.status_;
  return *this;
}
void EcalTPGCrystalStatusCode::print ( std::ostream &  s) const [inline]

Definition at line 22 of file EcalTPGCrystalStatusCode.h.

References status_.

{ s << "status is: " << status_; }
void EcalTPGCrystalStatusCode::setStatusCode ( const uint16_t &  val) [inline]

Definition at line 28 of file EcalTPGCrystalStatusCode.h.

References status_.

Referenced by EcalTrigPrimESProducer::produceBadX().

{ status_=val; }

Member Data Documentation