7 #ifndef _DTAGMGeometry_
8 #define _DTAGMGeometry_
12 #include <JANA/JFactory.h>
13 #include <JANA/JObject.h>
18 #define TAGM_MAX_ROW 5
19 #define TAGM_MAX_COLUMN 102
36 double getElow(
unsigned int column)
const;
37 double getEhigh(
unsigned int column)
const;
38 bool E_to_column(
double E,
unsigned int &
column)
const;
40 void toStrings(vector<pair<string,string> > &items)
const {
41 AddString(items,
"kFiberWidth",
"%f cm", kFiberWidth);
42 AddString(items,
"kFiberLength",
"%f cm", kFiberLength);
43 AddString(items,
"kRowCount",
"%d", kRowCount);
44 AddString(items,
"kColumnCount",
"%d", kColumnCount);
53 #endif // _DTAGMGeometry_
static const double kFiberLength
static const double kFiberWidth
void toStrings(vector< pair< string, string > > &items) const
static const unsigned int kRowCount
static const unsigned int kColumnCount
double m_endpoint_energy_GeV