File indexing completed on 2024-04-06 12:10:31
0001 #ifndef DTROS25Unpacker_h
0002 #define DTROS25Unpacker_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0013
0014 #include <EventFilter/DTRawToDigi/plugins/DTUnpacker.h>
0015
0016 class DTROS25Data;
0017
0018 class DTROS25Unpacker : public DTUnpacker {
0019 public:
0020
0021 DTROS25Unpacker(const edm::ParameterSet& ps);
0022
0023
0024 ~DTROS25Unpacker() override;
0025
0026
0027 void interpretRawData(const unsigned int* index,
0028 int datasize,
0029 int dduID,
0030 edm::ESHandle<DTReadOutMapping>& mapping,
0031 std::unique_ptr<DTDigiCollection>& product,
0032 std::unique_ptr<DTLocalTriggerCollection>& product2,
0033 uint16_t rosList = 0) override;
0034
0035 inline const std::vector<DTROS25Data>& getROSsControlData() const { return controlDataFromAllROS; }
0036
0037 private:
0038 int swap(int x);
0039
0040
0041 bool localDAQ;
0042
0043
0044 bool readingDDU;
0045
0046
0047 bool readDDUIDfromDDU;
0048
0049 int hardcodedDDUID;
0050
0051
0052 bool writeSC;
0053
0054
0055 bool performDataIntegrityMonitor;
0056
0057 bool debug;
0058
0059 std::vector<DTROS25Data> controlDataFromAllROS;
0060 };
0061
0062 #endif