CMS 3D CMS Logo

DCCEESRPBlock.h
Go to the documentation of this file.
1 #ifndef DCCEESRPBLOCK_HH
2 #define DCCEESRPBLOCK_HH
3 
4 /*
5  *\ Class DCCEESRPBlock
6  *
7  * Class responsible for the SR flag unpacking in the EE.
8  *
9  * \file DCCEESRPBlock.h
10  *
11  *
12  * \author N. Almeida
13  *
14 */
15 
16 #include <iostream>
17 #include <memory>
18 #include <cstdint>
19 #include <string>
20 #include <vector>
21 #include <map>
22 #include <utility>
23 
24 #include "DCCSRPBlock.h"
25 
29 
30 class DCCEESRPBlock : public DCCSRPBlock {
31 public:
33 
34  void updateCollectors() override;
35 
36 protected:
37  void addSRFlagToCollection() override;
38 
39  bool checkSrpIdAndNumbSRFlags() override;
40 
41  std::unique_ptr<EESrFlagCollection>* eeSrFlagsDigis_;
42 };
43 
44 #endif
DCCEESRPBlock(DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack)
Definition: DCCEESRPBlock.cc:6
void updateCollectors() override
Definition: DCCEESRPBlock.cc:9
void addSRFlagToCollection() override
bool checkSrpIdAndNumbSRFlags() override
std::unique_ptr< EESrFlagCollection > * eeSrFlagsDigis_
Definition: DCCEESRPBlock.h:41
int unpack(const uint64_t **data, unsigned int *dwToEnd, unsigned int numbFlags=SRP_NUMBFLAGS)
Definition: DCCSRPBlock.cc:16