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 
15 
17 
19 class DTROS25Data;
20 
21 class DTROS25Unpacker : public DTUnpacker {
22 
23 public:
24 
27 
29  virtual ~DTROS25Unpacker();
30 
31  // Unpacking method
32  virtual void interpretRawData(const unsigned int* index, int datasize,
33  int dduID,
35  std::auto_ptr<DTDigiCollection>& product,
36  std::auto_ptr<DTLocalTriggerCollection>& product2,
37  uint16_t rosList = 0);
38 
39  inline const std::vector<DTROS25Data> & getROSsControlData() const {
40  return controlDataFromAllROS;
41  }
42 
43 private:
44 
45  int swap(int x);
46 
48  bool localDAQ;
49 
51  bool readingDDU;
52 
57 
59  bool writeSC;
60 
63 
64  bool debug;
65 
67 
68  std::vector<DTROS25Data> controlDataFromAllROS;
69 
70 };
71 
72 #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
x
Definition: VDTMath.h:216
const std::vector< DTROS25Data > & getROSsControlData() const