test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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/HcalHTRData.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)
 
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)
 

Function Documentation

static bool isTPGSOI ( const HcalTriggerPrimitiveSample s)
inlinestatic

Definition at line 108 of file HcalUnpacker.cc.

References HcalTriggerPrimitiveSample::raw().

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

108  {
109  return (s.raw()&0x200)!=0;
110 }
uint16_t raw() const
get the raw word