Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DTrackTimeBased_factory_StraightLine.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DTrackTimeBased_factory_StraightLine.h
4 // Created: Wed Mar 13 10:00:17 EDT 2019
5 // Creator: staylor (on Linux ifarm1402.jlab.org 3.10.0-327.el7.x86_64 x86_64)
6 //
7 
8 #ifndef _DTrackTimeBased_factory_StraightLine_
9 #define _DTrackTimeBased_factory_StraightLine_
10 
11 #include <JANA/JFactory.h>
12 #include "DTrackTimeBased.h"
13 #include <TRACKING/DTrackFitter.h>
15 #include <PID/DParticleID.h>
16 
17 class DTrackTimeBased_factory_StraightLine:public jana::JFactory<DTrackTimeBased>{
18  public:
21  const char* Tag(void){return "StraightLine";}
22 
23  private:
24  jerror_t init(void); ///< Called once at program start.
25  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
26  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
27  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
28  jerror_t fini(void); ///< Called after last event of last event source has been processed.
29 
31  vector<const DSCHit*>&sc_hits,
32  vector<const DTOFPoint*>&tof_points,
33  vector<const DBCALShower*>&bcal_showers,
34  vector<const DFCALShower*>&fcal_showers,
35  double &t0,DetectorSystem_t &t0_detector) const;
36 
38 
39  // outer detector geom info
41 
42  // start counter geom info
43  vector<vector<DVector3> >sc_dir; // direction vector in plane of plastic
44  vector<vector<DVector3> >sc_pos;
45  vector<vector<DVector3> >sc_norm;
47 
51 
52 };
53 
54 #endif // _DTrackTimeBased_factory_StraightLine_
55 
Definition: track.h:16
jerror_t init(void)
Called once at program start.
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
DetectorSystem_t
Definition: GlueX.h:15
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.
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
void GetStartTime(const DTrackWireBased *track, vector< const DSCHit * > &sc_hits, vector< const DTOFPoint * > &tof_points, vector< const DBCALShower * > &bcal_showers, vector< const DFCALShower * > &fcal_showers, double &t0, DetectorSystem_t &t0_detector) const