Hall-D Software
alpha
|
#include <DBCALPoint.h>
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 DBCALGeometry * | m_BCALGeom |
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.
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 | ||
) |
Definition at line 18 of file DBCALPoint.cc.
References DBCALGeometry::cellId(), convertCylindricalToSpherical(), DBCALUnifiedHit::E, DBCALUnifiedHit::end, DBCALGeometry::GetBCAL_center(), DBCALGeometry::GetBCAL_length(), DBCALUnifiedHit::has_TDC_hit, DBCALGeometry::kDownstream, DBCALGeometry::kUpstream, DBCALUnifiedHit::layer, m_BCALGeom, m_E, m_E_DS, m_E_US, m_layer, m_module, m_phi, m_r, m_sector, m_sig_phi, m_sig_r, m_sig_z, m_t, m_t_DS, m_t_US, m_z, m_zGlobal, m_zLocal, DBCALUnifiedHit::module, DBCALGeometry::phi(), DBCALGeometry::phiSize(), DBCALGeometry::r(), DBCALGeometry::rSize(), DBCALUnifiedHit::sector, sqrt(), and DBCALUnifiedHit::t.
void DBCALPoint::add2Pi | ( | ) | const |
Definition at line 181 of file DBCALPoint.cc.
References m_phi.
Referenced by DBCALCluster::addPoint(), and DBCALCluster::removePoint().
|
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().
|
inline |
Definition at line 38 of file DBCALPoint.h.
Referenced by DBCALShower_factory_KLOE::CellRecon(), JEventProcessor_BCAL_ADC_4ns::evnt(), JEventProcessor_BCAL_SiPM_saturation::evnt(), JEventProcessor_BCAL_TDC_Timing::evnt(), JEventProcessor_BCAL_online::evnt(), JEventProcessor_BCAL_attenlength_gainratio::evnt(), DEventProcessor_BCAL_Shower::evnt(), MyProcessor::FillGraphics(), DCustomAction_p2gamma_unusedHists::FillShower(), DCustomAction_p2pi_unusedHists::FillShower(), DBCALCluster_factory::overlap(), DBCALCluster_factory::overlap_charged(), and PointSort().
|
inline |
Return the attenuation corrected Energy of DS Hit.
Definition at line 40 of file DBCALPoint.h.
Referenced by JEventProcessor_BCAL_attenlength_gainratio::evnt().
|
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 | ) |
|
inline |
Definition at line 65 of file DBCALPoint.h.
Referenced by DBCALShower_factory_KLOE::CellRecon(), JEventProcessor_BCAL_ADC_4ns::evnt(), JEventProcessor_BCAL_SiPM_saturation::evnt(), JEventProcessor_BCAL_TDC_Timing::evnt(), JEventProcessor_BCAL_online::evnt(), JEventProcessor_BCAL_point_time::evnt(), JEventProcessor_BCAL_attenlength_gainratio::evnt(), DEventProcessor_BCAL_Shower::evnt(), MyProcessor::FillGraphics(), DCustomAction_p2gamma_unusedHists::FillShower(), DCustomAction_p2pi_unusedHists::FillShower(), DBCALCluster_factory::overlap(), and DBCALCluster_factory::overlap_charged().
|
inline |
Definition at line 64 of file DBCALPoint.h.
Referenced by DBCALShower_factory_KLOE::CellRecon(), JEventProcessor_BCAL_ADC_4ns::evnt(), JEventProcessor_BCAL_SiPM_saturation::evnt(), JEventProcessor_BCAL_TDC_Timing::evnt(), JEventProcessor_BCAL_point_time::evnt(), JEventProcessor_BCAL_attenlength_gainratio::evnt(), DEventProcessor_BCAL_Shower::evnt(), MyProcessor::FillGraphics(), DBCALCluster_factory::overlap(), and DBCALCluster_factory::overlap_charged().
|
inline |
Definition at line 56 of file DBCALPoint.h.
Referenced by DBCALCluster::addPoint(), DBCALShower_factory_KLOE::CellRecon(), JEventProcessor_BCAL_online::evnt(), DEventProcessor_BCAL_Shower::evnt(), MyProcessor::FillGraphics(), DBCALCluster_factory::overlap(), DBCALCluster_factory::overlap_charged(), and DBCALCluster::removePoint().
|
inline |
Definition at line 62 of file DBCALPoint.h.
Referenced by DBCALShower_factory_KLOE::CellRecon(), JEventProcessor_BCAL_ADC_4ns::evnt(), JEventProcessor_BCAL_TDC_Timing::evnt(), DEventProcessor_BCAL_Shower::evnt(), and DBCALCluster_factory::overlap_charged().
|
inline |
Definition at line 50 of file DBCALPoint.h.
Referenced by JEventProcessor_BCAL_TDC_Timing::evnt(), JEventProcessor_BCAL_online::evnt(), DBCALCluster_factory::overlap(), and DBCALCluster_factory::overlap_charged().
|
inline |
Definition at line 66 of file DBCALPoint.h.
Referenced by DBCALShower_factory_KLOE::CellRecon(), JEventProcessor_BCAL_ADC_4ns::evnt(), JEventProcessor_BCAL_SiPM_saturation::evnt(), JEventProcessor_BCAL_TDC_Timing::evnt(), JEventProcessor_BCAL_point_time::evnt(), JEventProcessor_BCAL_attenlength_gainratio::evnt(), DEventProcessor_BCAL_Shower::evnt(), MyProcessor::FillGraphics(), DBCALCluster_factory::overlap(), and DBCALCluster_factory::overlap_charged().
|
inline |
Definition at line 57 of file DBCALPoint.h.
Referenced by JEventProcessor_BCAL_online::evnt().
|
inline |
Definition at line 51 of file DBCALPoint.h.
Referenced by JEventProcessor_BCAL_online::evnt().
|
inline |
Definition at line 54 of file DBCALPoint.h.
Referenced by JEventProcessor_BCAL_online::evnt().
|
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().
|
inline |
Definition at line 41 of file DBCALPoint.h.
Referenced by DBCALShower_factory_KLOE::CellRecon(), JEventProcessor_BCAL_SiPM_saturation::evnt(), JEventProcessor_BCAL_TDC_Timing::evnt(), JEventProcessor_BCAL_online::evnt(), JEventProcessor_BCAL_point_time::evnt(), MyProcessor::FillGraphics(), DBCALCluster_factory::overlap(), and DBCALCluster_factory::overlap_charged().
|
inline |
Return the time of DS Hit.
Definition at line 43 of file DBCALPoint.h.
Referenced by JEventProcessor_BCAL_TDC_Timing::evnt().
|
inline |
Return the time of US Hit.
Definition at line 42 of file DBCALPoint.h.
Referenced by JEventProcessor_BCAL_TDC_Timing::evnt().
|
inline |
Definition at line 53 of file DBCALPoint.h.
Referenced by JEventProcessor_BCAL_online::evnt(), DEventProcessor_BCAL_Shower::evnt(), DBCALCluster_factory::overlap(), and DBCALCluster_factory::overlap_charged().
float DBCALPoint::tInnerRadius | ( | ) | const |
Definition at line 143 of file DBCALPoint.cc.
References DBCALGeometry::GetBCAL_inner_rad(), k_cm, k_nsec, m_BCALGeom, m_rho, m_t, m_theta, and sin().
Referenced by JEventProcessor_BCAL_TDC_Timing::evnt().
Definition at line 72 of file DBCALPoint.h.
|
inline |
Definition at line 60 of file DBCALPoint.h.
Referenced by DBCALShower_factory_KLOE::CellRecon(), JEventProcessor_BCAL_SiPM_saturation::evnt(), JEventProcessor_BCAL_TDC_Timing::evnt(), JEventProcessor_BCAL_online::evnt(), JEventProcessor_BCAL_attenlength_gainratio::evnt(), DEventProcessor_BCAL_Shower::evnt(), MyProcessor::FillGraphics(), and DBCALCluster_factory::overlap_charged().
|
private |
Definition at line 108 of file DBCALPoint.h.
Referenced by DBCALPoint(), and tInnerRadius().
|
private |
Energy of the Point used in higher objects.
Definition at line 88 of file DBCALPoint.h.
Referenced by DBCALPoint().
|
private |
Attenuation corrected Energy of DS Hit that contributed to the Point.
Definition at line 90 of file DBCALPoint.h.
Referenced by DBCALPoint().
|
private |
Attenuation corrected Energy of US Hit that contributed to the Point.
Definition at line 89 of file DBCALPoint.h.
Referenced by DBCALPoint().
|
private |
Definition at line 95 of file DBCALPoint.h.
Referenced by DBCALPoint().
|
private |
Definition at line 95 of file DBCALPoint.h.
Referenced by DBCALPoint().
|
private |
Definition at line 102 of file DBCALPoint.h.
Referenced by add2Pi(), DBCALPoint(), and sub2Pi().
|
private |
Definition at line 101 of file DBCALPoint.h.
Referenced by convertCylindricalToSpherical(), and DBCALPoint().
|
private |
Definition at line 105 of file DBCALPoint.h.
Referenced by convertCylindricalToSpherical(), and tInnerRadius().
|
private |
Definition at line 95 of file DBCALPoint.h.
Referenced by DBCALPoint().
|
private |
|
private |
distance from beam axis
Definition at line 101 of file DBCALPoint.h.
Referenced by convertCylindricalToSpherical(), and DBCALPoint().
|
private |
spherical distance wrt target center
Definition at line 105 of file DBCALPoint.h.
Referenced by convertCylindricalToSpherical().
|
private |
polar angle wrt target center
Definition at line 106 of file DBCALPoint.h.
Referenced by convertCylindricalToSpherical().
|
private |
z-coordinate relative to the center of the target
Definition at line 100 of file DBCALPoint.h.
Referenced by convertCylindricalToSpherical(), and DBCALPoint().
|
private |
Arrival time.
Definition at line 91 of file DBCALPoint.h.
Referenced by DBCALPoint(), and tInnerRadius().
|
private |
Time of DS Hit that contributed to the Point.
Definition at line 93 of file DBCALPoint.h.
Referenced by DBCALPoint().
|
private |
Time of DS Hit that contributed to the Point.
Definition at line 92 of file DBCALPoint.h.
Referenced by DBCALPoint().
|
private |
Definition at line 106 of file DBCALPoint.h.
Referenced by convertCylindricalToSpherical(), and tInnerRadius().
|
private |
Definition at line 100 of file DBCALPoint.h.
Referenced by convertCylindricalToSpherical(), and DBCALPoint().
|
private |
z-coordinate relative to the beginning of the BCAL
Definition at line 98 of file DBCALPoint.h.
Referenced by DBCALPoint().
|
private |
z-coordinate relative to the center of BCAL
Definition at line 99 of file DBCALPoint.h.
Referenced by DBCALPoint().