Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DDIRCGeometry Class Reference

#include <DDIRCGeometry.h>

+ Inheritance diagram for DDIRCGeometry:

Public Member Functions

 JOBJECT_PUBLIC (DDIRCGeometry)
 
 DDIRCGeometry (int runnumber)
 
 ~DDIRCGeometry ()
 
int GetBar (float y) const
 
double GetBarY (int locBar) const
 
double GetBarEnd (int locBar) const
 
double GetBarLength (int locBar) const
 
int GetPmtID (int channel) const
 
int GetPmtRow (int channel) const
 
int GetPmtColumn (int channel) const
 
int GetPixelID (int channel) const
 
int GetPmtPixelRow (int channel) const
 
int GetPmtPixelColumn (int channel) const
 
int GetPixelRow (int channel) const
 
int GetPixelColumn (int channel) const
 
int GetPixelX (int channel) const
 
int GetPixelY (int channel) const
 
void toStrings (vector< pair< string, string > > &items) const
 

Private Member Functions

 DDIRCGeometry ()
 
void Initialize (int runnumber)
 

Private Attributes

int CHANNEL_PER_PMT
 
int PMT_ROWS
 
int PMT_COLUMNS
 
double DIRC_BAR_END [48]
 
double DIRC_BAR_Y [48]
 
double DIRC_BAR_L [48]
 
double DIRC_LUT_Z
 
double DIRC_QZBL_DY
 

Detailed Description

Definition at line 15 of file DDIRCGeometry.h.

Constructor & Destructor Documentation

DDIRCGeometry::DDIRCGeometry ( int  runnumber)

Definition at line 13 of file DDIRCGeometry.cc.

References CHANNEL_PER_PMT, DIRC_QZBL_DY, Initialize(), PMT_COLUMNS, and PMT_ROWS.

DDIRCGeometry::~DDIRCGeometry ( )
inline

Definition at line 22 of file DDIRCGeometry.h.

DDIRCGeometry::DDIRCGeometry ( )
private

Member Function Documentation

int DDIRCGeometry::GetBar ( float  y) const
double DDIRCGeometry::GetBarEnd ( int  locBar) const

Definition at line 199 of file DDIRCGeometry.cc.

References DIRC_BAR_END.

double DDIRCGeometry::GetBarLength ( int  locBar) const

Definition at line 208 of file DDIRCGeometry.cc.

References DIRC_BAR_L.

double DDIRCGeometry::GetBarY ( int  locBar) const

Definition at line 190 of file DDIRCGeometry.cc.

References DIRC_BAR_Y.

Referenced by DCustomAction_dirc_reactions::Initialize().

int DDIRCGeometry::GetPixelColumn ( int  channel) const
int DDIRCGeometry::GetPixelID ( int  channel) const

Definition at line 123 of file DDIRCGeometry.cc.

References CHANNEL_PER_PMT.

Referenced by GetPmtPixelColumn(), and GetPmtPixelRow().

int DDIRCGeometry::GetPixelRow ( int  channel) const

Definition at line 152 of file DDIRCGeometry.cc.

References GetPmtPixelRow(), and GetPmtRow().

Referenced by GetPixelX(), and DCustomAction_dirc_reactions::Perform_Action().

int DDIRCGeometry::GetPixelX ( int  channel) const

Definition at line 166 of file DDIRCGeometry.cc.

References GetPixelRow().

int DDIRCGeometry::GetPixelY ( int  channel) const

Definition at line 171 of file DDIRCGeometry.cc.

References GetPixelColumn().

int DDIRCGeometry::GetPmtColumn ( int  channel) const

Definition at line 128 of file DDIRCGeometry.cc.

References GetPmtID(), and PMT_ROWS.

Referenced by GetPixelColumn().

int DDIRCGeometry::GetPmtID ( int  channel) const

Definition at line 113 of file DDIRCGeometry.cc.

References CHANNEL_PER_PMT, PMT_COLUMNS, and PMT_ROWS.

Referenced by GetPmtColumn(), and GetPmtRow().

int DDIRCGeometry::GetPmtPixelColumn ( int  channel) const

Definition at line 140 of file DDIRCGeometry.cc.

References GetPixelID().

Referenced by GetPixelColumn().

int DDIRCGeometry::GetPmtPixelRow ( int  channel) const

Definition at line 146 of file DDIRCGeometry.cc.

References GetPixelID().

Referenced by GetPixelRow().

int DDIRCGeometry::GetPmtRow ( int  channel) const

Definition at line 134 of file DDIRCGeometry.cc.

References GetPmtID(), and PMT_ROWS.

Referenced by GetPixelRow().

void DDIRCGeometry::Initialize ( int  runnumber)
private

Definition at line 25 of file DDIRCGeometry.cc.

References dapp, DIRC_BAR_END, DIRC_BAR_L, DIRC_BAR_Y, and japp.

Referenced by DDIRCGeometry().

DDIRCGeometry::JOBJECT_PUBLIC ( DDIRCGeometry  )
void DDIRCGeometry::toStrings ( vector< pair< string, string > > &  items) const
inline

Definition at line 48 of file DDIRCGeometry.h.

Member Data Documentation

int DDIRCGeometry::CHANNEL_PER_PMT
private

Definition at line 60 of file DDIRCGeometry.h.

Referenced by DDIRCGeometry(), GetPixelID(), and GetPmtID().

double DDIRCGeometry::DIRC_BAR_END[48]
private

Definition at line 62 of file DDIRCGeometry.h.

Referenced by GetBarEnd(), and Initialize().

double DDIRCGeometry::DIRC_BAR_L[48]
private

Definition at line 62 of file DDIRCGeometry.h.

Referenced by GetBarLength(), and Initialize().

double DDIRCGeometry::DIRC_BAR_Y[48]
private

Definition at line 62 of file DDIRCGeometry.h.

Referenced by GetBar(), GetBarY(), and Initialize().

double DDIRCGeometry::DIRC_LUT_Z
private

Definition at line 63 of file DDIRCGeometry.h.

double DDIRCGeometry::DIRC_QZBL_DY
private

Definition at line 64 of file DDIRCGeometry.h.

Referenced by DDIRCGeometry(), and GetBar().

int DDIRCGeometry::PMT_COLUMNS
private

Definition at line 60 of file DDIRCGeometry.h.

Referenced by DDIRCGeometry(), and GetPmtID().

int DDIRCGeometry::PMT_ROWS
private

Definition at line 60 of file DDIRCGeometry.h.

Referenced by DDIRCGeometry(), GetPmtColumn(), GetPmtID(), and GetPmtRow().


The documentation for this class was generated from the following files: