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"

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

◆ isTPGSOI()

static bool isTPGSOI ( const HcalTriggerPrimitiveSample s)
inlinestatic

Definition at line 189 of file HcalUnpacker.cc.

References alignCSCRings::s.

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

189 { return (s.raw() & 0x200) != 0; }

◆ slb()

static int slb ( uint16_t  theSample)
static

Definition at line 227 of file HcalUnpacker.cc.

Referenced by HcalUnpacker::unpackVME().

227 { return ((theSample >> 13) & 0x7); }

◆ slbAndChan()

static int slbAndChan ( uint16_t  theSample)
static

Definition at line 229 of file HcalUnpacker.cc.

Referenced by HcalUnpacker::unpackVME().

229 { return (theSample >> 11) & 0x1F; }

◆ slbChan()

static int slbChan ( uint16_t  theSample)
static

Definition at line 228 of file HcalUnpacker.cc.

Referenced by HcalUnpacker::unpackVME().

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