CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/EventFilter/EcalRawToDigi/interface/DCCEESRPBlock.h

Go to the documentation of this file.
00001 #ifndef DCCEESRPBLOCK_HH
00002 #define DCCEESRPBLOCK_HH
00003 
00004 
00005 /*
00006  *\ Class DCCEESRPBlock
00007  *
00008  * Class responsible for the SR flag unpacking in the EE.
00009  *
00010  * \file DCCEESRPBlock.h
00011  *
00012  * $Date: 2008/12/11 18:05:56 $
00013  * $Revision: 1.1 $
00014  *
00015  * \author N. Almeida
00016  *
00017 */
00018 
00019 
00020 #include <iostream>
00021 #include <memory>
00022 #include <stdint.h>
00023 #include <string>
00024 #include <vector>
00025 #include <map>
00026 #include <utility>
00027 
00028 #include "DCCSRPBlock.h"
00029 
00030 #include <DataFormats/EcalDigi/interface/EcalDigiCollections.h>
00031 #include <DataFormats/EcalRawData/interface/EcalRawDataCollections.h>
00032 #include <DataFormats/EcalDetId/interface/EcalDetIdCollections.h>
00033 
00034 
00035 class DCCEESRPBlock : public DCCSRPBlock{
00036         
00037   public :
00038 
00039     DCCEESRPBlock( DCCDataUnpacker * u,EcalElectronicsMapper * m, DCCEventBlock * e, bool unpack);
00040     
00041     void updateCollectors();
00042          
00043   protected :
00044   
00045     void addSRFlagToCollection(); 
00046     
00047     bool checkSrpIdAndNumbSRFlags();
00048          
00049     std::auto_ptr<EESrFlagCollection>  * eeSrFlagsDigis_;
00050          
00051     EcalScDetId * pSCDetId_;
00052     
00053          
00054                 
00055 };
00056 
00057 
00058 #endif