CMS 3D CMS Logo

Classes | Namespaces | Functions
HcalUnpacker.cc File Reference
#include "EventFilter/HcalRawToDigi/interface/HcalUnpacker.h"
#include "EventFilter/HcalRawToDigi/interface/HcalDCCHeader.h"
#include "EventFilter/HcalRawToDigi/interface/HcalDTCHeader.h"
#include "EventFilter/HcalRawToDigi/interface/AMC13Header.h"
#include "EventFilter/HcalRawToDigi/interface/HcalHTRData.h"
#include "EventFilter/HcalRawToDigi/interface/HcalUHTRData.h"
#include "DataFormats/HcalDetId/interface/HcalOtherDetId.h"
#include "DataFormats/HcalDigi/interface/HcalQIESample.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "EventFilter/HcalRawToDigi/interface/HcalTTPUnpacker.h"
#include "EventFilter/HcalRawToDigi/plugins/HcalRawToDigi.h"

Go to the source code of this file.

Classes

struct  HOUnrolledTP
 

Namespaces

 HcalUnpacker_impl
 

Functions

static bool isTPGSOI (const HcalTriggerPrimitiveSample &s)
 
static int slb (uint16_t theSample)
 
static int slbAndChan (uint16_t theSample)
 
static int slbChan (uint16_t theSample)
 
template<class DigiClass >
const HcalQIESampleHcalUnpacker_impl::unpack (const HcalQIESample *startPoint, const HcalQIESample *limit, DigiClass &digi, int presamples, const HcalElectronicsId &eid, int startSample, int endSample, int expectedTime, const HcalHTRData &hhd)
 
template<class DigiClass >
const unsigned short * HcalUnpacker_impl::unpack_compact (const unsigned short *startPoint, const unsigned short *limit, DigiClass &digi, int presamples, const HcalElectronicsId &eid, int startSample, int endSample, int expectedTime, const HcalHTRData &hhd)
 
template<class DigiClass >
void HcalUnpacker_impl::unpack_compact (HcalUHTRData::const_iterator &i, const HcalUHTRData::const_iterator &iend, DigiClass &digi, int presamples, const HcalElectronicsId &eid, int startSample, int endSample)
 

Function Documentation

static bool isTPGSOI ( const HcalTriggerPrimitiveSample s)
inlinestatic

Definition at line 169 of file HcalUnpacker.cc.

References HcalTriggerPrimitiveSample::raw().

Referenced by CastorUnpacker_impl::unpack(), CastorUnpacker::unpack(), and HcalUnpacker::unpackVME().

169  {
170  return (s.raw()&0x200)!=0;
171 }
uint16_t raw() const
get the raw word
static int slb ( uint16_t  theSample)
static

Definition at line 206 of file HcalUnpacker.cc.

Referenced by HcalUnpacker::unpackVME().

206 { return ((theSample>>13)&0x7); }
static int slbAndChan ( uint16_t  theSample)
static

Definition at line 208 of file HcalUnpacker.cc.

Referenced by HcalUnpacker::unpackVME().

208 { return (theSample>>11)&0x1F; }
static int slbChan ( uint16_t  theSample)
static

Definition at line 207 of file HcalUnpacker.cc.

Referenced by HcalUnpacker::unpackVME().

207 { return (theSample>>11)&0x3; }