8 #ifndef _DCCALGeometry_
9 #define _DCCALGeometry_
11 #include <JANA/JObject.h>
12 #include <JANA/JFactory.h>
50 int row (
float y )
const;
53 void toStrings(vector<pair<string,string> > &items)
const{
72 #endif // _DCCALGeometry_
DVector2 positionOnFace(int row, int column) const
static double ccalFaceZ()
int channel(int row, int column) const
static double blockLength()
static const int kCCALBlocksWide
bool m_activeBlock[kCCALBlocksTall][kCCALBlocksWide]
static double ccalMidplane()
int m_column[kCCALMaxChannels]
static double blockSize()
static const int kCCALBeamHoleSize
static const int kCCALMidBlock
int column(int channel) const
DVector2 m_positionOnFace[kCCALBlocksTall][kCCALBlocksWide]
static const int kCCALMaxChannels
static const int kCCALBlocksTall
int row(int channel) const
void toStrings(vector< pair< string, string > > &items) const
int m_channelNumber[kCCALBlocksTall][kCCALBlocksWide]
JOBJECT_PUBLIC(DCCALGeometry)
bool isBlockActive(int row, int column) const
int m_row[kCCALMaxChannels]
int numActiveBlocks() const