Project

General

Profile

Support #1384

Reconstructing data from recent collection fails with CppError.

Added by Gardener, Rhys about 9 years ago. Updated about 9 years ago.

Status:
Open
Priority:
Normal
Category:
RealData
Target version:
-
Start date:
03 December 2013
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

Hello,

I've been attempting to process some of the data from the running in October with all PiD using version 0.7.3 and recently 0.7.3 using the ./analyse_data_offline script. However I am repeatedly seeing the following error (every 3 events)

Traceback (most recent call last):
File "/home/rhys/Software/MAUS/maus_0.7.5/src/common_py/ErrorHandler.py", line 162, in HandleCppException
raise CppError(error_message)
ErrorHandler.CppError: In branch daq_data
In branch unknown
Failed to recognise all json properties V1731 at ObjectProcessor<ObjectType>::JsonToCpp

Once the program has finished, the output file contains zero reconstructed events (checked from GetReconEventSize() ). From what I can tell, there is no reconstructed data for any of the detectors. Currently I'm not sure whether this is an issue with how I'm running MAUS or otherwise, so any help fixing this would be appreciated!


Files

05681.001 (36.7 MB) 05681.001 Gardener, Rhys, 09 December 2013 17:27
05681Output.root (47.6 KB) 05681Output.root Gardener, Rhys, 09 December 2013 17:27
DAQChannelMap_1.txt (10.2 KB) DAQChannelMap_1.txt Karadzhov, Yordan, 08 January 2014 15:10

Related issues

Related to MAUS - Bug #1351: Data structure issue in V1724ClosedRogers, Chris04 October 2013

Actions
#1

Updated by Gardener, Rhys about 9 years ago

  • Assignee deleted (Karadzhov, Yordan)
#2

Updated by Rogers, Chris about 9 years ago

Can you give me a sample data card set and run number?

What MAUS version are you running? 0.7.5 or 0.7.3? (Your traceback says 0.7.5).

Durga, this looks like the problem we were having with the equipment list. Some V1731s were getting set with equipment type "unknown" and this was screwing the data structure.

So I think related to/duplicate of #1351

Should be by Yordan's revision to InputCppDAQData data structure; which is blocked by Ian's revision to the python API - 2 weeks away.

I can make a quick hacky fix to get something working for you.

#3

Updated by Rogers, Chris about 9 years ago

  • Assignee set to Gardener, Rhys

Awaiting input from Rhys...

#4

Updated by Gardener, Rhys about 9 years ago

Sorry Chris, I didn't notice you had replied so quicky.

I had been using 0.7.3, but tested again using 0.7.5 last week with the same result. I've been mainly testing using run 05681, a 400MeV Pi run using all PiD. I'll attach a couple data cards and the output I've been getting. Thanks!

#5

Updated by Rogers, Chris about 9 years ago

  • Assignee changed from Gardener, Rhys to Rogers, Chris
#6

Updated by Rogers, Chris about 9 years ago

Rhys, could you please attach data cards?

Cheers,
Chris

#7

Updated by Rogers, Chris about 9 years ago

  • Assignee changed from Rogers, Chris to Karadzhov, Yordan

When I run (against 0.7.5)

~/MAUS/maus_release/bin/analyze_data_offline.py --daq_data_file 05681 --daq_data_path ./ --verbose_level 0

I get output like

...
TRANSFORM/MERGE/OUTPUT:  Processed 35 events so far, 1 events in buffer.
Stack trace:
Traceback (most recent call last):
  File "/home/cr67/MAUS/maus_release/src/common_py/ErrorHandler.py", line 162, in HandleCppException
    raise CppError(error_message)
ErrorHandler.CppError: In branch daq_data
In branch unknown
Failed to recognise all json properties V1731  at ObjectProcessor<ObjectType>::JsonToCpp
TRANSFORM/MERGE/OUTPUT:  Processed 36 events so far, 1 events in buffer.
TRANSFORM/MERGE/OUTPUT:  Processed 37 events so far, 1 events in buffer.
TRANSFORM/MERGE/OUTPUT:  Processed 38 events so far, 1 events in buffer.
Stack trace:
Traceback (most recent call last):
  File "/home/cr67/MAUS/maus_release/src/common_py/ErrorHandler.py", line 162, in HandleCppException
    raise CppError(error_message)
ErrorHandler.CppError: In branch daq_data
In branch unknown
Failed to recognise all json properties V1731  at ObjectProcessor<ObjectType>::JsonToCpp
TRANSFORM/MERGE/OUTPUT:  Processed 39 events so far, 1 events in buffer.
...

as per original bug report. Probably need to bump to Yordan...

#8

Updated by Karadzhov, Yordan about 9 years ago

Try to run:

analyze_data_offline.py --daq_data_file 05681 --daq_data_path ./ --DAQ_cabling_file DAQChannelMap_1.txt

using the attached file

#9

Updated by Gardener, Rhys about 9 years ago

Using that file, the output during running was normal (I.e. no errors, only "TRANSFORM/MERGE/OUTPUT: Processed xx events so far, 1 events in buffer." messages.

At initial glance looks like most of the data is now accessible apart from the EMR data. Should this be the case?

Also available in: Atom PDF