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