CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/EventFilter/EcalRawToDigi/interface/DCCEBTCCBlock.h

Go to the documentation of this file.
00001 #ifndef DCCEBTCCBLOCK_HH
00002 #define DCCEBTCCBLOCK_HH
00003 
00004 /*
00005  *\ Class DCCEBTCCBlock
00006  *
00007  * Class responsible for the EB Trigger Tower primitives unpacking.
00008  *
00009  * \file DCCEBTCCBlock.h
00010  *
00011  * $Date: 2008/12/11 18:05:56 $
00012  * $Revision: 1.1 $
00013  *
00014  * \author N. Almeida
00015  * \author G. Franzoni
00016  *
00017 */
00018 
00019 #include <iostream>                  
00020 #include <string>
00021 #include <vector>
00022 #include <map>
00023 #include <utility>
00024 
00025 
00026 
00027 #include <DataFormats/EcalDigi/interface/EcalTriggerPrimitiveDigi.h>
00028 #include <DataFormats/EcalDigi/interface/EcalTriggerPrimitiveSample.h>
00029 #include <DataFormats/EcalDigi/interface/EcalDigiCollections.h>
00030 #include <DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h>
00031 
00032 #include "DCCTCCBlock.h"
00033 
00034 class DCCDataUnpacker;
00035 
00036 class DCCEBTCCBlock : public DCCTCCBlock {
00037         
00038   public :
00042     DCCEBTCCBlock( DCCDataUnpacker *  u, EcalElectronicsMapper * m, DCCEventBlock * e, bool unpack);    
00043          
00044     void updateCollectors();
00045    
00046     void addTriggerPrimitivesToCollection();
00047   
00048   protected :
00049 
00050    bool checkTccIdAndNumbTTs();
00051 
00052 };
00053 
00054 #endif