CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/EventFilter/EcalRawToDigi/interface/DCCEETCCBlock.h

Go to the documentation of this file.
00001 #ifndef DCCEETCCBLOCK_HH
00002 #define DCCEETCCBLOCK_HH
00003 
00004 /*
00005  *\ Class DCCEETCCBlock
00006  *
00007  * Class responsible for the EE Trigger Tower primitives unpacking.
00008  *
00009  * \file DCCEETCCBlock.h
00010  *
00011  * $Date: 2010/09/15 21:51:33 $
00012  * $Revision: 1.4 $
00013  *
00014  * \author N. Almeida
00015  *
00016 */
00017 
00018 #include <iostream>                  
00019 #include <string>
00020 #include <vector>
00021 #include <map>
00022 #include <utility>
00023 
00024 
00025 #include <DataFormats/EcalDigi/interface/EcalTriggerPrimitiveDigi.h>
00026 #include <DataFormats/EcalDigi/interface/EcalTriggerPrimitiveSample.h>
00027 #include <DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h>
00028 #include <DataFormats/EcalDigi/interface/EcalDigiCollections.h>
00029 
00030 #include "DCCTCCBlock.h"
00031 
00032 class DCCEETCCBlock : public DCCTCCBlock{
00033         
00034   public :
00038     DCCEETCCBlock( DCCDataUnpacker * u, EcalElectronicsMapper * m, DCCEventBlock * e, bool unpacking );    
00039   
00040     void updateCollectors();
00041          
00042     void addTriggerPrimitivesToCollection();
00043         
00044         unsigned int getLength();
00045   
00046   protected :
00047   
00048     bool checkTccIdAndNumbTTs();
00049 
00050 
00051 };
00052 
00053 #endif