Hall-D Software
alpha
|
#include <DFCALCluster.h>
Classes | |
struct | DFCALClusterHit_t |
struct | userhit_t |
struct | userhits_t |
Public Member Functions | |
JOBJECT_PUBLIC (DFCALCluster) | |
DFCALCluster (const int nhits) | |
~DFCALCluster () | |
void | saveHits (const userhits_t *const hit) |
double | getEexpected (const int ihit) const |
double | getEallowed (const int ihit) const |
double | getEnergy () const |
double | getEmax () const |
int | getChannelEmax () const |
double | getTime () const |
double | getTimeMaxE () const |
double | getTimeEWeight () const |
DVector3 | getCentroid () const |
double | getRMS () const |
double | getRMS_t () const |
double | getRMS_x () const |
double | getRMS_y () const |
double | getRMS_u () const |
double | getRMS_v () const |
int | getHits () const |
int | addHit (const int ihit, const double frac) |
void | resetClusterHits () |
bool | update (const userhits_t *const hitList, double fcalFaceZ) |
const vector< DFCALClusterHit_t > | GetHits () const |
uint32_t | GetNHits (void) const |
void | toStrings (vector< pair< string, string > > &items) const |
Private Member Functions | |
void | shower_profile (const userhits_t *const hitList, const int ihit, double &Eallowed, double &Eexpected, double fcalMidplaneZ) const |
oid_t | getHitID (const userhits_t *const hitList, const int ihit) const |
int | getHitCh (const userhits_t *const hitList, const int ihit) const |
double | getHitX (const userhits_t *const hitList, const int ihit) const |
double | getHitY (const userhits_t *const hitList, const int ihit) const |
double | getHitT (const userhits_t *const hitList, const int ihit) const |
double | getHitIntOverPeak (const userhits_t *const hitList, const int ihit) const |
double | getHitE (const userhits_t *const hitList, const int ihit) const |
double | getHitEhit (const userhits_t *const hitList, const int ihit) const |
Private Attributes | |
double | fEnergy |
double | fTime |
double | fTimeMaxE |
double | fTimeEWeight |
double | fEmax |
int | fChannelEmax |
DVector3 | fCentroid |
double | fRMS |
double | fRMS_t |
double | fRMS_x |
double | fRMS_y |
double | fRMS_u |
double | fRMS_v |
int | m_nFcalHits |
int | fNhits |
int * | fHit |
double * | fHitf |
double * | fEexpected |
double * | fEallowed |
vector< DFCALClusterHit_t > | my_hits |
Definition at line 23 of file DFCALCluster.h.
DFCALCluster::DFCALCluster | ( | const int | nhits | ) |
Definition at line 12 of file DFCALCluster.cc.
References fCentroid, fChannelEmax, fEallowed, fEexpected, fEmax, fEnergy, fHit, fHitf, fNhits, fRMS, fRMS_t, fRMS_u, fRMS_v, fRMS_x, fRMS_y, fTime, fTimeEWeight, fTimeMaxE, and m_nFcalHits.
DFCALCluster::~DFCALCluster | ( | ) |
Definition at line 44 of file DFCALCluster.cc.
References fEallowed, fEexpected, fHit, and fHitf.
int DFCALCluster::addHit | ( | const int | ihit, |
const double | frac | ||
) |
Definition at line 86 of file DFCALCluster.cc.
References fHit, fHitf, and fNhits.
Referenced by DFCALCluster_factory::evnt().
|
inline |
Definition at line 183 of file DFCALCluster.h.
Referenced by DEventProcessor_bcal_hists::evnt(), JEventProcessor_FCAL_online::evnt(), JEventProcessor_BCAL_inv_mass::evnt(), DEventProcessor_BCAL_Shower::evnt(), and DFCALShower_factory::GetCorrectedEnergyAndPosition().
|
inline |
Definition at line 169 of file DFCALCluster.h.
|
inline |
Definition at line 146 of file DFCALCluster.h.
Referenced by DFCALCluster_factory::evnt().
|
inline |
Definition at line 138 of file DFCALCluster.h.
Referenced by DFCALCluster_factory::evnt().
|
inline |
Definition at line 160 of file DFCALCluster.h.
|
inline |
Definition at line 155 of file DFCALCluster.h.
Referenced by DEventProcessor_bcal_hists::evnt(), JEventProcessor_FCAL_online::evnt(), JEventProcessor_BCAL_inv_mass::evnt(), DEventProcessor_BCAL_Shower::evnt(), and DFCALShower_factory::GetCorrectedEnergyAndPosition().
|
inlineprivate |
Definition at line 233 of file DFCALCluster.h.
References DFCALCluster::userhit_t::ch, and DFCALCluster::userhits_t::hit.
Referenced by saveHits().
|
inlineprivate |
Definition at line 283 of file DFCALCluster.h.
References DFCALCluster::userhit_t::E, and DFCALCluster::userhits_t::hit.
Referenced by saveHits().
|
inlineprivate |
Definition at line 293 of file DFCALCluster.h.
References DFCALCluster::userhit_t::E, and DFCALCluster::userhits_t::hit.
|
inlineprivate |
Definition at line 223 of file DFCALCluster.h.
References DFCALCluster::userhits_t::hit, and DFCALCluster::userhit_t::id.
Referenced by saveHits().
|
inlineprivate |
Definition at line 273 of file DFCALCluster.h.
References DFCALCluster::userhits_t::hit, and DFCALCluster::userhit_t::intOverPeak.
Referenced by saveHits().
|
inline |
Definition at line 218 of file DFCALCluster.h.
Referenced by DFCALCluster_factory::evnt().
|
inline |
Definition at line 84 of file DFCALCluster.h.
Referenced by DFCALCluster_factory::evnt().
|
inlineprivate |
Definition at line 263 of file DFCALCluster.h.
References DFCALCluster::userhits_t::hit, and DFCALCluster::userhit_t::t.
Referenced by saveHits().
|
inlineprivate |
Definition at line 243 of file DFCALCluster.h.
References DFCALCluster::userhits_t::hit, and DFCALCluster::userhit_t::x.
Referenced by saveHits().
|
inlineprivate |
Definition at line 253 of file DFCALCluster.h.
References DFCALCluster::userhits_t::hit, and DFCALCluster::userhit_t::y.
Referenced by saveHits().
|
inline |
Definition at line 85 of file DFCALCluster.h.
Referenced by JEventProcessor_FCAL_online::evnt().
|
inline |
Definition at line 188 of file DFCALCluster.h.
|
inline |
Definition at line 193 of file DFCALCluster.h.
|
inline |
Definition at line 208 of file DFCALCluster.h.
|
inline |
Definition at line 213 of file DFCALCluster.h.
|
inline |
Definition at line 198 of file DFCALCluster.h.
|
inline |
Definition at line 203 of file DFCALCluster.h.
|
inline |
Definition at line 165 of file DFCALCluster.h.
Referenced by JEventProcessor_FCAL_online::evnt(), and DEventProcessor_BCAL_Shower::evnt().
|
inline |
Definition at line 178 of file DFCALCluster.h.
Referenced by DFCALShower_factory::evnt().
|
inline |
Definition at line 173 of file DFCALCluster.h.
DFCALCluster::JOBJECT_PUBLIC | ( | DFCALCluster | ) |
void DFCALCluster::resetClusterHits | ( | ) |
Definition at line 100 of file DFCALCluster.cc.
References fNhits.
Referenced by DFCALCluster_factory::evnt().
void DFCALCluster::saveHits | ( | const userhits_t *const | hit | ) |
Definition at line 57 of file DFCALCluster.cc.
References DFCALCluster::DFCALClusterHit_t::ch, DFCALCluster::DFCALClusterHit_t::E, fNhits, getHitCh(), getHitE(), getHitID(), getHitIntOverPeak(), getHitT(), getHitX(), getHitY(), h, DFCALCluster::DFCALClusterHit_t::id, DFCALCluster::DFCALClusterHit_t::intOverPeak, my_hits, DFCALCluster::DFCALClusterHit_t::t, DFCALCluster::DFCALClusterHit_t::x, and DFCALCluster::DFCALClusterHit_t::y.
Referenced by DFCALCluster_factory::evnt().
|
private |
Definition at line 264 of file DFCALCluster.cc.
References fCentroid, fEmax, fEnergy, DFCALCluster::userhits_t::hit, MAX_SHOWER_RADIUS, MOLIERE_RADIUS, sin(), SQR, sqrt(), u, DFCALCluster::userhit_t::x, x, DFCALCluster::userhit_t::y, and y.
Referenced by update().
Definition at line 87 of file DFCALCluster.h.
bool DFCALCluster::update | ( | const userhits_t *const | hitList, |
double | fcalFaceZ | ||
) |
Definition at line 107 of file DFCALCluster.cc.
References DFCALGeometry::blockLength(), DFCALCluster::userhit_t::ch, DFCALCluster::userhit_t::E, fCentroid, fChannelEmax, fEallowed, fEexpected, fEmax, fEnergy, fHit, fHitf, fNhits, fRMS, fRMS_t, fRMS_u, fRMS_v, fRMS_x, fRMS_y, fTime, fTimeEWeight, fTimeMaxE, h, DFCALCluster::userhits_t::hit, DFCALCluster::userhits_t::nhits, shower_profile(), sin(), SQR, sqrt(), DFCALCluster::userhit_t::t, u, DFCALCluster::userhit_t::x, x, DFCALCluster::userhit_t::y, and y.
Referenced by DFCALCluster_factory::evnt().
|
private |
Definition at line 118 of file DFCALCluster.h.
Referenced by DFCALCluster(), shower_profile(), and update().
|
private |
Definition at line 117 of file DFCALCluster.h.
Referenced by DFCALCluster(), and update().
|
private |
Definition at line 131 of file DFCALCluster.h.
Referenced by DFCALCluster(), update(), and ~DFCALCluster().
|
private |
Definition at line 130 of file DFCALCluster.h.
Referenced by DFCALCluster(), update(), and ~DFCALCluster().
|
private |
Definition at line 116 of file DFCALCluster.h.
Referenced by DFCALCluster(), shower_profile(), and update().
|
private |
Definition at line 112 of file DFCALCluster.h.
Referenced by DFCALCluster(), shower_profile(), and update().
|
private |
Definition at line 128 of file DFCALCluster.h.
Referenced by addHit(), DFCALCluster(), update(), and ~DFCALCluster().
|
private |
Definition at line 129 of file DFCALCluster.h.
Referenced by addHit(), DFCALCluster(), update(), and ~DFCALCluster().
|
private |
Definition at line 127 of file DFCALCluster.h.
Referenced by addHit(), DFCALCluster(), resetClusterHits(), saveHits(), and update().
|
private |
Definition at line 119 of file DFCALCluster.h.
Referenced by DFCALCluster(), and update().
|
private |
Definition at line 120 of file DFCALCluster.h.
Referenced by DFCALCluster(), and update().
|
private |
Definition at line 123 of file DFCALCluster.h.
Referenced by DFCALCluster(), and update().
|
private |
Definition at line 124 of file DFCALCluster.h.
Referenced by DFCALCluster(), and update().
|
private |
Definition at line 121 of file DFCALCluster.h.
Referenced by DFCALCluster(), and update().
|
private |
Definition at line 122 of file DFCALCluster.h.
Referenced by DFCALCluster(), and update().
|
private |
Definition at line 113 of file DFCALCluster.h.
Referenced by DFCALCluster(), and update().
|
private |
Definition at line 115 of file DFCALCluster.h.
Referenced by DFCALCluster(), and update().
|
private |
Definition at line 114 of file DFCALCluster.h.
Referenced by DFCALCluster(), and update().
|
private |
Definition at line 125 of file DFCALCluster.h.
Referenced by DFCALCluster().
|
private |
Definition at line 134 of file DFCALCluster.h.
Referenced by saveHits().