test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
CastorUnpacker.cc File Reference
#include "EventFilter/CastorRawToDigi/interface/CastorUnpacker.h"
#include "EventFilter/HcalRawToDigi/interface/HcalDCCHeader.h"
#include "EventFilter/HcalRawToDigi/interface/HcalHTRData.h"
#include "EventFilter/HcalRawToDigi/interface/HcalTTPUnpacker.h"
#include "DataFormats/HcalDetId/interface/HcalOtherDetId.h"
#include "DataFormats/HcalDigi/interface/HcalQIESample.h"
#include "DataFormats/HcalDigi/interface/CastorDataFrame.h"
#include "DataFormats/HcalDigi/interface/HcalTriggerPrimitiveSample.h"
#include <iostream>
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Namespaces

 CastorUnpacker_impl
 

Functions

static int slb (const HcalTriggerPrimitiveSample &theSample)
 
static int slbAndChan (const HcalTriggerPrimitiveSample &theSample)
 
static int slbChan (const HcalTriggerPrimitiveSample &theSample)
 
template<class DigiClass >
const HcalQIESampleCastorUnpacker_impl::unpack (const HcalQIESample *startPoint, const HcalQIESample *limit, DigiClass &digi, int presamples, const CastorElectronicsId &eid, int startSample, int endSample, int expectedTime, const HcalHTRData &hhd)
 

Function Documentation

static int slb ( const HcalTriggerPrimitiveSample theSample)
static
static int slbAndChan ( const HcalTriggerPrimitiveSample theSample)
static

Definition at line 67 of file CastorUnpacker.cc.

References HcalTriggerPrimitiveSample::raw().

Referenced by CastorUnpacker::unpack().

67 { return (theSample.raw()>>11)&0x1F; }
uint16_t raw() const
get the raw word
static int slbChan ( const HcalTriggerPrimitiveSample theSample)
static

Definition at line 66 of file CastorUnpacker.cc.

References HcalTriggerPrimitiveSample::raw().

Referenced by CastorUnpacker::unpack().

66 { return (theSample.raw()>>11)&0x3; }
uint16_t raw() const
get the raw word