CMS 3D CMS Logo

ESKCHIPBlock Class Reference

#include <DataFormats/EcalRawData/interface/ESKCHIPBlock.h>

List of all members.

Public Types

typedef int key_type

Public Member Functions

const int dccdId () const
 ESKCHIPBlock (const int &kId)
 ESKCHIPBlock ()
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 intid () 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 8 of file ESKCHIPBlock.h.


Member Typedef Documentation

typedef int ESKCHIPBlock::key_type

Definition at line 12 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_.

00004 {
00005   kId_ = -1;
00006   dccId_ = -1;
00007   fedId_ = -1;
00008   fiberId_ = -1;
00009   BC_ = -1;
00010   EC_ = -1;
00011   OptoBC_ = -1;
00012   OptoEC_ = -1;
00013   flag1_ = -1;
00014   flag2_ = -1;
00015   CRC_ = -1;
00016 
00017 }

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_.

00020 {
00021   kId_ = kId;
00022   dccId_ = -1;
00023   fedId_ = -1;
00024   fiberId_ = -1;
00025   BC_ = -1;
00026   EC_ = -1;
00027   OptoBC_ = -1;
00028   OptoEC_ = -1;
00029   flag1_ = -1;
00030   flag2_ = -1;
00031   CRC_ = -1;
00032 }


Member Function Documentation

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

Definition at line 20 of file ESKCHIPBlock.h.

References dccId_.

00020 { return dccId_; }

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

Definition at line 23 of file ESKCHIPBlock.h.

References fedId_.

00023 { return fedId_; }

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

Definition at line 26 of file ESKCHIPBlock.h.

References fiberId_.

00026 { return fiberId_; }

int ESKCHIPBlock::getBC (  )  const [inline]

Definition at line 37 of file ESKCHIPBlock.h.

References BC_.

00037 { return BC_; }

int ESKCHIPBlock::getCRC (  )  const [inline]

Definition at line 43 of file ESKCHIPBlock.h.

References CRC_.

00043 { return CRC_; }

int ESKCHIPBlock::getEC (  )  const [inline]

Definition at line 38 of file ESKCHIPBlock.h.

References EC_.

00038 { return EC_; }

int ESKCHIPBlock::getFlag1 (  )  const [inline]

Definition at line 41 of file ESKCHIPBlock.h.

References flag1_.

00041 { return flag1_; }

int ESKCHIPBlock::getFlag2 (  )  const [inline]

Definition at line 42 of file ESKCHIPBlock.h.

References flag2_.

00042 { return flag2_; }

int ESKCHIPBlock::getOptoBC (  )  const [inline]

Definition at line 39 of file ESKCHIPBlock.h.

References OptoBC_.

00039 { return OptoBC_; }

int ESKCHIPBlock::getOptoEC (  )  const [inline]

Definition at line 40 of file ESKCHIPBlock.h.

References OptoEC_.

00040 { return OptoEC_; }

const int& ESKCHIPBlock::id ( void   )  const [inline]

Definition at line 17 of file ESKCHIPBlock.h.

References kId_.

00017 { return kId_; }

void ESKCHIPBlock::setBC ( const int BC  )  [inline]

Definition at line 29 of file ESKCHIPBlock.h.

References BC_.

Referenced by ESUnpacker::interpretRawData().

00029 { BC_ = BC; }

void ESKCHIPBlock::setCRC ( const int CRC  )  [inline]

Definition at line 35 of file ESKCHIPBlock.h.

References CRC_.

00035 { CRC_ = CRC; }

void ESKCHIPBlock::setDccId ( const int dccId  )  [inline]

Definition at line 21 of file ESKCHIPBlock.h.

References dccId_.

00021 { dccId_ = dccId; };

void ESKCHIPBlock::setEC ( const int EC  )  [inline]

Definition at line 30 of file ESKCHIPBlock.h.

References EC_.

Referenced by ESUnpacker::interpretRawData().

00030 { EC_ = EC; }

void ESKCHIPBlock::setFedId ( const int fedId  )  [inline]

Definition at line 24 of file ESKCHIPBlock.h.

References fedId_.

00024 { fedId_ = fedId; };

void ESKCHIPBlock::setFiberId ( const int fiberId  )  [inline]

Definition at line 27 of file ESKCHIPBlock.h.

References fiberId_.

00027 { fiberId_ = fiberId; };

void ESKCHIPBlock::setFlag1 ( const int flag1  )  [inline]

Definition at line 33 of file ESKCHIPBlock.h.

References flag1_.

Referenced by ESUnpacker::interpretRawData().

00033 { flag1_ = flag1; };

void ESKCHIPBlock::setFlag2 ( const int flag2  )  [inline]

Definition at line 34 of file ESKCHIPBlock.h.

References flag2_.

Referenced by ESUnpacker::interpretRawData().

00034 { flag2_ = flag2; };

void ESKCHIPBlock::setId ( const int kId  )  [inline]

Definition at line 18 of file ESKCHIPBlock.h.

References kId_.

Referenced by ESUnpacker::interpretRawData().

00018 { kId_ = kId; };

void ESKCHIPBlock::setOptoBC ( const int OptoBC  )  [inline]

Definition at line 31 of file ESKCHIPBlock.h.

References BC_, and OptoBC_.

Referenced by ESUnpacker::interpretRawData().

00031 { OptoBC_ = BC_; } 

void ESKCHIPBlock::setOptoEC ( const int OptoEC  )  [inline]

Definition at line 32 of file ESKCHIPBlock.h.

References EC_, and OptoEC_.

Referenced by ESUnpacker::interpretRawData().

00032 { OptoEC_ = EC_; } 


Member Data Documentation

int ESKCHIPBlock::BC_ [private]

Definition at line 51 of file ESKCHIPBlock.h.

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

int ESKCHIPBlock::CRC_ [private]

Definition at line 57 of file ESKCHIPBlock.h.

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

int ESKCHIPBlock::dccId_ [private]

Definition at line 48 of file ESKCHIPBlock.h.

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

int ESKCHIPBlock::EC_ [private]

Definition at line 52 of file ESKCHIPBlock.h.

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

int ESKCHIPBlock::fedId_ [private]

Definition at line 49 of file ESKCHIPBlock.h.

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

int ESKCHIPBlock::fiberId_ [private]

Definition at line 50 of file ESKCHIPBlock.h.

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

int ESKCHIPBlock::flag1_ [private]

Definition at line 55 of file ESKCHIPBlock.h.

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

int ESKCHIPBlock::flag2_ [private]

Definition at line 56 of file ESKCHIPBlock.h.

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

int ESKCHIPBlock::kId_ [private]

Definition at line 47 of file ESKCHIPBlock.h.

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

int ESKCHIPBlock::OptoBC_ [private]

Definition at line 53 of file ESKCHIPBlock.h.

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

int ESKCHIPBlock::OptoEC_ [private]

Definition at line 54 of file ESKCHIPBlock.h.

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


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