CMS 3D CMS Logo

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

#include <EcalTPGCrystalStatusCode.h>

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 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: FC Created: 3 dec 2008

Definition at line 14 of file EcalTPGCrystalStatusCode.h.

Constructor & Destructor Documentation

◆ EcalTPGCrystalStatusCode() [1/3]

EcalTPGCrystalStatusCode::EcalTPGCrystalStatusCode ( )

Author: Paolo Meridiani Created: 14 Nov 2006

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

Definition at line 9 of file EcalTPGCrystalStatusCode.cc.

9 { status_ = 0; }

References status_.

◆ EcalTPGCrystalStatusCode() [2/3]

EcalTPGCrystalStatusCode::EcalTPGCrystalStatusCode ( const EcalTPGCrystalStatusCode codeStatus)

Definition at line 11 of file EcalTPGCrystalStatusCode.cc.

11 { status_ = ratio.status_; }

References particleFlowDisplacedVertex_cfi::ratio, and status_.

◆ EcalTPGCrystalStatusCode() [3/3]

EcalTPGCrystalStatusCode::EcalTPGCrystalStatusCode ( const uint16_t &  encodedStatus)
inline

Definition at line 18 of file EcalTPGCrystalStatusCode.h.

18 : status_(encodedStatus){};

◆ ~EcalTPGCrystalStatusCode()

EcalTPGCrystalStatusCode::~EcalTPGCrystalStatusCode ( )

Definition at line 13 of file EcalTPGCrystalStatusCode.cc.

13 {}

Member Function Documentation

◆ getStatusCode()

uint16_t EcalTPGCrystalStatusCode::getStatusCode ( ) const
inline

Definition at line 26 of file EcalTPGCrystalStatusCode.h.

26 { return status_; }

References status_.

Referenced by EcalEBFenixLinearizer::setInput(), and EcalFenixLinearizer::setInput().

◆ operator=()

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

Definition at line 15 of file EcalTPGCrystalStatusCode.cc.

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

References status_.

◆ print()

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

Definition at line 23 of file EcalTPGCrystalStatusCode.h.

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

References alignCSCRings::s, and status_.

◆ serialize()

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

◆ setStatusCode()

void EcalTPGCrystalStatusCode::setStatusCode ( const uint16_t &  val)
inline

Definition at line 29 of file EcalTPGCrystalStatusCode.h.

29 { status_ = val; }

References status_, and heppy_batch::val.

Referenced by EcalTrigPrimESProducer::produceBadX().

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 34 of file EcalTPGCrystalStatusCode.h.

◆ cond::serialization::access

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

Definition at line 34 of file EcalTPGCrystalStatusCode.h.

Member Data Documentation

◆ status_

uint16_t EcalTPGCrystalStatusCode::status_
private
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalTPGCrystalStatusCode::status_
uint16_t status_
Definition: EcalTPGCrystalStatusCode.h:32
particleFlowDisplacedVertex_cfi.ratio
ratio
Definition: particleFlowDisplacedVertex_cfi.py:93
heppy_batch.val
val
Definition: heppy_batch.py:351