Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
eta_ntuple/Event.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: Event.h
4 // Created: Tue Oct 13 09:55:12 EDT 2009
5 // Creator: davidl (on Darwin harriet.jlab.org 9.8.0 i386)
6 //
7 
8 #ifndef _Event_
9 #define _Event_
10 
11 #include <TObject.h>
12 #include <TVector3.h>
13 #include <TClonesArray.h>
14 #include <TLorentzVector.h>
15 
16 #include "fcal_t.h"
17 #include "sc_t.h"
18 #include "bcal_t.h"
19 
20 class Event:public TObject{
21 
22  public:
23 
24  Event();
25  ~Event(){delete fcal;}
26 
27  UInt_t event; // event number
28  TLorentzVector beam; // Thrown beam photon parameters
29  TLorentzVector proton_thrown; // Thrown proton parameters
30  TLorentzVector eta_thrown; // Thrown eta parameters
31  TVector3 vertex; // Thrown vertex position
32  int prod_mech; // Production mechanism (Primakoff, Nucl. Coherent, ...)
33  int decay_mode; // Decay mode of eta (gg or 3pi0)
34  UInt_t Nfcal; // Number of elements in fcal
35  TClonesArray *fcal; //-> Array of all photons reconstructed in FCAL
36  TLorentzVector eta_best;
37  float t;
38  UInt_t Nstart; // Number of elements in sc
39  TClonesArray *sc; //-> Array of all hits reconstructed in Start Counter
40  float E_bcal_tot; // Total energy deposited in BCAL
41  UInt_t Nbcal; // Number of elements in bcal
42  TClonesArray *bcal; //-> Array of all photons reconstructed in BCAL
43 
44  void Clear(void);
45  void AddFCAL(TLorentzVector &p, TVector3 &x);
46  void AddBCAL(TLorentzVector &p);
47  void AddSC(int sector);
48 
49  private:
50  ClassDef(Event,1);
51 
52 };
53 
54 #endif // _Event_
55 
int decay_mode
TClonesArray * fcal
UInt_t Nstart
Double_t x[NCHANNELS]
Definition: st_tw_resols.C:39
float E_bcal_tot
void Clear(void)
void AddSC(int sector)
TLorentzVector eta_thrown
ClassDef(Event, 1)
UInt_t Nbcal
TLorentzVector eta_best
UInt_t Nfcal
TClonesArray * sc
void AddBCAL(TLorentzVector &p)
void AddFCAL(TLorentzVector &p, TVector3 &x)
int prod_mech
UInt_t event
TLorentzVector beam
TClonesArray * bcal
TLorentzVector proton_thrown
TVector3 vertex