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
DBCALTruthCell.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DBCALTruthCell.h
4
// Created: Thu May 5 13:07:05 EDT 2011
5
// Creator: davidl (on Linux ifarm1101 2.6.18-128.7.1.el5 x86_64)
6
//
7
8
// This object represents the barrelEMcal->bcalCell->bcalHit
9
// structures from HDDM
10
11
#ifndef _DBCALTruthCell_
12
#define _DBCALTruthCell_
13
14
#include <JANA/JObject.h>
15
#include <JANA/JFactory.h>
16
17
class
DBCALTruthCell
:
public
jana::JObject{
18
public
:
19
JOBJECT_PUBLIC
(
DBCALTruthCell
);
20
21
int
module
;
22
int
layer
;
23
int
sector
;
24
double
E
;
25
double
t
;
26
double
zLocal
;
27
28
// This method is used primarily for pretty printing
29
// the second argument to AddString is printf style format
30
void
toStrings
(vector<pair<string,string> > &items)
const
{
31
AddString(items,
"module"
,
"%2d"
,
module
);
32
AddString(items,
"layer"
,
"%2d"
,
layer
);
33
AddString(items,
"sector"
,
"%1d"
,
sector
);
34
AddString(items,
"E"
,
"%5.3f"
,
E
);
35
AddString(items,
"t"
,
"%7.2f"
,
t
);
36
AddString(items,
"zLocal"
,
"%5.1f"
,
zLocal
);
37
}
38
39
};
40
41
#endif // _DBCALTruthCell_
42
DBCALTruthCell::sector
int sector
Definition:
DBCALTruthCell.h:23
DBCALTruthCell::zLocal
double zLocal
Definition:
DBCALTruthCell.h:26
DBCALTruthCell::layer
int layer
Definition:
DBCALTruthCell.h:22
DBCALTruthCell::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DBCALTruthCell)
DBCALTruthCell::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DBCALTruthCell.h:30
DBCALTruthCell::t
double t
Definition:
DBCALTruthCell.h:25
DBCALTruthCell::E
double E
Definition:
DBCALTruthCell.h:24
DBCALTruthCell
Definition:
DBCALTruthCell.h:17
DBCALTruthCell::module
int module
Definition:
DBCALTruthCell.h:21
libraries
BCAL
DBCALTruthCell.h
Generated on Fri Jul 26 2019 14:00:24 for Hall-D Software by
1.8.5