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
DCCALHit.h
Go to the documentation of this file.
1
/*
2
* File: DCCALHit.h
3
*
4
* Created on 11/25/18 by A.S.
5
*/
6
7
8
#ifndef _DCCALHit_
9
#define _DCCALHit_
10
11
#include <JANA/jerror.h>
12
#include <JANA/JFactory.h>
13
using namespace
jana;
14
15
class
DCCALHit
:
public
jana::JObject{
16
public
:
17
18
JOBJECT_PUBLIC(
DCCALHit
);
19
20
DCCALHit
(){}
21
22
int
row
;
23
int
column
;
24
float
x
;
25
float
y
;
26
float
E
;
27
float
t
;
28
float
intOverPeak
;
29
30
31
void
toStrings
(vector<pair<string,string> > &items)
const
{
32
AddString(items,
"row"
,
"%4d"
, row);
33
AddString(items,
"column"
,
"%4d"
,
column
);
34
AddString(items,
"x(cm)"
,
"%3.1f"
,
x
);
35
AddString(items,
"y(cm)"
,
"%3.1f"
,
y
);
36
AddString(items,
"E(MeV)"
,
"%2.3f"
, E);
37
AddString(items,
"t(ns)"
,
"%2.3f"
, t);
38
AddString(items,
"integral over peak"
,
"%2.3f"
, intOverPeak);
39
}
40
};
41
42
#endif // _DCCALHit_
43
DCCALHit::t
float t
Definition:
DCCALHit.h:27
DCCALHit::x
float x
Definition:
DCCALHit.h:24
DCCALHit::row
int row
Definition:
DCCALHit.h:22
DCCALHit::column
int column
Definition:
DCCALHit.h:23
x
Double_t x[NCHANNELS]
Definition:
st_tw_resols.C:39
y
#define y
DCCALHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DCCALHit.h:31
DCCALHit::DCCALHit
DCCALHit()
Definition:
DCCALHit.h:20
column
int column
Definition:
JEventProcessor_PS_E_calib.cc:42
DCCALHit::E
float E
Definition:
DCCALHit.h:26
DCCALHit::y
float y
Definition:
DCCALHit.h:25
DCCALHit::intOverPeak
float intOverPeak
Definition:
DCCALHit.h:28
DCCALHit
Definition:
DCCALHit.h:15
libraries
CCAL
DCCALHit.h
Generated on Fri Jul 26 2019 14:00:25 for Hall-D Software by
1.8.5