16 #include "JANA/JObject.h"
17 #include "JANA/JFactory.h"
50 float bar2y(
int bar,
int end=0)
const;
51 int y2bar(
double y)
const;
53 void toStrings(vector<pair<string,string> > &items)
const {
54 AddString(items,
"NBARS",
"%d", Get_NBars() );
55 AddString(items,
"NLONGBARS",
"%d", Get_NLongBars() );
56 AddString(items,
"NSHORTBARS",
"%d", Get_NShortBars() );
57 AddString(items,
"LONGBARLENGTH",
"%6.3f", Get_LongBarLength() );
58 AddString(items,
"SHORTBARLENGTH",
"%6.3f", Get_ShortBarLength() );
59 AddString(items,
"BARWIDTH",
"%6.3f", Get_BarWidth() );
89 #endif // _DTOFGeometry_
float Get_CenterVertPlane() const
int NBARS
number of short scintillator bars
float Get_HalfShortBarLength() const
int Get_NLongBars() const
float CenterHPlane
center z position of Vertical Plane
float Get_ShortBarLength() const
float LONGBARLENGTH
bar number of last short bar of same type north
float CenterVPlane
width of the scintillator bars
float BARWIDTH
middle of the short scintillators
int FirstShortBar
number of bars vertically = NLONGBARS + NSHORTBARS/2
int Get_FirstShortBar() const
int NENDS
number of scintillator layers
int NLONGBARS
maximum number of ends that are read out (should be 2!)
int Get_NShortBars() const
int Get_LastShortBar() const
float Get_HalfLongBarLength() const
float HALFLONGBARLENGTH
length of the long scintillators
float Get_CenterMidPlane() const
int NSHORTBARS
number of long scintillator bars
void toStrings(vector< pair< string, string > > &items) const
float Get_LongBarLength() const
float Get_CenterHorizPlane() const
float HALFSHORTBARLENGTH
length of the short scintillators
int NINSTALLBARS
number of long scintillator bars
float CenterMPlane
center z position of Horizontal Plane
float Get_BarWidth() const
float SHORTBARLENGTH
middle of the long scintillators
vector< double > YPOS
center z position between the two Plane
int LastShortBar
bar number of first short bar