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.

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

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 }

◆ ESKCHIPBlock() [2/2]

ESKCHIPBlock::ESKCHIPBlock ( const int &  kId)

Definition at line 17 of file ESKCHIPBlock.cc.

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

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 }

Member Function Documentation

◆ dccdId()

const int ESKCHIPBlock::dccdId ( ) const
inline

Definition at line 16 of file ESKCHIPBlock.h.

References dccId_.

16 { return dccId_; }

◆ fedId()

const int ESKCHIPBlock::fedId ( ) const
inline

Definition at line 19 of file ESKCHIPBlock.h.

References fedId_.

Referenced by setFedId().

19 { return fedId_; }

◆ fiberId()

const int ESKCHIPBlock::fiberId ( ) const
inline

Definition at line 22 of file ESKCHIPBlock.h.

References fiberId_.

Referenced by setFiberId().

22 { return fiberId_; }

◆ getBC()

int ESKCHIPBlock::getBC ( ) const
inline

Definition at line 33 of file ESKCHIPBlock.h.

References BC_.

Referenced by ESIntegrityTask::analyze().

33 { return BC_; }

◆ getCRC()

int ESKCHIPBlock::getCRC ( ) const
inline

Definition at line 39 of file ESKCHIPBlock.h.

References CRC_.

39 { return CRC_; }

◆ getEC()

int ESKCHIPBlock::getEC ( ) const
inline

Definition at line 34 of file ESKCHIPBlock.h.

References EC_.

Referenced by ESIntegrityTask::analyze().

34 { return EC_; }

◆ getFlag1()

int ESKCHIPBlock::getFlag1 ( ) const
inline

Definition at line 37 of file ESKCHIPBlock.h.

References flag1_.

Referenced by ESIntegrityTask::analyze().

37 { return flag1_; }

◆ getFlag2()

int ESKCHIPBlock::getFlag2 ( ) const
inline

Definition at line 38 of file ESKCHIPBlock.h.

References flag2_.

Referenced by ESIntegrityTask::analyze().

38 { return flag2_; }

◆ getOptoBC()

int ESKCHIPBlock::getOptoBC ( ) const
inline

Definition at line 35 of file ESKCHIPBlock.h.

References OptoBC_.

Referenced by ESIntegrityTask::analyze().

35 { return OptoBC_; }

◆ getOptoEC()

int ESKCHIPBlock::getOptoEC ( ) const
inline

Definition at line 36 of file ESKCHIPBlock.h.

References OptoEC_.

Referenced by ESIntegrityTask::analyze().

36 { return OptoEC_; }

◆ id()

const int& ESKCHIPBlock::id ( ) const
inline

Definition at line 13 of file ESKCHIPBlock.h.

References kId_.

Referenced by ESIntegrityTask::analyze().

13 { return kId_; }

◆ setBC()

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

Definition at line 25 of file ESKCHIPBlock.h.

References BC_.

Referenced by ESUnpacker::interpretRawData().

25 { BC_ = BC; }

◆ setCRC()

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

Definition at line 31 of file ESKCHIPBlock.h.

References RawDataTask_cfi::CRC, and CRC_.

◆ setDccId()

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

Definition at line 17 of file ESKCHIPBlock.h.

References ecaldqm::dccId(), and dccId_.

17 { dccId_ = dccId; };
unsigned dccId(DetId const &, EcalElectronicsMapping const *)

◆ setEC()

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

Definition at line 26 of file ESKCHIPBlock.h.

References EC_.

Referenced by ESUnpacker::interpretRawData().

26 { EC_ = EC; }

◆ setFedId()

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

Definition at line 20 of file ESKCHIPBlock.h.

References fedId(), and fedId_.

20 { fedId_ = fedId; };
const int fedId() const
Definition: ESKCHIPBlock.h:19

◆ setFiberId()

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

Definition at line 23 of file ESKCHIPBlock.h.

References fiberId(), and fiberId_.

23 { fiberId_ = fiberId; };
const int fiberId() const
Definition: ESKCHIPBlock.h:22

◆ setFlag1()

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

Definition at line 29 of file ESKCHIPBlock.h.

References flag1_.

Referenced by ESUnpacker::interpretRawData().

29 { flag1_ = flag1; };

◆ setFlag2()

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

Definition at line 30 of file ESKCHIPBlock.h.

References flag2_.

Referenced by ESUnpacker::interpretRawData().

30 { flag2_ = flag2; };

◆ setId()

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

Definition at line 14 of file ESKCHIPBlock.h.

References kId_.

Referenced by ESUnpacker::interpretRawData().

14 { kId_ = kId; };

◆ setOptoBC()

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

Definition at line 27 of file ESKCHIPBlock.h.

References BC_, and OptoBC_.

Referenced by ESUnpacker::interpretRawData().

27 { OptoBC_ = BC_; }

◆ setOptoEC()

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

Definition at line 28 of file ESKCHIPBlock.h.

References EC_, and OptoEC_.

Referenced by ESUnpacker::interpretRawData().

28 { OptoEC_ = EC_; }

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