** Warning **

Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=lxr at /lxr/lib/LXR/Common.pm line 1103.

Last-Modified: Wed, 28 Mar 2023 01:34:42 GMT Content-Type: text/html; charset=utf-8 /CMSSW_13_1_X_2023-03-27-2300/EventFilter/EcalRawToDigi/interface/EcalDCCHeaderRuntypeDecoder.h
Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:59:38

0001 // Date   : 13/06/2007
0002 
0003 #ifndef ECALDCCHEADERRUNTYPE_DECODER_H
0004 #define ECALDCCHEADERRUNTYPE_DECODER_H
0005 #include <DataFormats/EcalRawData/interface/EcalDCCHeaderBlock.h>
0006 #include "DCCRawDataDefinitions.h"
0007 
0008 class EcalDCCHeaderRuntypeDecoder {
0009 public:
0010   EcalDCCHeaderRuntypeDecoder();
0011   ~EcalDCCHeaderRuntypeDecoder();
0012   bool Decode(unsigned long TrTy, unsigned long detTrTy, unsigned long runType, EcalDCCHeaderBlock* theHeader);
0013 
0014 protected:
0015   bool WasDecodingOk_ = true;
0016   void DecodeSetting(int settings, EcalDCCHeaderBlock* theHeader);
0017   void DecodeSettingGlobal(unsigned long TrigType, unsigned long detTrigType, EcalDCCHeaderBlock* theHeader);
0018   void CleanEcalDCCSettingsInfo(
0019       EcalDCCHeaderBlock::EcalDCCEventSettings*
0020           theEventSettings);  // Re-initialize theEventSettings  before filling with the deocoded event
0021 };
0022 
0023 #endif