1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#ifndef DCCEBTCCBLOCK_HH
#define DCCEBTCCBLOCK_HH
/*
*\ Class DCCEBTCCBlock
*
* Class responsible for the EB Trigger Tower primitives unpacking.
*
* \file DCCEBTCCBlock.h
*
*
* \author N. Almeida
* \author G. Franzoni
*
*/
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <utility>
#include <DataFormats/EcalDigi/interface/EcalTriggerPrimitiveDigi.h>
#include <DataFormats/EcalDigi/interface/EcalTriggerPrimitiveSample.h>
#include <DataFormats/EcalDigi/interface/EcalDigiCollections.h>
#include <DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h>
#include "DCCTCCBlock.h"
class DCCDataUnpacker;
class DCCEBTCCBlock : public DCCTCCBlock {
public:
/**
Class constructor
*/
DCCEBTCCBlock(DCCDataUnpacker* u, EcalElectronicsMapper* m, DCCEventBlock* e, bool unpack);
void updateCollectors() override;
void addTriggerPrimitivesToCollection() override;
protected:
bool checkTccIdAndNumbTTs() override;
};
#endif
|