Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
coreLinkDef.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file coreLinkDef.h
1 #pragma link off all globals;
2 #pragma link off all classes;
3 #pragma link off all functions;
4 
5 #pragma link C++ nestedclass;
6 #pragma link C++ nestedtypedef;
7 
8 #pragma link C++ namespace genfit;
9 
10 // These need no special treatment.
11 #pragma link C++ class genfit::AbsFinitePlane+;
12 #pragma link C++ class genfit::AbsHMatrix+;
13 #pragma link C++ class genfit::RectangularFinitePlane+;
14 #pragma link C++ class genfit::FitStatus+;
15 #pragma link C++ class genfit::Material+;
16 #pragma link C++ class genfit::PruneFlags+;
17 #pragma link C++ class genfit::TrackCand+;
18 #pragma link C++ class genfit::TrackCandHit+;
19 #pragma link C++ class genfit::SharedPlanePtrCreator-;
20 
21 // These inherit from classes with custom streamers, or reference shared_ptrs in their interfaces.
22 #pragma link C++ class genfit::AbsTrackRep+;
23 #pragma link C++ class genfit::MeasuredStateOnPlane+;
24 
25 // These need their owners fixed up after reading.
26 #pragma link C++ class genfit::AbsMeasurement+; // trackPoint_
27 
28 // These cannot be dealt with by default streamers because of
29 // shared_ptrs<> or scoped_ptrs<>. Additionally, they may need their
30 // owners fixed up.
31 #pragma link C++ class genfit::AbsFitterInfo-; // trackPoint_, rep_, sharedPlanePtr
32 #pragma link C++ class genfit::DetPlane-; // scoped_ptr<> finitePlane_
33 #pragma link C++ class genfit::MeasurementOnPlane-; // scoped_ptr<> hMatrix_
34 #pragma link C++ class genfit::StateOnPlane-; // rep_, sharedPlanePtr
35 #pragma link C++ class genfit::ThinScatterer-; // sharedPlanePtr
36 #pragma link C++ class genfit::Track-;
37 #pragma link C++ class genfit::TrackPoint-; // track_, fixup the map
38 #pragma link C++ class vector<genfit::TrackPoint*>-;
39 
40 // Schema Evolution rules. The official documentation appears to be
41 // 2010 J. Phys.: Conf. Ser. 219 032004
42 // http://iopscience.iop.org/1742-6596/219/3/032004
43 //
44 // Old versions couldn't actually prune the track, so we ignore the old incarnation
45 #pragma read sourceClass="genfit::FitStatus" version="[1]" \
46  targetClass="genfit::FitStatus" \
47  source="bool trackIsPruned_;" target="pruneFlags_" \
48  code="{ pruneFlags_.setFlags(); }"
49 // Prune flag wasn't actually written as no streamer was available.
50 #pragma read sourceClass="genfit::FitStatus" version="[2]" \
51  targetClass="genfit::FitStatus" \
52  source="" target="pruneFlags_" \
53  code="{ pruneFlags_.setFlags(); }"
54 
55 // Time for the TrackCand was only introduced in version 2. Default to zero.
56 #pragma read sourceClass="genfit::TrackCand" version="[1]" \
57  targetClass="genfit::TrackCand" \
58  source="" target="time_" \
59  code="{ time_ = 0; }"