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
DCereHit.h
Go to the documentation of this file.
1
/*
2
* DCereHit.h
3
*
4
* Created on: Oct 10, 2012
5
* Author: yqiang
6
*/
7
8
#ifndef DCEREHIT_H_
9
#define DCEREHIT_H_
10
11
#include <JANA/JObject.h>
12
#include <JANA/JFactory.h>
13
using namespace
jana;
14
15
class
DCereHit
:
public
JObject {
16
17
public
:
18
JOBJECT_PUBLIC (
DCereHit
);
19
20
int
sector
;
// sector hit by photons
21
float
pe
;
// number of photon electrons
22
float
t
;
// time
23
24
void
toStrings
(vector<pair<string, string> >&items)
const
{
25
AddString(items,
"sector"
,
"%d"
, sector);
26
AddString(items,
"pe"
,
"%1.3f"
, pe);
27
AddString(items,
"t"
,
"%1.3f"
, t);
28
}
29
};
30
31
#endif
/* DCEREHIT_H_ */
DCereHit::sector
int sector
Definition:
DCereHit.h:20
DCereHit
Definition:
DCereHit.h:15
DCereHit::t
float t
Definition:
DCereHit.h:22
DCereHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DCereHit.h:24
DCereHit::pe
float pe
Definition:
DCereHit.h:21
libraries
CERE
DCereHit.h
Generated on Fri Jul 26 2019 14:00:26 for Hall-D Software by
1.8.5