close
Warning:
Can't synchronize with repository "(default)" (/hepforge/svn/rave does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Aug 7, 2009, 2:34:45 AM (15 years ago)
- Author:
-
anonymous
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v8
|
v9
|
|
| 1 | |
1 | 2 | = The !MarlinRave plugin = |
2 | 3 | |
… |
… |
|
75 | 76 | rave::KinematicTree build( |
76 | 77 | const rave::KinematicTreeFactory & factory, |
77 | | const std::vector< rave::KinematicParticle > & particles, |
78 | | const int verbose = 0) const |
79 | | { |
80 | | return factory.useVertexFitter( particles ); |
81 | | }; |
82 | | |
83 | | bool valid() const { return true; }; |
84 | | }; |
85 | | |
86 | | #include "TopologyBuilder.h" |
87 | | namespace { |
88 | | TopologyBuilder<TopologySingleVertex> t( "SingleVertex", "Only vertex" ); |
89 | | } |
90 | | }}} |
91 | | |
92 | | The three methods implemented here are the minimum interface for a usable topology. The `describe` method should return a string explaining the decay hypothesis implemented by this topology and maybe commenting on the possible parameters accepted by the topology. The `valid` method provides simple means to check on the given parameters. I will explain later how to use parameters. |
93 | | |
94 | | The central method of the topology is the `build` method. It is supplied with an instance of a `rave::KinematicTreeFactory` providing full access to the Rave kinematic fitting algorithms and with the input particles read from the Marlin reconstruction chain. It has to return a `rave::KinematicTree` holding the reconstructed decay tree as it may have looked like if the decay hypothesis assumed by the topology were true. In the case of the !SingleVertex topology the tree can be constructed and returned by one simple call. The `build` method of course will be significantly longer in more complex situations. |
95 | | |
96 | | The WW4Jet topology is an example of a situation with a certain level of difficulty. |
97 | | |
98 | | == Installation == |
99 | | |
100 | | Please use the latest release of MarlinRave for your setup. At the time of this writing the current release (0.1.1) can be downloaded from [http://stop.itp.tuwien.ac.at/websvn/dl.php?repname=marlinrave&path=%2Ftags%2Frelease-0.1.1%2F&rev=0&isdir=1 WebSVN]. |
101 | | |
102 | | To compile MarlinRave, please follow the build instruction in the README file. |
103 | | |
104 | | |
105 | | == Documents == |
106 | | |
107 | | [http://users.hepforge.org/~fmos/ECFA2008-MarlinRave.pdf Talk at ECFA 2008 Warsaw, Poland] |
| 78 | const std::vector< rave::KinematicParticle > |