CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

ESKCHIPBlock Class Reference

#include <ESKCHIPBlock.h>

List of all members.

Public Types

typedef int key_type

Public Member Functions

const int dccdId () const
 ESKCHIPBlock ()
 ESKCHIPBlock (const int &kId)
const int fedId () const
const int fiberId () const
int getBC () const
int getCRC () const
int getEC () const
int getFlag1 () const
int getFlag2 () const
int getOptoBC () const
int getOptoEC () const
const int & id () const
void setBC (const int &BC)
void setCRC (const int &CRC)
void setDccId (const int &dccId)
void setEC (const int &EC)
void setFedId (const int &fedId)
void setFiberId (const int &fiberId)
void setFlag1 (const int &flag1)
void setFlag2 (const int &flag2)
void setId (const int &kId)
void setOptoBC (const int &OptoBC)
void setOptoEC (const int &OptoEC)

Private Attributes

int BC_
int CRC_
int dccId_
int EC_
int fedId_
int fiberId_
int flag1_
int flag2_
int kId_
int OptoBC_
int OptoEC_

Detailed Description

Definition at line 6 of file ESKCHIPBlock.h.


Member Typedef Documentation

Definition at line 10 of file ESKCHIPBlock.h.


Constructor & Destructor Documentation

ESKCHIPBlock::ESKCHIPBlock ( )

Definition at line 3 of file ESKCHIPBlock.cc.

References BC_, CRC_, dccId_, EC_, fedId_, fiberId_, flag1_, flag2_, kId_, OptoBC_, and OptoEC_.

{
  kId_ = -1;
  dccId_ = -1;
  fedId_ = -1;
  fiberId_ = -1;
  BC_ = -1;
  EC_ = -1;
  OptoBC_ = -1;
  OptoEC_ = -1;
  flag1_ = -1;
  flag2_ = -1;
  CRC_ = -1;

}
ESKCHIPBlock::ESKCHIPBlock ( const int &  kId)

Definition at line 19 of file ESKCHIPBlock.cc.

References BC_, CRC_, dccId_, EC_, fedId_, fiberId_, flag1_, flag2_, kId_, OptoBC_, and OptoEC_.

{
  kId_ = kId;
  dccId_ = -1;
  fedId_ = -1;
  fiberId_ = -1;
  BC_ = -1;
  EC_ = -1;
  OptoBC_ = -1;
  OptoEC_ = -1;
  flag1_ = -1;
  flag2_ = -1;
  CRC_ = -1;
}

Member Function Documentation

const int ESKCHIPBlock::dccdId ( ) const [inline]

Definition at line 18 of file ESKCHIPBlock.h.

References dccId_.

{ return dccId_; }
const int ESKCHIPBlock::fedId ( ) const [inline]

Definition at line 21 of file ESKCHIPBlock.h.

References fedId_.

Referenced by setFedId().

{ return fedId_; }
const int ESKCHIPBlock::fiberId ( ) const [inline]

Definition at line 24 of file ESKCHIPBlock.h.

References fiberId_.

Referenced by setFiberId().

{ return fiberId_; }
int ESKCHIPBlock::getBC ( ) const [inline]

Definition at line 35 of file ESKCHIPBlock.h.

References BC_.

Referenced by ESIntegrityTask::analyze().

{ return BC_; }
int ESKCHIPBlock::getCRC ( ) const [inline]

Definition at line 41 of file ESKCHIPBlock.h.

References CRC_.

{ return CRC_; }
int ESKCHIPBlock::getEC ( ) const [inline]

Definition at line 36 of file ESKCHIPBlock.h.

References EC_.

Referenced by ESIntegrityTask::analyze().

{ return EC_; }
int ESKCHIPBlock::getFlag1 ( ) const [inline]

Definition at line 39 of file ESKCHIPBlock.h.

References flag1_.

Referenced by ESIntegrityTask::analyze().

{ return flag1_; }
int ESKCHIPBlock::getFlag2 ( ) const [inline]

Definition at line 40 of file ESKCHIPBlock.h.

References flag2_.

Referenced by ESIntegrityTask::analyze().

{ return flag2_; }
int ESKCHIPBlock::getOptoBC ( ) const [inline]

Definition at line 37 of file ESKCHIPBlock.h.

References OptoBC_.

Referenced by ESIntegrityTask::analyze().

{ return OptoBC_; }
int ESKCHIPBlock::getOptoEC ( ) const [inline]

Definition at line 38 of file ESKCHIPBlock.h.

References OptoEC_.

Referenced by ESIntegrityTask::analyze().

{ return OptoEC_; }
const int& ESKCHIPBlock::id ( void  ) const [inline]

Definition at line 15 of file ESKCHIPBlock.h.

References kId_.

Referenced by ESIntegrityTask::analyze().

{ return kId_; }
void ESKCHIPBlock::setBC ( const int &  BC) [inline]

Definition at line 27 of file ESKCHIPBlock.h.

References BC_.

Referenced by ESUnpacker::interpretRawData().

{ BC_ = BC; }
void ESKCHIPBlock::setCRC ( const int &  CRC) [inline]

Definition at line 33 of file ESKCHIPBlock.h.

References CRC_.

{ CRC_ = CRC; }
void ESKCHIPBlock::setDccId ( const int &  dccId) [inline]

Definition at line 19 of file ESKCHIPBlock.h.

References ecaldqm::dccId(), and dccId_.

{ dccId_ = dccId; };
void ESKCHIPBlock::setEC ( const int &  EC) [inline]

Definition at line 28 of file ESKCHIPBlock.h.

References EC_.

Referenced by ESUnpacker::interpretRawData().

{ EC_ = EC; }
void ESKCHIPBlock::setFedId ( const int &  fedId) [inline]

Definition at line 22 of file ESKCHIPBlock.h.

References fedId(), and fedId_.

{ fedId_ = fedId; };
void ESKCHIPBlock::setFiberId ( const int &  fiberId) [inline]

Definition at line 25 of file ESKCHIPBlock.h.

References fiberId(), and fiberId_.

{ fiberId_ = fiberId; };
void ESKCHIPBlock::setFlag1 ( const int &  flag1) [inline]

Definition at line 31 of file ESKCHIPBlock.h.

References flag1_.

Referenced by ESUnpacker::interpretRawData().

{ flag1_ = flag1; };
void ESKCHIPBlock::setFlag2 ( const int &  flag2) [inline]

Definition at line 32 of file ESKCHIPBlock.h.

References flag2_.

Referenced by ESUnpacker::interpretRawData().

{ flag2_ = flag2; };
void ESKCHIPBlock::setId ( const int &  kId) [inline]

Definition at line 16 of file ESKCHIPBlock.h.

References kId_.

Referenced by ESUnpacker::interpretRawData().

{ kId_ = kId; };
void ESKCHIPBlock::setOptoBC ( const int &  OptoBC) [inline]

Definition at line 29 of file ESKCHIPBlock.h.

References BC_, and OptoBC_.

Referenced by ESUnpacker::interpretRawData().

{ OptoBC_ = BC_; } 
void ESKCHIPBlock::setOptoEC ( const int &  OptoEC) [inline]

Definition at line 30 of file ESKCHIPBlock.h.

References EC_, and OptoEC_.

Referenced by ESUnpacker::interpretRawData().

{ OptoEC_ = EC_; } 

Member Data Documentation

int ESKCHIPBlock::BC_ [private]

Definition at line 49 of file ESKCHIPBlock.h.

Referenced by ESKCHIPBlock(), getBC(), setBC(), and setOptoBC().

int ESKCHIPBlock::CRC_ [private]

Definition at line 55 of file ESKCHIPBlock.h.

Referenced by ESKCHIPBlock(), getCRC(), and setCRC().

int ESKCHIPBlock::dccId_ [private]

Definition at line 46 of file ESKCHIPBlock.h.

Referenced by dccdId(), ESKCHIPBlock(), and setDccId().

int ESKCHIPBlock::EC_ [private]

Definition at line 50 of file ESKCHIPBlock.h.

Referenced by ESKCHIPBlock(), getEC(), setEC(), and setOptoEC().

int ESKCHIPBlock::fedId_ [private]

Definition at line 47 of file ESKCHIPBlock.h.

Referenced by ESKCHIPBlock(), fedId(), and setFedId().

int ESKCHIPBlock::fiberId_ [private]

Definition at line 48 of file ESKCHIPBlock.h.

Referenced by ESKCHIPBlock(), fiberId(), and setFiberId().

int ESKCHIPBlock::flag1_ [private]

Definition at line 53 of file ESKCHIPBlock.h.

Referenced by ESKCHIPBlock(), getFlag1(), and setFlag1().

int ESKCHIPBlock::flag2_ [private]

Definition at line 54 of file ESKCHIPBlock.h.

Referenced by ESKCHIPBlock(), getFlag2(), and setFlag2().

int ESKCHIPBlock::kId_ [private]

Definition at line 45 of file ESKCHIPBlock.h.

Referenced by ESKCHIPBlock(), id(), and setId().

int ESKCHIPBlock::OptoBC_ [private]

Definition at line 51 of file ESKCHIPBlock.h.

Referenced by ESKCHIPBlock(), getOptoBC(), and setOptoBC().

int ESKCHIPBlock::OptoEC_ [private]

Definition at line 52 of file ESKCHIPBlock.h.

Referenced by ESKCHIPBlock(), getOptoEC(), and setOptoEC().