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
DBCALIncidentParticle.h
Go to the documentation of this file.
1
// $Id: DBCALIncidentParticle.h 9441 2012-08-06 21:56:11Z davidl $
2
//
3
// File: DBCALIncidentParticle.h
4
// Created: Thu Jun 9 10:14:35 EDT 2005
5
// Creator: davidl (on Darwin wire129.jlab.org 7.8.0 powerpc)
6
//
7
8
#ifndef _DBCALIncidentParticle_
9
#define _DBCALIncidentParticle_
10
11
#include "
BCAL/DBCALGeometry.h
"
12
13
#include <JANA/JObject.h>
14
#include <JANA/JFactory.h>
15
using namespace
jana;
16
17
class
DBCALIncidentParticle
:
public
JObject{
18
19
/// This class holds data originating from the fADC250
20
/// modules connected to the BCAL
21
22
public
:
23
JOBJECT_PUBLIC(
DBCALIncidentParticle
);
24
25
int
ptype
;
26
float
px
;
27
float
py
;
28
float
pz
;
29
float
x
;
30
float
y
;
31
float
z
;
32
33
void
toStrings
(vector<pair<string,string> > &items)
const
{
34
AddString(items,
"ptype"
,
"%d"
, ptype);
35
AddString(items,
"px[GeV]"
,
"%7.5f"
, px);
36
AddString(items,
"py[GeV]"
,
"%7.5f"
,
py
);
37
AddString(items,
"pz[GeV]"
,
"%7.5f"
, pz);
38
AddString(items,
"x[GeV]"
,
"%7.5f"
,
x
);
39
AddString(items,
"y[GeV]"
,
"%7.5f"
,
y
);
40
AddString(items,
"z[GeV]"
,
"%7.5f"
, z);
41
}
42
};
43
44
#endif // _DBCALIncidentParticle_
45
DBCALIncidentParticle::x
float x
Definition:
DBCALIncidentParticle.h:29
DBCALIncidentParticle::pz
float pz
Definition:
DBCALIncidentParticle.h:28
DBCALIncidentParticle::ptype
int ptype
Definition:
DBCALIncidentParticle.h:25
DBCALIncidentParticle
Definition:
DBCALIncidentParticle.h:17
DBCALIncidentParticle::px
float px
Definition:
DBCALIncidentParticle.h:26
DBCALIncidentParticle::py
float py
Definition:
DBCALIncidentParticle.h:27
x
Double_t x[NCHANNELS]
Definition:
st_tw_resols.C:39
y
#define y
DBCALIncidentParticle::z
float z
Definition:
DBCALIncidentParticle.h:31
DBCALIncidentParticle::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DBCALIncidentParticle.h:33
DBCALGeometry.h
py
TH1D * py[NCHANNELS]
Definition:
ST_Propagation_Time/macros/Resolution.C:72
DBCALIncidentParticle::y
float y
Definition:
DBCALIncidentParticle.h:30
libraries
BCAL
DBCALIncidentParticle.h
Generated on Fri Jul 26 2019 14:00:23 for Hall-D Software by
1.8.5