CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
ESKCHIPBlock Class Reference

#include <ESKCHIPBlock.h>

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

4 {
5  kId_ = -1;
6  dccId_ = -1;
7  fedId_ = -1;
8  fiberId_ = -1;
9  BC_ = -1;
10  EC_ = -1;
11  OptoBC_ = -1;
12  OptoEC_ = -1;
13  flag1_ = -1;
14  flag2_ = -1;
15  CRC_ = -1;
16 
17 }
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_.

20 {
21  kId_ = kId;
22  dccId_ = -1;
23  fedId_ = -1;
24  fiberId_ = -1;
25  BC_ = -1;
26  EC_ = -1;
27  OptoBC_ = -1;
28  OptoEC_ = -1;
29  flag1_ = -1;
30  flag2_ = -1;
31  CRC_ = -1;
32 }

Member Function Documentation

const int ESKCHIPBlock::dccdId ( ) const
inline

Definition at line 18 of file ESKCHIPBlock.h.

References dccId_.

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

Definition at line 21 of file ESKCHIPBlock.h.

References fedId_.

Referenced by setFedId().

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

Definition at line 24 of file ESKCHIPBlock.h.

References fiberId_.

Referenced by setFiberId().

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

Definition at line 35 of file ESKCHIPBlock.h.

References BC_.

Referenced by ESIntegrityTask::analyze().

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

Definition at line 41 of file ESKCHIPBlock.h.

References CRC_.

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

Definition at line 36 of file ESKCHIPBlock.h.

References EC_.

Referenced by ESIntegrityTask::analyze().

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

Definition at line 39 of file ESKCHIPBlock.h.

References flag1_.

Referenced by ESIntegrityTask::analyze().

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

Definition at line 40 of file ESKCHIPBlock.h.

References flag2_.

Referenced by ESIntegrityTask::analyze().

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

Definition at line 37 of file ESKCHIPBlock.h.

References OptoBC_.

Referenced by ESIntegrityTask::analyze().

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

Definition at line 38 of file ESKCHIPBlock.h.

References OptoEC_.

Referenced by ESIntegrityTask::analyze().

38 { return OptoEC_; }
const int& ESKCHIPBlock::id ( ) const
inline

Definition at line 15 of file ESKCHIPBlock.h.

References kId_.

Referenced by ESIntegrityTask::analyze().

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

Definition at line 27 of file ESKCHIPBlock.h.

References BC_.

Referenced by ESUnpacker::interpretRawData().

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

Definition at line 33 of file ESKCHIPBlock.h.

References CRC_.

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

Definition at line 19 of file ESKCHIPBlock.h.

References ecaldqm::dccId(), and dccId_.

19 { dccId_ = dccId; };
unsigned dccId(DetId const &)
void ESKCHIPBlock::setEC ( const int &  EC)
inline

Definition at line 28 of file ESKCHIPBlock.h.

References EC_.

Referenced by ESUnpacker::interpretRawData().

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

Definition at line 22 of file ESKCHIPBlock.h.

References fedId(), and fedId_.

22 { fedId_ = fedId; };
const int fedId() const
Definition: ESKCHIPBlock.h:21
void ESKCHIPBlock::setFiberId ( const int &  fiberId)
inline

Definition at line 25 of file ESKCHIPBlock.h.

References fiberId(), and fiberId_.

25 { fiberId_ = fiberId; };
const int fiberId() const
Definition: ESKCHIPBlock.h:24
void ESKCHIPBlock::setFlag1 ( const int &  flag1)
inline

Definition at line 31 of file ESKCHIPBlock.h.

References flag1_.

Referenced by ESUnpacker::interpretRawData().

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

Definition at line 32 of file ESKCHIPBlock.h.

References flag2_.

Referenced by ESUnpacker::interpretRawData().

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

Definition at line 16 of file ESKCHIPBlock.h.

References kId_.

Referenced by ESUnpacker::interpretRawData().

16 { 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().

29 { 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().

30 { 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().