32 const string&
filename =
pset.getUntrackedParameter<
string>(
"fileName");
36 throw cms::Exception(
"InputFileMissing") <<
"DTROS25FileReader: the input file: " <<
filename <<
" is not present";
38 produces<FEDRawDataCollection>();
49 vector<uint32_t> eventData;
50 size_t estimatedEventDimension = 102400;
51 eventData.reserve(estimatedEventDimension);
75 eventData.push_back(
word);
90 int adjustment = (eventDataSize / 4) % 2 == 1 ? 4 : 0;
96 copy(reinterpret_cast<unsigned char*>(&eventData[0]),
97 reinterpret_cast<unsigned char*>(&eventData[0]) + eventDataSize,
105 cout <<
"[DTROS25FileReader]: ERROR! failed to get the trailer" << endl;
110 cout <<
"[DTROS25FileReader]:"
111 <<
" ERROR! ROS data exceeding estimated event dimension. Event size = " << eventData.size() << endl;
123 std::unique_ptr<FEDRawDataCollection> bare_product(fedcoll);
130 uint16_t msBits_tmp = newWorld->
msBits;
132 newWorld->
lsBits = msBits_tmp;
137 if ((
word >> 24) == 31) {
147 if ((
word >> 24) == 63) {