Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
649eab60
Commit
649eab60
authored
2 years ago
by
Markus Frank
Committed by
MarkusFrankATcernch
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Problems with ROOT persistency
parent
7fee829e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DDG4/include/DDG4/DDG4Dict.h
+1
-1
1 addition, 1 deletion
DDG4/include/DDG4/DDG4Dict.h
DDG4/include/DDG4/Geant4Particle.h
+2
-2
2 additions, 2 deletions
DDG4/include/DDG4/Geant4Particle.h
with
3 additions
and
3 deletions
DDG4/include/DDG4/DDG4Dict.h
+
1
−
1
View file @
649eab60
...
@@ -64,10 +64,10 @@ namespace { class DDG4Dict {}; }
...
@@ -64,10 +64,10 @@ namespace { class DDG4Dict {}; }
/// Dictionaires for Geant4 particles
/// Dictionaires for Geant4 particles
#pragma link C++ class dd4hep::sim::ParticleExtension+;
#pragma link C++ class dd4hep::sim::ParticleExtension+;
#pragma link C++ class std::unique_ptr<dd4hep::sim::ParticleExtension>+;
/// Auto-pointers related. ROOT cannot handle I/O!
/// Auto-pointers related. ROOT cannot handle I/O!
#pragma link C++ class dd4hep::dd4hep_ptr<dd4hep::sim::DataExtension>;
#pragma link C++ class dd4hep::dd4hep_ptr<dd4hep::sim::DataExtension>;
#pragma link C++ class dd4hep::dd4hep_ptr<dd4hep::sim::ParticleExtension>;
#pragma link C++ class dd4hep::sim::Geant4Particle+;
#pragma link C++ class dd4hep::sim::Geant4Particle+;
#pragma link C++ class std::vector<dd4hep::sim::Geant4Particle*>+;
#pragma link C++ class std::vector<dd4hep::sim::Geant4Particle*>+;
...
...
This diff is collapsed.
Click to expand it.
DDG4/include/DDG4/Geant4Particle.h
+
2
−
2
View file @
649eab60
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
#define DDG4_GEANT4PARTICLE_H
#define DDG4_GEANT4PARTICLE_H
// Framework include files
// Framework include files
#include
"DD4hep/Memory.h"
// ROOT includes
// ROOT includes
#include
"Math/Vector4D.h"
#include
"Math/Vector4D.h"
...
@@ -28,6 +27,7 @@ class G4VProcess;
...
@@ -28,6 +27,7 @@ class G4VProcess;
#include
<set>
#include
<set>
#include
<map>
#include
<map>
#include
<vector>
#include
<vector>
#include
<memory>
/// Namespace for the AIDA detector description toolkit
/// Namespace for the AIDA detector description toolkit
namespace
dd4hep
{
namespace
dd4hep
{
...
@@ -140,7 +140,7 @@ namespace dd4hep {
...
@@ -140,7 +140,7 @@ namespace dd4hep {
Particles
daughters
;
Particles
daughters
;
/// User data extension if required
/// User data extension if required
dd4hep
_ptr
<
ParticleExtension
>
extension
{
};
std
::
unique
_ptr
<
ParticleExtension
>
extension
{
};
/// Reference to the G4VProcess, which created this track
/// Reference to the G4VProcess, which created this track
const
G4VProcess
*
process
=
0
;
//! not persistent
const
G4VProcess
*
process
=
0
;
//! not persistent
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment