Project

General

Profile

Bug #1048

Problem getting EMR data structure working

Added by Rogers, Chris almost 12 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Haegel, Leila
Category:
common_cpp
Target version:
Start date:
16 July 2012
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

By email from Leila Haegel:

I am going on implementing the EMR in MAUS and I have some problem with
the
EMRSD. When it is coded to save into CPP files, MAUS works fine and ROOT
files display data for all the detectors but the EMR (as expected as there
is no conversion from CPP to ROOT).

The strange thing is that when I code the EMRSD in order to save into JSON
files, not only the ROOT file produced doesn't display any histogram for
the EMR, but neither for the Tracker (SciFiSD) which I used as an example.
I got the following error :

Traceback (most recent call last):
File "/home/common/opt/maus/src/**common_py/ErrorHandler.py", line
159, in
HandleCppException
raise(CppError(error_message))
ErrorHandler.CppError: St9exception

at the moment when I add the line :

_hits["emr_hits"].append(Json:**:Value());

The EMR is present in MAUSDataStructure, HitProcessor, MCEventProcessor
and
there are files for EMRChannelIdProcessor, EMREventProcessor and
EMRSpillDataProcessor in the JsonCppProcessor folder.
I guess there is an argument related to the generation of Json files which
is missing somewhere, but I don't know where. Any idea ?

The file I was writting you about is :
src/common_cpp/DetModel/EMR/EMRSD.cc
The line :
_hits["emr_hits"].append(Json::Value());
causes the error.


Files

scons.log (637 KB) scons.log Rogers, Chris, 16 July 2012 12:17

Also available in: Atom PDF