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

#include <DBCALPoint.h>

+ Inheritance diagram for DBCALPoint:

Public Member Functions

 JOBJECT_PUBLIC (DBCALPoint)
 
 DBCALPoint (const DBCALUnifiedHit &hit1, const DBCALUnifiedHit &hit2, double z_target_center, double attenutation_length, double c_effective, double track_p0, double track_p1, double track_p2, const DBCALGeometry *locGeom)
 
float E () const
 
float E_US () const
 Return the attenuation corrected Energy of US Hit. More...
 
float E_DS () const
 Return the attenuation corrected Energy of DS Hit. More...
 
float t () const
 
float t_US () const
 Return the time of US Hit. More...
 
float t_DS () const
 Return the time of DS Hit. More...
 
float tInnerRadius () const
 
float rho () const
 
float sigRho () const
 
float theta () const
 
float sigTheta () const
 
float phi () const
 
float sigPhi () const
 
float z () const
 
float sigZ () const
 
float r () const
 
int module () const
 
int layer () const
 
int sector () const
 
void add2Pi () const
 
void sub2Pi () const
 
void toStrings (vector< pair< string, string > > &items) const
 

Private Member Functions

void convertCylindricalToSpherical ()
 

Private Attributes

float m_E
 Energy of the Point used in higher objects. More...
 
float m_E_US
 Attenuation corrected Energy of US Hit that contributed to the Point. More...
 
float m_E_DS
 Attenuation corrected Energy of DS Hit that contributed to the Point. More...
 
float m_t
 Arrival time. More...
 
float m_t_US
 Time of DS Hit that contributed to the Point. More...
 
float m_t_DS
 Time of DS Hit that contributed to the Point. More...
 
int m_module
 
int m_layer
 
int m_sector
 
float m_zGlobal
 z-coordinate relative to the beginning of the BCAL More...
 
float m_zLocal
 z-coordinate relative to the center of BCAL More...
 
float m_z
 
float m_sig_z
 z-coordinate relative to the center of the target More...
 
float m_r
 
float m_sig_r
 distance from beam axis More...
 
float m_phi
 
float m_sig_phi
 azimuthal angle More...
 
float m_rho
 
float m_sig_rho
 spherical distance wrt target center More...
 
float m_theta
 
float m_sig_theta
 polar angle wrt target center More...
 
const DBCALGeometrym_BCALGeom
 

Detailed Description

This object gives a z position to BCAL hits using timing information. The z position is relative to the target center because higher objects use the position of hits relative to the target in spherical coordinates.

Definition at line 27 of file DBCALPoint.h.

Constructor & Destructor Documentation

Member Function Documentation

void DBCALPoint::add2Pi ( ) const

Definition at line 181 of file DBCALPoint.cc.

References m_phi.

Referenced by DBCALCluster::addPoint(), and DBCALCluster::removePoint().

void DBCALPoint::convertCylindricalToSpherical ( )
private

Definition at line 155 of file DBCALPoint.cc.

References m_r, m_rho, m_sig_r, m_sig_rho, m_sig_theta, m_sig_z, m_theta, m_z, and sqrt().

Referenced by DBCALPoint().

float DBCALPoint::E_DS ( ) const
inline

Return the attenuation corrected Energy of DS Hit.

Definition at line 40 of file DBCALPoint.h.

Referenced by JEventProcessor_BCAL_attenlength_gainratio::evnt().

float DBCALPoint::E_US ( ) const
inline

Return the attenuation corrected Energy of US Hit.

Definition at line 39 of file DBCALPoint.h.

Referenced by JEventProcessor_BCAL_attenlength_gainratio::evnt().

DBCALPoint::JOBJECT_PUBLIC ( DBCALPoint  )
float DBCALPoint::sigPhi ( ) const
inline

Definition at line 57 of file DBCALPoint.h.

Referenced by JEventProcessor_BCAL_online::evnt().

float DBCALPoint::sigRho ( ) const
inline

Definition at line 51 of file DBCALPoint.h.

Referenced by JEventProcessor_BCAL_online::evnt().

float DBCALPoint::sigTheta ( ) const
inline

Definition at line 54 of file DBCALPoint.h.

Referenced by JEventProcessor_BCAL_online::evnt().

float DBCALPoint::sigZ ( ) const
inline

Definition at line 61 of file DBCALPoint.h.

Referenced by JEventProcessor_BCAL_online::evnt().

void DBCALPoint::sub2Pi ( ) const

Definition at line 187 of file DBCALPoint.cc.

References m_phi.

Referenced by DBCALCluster::addPoint(), and DBCALCluster::removePoint().

float DBCALPoint::t_DS ( ) const
inline

Return the time of DS Hit.

Definition at line 43 of file DBCALPoint.h.

Referenced by JEventProcessor_BCAL_TDC_Timing::evnt().

float DBCALPoint::t_US ( ) const
inline

Return the time of US Hit.

Definition at line 42 of file DBCALPoint.h.

Referenced by JEventProcessor_BCAL_TDC_Timing::evnt().

float DBCALPoint::tInnerRadius ( ) const
void DBCALPoint::toStrings ( vector< pair< string, string > > &  items) const
inline

Definition at line 72 of file DBCALPoint.h.

Member Data Documentation

const DBCALGeometry* DBCALPoint::m_BCALGeom
private

Definition at line 108 of file DBCALPoint.h.

Referenced by DBCALPoint(), and tInnerRadius().

float DBCALPoint::m_E
private

Energy of the Point used in higher objects.

Definition at line 88 of file DBCALPoint.h.

Referenced by DBCALPoint().

float DBCALPoint::m_E_DS
private

Attenuation corrected Energy of DS Hit that contributed to the Point.

Definition at line 90 of file DBCALPoint.h.

Referenced by DBCALPoint().

float DBCALPoint::m_E_US
private

Attenuation corrected Energy of US Hit that contributed to the Point.

Definition at line 89 of file DBCALPoint.h.

Referenced by DBCALPoint().

int DBCALPoint::m_layer
private

Definition at line 95 of file DBCALPoint.h.

Referenced by DBCALPoint().

int DBCALPoint::m_module
private

Definition at line 95 of file DBCALPoint.h.

Referenced by DBCALPoint().

float DBCALPoint::m_phi
private

Definition at line 102 of file DBCALPoint.h.

Referenced by add2Pi(), DBCALPoint(), and sub2Pi().

float DBCALPoint::m_r
private

Definition at line 101 of file DBCALPoint.h.

Referenced by convertCylindricalToSpherical(), and DBCALPoint().

float DBCALPoint::m_rho
private

Definition at line 105 of file DBCALPoint.h.

Referenced by convertCylindricalToSpherical(), and tInnerRadius().

int DBCALPoint::m_sector
private

Definition at line 95 of file DBCALPoint.h.

Referenced by DBCALPoint().

float DBCALPoint::m_sig_phi
private

azimuthal angle

Definition at line 102 of file DBCALPoint.h.

Referenced by DBCALPoint().

float DBCALPoint::m_sig_r
private

distance from beam axis

Definition at line 101 of file DBCALPoint.h.

Referenced by convertCylindricalToSpherical(), and DBCALPoint().

float DBCALPoint::m_sig_rho
private

spherical distance wrt target center

Definition at line 105 of file DBCALPoint.h.

Referenced by convertCylindricalToSpherical().

float DBCALPoint::m_sig_theta
private

polar angle wrt target center

Definition at line 106 of file DBCALPoint.h.

Referenced by convertCylindricalToSpherical().

float DBCALPoint::m_sig_z
private

z-coordinate relative to the center of the target

Definition at line 100 of file DBCALPoint.h.

Referenced by convertCylindricalToSpherical(), and DBCALPoint().

float DBCALPoint::m_t
private

Arrival time.

Definition at line 91 of file DBCALPoint.h.

Referenced by DBCALPoint(), and tInnerRadius().

float DBCALPoint::m_t_DS
private

Time of DS Hit that contributed to the Point.

Definition at line 93 of file DBCALPoint.h.

Referenced by DBCALPoint().

float DBCALPoint::m_t_US
private

Time of DS Hit that contributed to the Point.

Definition at line 92 of file DBCALPoint.h.

Referenced by DBCALPoint().

float DBCALPoint::m_theta
private

Definition at line 106 of file DBCALPoint.h.

Referenced by convertCylindricalToSpherical(), and tInnerRadius().

float DBCALPoint::m_z
private

Definition at line 100 of file DBCALPoint.h.

Referenced by convertCylindricalToSpherical(), and DBCALPoint().

float DBCALPoint::m_zGlobal
private

z-coordinate relative to the beginning of the BCAL

Definition at line 98 of file DBCALPoint.h.

Referenced by DBCALPoint().

float DBCALPoint::m_zLocal
private

z-coordinate relative to the center of BCAL

Definition at line 99 of file DBCALPoint.h.

Referenced by DBCALPoint().


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