CMS 3D CMS Logo

DTROS25Unpacker.h
Go to the documentation of this file.
1 #ifndef DTROS25Unpacker_h
2 #define DTROS25Unpacker_h
3 
13 
15 
16 class DTROS25Data;
17 
18 class DTROS25Unpacker : public DTUnpacker {
19 public:
22 
24  ~DTROS25Unpacker() override;
25 
26  // Unpacking method
27  void interpretRawData(const unsigned int* index,
28  int datasize,
29  int dduID,
31  std::unique_ptr<DTDigiCollection>& product,
32  std::unique_ptr<DTLocalTriggerCollection>& product2,
33  uint16_t rosList = 0) override;
34 
35  inline const std::vector<DTROS25Data>& getROSsControlData() const { return controlDataFromAllROS; }
36 
37 private:
38  int swap(int x);
39 
41  bool localDAQ;
42 
44  bool readingDDU;
45 
50 
52  bool writeSC;
53 
56 
57  bool debug;
58 
59  std::vector<DTROS25Data> controlDataFromAllROS;
60 };
61 
62 #endif
DTROS25Unpacker
Definition: DTROS25Unpacker.h:18
DTROS25Unpacker::writeSC
bool writeSC
make the local SC spy data persistent
Definition: DTROS25Unpacker.h:52
DTROS25Unpacker::DTROS25Unpacker
DTROS25Unpacker(const edm::ParameterSet &ps)
Constructor.
Definition: DTROS25Unpacker.cc:27
DTROS25Unpacker::controlDataFromAllROS
std::vector< DTROS25Data > controlDataFromAllROS
Definition: DTROS25Unpacker.h:59
DDAxes::x
DTROS25Unpacker::hardcodedDDUID
int hardcodedDDUID
to analyze older data..
Definition: DTROS25Unpacker.h:49
DTROS25Unpacker::readDDUIDfromDDU
bool readDDUIDfromDDU
since June 2007, local DAQ, provides FED number
Definition: DTROS25Unpacker.h:47
DTROS25Unpacker::readingDDU
bool readingDDU
if data are read from ROS directly, no information on the ROS Id is present
Definition: DTROS25Unpacker.h:44
DTUnpacker.h
DTROS25Unpacker::getROSsControlData
const std::vector< DTROS25Data > & getROSsControlData() const
Definition: DTROS25Unpacker.h:35
edm::ESHandle< DTReadOutMapping >
edm::ParameterSet
Definition: ParameterSet.h:36
DTROS25Unpacker::~DTROS25Unpacker
~DTROS25Unpacker() override
Destructor.
Definition: DTROS25Unpacker.cc:39
DTROS25Unpacker::localDAQ
bool localDAQ
if reading data locally, words, being assembled as 32-bits, do not need to be swapped
Definition: DTROS25Unpacker.h:41
DTUnpacker
Definition: DTUnpacker.h:17
DTROS25Unpacker::swap
int swap(int x)
Definition: DTROS25Unpacker.cc:427
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
DTROS25Data
Definition: DTControlData.h:22
DTROS25Unpacker::debug
bool debug
Definition: DTROS25Unpacker.h:57
ParameterSet.h
DTROS25Unpacker::interpretRawData
void interpretRawData(const unsigned int *index, int datasize, int dduID, edm::ESHandle< DTReadOutMapping > &mapping, std::unique_ptr< DTDigiCollection > &product, std::unique_ptr< DTLocalTriggerCollection > &product2, uint16_t rosList=0) override
Definition: DTROS25Unpacker.cc:41
taus_updatedMVAIds_cff.mapping
mapping
Definition: taus_updatedMVAIds_cff.py:28
DTROS25Unpacker::performDataIntegrityMonitor
bool performDataIntegrityMonitor
perform DQM on ROS data
Definition: DTROS25Unpacker.h:55