Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DTrackCandidate_factory_THROWN.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DTrackCandidate_factory_THROWN.h
4 // Created: Tue Dec 12 12:42:56 EST 2006
5 // Creator: davidl (on Darwin swire-b241.jlab.org 8.8.0 powerpc)
6 //
7 
8 #ifndef _DTrackCandidate_factory_THROWN_
9 #define _DTrackCandidate_factory_THROWN_
10 
11 #include <JANA/JFactory.h>
13 #include "DTrackCandidate.h"
14 #include "PID/DParticleID.h"
15 
16 class DParticleID;
17 class DTrackFitter;
18 class DTrackHitSelector;
19 
20 /// \htmlonly
21 /// <A href="index.html#legend">
22 /// <IMG src="ND.png" width="100">
23 /// </A>
24 /// \endhtmlonly
25 
26 /// Generate DTrackCandiate objects based on the generated particles.
27 /// This uses "truth" information (information that won't be available
28 /// in read data) to make a list of more or less perfect track candidates.
29 /// Because tracks can multiple scatter or even hadronically scatter in
30 /// the target, the generated value may not always be correct. However,
31 /// on average, it is going to be very accurate.
32 ///
33 /// This is used for debugging purposes in the tracking code and is not
34 /// normally used otherwise.
35 
36 class DTrackCandidate_factory_THROWN:public jana::JFactory<DTrackCandidate>{
37  public:
40  const char* Tag(void){return "THROWN";}
41 
42  private:
43 
44 
45  //jerror_t init(void); ///< Called once at program start.
46  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
47  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
48  //jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
49  //jerror_t fini(void); ///< Called after last event of last event source has been processed.
50 
53  vector<DReferenceTrajectory*> rt_pool;
56 
57 };
58 
59 
60 #endif // _DTrackCandidate_factory_THROWN_
61 
The DTrackFitter class is a base class for different charged track fitting algorithms. It does not actually fit the track itself, but provides the interface and some common support features most algorthims will need to implement.
Definition: DTrackFitter.h:61
The DTrackHitSelector class is a base class for algorithms that will select hits from the drift chamb...
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
&lt;A href=&quot;index.html#legend&quot;&gt; &lt;IMG src=&quot;ND.png&quot; width=&quot;100&quot;&gt; &lt;/A&gt;
vector< DReferenceTrajectory * > rt_pool