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

#include <DFCALCluster.h>

+ Inheritance diagram for DFCALCluster:

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_tGetHits () 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_tmy_hits
 

Detailed Description

Definition at line 23 of file DFCALCluster.h.

Constructor & Destructor Documentation

DFCALCluster::DFCALCluster ( const int  nhits)
DFCALCluster::~DFCALCluster ( )

Definition at line 44 of file DFCALCluster.cc.

References fEallowed, fEexpected, fHit, and fHitf.

Member Function Documentation

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

int DFCALCluster::getChannelEmax ( ) const
inline

Definition at line 169 of file DFCALCluster.h.

double DFCALCluster::getEallowed ( const int  ihit) const
inline

Definition at line 146 of file DFCALCluster.h.

Referenced by DFCALCluster_factory::evnt().

double DFCALCluster::getEexpected ( const int  ihit) const
inline

Definition at line 138 of file DFCALCluster.h.

Referenced by DFCALCluster_factory::evnt().

double DFCALCluster::getEmax ( ) const
inline

Definition at line 160 of file DFCALCluster.h.

int DFCALCluster::getHitCh ( const userhits_t *const  hitList,
const int  ihit 
) const
inlineprivate

Definition at line 233 of file DFCALCluster.h.

References DFCALCluster::userhit_t::ch, and DFCALCluster::userhits_t::hit.

Referenced by saveHits().

double DFCALCluster::getHitE ( const userhits_t *const  hitList,
const int  ihit 
) const
inlineprivate

Definition at line 283 of file DFCALCluster.h.

References DFCALCluster::userhit_t::E, and DFCALCluster::userhits_t::hit.

Referenced by saveHits().

double DFCALCluster::getHitEhit ( const userhits_t *const  hitList,
const int  ihit 
) const
inlineprivate

Definition at line 293 of file DFCALCluster.h.

References DFCALCluster::userhit_t::E, and DFCALCluster::userhits_t::hit.

JObject::oid_t DFCALCluster::getHitID ( const userhits_t *const  hitList,
const int  ihit 
) const
inlineprivate

Definition at line 223 of file DFCALCluster.h.

References DFCALCluster::userhits_t::hit, and DFCALCluster::userhit_t::id.

Referenced by saveHits().

double DFCALCluster::getHitIntOverPeak ( const userhits_t *const  hitList,
const int  ihit 
) const
inlineprivate

Definition at line 273 of file DFCALCluster.h.

References DFCALCluster::userhits_t::hit, and DFCALCluster::userhit_t::intOverPeak.

Referenced by saveHits().

int DFCALCluster::getHits ( ) const
inline

Definition at line 218 of file DFCALCluster.h.

Referenced by DFCALCluster_factory::evnt().

const vector<DFCALClusterHit_t> DFCALCluster::GetHits ( ) const
inline

Definition at line 84 of file DFCALCluster.h.

Referenced by DFCALCluster_factory::evnt().

double DFCALCluster::getHitT ( const userhits_t *const  hitList,
const int  ihit 
) const
inlineprivate

Definition at line 263 of file DFCALCluster.h.

References DFCALCluster::userhits_t::hit, and DFCALCluster::userhit_t::t.

Referenced by saveHits().

double DFCALCluster::getHitX ( const userhits_t *const  hitList,
const int  ihit 
) const
inlineprivate

Definition at line 243 of file DFCALCluster.h.

References DFCALCluster::userhits_t::hit, and DFCALCluster::userhit_t::x.

Referenced by saveHits().

double DFCALCluster::getHitY ( const userhits_t *const  hitList,
const int  ihit 
) const
inlineprivate

Definition at line 253 of file DFCALCluster.h.

References DFCALCluster::userhits_t::hit, and DFCALCluster::userhit_t::y.

Referenced by saveHits().

uint32_t DFCALCluster::GetNHits ( void  ) const
inline

Definition at line 85 of file DFCALCluster.h.

Referenced by JEventProcessor_FCAL_online::evnt().

double DFCALCluster::getRMS ( ) const
inline

Definition at line 188 of file DFCALCluster.h.

double DFCALCluster::getRMS_t ( ) const
inline

Definition at line 193 of file DFCALCluster.h.

double DFCALCluster::getRMS_u ( ) const
inline

Definition at line 208 of file DFCALCluster.h.

double DFCALCluster::getRMS_v ( ) const
inline

Definition at line 213 of file DFCALCluster.h.

double DFCALCluster::getRMS_x ( ) const
inline

Definition at line 198 of file DFCALCluster.h.

double DFCALCluster::getRMS_y ( ) const
inline

Definition at line 203 of file DFCALCluster.h.

double DFCALCluster::getTime ( ) const
inline
double DFCALCluster::getTimeEWeight ( ) const
inline

Definition at line 178 of file DFCALCluster.h.

Referenced by DFCALShower_factory::evnt().

double DFCALCluster::getTimeMaxE ( ) const
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::shower_profile ( const userhits_t *const  hitList,
const int  ihit,
double &  Eallowed,
double &  Eexpected,
double  fcalMidplaneZ 
) const
private
void DFCALCluster::toStrings ( vector< pair< string, string > > &  items) const
inline

Definition at line 87 of file DFCALCluster.h.

References x, and y.

Member Data Documentation

DVector3 DFCALCluster::fCentroid
private

Definition at line 118 of file DFCALCluster.h.

Referenced by DFCALCluster(), shower_profile(), and update().

int DFCALCluster::fChannelEmax
private

Definition at line 117 of file DFCALCluster.h.

Referenced by DFCALCluster(), and update().

double* DFCALCluster::fEallowed
private

Definition at line 131 of file DFCALCluster.h.

Referenced by DFCALCluster(), update(), and ~DFCALCluster().

double* DFCALCluster::fEexpected
private

Definition at line 130 of file DFCALCluster.h.

Referenced by DFCALCluster(), update(), and ~DFCALCluster().

double DFCALCluster::fEmax
private

Definition at line 116 of file DFCALCluster.h.

Referenced by DFCALCluster(), shower_profile(), and update().

double DFCALCluster::fEnergy
private

Definition at line 112 of file DFCALCluster.h.

Referenced by DFCALCluster(), shower_profile(), and update().

int* DFCALCluster::fHit
private

Definition at line 128 of file DFCALCluster.h.

Referenced by addHit(), DFCALCluster(), update(), and ~DFCALCluster().

double* DFCALCluster::fHitf
private

Definition at line 129 of file DFCALCluster.h.

Referenced by addHit(), DFCALCluster(), update(), and ~DFCALCluster().

int DFCALCluster::fNhits
private

Definition at line 127 of file DFCALCluster.h.

Referenced by addHit(), DFCALCluster(), resetClusterHits(), saveHits(), and update().

double DFCALCluster::fRMS
private

Definition at line 119 of file DFCALCluster.h.

Referenced by DFCALCluster(), and update().

double DFCALCluster::fRMS_t
private

Definition at line 120 of file DFCALCluster.h.

Referenced by DFCALCluster(), and update().

double DFCALCluster::fRMS_u
private

Definition at line 123 of file DFCALCluster.h.

Referenced by DFCALCluster(), and update().

double DFCALCluster::fRMS_v
private

Definition at line 124 of file DFCALCluster.h.

Referenced by DFCALCluster(), and update().

double DFCALCluster::fRMS_x
private

Definition at line 121 of file DFCALCluster.h.

Referenced by DFCALCluster(), and update().

double DFCALCluster::fRMS_y
private

Definition at line 122 of file DFCALCluster.h.

Referenced by DFCALCluster(), and update().

double DFCALCluster::fTime
private

Definition at line 113 of file DFCALCluster.h.

Referenced by DFCALCluster(), and update().

double DFCALCluster::fTimeEWeight
private

Definition at line 115 of file DFCALCluster.h.

Referenced by DFCALCluster(), and update().

double DFCALCluster::fTimeMaxE
private

Definition at line 114 of file DFCALCluster.h.

Referenced by DFCALCluster(), and update().

int DFCALCluster::m_nFcalHits
private

Definition at line 125 of file DFCALCluster.h.

Referenced by DFCALCluster().

vector<DFCALClusterHit_t> DFCALCluster::my_hits
private

Definition at line 134 of file DFCALCluster.h.

Referenced by saveHits().


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