Hall-D Software
alpha
|
#include <DCCALGeometry.h>
Public Member Functions | |
JOBJECT_PUBLIC (DCCALGeometry) | |
DCCALGeometry () | |
~DCCALGeometry () | |
bool | isBlockActive (int row, int column) const |
int | numActiveBlocks () const |
DVector2 | positionOnFace (int row, int column) const |
DVector2 | positionOnFace (int channel) const |
int | channel (int row, int column) const |
int | row (int channel) const |
int | column (int channel) const |
int | row (float y) const |
int | column (float x) const |
void | toStrings (vector< pair< string, string > > &items) const |
Static Public Member Functions | |
static double | blockSize () |
static double | blockLength () |
static double | ccalFaceZ () |
static double | ccalMidplane () |
Static Public Attributes | |
static const int | kCCALBlocksWide = 12 |
static const int | kCCALBlocksTall = 12 |
static const int | kCCALMaxChannels = kCCALBlocksWide * kCCALBlocksTall |
static const int | kCCALMidBlock = (kCCALBlocksWide)/2 |
static const int | kCCALBeamHoleSize = 2 |
Private Attributes | |
bool | m_activeBlock [kCCALBlocksTall][kCCALBlocksWide] |
DVector2 | m_positionOnFace [kCCALBlocksTall][kCCALBlocksWide] |
int | m_channelNumber [kCCALBlocksTall][kCCALBlocksWide] |
int | m_row [kCCALMaxChannels] |
int | m_column [kCCALMaxChannels] |
int | m_numActiveBlocks |
Definition at line 17 of file DCCALGeometry.h.
DCCALGeometry::DCCALGeometry | ( | ) |
Definition at line 18 of file DCCALGeometry.cc.
References blockSize(), kCCALBlocksTall, kCCALBlocksWide, kCCALMidBlock, m_activeBlock, m_channelNumber, m_column, m_numActiveBlocks, m_positionOnFace, m_row, and row().
|
inline |
Definition at line 23 of file DCCALGeometry.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 31 of file DCCALGeometry.h.
References k_cm.
Referenced by column(), DCCALGeometry(), and row().
|
inlinestatic |
|
inlinestatic |
Definition at line 35 of file DCCALGeometry.h.
References blockLength(), and ccalFaceZ().
int DCCALGeometry::channel | ( | int | row, |
int | column | ||
) | const |
Definition at line 89 of file DCCALGeometry.cc.
References column(), isBlockActive(), m_channelNumber, and row().
Referenced by column(), JEventProcessor_CCAL_online::evnt(), and row().
|
inline |
Definition at line 47 of file DCCALGeometry.h.
References channel(), and m_column.
Referenced by channel(), isBlockActive(), DCCALHit_factory::LoadCCALConst(), and positionOnFace().
int DCCALGeometry::column | ( | float | x | ) | const |
Definition at line 66 of file DCCALGeometry.cc.
References blockSize(), and kCCALMidBlock.
bool DCCALGeometry::isBlockActive | ( | int | row, |
int | column | ||
) | const |
Definition at line 42 of file DCCALGeometry.cc.
References column(), kCCALBlocksTall, kCCALBlocksWide, m_activeBlock, and row().
Referenced by channel(), DEventSourceHDDM::Extract_DCCALHit(), and DCCALHit_factory::LoadCCALConst().
DCCALGeometry::JOBJECT_PUBLIC | ( | DCCALGeometry | ) |
|
inline |
Definition at line 38 of file DCCALGeometry.h.
References m_numActiveBlocks.
Referenced by DCCALHit_factory::LoadCCALConst().
DVector2 DCCALGeometry::positionOnFace | ( | int | row, |
int | column | ||
) | const |
Definition at line 72 of file DCCALGeometry.cc.
References column(), kCCALBlocksTall, kCCALBlocksWide, m_positionOnFace, and row().
Referenced by DCCALShower_factory::evnt(), DCCALHit_factory::evnt(), DEventSourceHDDM::Extract_DCCALHit(), and positionOnFace().
DVector2 DCCALGeometry::positionOnFace | ( | int | channel | ) | const |
Definition at line 81 of file DCCALGeometry.cc.
References m_column, m_numActiveBlocks, m_row, and positionOnFace().
|
inline |
Definition at line 46 of file DCCALGeometry.h.
References channel(), and m_row.
Referenced by channel(), DCCALGeometry(), isBlockActive(), DCCALHit_factory::LoadCCALConst(), and positionOnFace().
int DCCALGeometry::row | ( | float | y | ) | const |
Definition at line 60 of file DCCALGeometry.cc.
References blockSize(), and kCCALMidBlock.
Definition at line 53 of file DCCALGeometry.h.
References kCCALBeamHoleSize, kCCALBlocksTall, kCCALBlocksWide, and kCCALMaxChannels.
|
static |
Definition at line 29 of file DCCALGeometry.h.
Referenced by toStrings().
|
static |
Definition at line 26 of file DCCALGeometry.h.
Referenced by DCCALGeometry(), DCCALHit_factory::init(), isBlockActive(), positionOnFace(), and toStrings().
|
static |
Definition at line 25 of file DCCALGeometry.h.
Referenced by DCCALGeometry(), DCCALHit_factory::init(), isBlockActive(), positionOnFace(), and toStrings().
|
static |
Definition at line 27 of file DCCALGeometry.h.
Referenced by toStrings().
|
static |
Definition at line 28 of file DCCALGeometry.h.
Referenced by column(), DCCALGeometry(), and row().
|
private |
Definition at line 62 of file DCCALGeometry.h.
Referenced by DCCALGeometry(), and isBlockActive().
|
private |
Definition at line 65 of file DCCALGeometry.h.
Referenced by channel(), and DCCALGeometry().
|
private |
Definition at line 67 of file DCCALGeometry.h.
Referenced by column(), DCCALGeometry(), and positionOnFace().
|
private |
Definition at line 69 of file DCCALGeometry.h.
Referenced by DCCALGeometry(), numActiveBlocks(), and positionOnFace().
|
private |
Definition at line 63 of file DCCALGeometry.h.
Referenced by DCCALGeometry(), and positionOnFace().
|
private |
Definition at line 66 of file DCCALGeometry.h.
Referenced by DCCALGeometry(), positionOnFace(), and row().