DCCEBEventBlock

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
#ifndef DCCEBEVENTBLOCK_HH
#define DCCEBEVENTBLOCK_HH

/*
 *\ Class DCCEBEventBlock
 *
 * Specialization of the DCCEventBlock for the EB 
 * The class instintes the DCCTowerBlock, DCCEBTCBlock and DCCEBSRPBlock unpacking classes
 *
 * \file DCCEBEventBlock.h
 *
 *
 * \author N. Almeida
 * 
 *
*/

#include <DataFormats/EcalRawData/interface/EcalRawDataCollections.h>
#include <DataFormats/EcalDigi/interface/EcalDigiCollections.h>
#include "DCCRawDataDefinitions.h"
#include "DCCEventBlock.h"

class DCCEBEventBlock : public DCCEventBlock {
public:
  DCCEBEventBlock(DCCDataUnpacker *u,
                  EcalElectronicsMapper *m,
                  bool hU,
                  bool srpU,
                  bool tccU,
                  bool feU,
                  bool memU,
                  bool forceToKeepFRdata);

  void unpack(const uint64_t *buffer, size_t bufferSize, unsigned int expFedId) override;

protected:
  int unpackTCCBlocks() override;
};

#endif