CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
EcalDAQStatusCode Class Reference

#include <EcalDAQStatusCode.h>

Public Member Functions

 EcalDAQStatusCode ()
 
 EcalDAQStatusCode (const EcalDAQStatusCode &codeStatus)
 
 EcalDAQStatusCode (const uint16_t &encodedStatus)
 
uint16_t getStatusCode () const
 
EcalDAQStatusCodeoperator= (const EcalDAQStatusCode &rhs)
 
void print (std::ostream &s) const
 
 ~EcalDAQStatusCode ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

uint16_t status_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Author: Paolo Meridiani Created: 14 Nov 2006

Id
EcalDAQStatusCode.h,v 1.2 2008/02/18 10:49:28 ferriff Exp

Definition at line 14 of file EcalDAQStatusCode.h.

Constructor & Destructor Documentation

◆ EcalDAQStatusCode() [1/3]

EcalDAQStatusCode::EcalDAQStatusCode ( )

Author: Paolo Meridiani Created: 14 Nov 2006

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

Definition at line 9 of file EcalDAQStatusCode.cc.

9 { status_ = 0; }

References status_.

◆ EcalDAQStatusCode() [2/3]

EcalDAQStatusCode::EcalDAQStatusCode ( const EcalDAQStatusCode codeStatus)

Definition at line 11 of file EcalDAQStatusCode.cc.

11 { status_ = ratio.status_; }

References particleFlowDisplacedVertex_cfi::ratio, and status_.

◆ EcalDAQStatusCode() [3/3]

EcalDAQStatusCode::EcalDAQStatusCode ( const uint16_t &  encodedStatus)
inline

Definition at line 18 of file EcalDAQStatusCode.h.

18 : status_(encodedStatus){};

◆ ~EcalDAQStatusCode()

EcalDAQStatusCode::~EcalDAQStatusCode ( )

Definition at line 13 of file EcalDAQStatusCode.cc.

13 {}

Member Function Documentation

◆ getStatusCode()

uint16_t EcalDAQStatusCode::getStatusCode ( ) const
inline

Definition at line 26 of file EcalDAQStatusCode.h.

26 { return status_; }

References status_.

Referenced by ecaldqm::TowerStatusTask::endLuminosityBlock().

◆ operator=()

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

Definition at line 15 of file EcalDAQStatusCode.cc.

15  {
16  status_ = rhs.status_;
17  return *this;
18 }

References status_.

◆ print()

void EcalDAQStatusCode::print ( std::ostream &  s) const
inline

Definition at line 23 of file EcalDAQStatusCode.h.

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

References alignCSCRings::s, and status_.

◆ serialize()

template<class Archive >
void EcalDAQStatusCode::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 31 of file EcalDAQStatusCode.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 31 of file EcalDAQStatusCode.h.

Member Data Documentation

◆ status_

uint16_t EcalDAQStatusCode::status_
private

Definition at line 29 of file EcalDAQStatusCode.h.

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

alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalDAQStatusCode::status_
uint16_t status_
Definition: EcalDAQStatusCode.h:29
particleFlowDisplacedVertex_cfi.ratio
ratio
Definition: particleFlowDisplacedVertex_cfi.py:93