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

#include <DBCALCluster.h>

+ Inheritance diagram for DBCALCluster:

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 DBCALGeometrym_BCALGeom
 

Detailed Description

Definition at line 22 of file DBCALCluster.h.

Constructor & Destructor Documentation

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().

Member Function Documentation

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 
)
void DBCALCluster::clear ( )
private
float DBCALCluster::E_L2 ( ) const
inline

Definition at line 43 of file DBCALCluster.h.

float DBCALCluster::E_L3 ( ) const
inline

Definition at line 44 of file DBCALCluster.h.

float DBCALCluster::E_L4 ( ) const
inline

Definition at line 45 of file DBCALCluster.h.

float DBCALCluster::E_preshower ( ) const
inline

Definition at line 42 of file DBCALCluster.h.

vector< pair<const DBCALUnifiedHit*,double> > DBCALCluster::hits ( ) const
inline

Definition at line 35 of file DBCALCluster.h.

Referenced by JEventProcessor_BCAL_Hadronic_Eff::evnt(), and mergeClust().

DBCALCluster::JOBJECT_PUBLIC ( DBCALCluster  )
void DBCALCluster::mergeClust ( const DBCALCluster clust,
double  point_reatten_E 
)
int DBCALCluster::nCells ( ) const
inline

Definition at line 37 of file DBCALCluster.h.

Referenced by JEventProcessor_BCAL_online::evnt().

vector< const DBCALPoint* > DBCALCluster::points ( ) const
inline

Definition at line 31 of file DBCALCluster.h.

Referenced by JEventProcessor_BCAL_Hadronic_Eff::evnt(), and mergeClust().

int DBCALCluster::Q ( ) const
inline

Definition at line 68 of file DBCALCluster.h.

Referenced by DBCALCluster_factory::overlap().

void DBCALCluster::removePoint ( const DBCALPoint point)
float DBCALCluster::rmsTime ( ) const
inline

Definition at line 51 of file DBCALCluster.h.

float DBCALCluster::sigPhi ( ) const
inline
float DBCALCluster::sigRho ( ) const
inline

Definition at line 60 of file DBCALCluster.h.

Referenced by JEventProcessor_BCAL_online::evnt().

float DBCALCluster::sigT ( ) const
inline

Definition at line 50 of file DBCALCluster.h.

Referenced by JEventProcessor_BCAL_online::evnt().

float DBCALCluster::sigTheta ( ) const
inline
float DBCALCluster::t0 ( ) const
void DBCALCluster::toStrings ( vector< pair< string, string > > &  items) const

Member Data Documentation

int DBCALCluster::charge
private

Definition at line 110 of file DBCALCluster.h.

Referenced by makeFromPoints(), and toStrings().

const DBCALGeometry* DBCALCluster::m_BCALGeom
private

Definition at line 111 of file DBCALCluster.h.

Referenced by makeFromPoints(), and t0().

float DBCALCluster::m_E
private

Definition at line 91 of file DBCALCluster.h.

Referenced by clear(), makeFromPoints(), removePoint(), and toStrings().

float DBCALCluster::m_E_L2
private

Definition at line 93 of file DBCALCluster.h.

Referenced by clear(), makeFromPoints(), and toStrings().

float DBCALCluster::m_E_L3
private

Definition at line 94 of file DBCALCluster.h.

Referenced by clear(), makeFromPoints(), and toStrings().

float DBCALCluster::m_E_L4
private

Definition at line 95 of file DBCALCluster.h.

Referenced by clear(), makeFromPoints(), and toStrings().

float DBCALCluster::m_E_points
private

Definition at line 90 of file DBCALCluster.h.

Referenced by clear(), and makeFromPoints().

float DBCALCluster::m_E_preshower
private

Definition at line 92 of file DBCALCluster.h.

Referenced by clear(), makeFromPoints(), and toStrings().

float DBCALCluster::m_hit_E_unattenuated_sum
private

Definition at line 88 of file DBCALCluster.h.

Referenced by addHit(), makeFromPoints(), and mergeClust().

float DBCALCluster::m_phi
private

Definition at line 105 of file DBCALCluster.h.

Referenced by clear(), makeFromPoints(), and toStrings().

float DBCALCluster::m_point_reatten_E_sum
private

Definition at line 89 of file DBCALCluster.h.

Referenced by makeFromPoints(), and mergeClust().

vector< const DBCALPoint* > DBCALCluster::m_points
private
vector< const DBCALPoint* > DBCALCluster::m_points_remove
private

Definition at line 85 of file DBCALCluster.h.

float DBCALCluster::m_rho
private

Definition at line 101 of file DBCALCluster.h.

Referenced by clear(), makeFromPoints(), and toStrings().

float DBCALCluster::m_sig_phi
private

Definition at line 106 of file DBCALCluster.h.

Referenced by clear(), and makeFromPoints().

float DBCALCluster::m_sig_rho
private

Definition at line 102 of file DBCALCluster.h.

Referenced by clear(), and makeFromPoints().

float DBCALCluster::m_sig_t
private

Definition at line 98 of file DBCALCluster.h.

Referenced by clear(), and makeFromPoints().

float DBCALCluster::m_sig_theta
private

Definition at line 104 of file DBCALCluster.h.

Referenced by clear(), and makeFromPoints().

vector< pair<const DBCALUnifiedHit*,double> > DBCALCluster::m_single_ended_hits
private

Definition at line 86 of file DBCALCluster.h.

Referenced by addHit(), and mergeClust().

float DBCALCluster::m_t
private

Definition at line 97 of file DBCALCluster.h.

Referenced by clear(), makeFromPoints(), t0(), and toStrings().

float DBCALCluster::m_t_rms
private

Definition at line 99 of file DBCALCluster.h.

Referenced by clear(), makeFromPoints(), and toStrings().

float DBCALCluster::m_theta
private

Definition at line 103 of file DBCALCluster.h.

Referenced by clear(), makeFromPoints(), t0(), and toStrings().

float DBCALCluster::m_z_target_center
private

Definition at line 108 of file DBCALCluster.h.

Referenced by makeFromPoints(), and toStrings().

int DBCALCluster::new_point_q
private

Definition at line 109 of file DBCALCluster.h.

Referenced by addPoint(), and makeFromPoints().


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