Hall-D Software
alpha
|
#include <DBCALCluster.h>
Public Member Functions | |
JOBJECT_PUBLIC (DBCALCluster) | |
DBCALCluster (double z_target_center, const DBCALGeometry *locGeom) | |
DBCALCluster (const DBCALPoint *point, double z_target_center, double q, const DBCALGeometry *locGeom) | |
vector< const DBCALPoint * > | points () const |
vector< pair< const DBCALUnifiedHit *, double > > | hits () const |
int | nCells () const |
float | E () const |
float | E_preshower () const |
float | E_L2 () const |
float | E_L3 () const |
float | E_L4 () const |
float | t () const |
float | sigT () const |
float | rmsTime () const |
float | t0 () const |
float | rho () const |
float | sigRho () const |
float | theta () const |
float | sigTheta () const |
float | phi () const |
float | sigPhi () const |
int | Q () const |
void | addPoint (const DBCALPoint *point, int q) |
void | addHit (const DBCALUnifiedHit *hit, double hit_E_unattenuated) |
void | mergeClust (const DBCALCluster &clust, double point_reatten_E) |
void | removePoint (const DBCALPoint *point) |
void | toStrings (vector< pair< string, string > > &items) const |
Private Member Functions | |
void | makeFromPoints () |
void | clear () |
Private Attributes | |
vector< const DBCALPoint * > | m_points |
vector< const DBCALPoint * > | m_points_remove |
vector< pair< const DBCALUnifiedHit *, double > > | m_single_ended_hits |
float | m_hit_E_unattenuated_sum |
float | m_point_reatten_E_sum |
float | m_E_points |
float | m_E |
float | m_E_preshower |
float | m_E_L2 |
float | m_E_L3 |
float | m_E_L4 |
float | m_t |
float | m_sig_t |
float | m_t_rms |
float | m_rho |
float | m_sig_rho |
float | m_theta |
float | m_sig_theta |
float | m_phi |
float | m_sig_phi |
float | m_z_target_center |
int | new_point_q |
int | charge |
const DBCALGeometry * | m_BCALGeom |
Definition at line 22 of file DBCALCluster.h.
DBCALCluster::DBCALCluster | ( | double | z_target_center, |
const DBCALGeometry * | locGeom | ||
) |
Definition at line 23 of file DBCALCluster.cc.
References clear().
DBCALCluster::DBCALCluster | ( | const DBCALPoint * | point, |
double | z_target_center, | ||
double | q, | ||
const DBCALGeometry * | locGeom | ||
) |
Definition at line 16 of file DBCALCluster.cc.
References m_points, and makeFromPoints().
void DBCALCluster::addHit | ( | const DBCALUnifiedHit * | hit, |
double | hit_E_unattenuated | ||
) |
Definition at line 81 of file DBCALCluster.cc.
References m_hit_E_unattenuated_sum, m_single_ended_hits, and makeFromPoints().
void DBCALCluster::addPoint | ( | const DBCALPoint * | point, |
int | q | ||
) |
Definition at line 36 of file DBCALCluster.cc.
References DBCALPoint::add2Pi(), m_points, makeFromPoints(), new_point_q, DBCALPoint::phi(), phi(), and DBCALPoint::sub2Pi().
Referenced by DBCALCluster_factory_SINGLE::evnt().
|
private |
Definition at line 388 of file DBCALCluster.cc.
References m_E, m_E_L2, m_E_L3, m_E_L4, m_E_points, m_E_preshower, m_phi, m_rho, m_sig_phi, m_sig_rho, m_sig_t, m_sig_theta, m_t, m_t_rms, and m_theta.
Referenced by DBCALCluster(), makeFromPoints(), and removePoint().
|
inline |
Definition at line 41 of file DBCALCluster.h.
Referenced by ClusterSort(), JEventProcessor_BCAL_online::evnt(), DEventProcessor_BCAL_Shower::evnt(), MyProcessor::FillGraphics(), makeFromPoints(), DBCALCluster_factory::overlap(), and DBCALCluster_factory::overlap_charged().
|
inline |
Definition at line 43 of file DBCALCluster.h.
|
inline |
Definition at line 44 of file DBCALCluster.h.
|
inline |
Definition at line 45 of file DBCALCluster.h.
|
inline |
Definition at line 42 of file DBCALCluster.h.
|
inline |
Definition at line 35 of file DBCALCluster.h.
Referenced by JEventProcessor_BCAL_Hadronic_Eff::evnt(), and mergeClust().
DBCALCluster::JOBJECT_PUBLIC | ( | DBCALCluster | ) |
|
private |
Definition at line 129 of file DBCALCluster.cc.
References DBCALGeometry::cellId(), charge, clear(), E(), DBCALGeometry::GetBCAL_center(), DBCALGeometry::GetBCAL_inner_rad(), DBCALGeometry::GetBCAL_length(), m_BCALGeom, m_E, m_E_L2, m_E_L3, m_E_L4, m_E_points, m_E_preshower, m_hit_E_unattenuated_sum, m_phi, m_point_reatten_E_sum, m_points, m_rho, m_sig_phi, m_sig_rho, m_sig_t, m_sig_theta, m_t, m_t_rms, m_theta, m_z_target_center, min, new_point_q, printf(), DBCALGeometry::r(), sin(), sqrt(), and t().
Referenced by addHit(), addPoint(), DBCALCluster(), mergeClust(), and removePoint().
void DBCALCluster::mergeClust | ( | const DBCALCluster & | clust, |
double | point_reatten_E | ||
) |
Definition at line 92 of file DBCALCluster.cc.
References hits(), m_hit_E_unattenuated_sum, m_point_reatten_E_sum, m_points, m_single_ended_hits, makeFromPoints(), phi(), and points().
|
inline |
Definition at line 37 of file DBCALCluster.h.
Referenced by JEventProcessor_BCAL_online::evnt().
|
inline |
Definition at line 65 of file DBCALCluster.h.
Referenced by addPoint(), JEventProcessor_BCAL_online::evnt(), MyProcessor::FillGraphics(), mergeClust(), DBCALCluster_factory::overlap(), DBCALCluster_factory::overlap_charged(), and removePoint().
|
inline |
Definition at line 31 of file DBCALCluster.h.
Referenced by JEventProcessor_BCAL_Hadronic_Eff::evnt(), and mergeClust().
|
inline |
Definition at line 68 of file DBCALCluster.h.
Referenced by DBCALCluster_factory::overlap().
void DBCALCluster::removePoint | ( | const DBCALPoint * | point | ) |
Definition at line 56 of file DBCALCluster.cc.
References DBCALPoint::add2Pi(), clear(), m_E, m_points, makeFromPoints(), DBCALPoint::phi(), phi(), printf(), and DBCALPoint::sub2Pi().
|
inline |
Definition at line 59 of file DBCALCluster.h.
Referenced by JEventProcessor_BCAL_online::evnt(), MyProcessor::FillGraphics(), JEventProcessor_BCAL_Hadronic_Eff::Find_ClosestTimeHit(), DBCALCluster_factory::overlap(), and DBCALCluster_factory::overlap_charged().
|
inline |
Definition at line 51 of file DBCALCluster.h.
|
inline |
Definition at line 66 of file DBCALCluster.h.
Referenced by JEventProcessor_BCAL_online::evnt(), and DBCALCluster_factory::overlap().
|
inline |
Definition at line 60 of file DBCALCluster.h.
Referenced by JEventProcessor_BCAL_online::evnt().
|
inline |
Definition at line 50 of file DBCALCluster.h.
Referenced by JEventProcessor_BCAL_online::evnt().
|
inline |
Definition at line 63 of file DBCALCluster.h.
Referenced by JEventProcessor_BCAL_online::evnt(), and DBCALCluster_factory::overlap().
|
inline |
Definition at line 49 of file DBCALCluster.h.
Referenced by JEventProcessor_BCAL_online::evnt(), MyProcessor::FillGraphics(), JEventProcessor_BCAL_Hadronic_Eff::Find_ClosestTimeHit(), JEventProcessor_BCAL_Hadronic_Eff::Find_ClosestTimePoint(), makeFromPoints(), DBCALCluster_factory::overlap(), and DBCALCluster_factory::overlap_charged().
float DBCALCluster::t0 | ( | ) | const |
Definition at line 28 of file DBCALCluster.cc.
References DBCALGeometry::GetBCAL_inner_rad(), k_cm, k_nsec, m_BCALGeom, m_t, m_theta, and sin().
Referenced by JEventProcessor_BCAL_online::evnt().
|
inline |
Definition at line 62 of file DBCALCluster.h.
Referenced by JEventProcessor_BCAL_online::evnt(), MyProcessor::FillGraphics(), JEventProcessor_BCAL_Hadronic_Eff::Find_ClosestTimeHit(), DBCALCluster_factory::overlap(), and DBCALCluster_factory::overlap_charged().
|
private |
Definition at line 110 of file DBCALCluster.h.
Referenced by makeFromPoints(), and toStrings().
|
private |
Definition at line 111 of file DBCALCluster.h.
Referenced by makeFromPoints(), and t0().
|
private |
Definition at line 91 of file DBCALCluster.h.
Referenced by clear(), makeFromPoints(), removePoint(), and toStrings().
|
private |
Definition at line 93 of file DBCALCluster.h.
Referenced by clear(), makeFromPoints(), and toStrings().
|
private |
Definition at line 94 of file DBCALCluster.h.
Referenced by clear(), makeFromPoints(), and toStrings().
|
private |
Definition at line 95 of file DBCALCluster.h.
Referenced by clear(), makeFromPoints(), and toStrings().
|
private |
Definition at line 90 of file DBCALCluster.h.
Referenced by clear(), and makeFromPoints().
|
private |
Definition at line 92 of file DBCALCluster.h.
Referenced by clear(), makeFromPoints(), and toStrings().
|
private |
Definition at line 88 of file DBCALCluster.h.
Referenced by addHit(), makeFromPoints(), and mergeClust().
|
private |
Definition at line 105 of file DBCALCluster.h.
Referenced by clear(), makeFromPoints(), and toStrings().
|
private |
Definition at line 89 of file DBCALCluster.h.
Referenced by makeFromPoints(), and mergeClust().
|
private |
Definition at line 84 of file DBCALCluster.h.
Referenced by addPoint(), DBCALCluster(), makeFromPoints(), mergeClust(), removePoint(), and toStrings().
|
private |
Definition at line 85 of file DBCALCluster.h.
|
private |
Definition at line 101 of file DBCALCluster.h.
Referenced by clear(), makeFromPoints(), and toStrings().
|
private |
Definition at line 106 of file DBCALCluster.h.
Referenced by clear(), and makeFromPoints().
|
private |
Definition at line 102 of file DBCALCluster.h.
Referenced by clear(), and makeFromPoints().
|
private |
Definition at line 98 of file DBCALCluster.h.
Referenced by clear(), and makeFromPoints().
|
private |
Definition at line 104 of file DBCALCluster.h.
Referenced by clear(), and makeFromPoints().
|
private |
Definition at line 86 of file DBCALCluster.h.
Referenced by addHit(), and mergeClust().
|
private |
Definition at line 97 of file DBCALCluster.h.
Referenced by clear(), makeFromPoints(), t0(), and toStrings().
|
private |
Definition at line 99 of file DBCALCluster.h.
Referenced by clear(), makeFromPoints(), and toStrings().
|
private |
Definition at line 103 of file DBCALCluster.h.
Referenced by clear(), makeFromPoints(), t0(), and toStrings().
|
private |
Definition at line 108 of file DBCALCluster.h.
Referenced by makeFromPoints(), and toStrings().
|
private |
Definition at line 109 of file DBCALCluster.h.
Referenced by addPoint(), and makeFromPoints().