8 #ifndef _DFCALShower_factory_
9 #define _DFCALShower_factory_
11 #include <JANA/JFactory.h>
12 #include <JANA/JEventLoop.h>
33 jerror_t
evnt(JEventLoop *eventLoop, uint64_t eventnumber);
34 jerror_t
brun(JEventLoop *loop, int32_t runnumber);
38 DVector3 &pos_corrected,
double &errZ,
41 unsigned int getMaxHit(
const vector< const DFCALHit* >& hitVec )
const;
44 const vector< const DFCALHit* >& hits,
49 const vector< const DFCALHit* >& hits,
50 unsigned int maxIndex )
const;
52 vector< const DTrackWireBased* >
83 #endif // _DFCALShower_factory_
double FCAL_RADIATION_LENGTH
double FCAL_SHOWER_OFFSET
jerror_t brun(JEventLoop *loop, int32_t runnumber)
jerror_t LoadCovarianceLookupTables(JEventLoop *eventLoop)
double SHOWER_ENERGY_THRESHOLD
void getE1925FromHits(double &e1e9Sh, double &e9e25Sh, const vector< const DFCALHit * > &hits, unsigned int maxIndex) const
unsigned int getMaxHit(const vector< const DFCALHit * > &hitVec) const
void getUVFromHits(double &sumUSh, double &sumVSh, const vector< const DFCALHit * > &hits, const DVector3 &showerVec, const DVector3 &trackVec) const
double FCAL_CRITICAL_ENERGY
void GetCorrectedEnergyAndPosition(const DFCALCluster *cluster, double &Ecorrected, DVector3 &pos_corrected, double &errZ, const DVector3 *aVertex)
string COVARIANCEFILENAME
jerror_t evnt(JEventLoop *eventLoop, uint64_t eventnumber)
Invoked via JEventProcessor virtual method.
double LOAD_CCDB_CONSTANTS
TH2F * CovarianceLookupTable[5][5]
jerror_t FillCovarianceMatrix(DFCALShower *shower)
vector< const DTrackWireBased * > filterWireBasedTracks(vector< const DTrackWireBased * > &wbTracks) const