CMS 3D CMS Logo

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