Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:33

0001 #ifndef DCCEBTCCBLOCK_HH
0002 #define DCCEBTCCBLOCK_HH
0003 
0004 /*
0005  *\ Class DCCEBTCCBlock
0006  *
0007  * Class responsible for the EB Trigger Tower primitives unpacking.
0008  *
0009  * \file DCCEBTCCBlock.h
0010  *
0011  *
0012  * \author N. Almeida
0013  * \author G. Franzoni
0014  *
0015 */
0016 
0017 #include <iostream>
0018 #include <string>
0019 #include <vector>
0020 #include <map>
0021 #include <utility>
0022 
0023 #include <DataFormats/EcalDigi/interface/EcalTriggerPrimitiveDigi.h>
0024 #include <DataFormats/EcalDigi/interface/EcalTriggerPrimitiveSample.h>
0025 #include <DataFormats/EcalDigi/interface/EcalDigiCollections.h>
0026 #include <DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h>
0027 
0028 #include "DCCTCCBlock.h"
0029 
0030 class DCCDataUnpacker;
0031 
0032 class DCCEBTCCBlock : public DCCTCCBlock {
0033 public:
0034   /**
0035       Class constructor
0036     */
0037   DCCEBTCCBlock(DCCDataUnpacker* u, EcalElectronicsMapper* m, DCCEventBlock* e, bool unpack);
0038 
0039   void updateCollectors() override;
0040 
0041   void addTriggerPrimitivesToCollection() override;
0042 
0043 protected:
0044   bool checkTccIdAndNumbTTs() override;
0045 };
0046 
0047 #endif