Project

General

Profile

Bug #959

Raw to root files conversion fails

Added by Jarek Nowak over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Category:
Metadata
Target version:
Start date:
02/11/2011
Due date:
% Done:

100%

Estimated time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

When I run the conversion of the raw data files to root format some of them fail with an error

nova: /home/greenc/work/cet-is/art-devel/art/Framework/Core/EPStates.cc:672: bool statemachine::FirstSubRun::checkInvariant(): Assertion `context<HandleSubRuns>().currentSubRun().second != INVALID_LUMI' failed.
Aborted

It is done with the DAQ2RawDigit package. Example fcl file for whic it fails ###########################
process_name: RawConvert
services: {TFileService: {fileName: "/nova/data/novaraw/NDOS/2011-02-09/ndos_r00011445_s00.raw" closeFileFast: false }
Timing:{}
RandomNumberGenerator: {}
user: { RandomHandler: { } } }

source: {
module_type: NOvARawInputSource
DAQFile: "ndos_r00011445_s00.raw"
FilterCorruptedNanoslices: true
FilterHotChannels: false
HotChannelList: [0]
maxEvents: 1 }

outputs:{
out1: {
module_type: RootOutput
fileName: "ndos_r00011445_s00.raw-development.root"}}

physics:{
stream1:[ out1 ]
end_paths: [stream1]}
~ ################################################

the cerr.log is empty and warnings.log contains only:
essagelogger initialization complete.
%MSG
TimeReport> Report activated
TimeReport> Report columns headings for events: eventnum runnum timetaken
TimeReport> Report columns headings for modules: eventnum runnum modulelabel modulename timetaken


Related issues

Has duplicate art - Bug #972: nova job crashes on trying to convert a raw datafileClosed02/14/2011

Associated revisions

Revision 8a6a161d (diff)
Added by Christopher Green over 9 years ago

Implement changes to allow non-zero invalid numbers for RunNumber_t,
SubRunNumber_t and EventNumber_t (issue #959).

This is a combined commit including changes authored by both Marc
Paterno and Chris Green. Changes to sources and output modules have
been separated into a subsequent commit.

Revision d2d28f8c (diff)
Added by Christopher Green over 9 years ago

Issue #959 changes to InputSource.

Revision 0e7b145d (diff)
Added by Christopher Green over 9 years ago

Issue #959 changes to ConfigurableInputSource.

Revision 750b5a9b (diff)
Added by Christopher Green over 9 years ago

Issue #959 changes: retire ExternalInputSource.

Revision 45d399c0 (diff)
Added by Christopher Green over 9 years ago

Issue #959 changes to EDInputSource

Revision 51ce09ab (diff)
Added by Christopher Green over 9 years ago

Issue #959 changes to RawInputSource.

Revision ae5707e6 (diff)
Added by Christopher Green over 9 years ago

Issue #959 changes to RootOutputFile.

Revision 1b444e2c (diff)
Added by Christopher Green over 9 years ago

Issue #959 changes to RootInputFileSequence.

Revision 9bc9ec1a (diff)
Added by Christopher Green over 9 years ago

Issue #959 changes to RootInputFile.

Revision e094b762 (diff)
Added by Christopher Green over 9 years ago

Issue #959 changes to RootInput.

History

#1 Updated by Jarek Nowak over 9 years ago

The correct fcl file
process_name: RawConvert
services: {TFileService: {fileName: "hist_ndos_r00011445_s00.raw" closeFileFast: false }
Timing:{}
RandomNumberGenerator: {}
user: { RandomHandler: { } } }

source: {
module_type: NOvARawInputSource
DAQFile: "/nova/data/novaraw/NDOS/2011-02-09/ndos_r00011445_s00.raw"
FilterCorruptedNanoslices: true
FilterHotChannels: false
HotChannelList: [0]
maxEvents: 1 }

outputs:{
out1: {
module_type: RootOutput
fileName: "ndos_r00011445_s00.raw-development.root"}}

physics:{
stream1:[ out1 ]
end_paths: [stream1]}

#2 Updated by Marc Paterno over 9 years ago

  • Status changed from New to Accepted

Further information (from Brian) states the problem appears with subrun 0.

The current implementation of event, subrun, and run numbers uses the value 0 to represent an invalid number. Because NOvA can not change the fact that the DAQ uses subrun 0 as a valid value, we will change to using unsigned integers of specified number of bits, and to use the maximum value of that integer type as the invalid value.

#3 Updated by Christopher Green over 9 years ago

  • Category set to Metadata

#4 Updated by Christopher Green over 9 years ago

  • Status changed from Accepted to Resolved
  • Assignee set to Christopher Green
  • Target version set to 0.5.0
  • % Done changed from 0 to 100

Resolved.

Note that this will require a minor change to EventDisplay.cxx to track a change to the interface of EventID, and a change to NOvARawInputSource.cxx to back out the temporary changes made to map subRun 00 to subrun 99.

Thanks,
Chris.

#5 Updated by Christopher Green over 9 years ago

  • Status changed from Resolved to Reviewed

#6 Updated by Christopher Green over 9 years ago

  • Status changed from Reviewed to Closed


Also available in: Atom PDF