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

◆ key_type

Definition at line 8 of file ESKCHIPBlock.h.

Constructor & Destructor Documentation

◆ ESKCHIPBlock() [1/2]

ESKCHIPBlock::ESKCHIPBlock ( )

Definition at line 3 of file ESKCHIPBlock.cc.

3  {
4  kId_ = -1;
5  dccId_ = -1;
6  fedId_ = -1;
7  fiberId_ = -1;
8  BC_ = -1;
9  EC_ = -1;
10  OptoBC_ = -1;
11  OptoEC_ = -1;
12  flag1_ = -1;
13  flag2_ = -1;
14  CRC_ = -1;
15 }

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

◆ ESKCHIPBlock() [2/2]

ESKCHIPBlock::ESKCHIPBlock ( const int &  kId)

Definition at line 17 of file ESKCHIPBlock.cc.

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

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

Member Function Documentation

◆ dccdId()

const int ESKCHIPBlock::dccdId ( ) const
inline

Definition at line 16 of file ESKCHIPBlock.h.

16 { return dccId_; }

References dccId_.

◆ fedId()

const int ESKCHIPBlock::fedId ( ) const
inline

Definition at line 19 of file ESKCHIPBlock.h.

19 { return fedId_; }

References fedId_.

Referenced by setFedId().

◆ fiberId()

const int ESKCHIPBlock::fiberId ( ) const
inline

Definition at line 22 of file ESKCHIPBlock.h.

22 { return fiberId_; }

References fiberId_.

Referenced by setFiberId().

◆ getBC()

int ESKCHIPBlock::getBC ( ) const
inline

Definition at line 33 of file ESKCHIPBlock.h.

33 { return BC_; }

References BC_.

Referenced by ESIntegrityTask::analyze().

◆ getCRC()

int ESKCHIPBlock::getCRC ( ) const
inline

Definition at line 39 of file ESKCHIPBlock.h.

39 { return CRC_; }

References CRC_.

◆ getEC()

int ESKCHIPBlock::getEC ( ) const
inline

Definition at line 34 of file ESKCHIPBlock.h.

34 { return EC_; }

References EC_.

Referenced by ESIntegrityTask::analyze().

◆ getFlag1()

int ESKCHIPBlock::getFlag1 ( ) const
inline

Definition at line 37 of file ESKCHIPBlock.h.

37 { return flag1_; }

References flag1_.

Referenced by ESIntegrityTask::analyze().

◆ getFlag2()

int ESKCHIPBlock::getFlag2 ( ) const
inline

Definition at line 38 of file ESKCHIPBlock.h.

38 { return flag2_; }

References flag2_.

Referenced by ESIntegrityTask::analyze().

◆ getOptoBC()

int ESKCHIPBlock::getOptoBC ( ) const
inline

Definition at line 35 of file ESKCHIPBlock.h.

35 { return OptoBC_; }

References OptoBC_.

Referenced by ESIntegrityTask::analyze().

◆ getOptoEC()

int ESKCHIPBlock::getOptoEC ( ) const
inline

Definition at line 36 of file ESKCHIPBlock.h.

36 { return OptoEC_; }

References OptoEC_.

Referenced by ESIntegrityTask::analyze().

◆ id()

const int& ESKCHIPBlock::id ( ) const
inline

Definition at line 13 of file ESKCHIPBlock.h.

13 { return kId_; }

References kId_.

Referenced by ESIntegrityTask::analyze().

◆ setBC()

void ESKCHIPBlock::setBC ( const int &  BC)
inline

Definition at line 25 of file ESKCHIPBlock.h.

25 { BC_ = BC; }

References BC_.

Referenced by ESUnpacker::interpretRawData().

◆ setCRC()

void ESKCHIPBlock::setCRC ( const int &  CRC)
inline

Definition at line 31 of file ESKCHIPBlock.h.

31 { CRC_ = CRC; }

References RawDataTask_cfi::CRC, and CRC_.

◆ setDccId()

void ESKCHIPBlock::setDccId ( const int &  dccId)
inline

Definition at line 17 of file ESKCHIPBlock.h.

17 { dccId_ = dccId; };

References ecaldqm::dccId(), and dccId_.

◆ setEC()

void ESKCHIPBlock::setEC ( const int &  EC)
inline

Definition at line 26 of file ESKCHIPBlock.h.

26 { EC_ = EC; }

References EC_.

Referenced by ESUnpacker::interpretRawData().

◆ setFedId()

void ESKCHIPBlock::setFedId ( const int &  fedId)
inline

Definition at line 20 of file ESKCHIPBlock.h.

20 { fedId_ = fedId; };

References fedId(), and fedId_.

◆ setFiberId()

void ESKCHIPBlock::setFiberId ( const int &  fiberId)
inline

Definition at line 23 of file ESKCHIPBlock.h.

23 { fiberId_ = fiberId; };

References fiberId(), and fiberId_.

◆ setFlag1()

void ESKCHIPBlock::setFlag1 ( const int &  flag1)
inline

Definition at line 29 of file ESKCHIPBlock.h.

29 { flag1_ = flag1; };

References flag1_.

Referenced by ESUnpacker::interpretRawData().

◆ setFlag2()

void ESKCHIPBlock::setFlag2 ( const int &  flag2)
inline

Definition at line 30 of file ESKCHIPBlock.h.

30 { flag2_ = flag2; };

References flag2_.

Referenced by ESUnpacker::interpretRawData().

◆ setId()

void ESKCHIPBlock::setId ( const int &  kId)
inline

Definition at line 14 of file ESKCHIPBlock.h.

14 { kId_ = kId; };

References kId_.

Referenced by ESUnpacker::interpretRawData().

◆ setOptoBC()

void ESKCHIPBlock::setOptoBC ( const int &  OptoBC)
inline

Definition at line 27 of file ESKCHIPBlock.h.

27 { OptoBC_ = BC_; }

References BC_, and OptoBC_.

Referenced by ESUnpacker::interpretRawData().

◆ setOptoEC()

void ESKCHIPBlock::setOptoEC ( const int &  OptoEC)
inline

Definition at line 28 of file ESKCHIPBlock.h.

28 { OptoEC_ = EC_; }

References EC_, and OptoEC_.

Referenced by ESUnpacker::interpretRawData().

Member Data Documentation

◆ BC_

int ESKCHIPBlock::BC_
private

Definition at line 46 of file ESKCHIPBlock.h.

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

◆ CRC_

int ESKCHIPBlock::CRC_
private

Definition at line 52 of file ESKCHIPBlock.h.

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

◆ dccId_

int ESKCHIPBlock::dccId_
private

Definition at line 43 of file ESKCHIPBlock.h.

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

◆ EC_

int ESKCHIPBlock::EC_
private

Definition at line 47 of file ESKCHIPBlock.h.

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

◆ fedId_

int ESKCHIPBlock::fedId_
private

Definition at line 44 of file ESKCHIPBlock.h.

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

◆ fiberId_

int ESKCHIPBlock::fiberId_
private

Definition at line 45 of file ESKCHIPBlock.h.

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

◆ flag1_

int ESKCHIPBlock::flag1_
private

Definition at line 50 of file ESKCHIPBlock.h.

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

◆ flag2_

int ESKCHIPBlock::flag2_
private

Definition at line 51 of file ESKCHIPBlock.h.

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

◆ kId_

int ESKCHIPBlock::kId_
private

Definition at line 42 of file ESKCHIPBlock.h.

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

◆ OptoBC_

int ESKCHIPBlock::OptoBC_
private

Definition at line 48 of file ESKCHIPBlock.h.

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

◆ OptoEC_

int ESKCHIPBlock::OptoEC_
private

Definition at line 49 of file ESKCHIPBlock.h.

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

ESKCHIPBlock::CRC_
int CRC_
Definition: ESKCHIPBlock.h:52
ESKCHIPBlock::EC_
int EC_
Definition: ESKCHIPBlock.h:47
ESKCHIPBlock::OptoBC_
int OptoBC_
Definition: ESKCHIPBlock.h:48
ESKCHIPBlock::dccId_
int dccId_
Definition: ESKCHIPBlock.h:43
ESKCHIPBlock::fedId
const int fedId() const
Definition: ESKCHIPBlock.h:19
ESKCHIPBlock::BC_
int BC_
Definition: ESKCHIPBlock.h:46
ESKCHIPBlock::fiberId
const int fiberId() const
Definition: ESKCHIPBlock.h:22
ESKCHIPBlock::fedId_
int fedId_
Definition: ESKCHIPBlock.h:44
ESKCHIPBlock::flag1_
int flag1_
Definition: ESKCHIPBlock.h:50
RawDataTask_cfi.CRC
CRC
Definition: RawDataTask_cfi.py:59
ecaldqm::dccId
unsigned dccId(DetId const &, EcalElectronicsMapping const *)
Definition: EcalDQMCommonUtils.cc:16
ESKCHIPBlock::flag2_
int flag2_
Definition: ESKCHIPBlock.h:51
ESKCHIPBlock::OptoEC_
int OptoEC_
Definition: ESKCHIPBlock.h:49
ESKCHIPBlock::kId_
int kId_
Definition: ESKCHIPBlock.h:42
ESKCHIPBlock::fiberId_
int fiberId_
Definition: ESKCHIPBlock.h:45