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
DFCALHit.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DFCALHit.h
4
// Created: Thu Jun 9 10:29:52 EDT 2005
5
// Creator: davidl (on Darwin wire129.jlab.org 7.8.0 powerpc)
6
//
7
8
#ifndef _DFCALHit_
9
#define _DFCALHit_
10
11
#include <JANA/JObject.h>
12
#include <JANA/JFactory.h>
13
using namespace
jana;
14
15
class
DFCALHit
:
public
JObject{
16
17
public
:
18
19
JOBJECT_PUBLIC(
DFCALHit
);
20
21
DFCALHit
(){}
22
23
int
row
;
24
int
column
;
25
float
x
;
26
float
y
;
27
float
E
;
28
float
t
;
29
float
intOverPeak
;
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*1000.0);
37
AddString(items,
"t(ns)"
,
"%2.3f"
, t);
38
AddString(items,
"integral over peak"
,
"%2.3f"
, intOverPeak);
39
}
40
};
41
42
#endif // _DFCALHit_
43
x
Double_t x[NCHANNELS]
Definition:
st_tw_resols.C:39
y
#define y
column
int column
Definition:
JEventProcessor_PS_E_calib.cc:42
DFCALHit::row
int row
Definition:
DFCALHit.h:23
DFCALHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DFCALHit.h:31
DFCALHit::y
float y
Definition:
DFCALHit.h:26
DFCALHit::x
float x
Definition:
DFCALHit.h:25
DFCALHit::E
float E
Definition:
DFCALHit.h:27
DFCALHit::t
float t
Definition:
DFCALHit.h:28
DFCALHit::column
int column
Definition:
DFCALHit.h:24
DFCALHit::DFCALHit
DFCALHit()
Definition:
DFCALHit.h:21
DFCALHit::intOverPeak
float intOverPeak
Definition:
DFCALHit.h:29
DFCALHit
Definition:
DFCALHit.h:15
libraries
FCAL
DFCALHit.h
Generated on Fri Jul 26 2019 14:00:46 for Hall-D Software by
1.8.5