8 #ifndef _DCCALShower_factory_
9 #define _DCCALShower_factory_
11 #include <JANA/JFactory.h>
12 #include <JANA/JEventLoop.h>
30 jerror_t brun(JEventLoop *eventLoop, int32_t runnumber);
31 jerror_t evnt(JEventLoop *eventLoop, uint64_t eventnumber);
33 void cleanHitPattern( vector< const DCCALHit* > hitarray, vector< const DCCALHit* > &hitarrayClean );
36 float getCorrectedTime(
float time,
float energy );
39 float f_nonlin(
float e,
int id );
41 bool LoadCCALProfileData(JApplication *
japp, int32_t runnumber);
73 #endif // _DCCALShower_factory_
float CCAL_CRITICAL_ENERGY
int DO_NONLINEAR_CORRECTION
float energy_correct(float c_energy, int central_id)
float CCAL_RADIATION_LENGTH
vector< float > timewalk_p0
vector< float > Nonlin_p0
vector< float > Nonlin_p1
float shower_depth(float energy)
vector< float > timewalk_p3
vector< float > timewalk_p1
int MIN_CLUSTER_BLOCK_COUNT
cluster_t cluster_storage[MAX_CLUSTERS]
vector< float > Nonlin_p2
vector< float > timewalk_p2
static const int kCCALMaxChannels
int MAX_HITS_FOR_CLUSTERING
ccalcluster_t ccalcluster[MAX_CLUSTERS]
float MIN_CLUSTER_SEED_ENERGY
vector< float > Nonlin_p3