Berkeley Nuclear Data Software
Public Member Functions | Protected Attributes | List of all members
DetectorElementInfo Class Reference

#include <ConfigClasses.h>

Inheritance diagram for DetectorElementInfo:
Inheritance graph
[legend]
Collaboration diagram for DetectorElementInfo:
Collaboration graph
[legend]

Public Member Functions

 DetectorElementInfo ()
 
 DetectorElementInfo (const DetectorElementInfo &a_rhs)
 
virtual DetectorElementInfooperator= (const DetectorElementInfo &a_rhs)
 
int getModID () const
 
int getChannel () const
 
DetectorCalibgetGainCalib () const
 
DetectorCalibgetTimeCalib () const
 
void setModID (int a_modID)
 
void setChannel (int a_channel)
 
void setGainCalib (DetectorCalib *a_gainCalib)
 
void setTimeCalib (DetectorCalib *a_timeCalib)
 
double getPolarAngle () const
 
double getAzimuthalAngle ()
 
std::ostream & print (std::ostream &a_stream) const
 
virtual ~DetectorElementInfo ()
 
- Public Member Functions inherited from DetectorInfo
 DetectorInfo ()
 
DetType getDetType () const
 
int getDetectorID () const
 
double getX () const
 
double getY () const
 
double getZ () const
 
double getrX () const
 
double getrY () const
 
double getrZ () const
 
double getDetectorLength () const
 
double getDistance (double a_detHalfLength) const
 distance in m. detLength in m More...
 
std::vector< double > getLocation (double a_stepLenght) const
 
void setDetType (DetType a_detType)
 
void setDetectorID (int a_detectorID)
 
void setX (double a_x)
 
void setY (double a_y)
 
void setZ (double a_z)
 
virtual void translate (double a_x, double a_y, double a_z)
 
void setrX (double a_rX)
 
void setrY (double a_rY)
 
void setrZ (double a_rZ)
 
void setDetectorLength (double a_detLength)
 
std::vector< double > getDetectorCenter ()
 
double getScatteringAngle (double a_bx, double a_by, double a_bz, double a_sx, double a_sy, double a_sz)
 
double getBeamScatteringAngle (double a_bx, double a_by, double a_bz, DetectorInfo &a_rhs)
 
double getSourceScatteringAngle (double a_sx, double a_sy, double a_sz, DetectorInfo &a_rhs)
 
double getDistance (float a_thisDetHalfL, float a_rhsHalfL, DetectorInfo &a_rhs)
 
virtual ~DetectorInfo ()
 

Protected Attributes

int m_modID
 
int m_channel
 
DetectorCalibm_gainCalib
 
DetectorCalibm_timeCalib
 
- Protected Attributes inherited from DetectorInfo
DetType m_detType
 
int m_detectorID
 
double m_x
 
double m_y
 
double m_z
 
double m_rX
 
double m_rY
 
double m_rZ
 
double m_detectorLength
 

Detailed Description

this class add to the DetectorInfo class information relevant for single elements of a segmented detector and or a single element detector

Constructor & Destructor Documentation

◆ DetectorElementInfo() [1/2]

DetectorElementInfo::DetectorElementInfo ( )

◆ DetectorElementInfo() [2/2]

DetectorElementInfo::DetectorElementInfo ( const DetectorElementInfo a_rhs)
Here is the call graph for this function:

◆ ~DetectorElementInfo()

DetectorElementInfo::~DetectorElementInfo ( )
virtual

Member Function Documentation

◆ getAzimuthalAngle()

double DetectorElementInfo::getAzimuthalAngle ( )

◆ getChannel()

int DetectorElementInfo::getChannel ( ) const
Here is the caller graph for this function:

◆ getGainCalib()

DetectorCalib * DetectorElementInfo::getGainCalib ( ) const
Here is the caller graph for this function:

◆ getModID()

int DetectorElementInfo::getModID ( ) const
Here is the caller graph for this function:

◆ getPolarAngle()

double DetectorElementInfo::getPolarAngle ( ) const
Here is the caller graph for this function:

◆ getTimeCalib()

DetectorCalib * DetectorElementInfo::getTimeCalib ( ) const
Here is the caller graph for this function:

◆ operator=()

DetectorElementInfo & DetectorElementInfo::operator= ( const DetectorElementInfo a_rhs)
virtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print()

std::ostream & DetectorElementInfo::print ( std::ostream &  a_stream) const
virtual

Reimplemented from DetectorInfo.

Reimplemented in OrgScintInfo.

Here is the caller graph for this function:

◆ setChannel()

void DetectorElementInfo::setChannel ( int  a_channel)
Here is the caller graph for this function:

◆ setGainCalib()

void DetectorElementInfo::setGainCalib ( DetectorCalib a_gainCalib)

◆ setModID()

void DetectorElementInfo::setModID ( int  a_modID)
Here is the caller graph for this function:

◆ setTimeCalib()

void DetectorElementInfo::setTimeCalib ( DetectorCalib a_timeCalib)

Member Data Documentation

◆ m_channel

int DetectorElementInfo::m_channel
protected

◆ m_gainCalib

DetectorCalib* DetectorElementInfo::m_gainCalib
protected

◆ m_modID

int DetectorElementInfo::m_modID
protected

◆ m_timeCalib

DetectorCalib* DetectorElementInfo::m_timeCalib
protected

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