Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DNeutralParticle_factory_Combo.h
Go to the documentation of this file.
1 #ifndef _DNeutralParticle_factory_Combo_
2 #define _DNeutralParticle_factory_Combo_
3 
4 #include <string>
5 #include <vector>
6 #include <set>
7 
8 #include <JANA/JFactory.h>
9 #include "PID/DEventRFBunch.h"
10 #include <PID/DNeutralParticle.h>
11 #include "PID/DVertex.h"
13 #include <PID/DNeutralShower.h>
15 #include "ANALYSIS/DReaction.h"
16 
17 using namespace std;
18 using namespace jana;
19 
20 class DNeutralParticle_factory_Combo : public jana::JFactory<DNeutralParticle>
21 {
22  public:
25  const char* Tag(void){return "Combo";}
26 
27  private:
28  jerror_t init(void); ///< Called once at program start.
29  jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
30  jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber); ///< Called every event.
31 
33  set<Particle_t> dNeutralPIDs;
34  vector<DNeutralParticleHypothesis*> dCreatedHypotheses;
36 };
37 
38 #endif // _DNeutralParticle_factory_Combo_
vector< DNeutralParticleHypothesis * > dCreatedHypotheses
DNeutralParticleHypothesis_factory * dNeutralParticleHypothesisFactory