File indexing completed on 2024-04-06 12:10:33
0001 #ifndef DCCEETCCBLOCK_HH
0002 #define DCCEETCCBLOCK_HH
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include <iostream>
0017 #include <string>
0018 #include <vector>
0019 #include <map>
0020 #include <utility>
0021
0022 #include <DataFormats/EcalDigi/interface/EcalTriggerPrimitiveDigi.h>
0023 #include <DataFormats/EcalDigi/interface/EcalTriggerPrimitiveSample.h>
0024 #include <DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h>
0025 #include <DataFormats/EcalDigi/interface/EcalDigiCollections.h>
0026
0027 #include "DCCTCCBlock.h"
0028
0029 class DCCEETCCBlock : public DCCTCCBlock {
0030 public:
0031
0032
0033
0034 DCCEETCCBlock(DCCDataUnpacker* u, EcalElectronicsMapper* m, DCCEventBlock* e, bool unpacking);
0035
0036 void updateCollectors() override;
0037
0038 void addTriggerPrimitivesToCollection() override;
0039
0040 unsigned int getLength() override;
0041
0042 protected:
0043 bool checkTccIdAndNumbTTs() override;
0044 };
0045
0046 #endif