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

#include <DCCALShower_factory.h>

+ Inheritance diagram for DCCALShower_factory:

Public Member Functions

 DCCALShower_factory ()
 
 ~DCCALShower_factory ()
 

Private Member Functions

jerror_t brun (JEventLoop *eventLoop, int32_t runnumber)
 
jerror_t evnt (JEventLoop *eventLoop, uint64_t eventnumber)
 
void cleanHitPattern (vector< const DCCALHit * > hitarray, vector< const DCCALHit * > &hitarrayClean)
 
void final_cluster_processing (vector< ccalcluster_t > &ccalcluster, int n_h_clusters)
 
float getEnergyWeightedTime (cluster_t cluster_storage, int nHits)
 
float getCorrectedTime (float time, float energy)
 
float shower_depth (float energy)
 
float energy_correct (float energy, int id)
 
float f_nonlin (float e, int id)
 
bool LoadCCALProfileData (JApplication *japp, int32_t runnumber)
 

Private Attributes

double m_zTarget
 
double m_CCALfront
 
JApplication * japp
 
int SHOWER_DEBUG
 
int MIN_CLUSTER_BLOCK_COUNT
 
float MIN_CLUSTER_SEED_ENERGY
 
float MIN_CLUSTER_ENERGY
 
float MAX_CLUSTER_ENERGY
 
float TIME_CUT
 
int MAX_HITS_FOR_CLUSTERING
 
int DO_NONLINEAR_CORRECTION
 
float CCAL_RADIATION_LENGTH
 
float CCAL_CRITICAL_ENERGY
 
int CCAL_CHANS = DCCALGeometry::kCCALMaxChannels
 
vector< float > Nonlin_p0
 
vector< float > Nonlin_p1
 
vector< float > Nonlin_p2
 
vector< float > Nonlin_p3
 
vector< float > timewalk_p0
 
vector< float > timewalk_p1
 
vector< float > timewalk_p2
 
vector< float > timewalk_p3
 

Detailed Description

Definition at line 21 of file DCCALShower_factory.h.

Constructor & Destructor Documentation

DCCALShower_factory::DCCALShower_factory ( )

Definition at line 116 of file DCCALShower_factory.cc.

DCCALShower_factory::~DCCALShower_factory ( )
inline

Definition at line 25 of file DCCALShower_factory.h.

Member Function Documentation

jerror_t DCCALShower_factory::brun ( JEventLoop *  eventLoop,
int32_t  runnumber 
)
private
void DCCALShower_factory::cleanHitPattern ( vector< const DCCALHit * >  hitarray,
vector< const DCCALHit * > &  hitarrayClean 
)
private

Definition at line 513 of file DCCALShower_factory.cc.

References column.

float DCCALShower_factory::energy_correct ( float  energy,
int  id 
)
private

Definition at line 669 of file DCCALShower_factory.cc.

References e.

float DCCALShower_factory::f_nonlin ( float  e,
int  id 
)
private

Definition at line 703 of file DCCALShower_factory.cc.

void DCCALShower_factory::final_cluster_processing ( vector< ccalcluster_t > &  ccalcluster,
int  n_h_clusters 
)
private

Definition at line 543 of file DCCALShower_factory.cc.

References e, energy_correct(), MAX_CC, n_h_clusters, printf(), and sqrt().

float DCCALShower_factory::getCorrectedTime ( float  time,
float  energy 
)
private

Definition at line 632 of file DCCALShower_factory.cc.

float DCCALShower_factory::getEnergyWeightedTime ( cluster_t  cluster_storage,
int  nHits 
)
private

Definition at line 611 of file DCCALShower_factory.cc.

References cluster_t::E, MAX_CC, and cluster_t::t.

bool DCCALShower_factory::LoadCCALProfileData ( JApplication *  japp,
int32_t  runnumber 
)
private

Definition at line 35 of file DCCALShower_factory.cc.

References CCAL_PROFILE_LOADED, init_island_(), and sprintf().

float DCCALShower_factory::shower_depth ( float  energy)
private

Definition at line 655 of file DCCALShower_factory.cc.

Member Data Documentation

int DCCALShower_factory::CCAL_CHANS = DCCALGeometry::kCCALMaxChannels
private

Definition at line 60 of file DCCALShower_factory.h.

float DCCALShower_factory::CCAL_CRITICAL_ENERGY
private

Definition at line 58 of file DCCALShower_factory.h.

float DCCALShower_factory::CCAL_RADIATION_LENGTH
private

Definition at line 57 of file DCCALShower_factory.h.

int DCCALShower_factory::DO_NONLINEAR_CORRECTION
private

Definition at line 55 of file DCCALShower_factory.h.

JApplication* DCCALShower_factory::japp
private

Definition at line 46 of file DCCALShower_factory.h.

double DCCALShower_factory::m_CCALfront
private

Definition at line 44 of file DCCALShower_factory.h.

double DCCALShower_factory::m_zTarget
private

Definition at line 43 of file DCCALShower_factory.h.

float DCCALShower_factory::MAX_CLUSTER_ENERGY
private

Definition at line 52 of file DCCALShower_factory.h.

int DCCALShower_factory::MAX_HITS_FOR_CLUSTERING
private

Definition at line 54 of file DCCALShower_factory.h.

int DCCALShower_factory::MIN_CLUSTER_BLOCK_COUNT
private

Definition at line 49 of file DCCALShower_factory.h.

float DCCALShower_factory::MIN_CLUSTER_ENERGY
private

Definition at line 51 of file DCCALShower_factory.h.

float DCCALShower_factory::MIN_CLUSTER_SEED_ENERGY
private

Definition at line 50 of file DCCALShower_factory.h.

vector< float > DCCALShower_factory::Nonlin_p0
private

Definition at line 61 of file DCCALShower_factory.h.

vector< float > DCCALShower_factory::Nonlin_p1
private

Definition at line 62 of file DCCALShower_factory.h.

vector< float > DCCALShower_factory::Nonlin_p2
private

Definition at line 63 of file DCCALShower_factory.h.

vector< float > DCCALShower_factory::Nonlin_p3
private

Definition at line 64 of file DCCALShower_factory.h.

int DCCALShower_factory::SHOWER_DEBUG
private

Definition at line 48 of file DCCALShower_factory.h.

float DCCALShower_factory::TIME_CUT
private

Definition at line 53 of file DCCALShower_factory.h.

vector< float > DCCALShower_factory::timewalk_p0
private

Definition at line 66 of file DCCALShower_factory.h.

vector< float > DCCALShower_factory::timewalk_p1
private

Definition at line 67 of file DCCALShower_factory.h.

vector< float > DCCALShower_factory::timewalk_p2
private

Definition at line 68 of file DCCALShower_factory.h.

vector< float > DCCALShower_factory::timewalk_p3
private

Definition at line 69 of file DCCALShower_factory.h.


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