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
|
#ifndef DCCEESRPBLOCK_HH
#define DCCEESRPBLOCK_HH
/*
*\ Class DCCEESRPBlock
*
* Class responsible for the SR flag unpacking in the EE.
*
* \file DCCEESRPBlock.h
*
*
* \author N. Almeida
*
*/
#include <iostream>
#include <memory>
#include <cstdint>
#include <string>
#include <vector>
#include <map>
#include <utility>
#include "DCCSRPBlock.h"
#include <DataFormats/EcalDigi/interface/EcalDigiCollections.h>
#include <DataFormats/EcalRawData/interface/EcalRawDataCollections.h>
#include <DataFormats/EcalDetId/interface/EcalDetIdCollections.h>
class DCCEESRPBlock : public DCCSRPBlock {
public:
DCCEESRPBlock(DCCDataUnpacker* u, EcalElectronicsMapper* m, DCCEventBlock* e, bool unpack);
void updateCollectors() override;
protected:
void addSRFlagToCollection() override;
bool checkSrpIdAndNumbSRFlags() override;
std::unique_ptr<EESrFlagCollection>* eeSrFlagsDigis_;
};
#endif
|