Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-28 03:58:54

0001 #ifndef DCCEBSRPBLOCK_HH
0002 #define DCCEBSRPBLOCK_HH
0003 
0004 /*
0005  *\ Class DCCEBSRPBlock
0006  *
0007  * Class responsible for the SR flag unpacking in the EB.
0008  *
0009  * \file DCCEBSRPBlock.h
0010  *
0011  *
0012  * \author N. Almeida
0013  *
0014 */
0015 
0016 #include <iostream>
0017 #include <memory>
0018 #include <cstdint>
0019 #include <string>
0020 #include <vector>
0021 #include <map>
0022 #include <utility>
0023 
0024 #include "DCCSRPBlock.h"
0025 
0026 #include <DataFormats/EcalDigi/interface/EcalDigiCollections.h>
0027 #include <DataFormats/EcalRawData/interface/EcalRawDataCollections.h>
0028 #include <DataFormats/EcalDetId/interface/EcalDetIdCollections.h>
0029 
0030 class DCCEBSRPBlock : public DCCSRPBlock {
0031 public:
0032   DCCEBSRPBlock(DCCDataUnpacker* u, EcalElectronicsMapper* m, DCCEventBlock* e, bool unpack);
0033 
0034   void updateCollectors() override;
0035 
0036 protected:
0037   void addSRFlagToCollection() override;
0038 
0039   bool checkSrpIdAndNumbSRFlags() override;
0040 
0041   std::unique_ptr<EBSrFlagCollection>* ebSrFlagsDigis_;
0042 };
0043 
0044 #endif