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: 2009/05/02 19:32:19 $ 00012 * $Revision: 1.11 $ 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 protected : 00045 00046 bool checkTccIdAndNumbTTs(); 00047 00048 00049 }; 00050 00051 #endif