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 DCCEBSRPBLOCK_HH
#define DCCEBSRPBLOCK_HH
/*
*\ Class DCCEBSRPBlock
*
* Class responsible for the SR flag unpacking in the EB.
*
* \file DCCEBSRPBlock.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 DCCEBSRPBlock : public DCCSRPBlock {
public:
DCCEBSRPBlock(DCCDataUnpacker* u, EcalElectronicsMapper* m, DCCEventBlock* e, bool unpack);
void updateCollectors() override;
protected:
void addSRFlagToCollection() override;
bool checkSrpIdAndNumbSRFlags() override;
std::unique_ptr<EBSrFlagCollection>* ebSrFlagsDigis_;
};
#endif
|