Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DChargedTrack_factory_Combo.h
Go to the documentation of this file.
1 #ifndef _DChargedTrack_factory_Combo_
2 #define _DChargedTrack_factory_Combo_
3 
4 #include <string>
5 #include <vector>
6 #include <unordered_map>
7 
8 #include <JANA/JFactory.h>
10 #include "PID/DEventRFBunch.h"
11 #include "PID/DDetectorMatches.h"
12 #include <PID/DChargedTrack.h>
15 
16 using namespace std;
17 using namespace jana;
18 
19 class DChargedTrack_factory_Combo : public jana::JFactory<DChargedTrack>
20 {
21  public:
24  const char* Tag(void){return "Combo";}
25 
26  private:
27  jerror_t init(void); ///< Called once at program start.
28  jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
29  jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber); ///< Called every event.
30 
33  vector<DChargedTrackHypothesis*> dCreatedHypotheses;
34 };
35 
36 #endif // _DChargedTrack_factory_Combo_
37 
vector< DChargedTrackHypothesis * > dCreatedHypotheses
DChargedTrackHypothesis_factory * dChargedTrackHypothesisFactory