Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DTrackCandidate_factory_CDC_or_FDCpseudo.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DTrackCandidate_factory_CDC_or_FDCpseudo.h
4 // Created: Thu Apr 16 09:14:49 EDT 2009
5 // Creator: davidl (on Darwin harriet.jlab.org 9.6.0 i386)
6 //
7 
8 #ifndef _DTrackCandidate_factory_CDC_or_FDCpseudo_
9 #define _DTrackCandidate_factory_CDC_or_FDCpseudo_
10 
11 #include <JANA/JFactory.h>
12 #include "DTrackCandidate.h"
13 
14 /// \htmlonly
15 /// <A href="index.html#legend">
16 /// <IMG src="ND.png" width="100">
17 /// </A>
18 /// \endhtmlonly
19 
20 /// This class is not used as part of the baseline reconstruction. It is
21 /// mainly for debugging purposes.
22 ///
23 /// This will essentially make a single list of DTrackCandidate objects by
24 /// merging the CDC and FDCPseudo candidates. There is a weak attempt to filter
25 /// clones of candidates found in both lists, but no merging is done, one of
26 /// the clones is simply dropped.
27 ///
28 /// Note that this merges candidates from the DTrackCandidate_factory_FDCpseudo
29 /// class which is also not the default FDC track finder (see DTrackCandidate_factory_FDCCathodes
30 /// for that).
31 
32 class DTrackCandidate_factory_CDC_or_FDCpseudo:public jana::JFactory<DTrackCandidate>{
33  public:
36  const char* Tag(void){return "CDC_or_FDCpseudo";}
37 
38  private:
39  jerror_t init(void); ///< Called once at program start.
40  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
41  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
42  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
43  jerror_t fini(void); ///< Called after last event of last event source has been processed.
44 
46 };
47 
48 #endif // _DTrackCandidate_factory_CDC_or_FDCpseudo_
49 
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
&lt;A href=&quot;index.html#legend&quot;&gt; &lt;IMG src=&quot;ND.png&quot; width=&quot;100&quot;&gt; &lt;/A&gt;
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
jerror_t fini(void)
Called after last event of last event source has been processed.