Project

General

Profile

Bug #1603

Missing pragma in EMR data structure (LinkDef)

Added by Rogers, Chris over 8 years ago. Updated about 8 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?

Also available in: Atom PDF