CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
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
bool performDataIntegrityMonitor
perform DQM on ROS data
bool readingDDU
if data are read from ROS directly, no information on the ROS Id is present
~DTROS25Unpacker() override
Destructor.
DTROS25Unpacker(const edm::ParameterSet &ps)
Constructor.
bool writeSC
make the local SC spy data persistent
int hardcodedDDUID
to analyze older data..
bool readDDUIDfromDDU
since June 2007, local DAQ, provides FED number
bool localDAQ
if reading data locally, words, being assembled as 32-bits, do not need to be swapped ...
std::vector< DTROS25Data > controlDataFromAllROS
const std::vector< DTROS25Data > & getROSsControlData() const