Project

General

Profile

Bug #1603

Missing pragma in EMR data structure (LinkDef)

Added by Rogers, Chris over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
EMR
Target version:
Start date:
06 January 2015
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

The following vector definitions were missing from the EMR data structure (in MAUS release 0.9.2). This can create some problems when trying to read ROOT data files.

=== modified file 'src/common_cpp/DataStructure/LinkDef.hh'
--- src/common_cpp/DataStructure/LinkDef.hh    2014-05-13 14:00:39 +0000
+++ src/common_cpp/DataStructure/LinkDef.hh    2015-01-06 13:59:00 +0000
@@ -192,7 +192,8 @@
 #pragma link C++ class MAUS::EMRBarHit+;
 #pragma link C++ class MAUS::EMRPlaneHit+;
 #pragma link C++ class std::vector<EMRPlaneHit*>+;
-// #pragma link C++ class std::vector<EMRBarHit>+;
+#pragma link C++ class std::vector<EMRBar*>;
+#pragma link C++ class std::vector<EMRBarHit>+;

 #pragma link C++ global gROOT;
 #pragma link C++ global gEnv;

Would you like me to add them?

#1

Updated by Rogers, Chris over 6 years ago

  • Assignee changed from Drielsma, Fran├žois to Rogers, Chris

By email from Francois:

Sure thing Chris, if you don't mind, thank you for pointing it out !
#2

Updated by Rogers, Chris over 6 years ago

Ah, I forgot to make the patch. Submitted patch to the trunk just now... (I guess it goes in 0.9.4)

#3

Updated by Rogers, Chris over 6 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF