CMS 3D CMS Logo

DCCEBSRPBlock.h
Go to the documentation of this file.
1 #ifndef DCCEBSRPBLOCK_HH
2 #define DCCEBSRPBLOCK_HH
3 
4 /*
5  *\ Class DCCEBSRPBlock
6  *
7  * Class responsible for the SR flag unpacking in the EB.
8  *
9  * \file DCCEBSRPBlock.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 DCCEBSRPBlock : 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<EBSrFlagCollection>* ebSrFlagsDigis_;
42 };
43 
44 #endif
std::unique_ptr< EBSrFlagCollection > * ebSrFlagsDigis_
Definition: DCCEBSRPBlock.h:41
void updateCollectors() override
void addSRFlagToCollection() override
DCCEBSRPBlock(DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack)
Definition: DCCEBSRPBlock.cc:7
bool checkSrpIdAndNumbSRFlags() override
int unpack(const uint64_t **data, unsigned int *dwToEnd, unsigned int numbFlags=SRP_NUMBFLAGS)
Definition: DCCSRPBlock.cc:16