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 
17 class DTROS25Data;
18 
19 class DTROS25Unpacker : public DTUnpacker {
20 
21 public:
22 
25 
27  virtual ~DTROS25Unpacker();
28 
29  // Unpacking method
30  virtual void interpretRawData(const unsigned int* index, int datasize,
31  int dduID,
33  std::auto_ptr<DTDigiCollection>& product,
34  std::auto_ptr<DTLocalTriggerCollection>& product2,
35  uint16_t rosList = 0);
36 
37  inline const std::vector<DTROS25Data> & getROSsControlData() const {
38  return controlDataFromAllROS;
39  }
40 
41 private:
42 
43  int swap(int x);
44 
46  bool localDAQ;
47 
49  bool readingDDU;
50 
55 
57  bool writeSC;
58 
61 
62  bool debug;
63 
65 
66  std::vector<DTROS25Data> controlDataFromAllROS;
67 
68 };
69 
70 #endif
DTDataMonitorInterface * dataMonitor
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::auto_ptr< DTDigiCollection > &product, std::auto_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
Definition: DDAxes.h:10
const std::vector< DTROS25Data > & getROSsControlData() const