CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/EventFilter/EcalRawToDigi/interface/DCCEBEventBlock.h

Go to the documentation of this file.
00001 #ifndef DCCEBEVENTBLOCK_HH
00002 #define DCCEBEVENTBLOCK_HH
00003 
00004 
00005 /*
00006  *\ Class DCCEBEventBlock
00007  *
00008  * Specialization of the DCCEventBlock for the EB 
00009  * The class instintes the DCCTowerBlock, DCCEBTCBlock and DCCEBSRPBlock unpacking classes
00010  *
00011  * \file DCCEBEventBlock.h
00012  *
00013  * $Date: 2012/08/06 21:51:35 $
00014  * $Revision: 1.4 $
00015  *
00016  * \author N. Almeida
00017  * 
00018  *
00019 */
00020 
00021 #include <DataFormats/EcalRawData/interface/EcalRawDataCollections.h>
00022 #include <DataFormats/EcalDigi/interface/EcalDigiCollections.h>
00023 #include "DCCRawDataDefinitions.h"
00024 #include "DCCEventBlock.h"
00025 
00026 
00027 class DCCEBEventBlock : public DCCEventBlock{
00028         
00029   public :
00030 
00031    DCCEBEventBlock( DCCDataUnpacker * u, EcalElectronicsMapper *m ,  bool hU, bool srpU, bool tccU, bool feU, bool memU, bool forceToKeepFRdata);
00032    
00033    void unpack(const uint64_t * buffer, size_t bufferSize, unsigned int expFedId);
00034    
00035   protected :
00036   
00037     int unpackTCCBlocks();
00038    
00039 };
00040 
00041 #endif