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

◆ isTPGSOI()

static bool isTPGSOI ( const HcalTriggerPrimitiveSample s)
inlinestatic

Definition at line 190 of file HcalUnpacker.cc.

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

References alignCSCRings::s.

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

◆ slb()

static int slb ( uint16_t  theSample)
static

Definition at line 228 of file HcalUnpacker.cc.

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

Referenced by HcalUnpacker::unpackVME().

◆ slbAndChan()

static int slbAndChan ( uint16_t  theSample)
static

Definition at line 230 of file HcalUnpacker.cc.

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

Referenced by HcalUnpacker::unpackVME().

◆ slbChan()

static int slbChan ( uint16_t  theSample)
static

Definition at line 229 of file HcalUnpacker.cc.

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

Referenced by HcalUnpacker::unpackVME().

alignCSCRings.s
s
Definition: alignCSCRings.py:92