Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_BCAL_inv_mass.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DEventProcessor_BCAL_Shower.h
4 // Created: Fri Oct 10 16:41:18 EDT 2014
5 // Creator: wmcginle (on Linux ifarm1101 2.6.32-220.7.1.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _DEventProcessor_BCAL_Shower_
9 #define _DEventProcessor_BCAL_Shower_
10 
11 #include <JANA/JEventProcessor.h>
12 #include <JANA/JApplication.h>
13 
15 #include <HDDM/DEventWriterREST.h>
18 #include "TRACKING/DTrackFitter.h"
19 
20 #include "DLorentzVector.h"
21 #include "TMatrixD.h"
22 
23 
24 using namespace jana;
25 using namespace std;
26 
27 class JEventProcessor_BCAL_inv_mass : public jana::JEventProcessor
28 {
29  public:
32  const char* className(void){return "JEventProcessor_inv_mass";}
33  DVector3 Calc_CrudeVertex(const deque<const DKinematicData*>& locParticles) const;
34 
35 
36  private:
38  jerror_t init(void); ///< Called once at program start.
39  jerror_t brun(jana::JEventLoop* locEventLoop, int locRunNumber); ///< Called every time a new run number is detected.
40  jerror_t evnt(jana::JEventLoop* locEventLoop, uint64_t locEventNumber); ///< Called every event.
41  jerror_t erun(void); ///< Called every time run number changes, provided brun has been called.
42  jerror_t fini(void); ///< Called after last event of last event source has been processed
43 
44 };
45 
46 #endif // _DEventProcessor_BCAL_Shower_
47 
TVector3 DVector3
Definition: DVector3.h:14
const DAnalysisUtilities * dAnalysisUtilities