Hall-D Software
alpha
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
rho_p_hists/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 "
rho_t.h
"
17
18
class
Event
:
public
TObject{
19
20
public
:
21
22
Event
(){
rho
=
new
TClonesArray(
"rho_t"
,100);}
23
~Event
(){
delete
rho
;}
24
25
UInt_t
event
;
// event number
26
TLorentzVector
proton_thrown
;
// Thrown proton parameters
27
TLorentzVector
beam
;
// Thrown beam photon parameters
28
TVector3
vertex
;
// Thrown vertex position
29
rho_t
rho_thrown
;
// Thrown pip, pim, inv. mass etc.
30
UInt_t
Nrho
;
// Number of elements in rho
31
TClonesArray *
rho
;
//-> Array of all combos of p+/pi- sorted by inv. mass closest to 770MeV/c^2
32
33
void
Clear
(
void
);
34
void
AddRho
(TLorentzVector &
pip
, TLorentzVector &
pim
);
35
bool
IsFiducial
(TLorentzVector &pion);
36
37
private
:
38
ClassDef
(
Event
,1);
39
40
};
41
42
#endif // _Event_
43
Event
Definition:
eta_ntuple/Event.h:20
Event::rho
TClonesArray * rho
Definition:
rho_p_hists/Event.h:31
Event::Event
Event()
Definition:
rho_p_hists/Event.h:22
Event::pip
TClonesArray * pip
Definition:
mc_tree/Event.h:49
rho_t
Definition:
rho_t.h:19
Event::Clear
void Clear(void)
Definition:
eta_ntuple/Event.cc:32
Event::IsFiducial
bool IsFiducial(TLorentzVector &pion)
Definition:
rho_p_hists/Event.cc:46
Event::AddRho
void AddRho(TLorentzVector &pip, TLorentzVector &pim)
Definition:
rho_p_hists/Event.cc:32
rho_t.h
Event::ClassDef
ClassDef(Event, 1)
Event::pim
TClonesArray * pim
Definition:
mc_tree/Event.h:50
Event::event
UInt_t event
Definition:
eta_ntuple/Event.h:27
Event::Nrho
UInt_t Nrho
Definition:
rho_p_hists/Event.h:30
Event::~Event
~Event()
Definition:
rho_p_hists/Event.h:23
Event::beam
TLorentzVector beam
Definition:
eta_ntuple/Event.h:28
Event::proton_thrown
TLorentzVector proton_thrown
Definition:
eta_ntuple/Event.h:29
Event::vertex
TVector3 vertex
Definition:
eta_ntuple/Event.h:31
Event::rho_thrown
rho_t rho_thrown
Definition:
rho_p_hists/Event.h:29
plugins
Analysis
rho_p_hists
Event.h
Generated on Fri Jul 26 2019 14:01:44 for Hall-D Software by
1.8.5