CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes
ESUnpacker Class Reference

#include <ESUnpacker.h>

Public Types

typedef unsigned int Word32
 
typedef unsigned long long Word64
 

Public Member Functions

 ESUnpacker (const edm::ParameterSet &ps)
 
void interpretRawData (int fedId, const FEDRawData &rawData, ESRawDataCollection &dccs, ESLocalRawDataCollection &kchips, ESDigiCollection &digis)
 
void setBX (int i)
 
void setLV1 (int i)
 
void setOrbitNumber (int i)
 
void setRunNumber (int i)
 
void setTriggerType (int i)
 
void word2digi (int kchip, int kPACE[4], const Word64 &word, ESDigiCollection &digis)
 
 ~ESUnpacker ()
 

Protected Attributes

Word64 m1
 
Word64 m12
 
Word64 m16
 
Word64 m2
 
Word64 m32
 
Word64 m4
 
Word64 m5
 
Word64 m6
 
Word64 m8
 
int pl_ [4288][4]
 
int x_ [4288][4]
 
int y_ [4288][4]
 
int zside_ [4288][4]
 

Private Member Functions

std::string print (const Word64 &word) const
 

Private Attributes

int bx_
 
int dac_
 
bool debug_
 
int FEch_ [36]
 
int fedId_
 
int gain_
 
edm::FileInPath lookup_
 
int lv1_
 
int optoRX0_
 
int optoRX1_
 
int optoRX2_
 
int orbit_number_
 
int precision_
 
const edm::ParameterSet pset_
 
int run_number_
 
int runtype_
 
int seqtype_
 
int trgtype_
 
int vmajor_
 
int vminor_
 

Detailed Description

Definition at line 25 of file ESUnpacker.h.

Member Typedef Documentation

typedef unsigned int ESUnpacker::Word32

Definition at line 29 of file ESUnpacker.h.

typedef unsigned long long ESUnpacker::Word64

Definition at line 30 of file ESUnpacker.h.

Constructor & Destructor Documentation

ESUnpacker::ESUnpacker ( const edm::ParameterSet ps)

Definition at line 10 of file ESUnpacker.cc.

ESUnpacker::~ESUnpacker ( )

Definition at line 50 of file ESUnpacker.cc.

Member Function Documentation

void ESUnpacker::interpretRawData ( int  fedId,
const FEDRawData rawData,
ESRawDataCollection dccs,
ESLocalRawDataCollection kchips,
ESDigiCollection digis 
)

Definition at line 53 of file ESUnpacker.cc.

Referenced by ESRawToDigi::produce().

std::string ESUnpacker::print ( const Word64 word) const
private

Definition at line 318 of file ESUnpacker.cc.

void ESUnpacker::setBX ( int  i)
inline

Definition at line 40 of file ESUnpacker.h.

References bx_, and i.

40 {bx_ = i;};
int i
Definition: DBlmapReader.cc:9
void ESUnpacker::setLV1 ( int  i)
inline

Definition at line 41 of file ESUnpacker.h.

References i, and lv1_.

41 {lv1_ = i;};
int i
Definition: DBlmapReader.cc:9
void ESUnpacker::setOrbitNumber ( int  i)
inline

Definition at line 39 of file ESUnpacker.h.

References i, and orbit_number_.

39 {orbit_number_ = i;};
int i
Definition: DBlmapReader.cc:9
int orbit_number_
Definition: ESUnpacker.h:50
void ESUnpacker::setRunNumber ( int  i)
inline

Definition at line 38 of file ESUnpacker.h.

References i, and run_number_.

38 {run_number_ = i;};
int i
Definition: DBlmapReader.cc:9
int run_number_
Definition: ESUnpacker.h:49
void ESUnpacker::setTriggerType ( int  i)
inline

Definition at line 42 of file ESUnpacker.h.

References i, and trgtype_.

42 {trgtype_ = i;};
int i
Definition: DBlmapReader.cc:9
int trgtype_
Definition: ESUnpacker.h:58
void ESUnpacker::word2digi ( int  kchip,
int  kPACE[4],
const Word64 word,
ESDigiCollection digis 
)

Definition at line 271 of file ESUnpacker.cc.

Member Data Documentation

int ESUnpacker::bx_
private

Definition at line 51 of file ESUnpacker.h.

Referenced by setBX().

int ESUnpacker::dac_
private

Definition at line 53 of file ESUnpacker.h.

bool ESUnpacker::debug_
private

Definition at line 66 of file ESUnpacker.h.

int ESUnpacker::FEch_[36]
private

Definition at line 64 of file ESUnpacker.h.

int ESUnpacker::fedId_
private

Definition at line 48 of file ESUnpacker.h.

int ESUnpacker::gain_
private

Definition at line 54 of file ESUnpacker.h.

edm::FileInPath ESUnpacker::lookup_
private

Definition at line 67 of file ESUnpacker.h.

int ESUnpacker::lv1_
private

Definition at line 52 of file ESUnpacker.h.

Referenced by setLV1().

Word64 ESUnpacker::m1
protected

Definition at line 73 of file ESUnpacker.h.

Word64 ESUnpacker::m12
protected

Definition at line 73 of file ESUnpacker.h.

Word64 ESUnpacker::m16
protected

Definition at line 73 of file ESUnpacker.h.

Word64 ESUnpacker::m2
protected

Definition at line 73 of file ESUnpacker.h.

Word64 ESUnpacker::m32
protected

Definition at line 73 of file ESUnpacker.h.

Word64 ESUnpacker::m4
protected

Definition at line 73 of file ESUnpacker.h.

Word64 ESUnpacker::m5
protected

Definition at line 73 of file ESUnpacker.h.

Word64 ESUnpacker::m6
protected

Definition at line 73 of file ESUnpacker.h.

Word64 ESUnpacker::m8
protected

Definition at line 73 of file ESUnpacker.h.

int ESUnpacker::optoRX0_
private

Definition at line 61 of file ESUnpacker.h.

int ESUnpacker::optoRX1_
private

Definition at line 62 of file ESUnpacker.h.

int ESUnpacker::optoRX2_
private

Definition at line 63 of file ESUnpacker.h.

int ESUnpacker::orbit_number_
private

Definition at line 50 of file ESUnpacker.h.

Referenced by setOrbitNumber().

int ESUnpacker::pl_[4288][4]
protected

Definition at line 75 of file ESUnpacker.h.

int ESUnpacker::precision_
private

Definition at line 55 of file ESUnpacker.h.

const edm::ParameterSet ESUnpacker::pset_
private

Definition at line 42 of file ESUnpacker.h.

int ESUnpacker::run_number_
private

Definition at line 49 of file ESUnpacker.h.

Referenced by setRunNumber().

int ESUnpacker::runtype_
private

Definition at line 56 of file ESUnpacker.h.

int ESUnpacker::seqtype_
private

Definition at line 57 of file ESUnpacker.h.

int ESUnpacker::trgtype_
private

Definition at line 58 of file ESUnpacker.h.

Referenced by setTriggerType().

int ESUnpacker::vmajor_
private

Definition at line 60 of file ESUnpacker.h.

int ESUnpacker::vminor_
private

Definition at line 59 of file ESUnpacker.h.

int ESUnpacker::x_[4288][4]
protected

Definition at line 75 of file ESUnpacker.h.

int ESUnpacker::y_[4288][4]
protected

Definition at line 75 of file ESUnpacker.h.

int ESUnpacker::zside_[4288][4]
protected

Definition at line 75 of file ESUnpacker.h.