Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DTrackWireBased_factory_StraightLine.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DTrackWireBased_factory_StraightLine.h
4 // Created: Wed Mar 13 10:00:25 EDT 2019
5 // Creator: staylor (on Linux ifarm1402.jlab.org 3.10.0-327.el7.x86_64 x86_64)
6 //
7 
8 #ifndef _DTrackWireBased_factory_StraightLine_
9 #define _DTrackWireBased_factory_StraightLine_
10 
11 #include <JANA/JFactory.h>
12 #include "DTrackWireBased.h"
13 #include <TRACKING/DTrackFitter.h>
14 #include <TRACKING/DTrackFinder.h>
16 #include <PID/DParticleID.h>
17 
18 class DTrackWireBased_factory_StraightLine:public jana::JFactory<DTrackWireBased>{
19  public:
22  const char* Tag(void){return "StraightLine";}
23 
24  private:
25  jerror_t init(void); ///< Called once at program start.
26  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
27  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
28  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
29  jerror_t fini(void); ///< Called after last event of last event source has been processed.
30 
32 
36 
37 };
38 
39 #endif // _DTrackWireBased_factory_StraightLine_
40 
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
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
jerror_t init(void)
Called once at program start.
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
jerror_t fini(void)
Called after last event of last event source has been processed.