CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
20 public:
21 
24 
26  virtual ~DTROS25Unpacker();
27 
28  // Unpacking method
29  virtual void interpretRawData(const unsigned int* index, int datasize,
30  int dduID,
32  std::unique_ptr<DTDigiCollection>& product,
33  std::unique_ptr<DTLocalTriggerCollection>& product2,
34  uint16_t rosList = 0);
35 
36  inline const std::vector<DTROS25Data> & getROSsControlData() const {
37  return controlDataFromAllROS;
38  }
39 
40 private:
41 
42  int swap(int x);
43 
45  bool localDAQ;
46 
48  bool readingDDU;
49 
54 
56  bool writeSC;
57 
60 
61  bool debug;
62 
63  std::vector<DTROS25Data> controlDataFromAllROS;
64 
65 };
66 
67 #endif
bool performDataIntegrityMonitor
perform DQM on ROS data
bool readingDDU
if data are read from ROS directly, no information on the ROS Id is present
virtual 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)
DTROS25Unpacker(const edm::ParameterSet &ps)
Constructor.
bool writeSC
make the local SC spy data persistent
virtual ~DTROS25Unpacker()
Destructor.
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