8 #ifndef _DMCThrownMatching_factory_
9 #define _DMCThrownMatching_factory_
13 #include "TDecompLU.h"
15 #include <JANA/JFactory.h>
42 bool Calc_InverseMatrix(
const TMatrixFSym& locInputCovarianceMatrix, TMatrixDSym& locInverse3x3Matrix)
const;
43 double Calc_MatchFOM(
const DVector3& locMomentum_Thrown,
const DVector3& locMomentum_Detected, TMatrixDSym locInverse3x3Matrix)
const;
47 jerror_t brun(jana::JEventLoop *locEventLoop, int32_t runnumber);
48 jerror_t evnt(jana::JEventLoop *locEventLoop, uint64_t eventnumber);
52 void Find_GenReconMatches_BeamPhotons(JEventLoop* locEventLoop,
DMCThrownMatching* locMCThrownMatching)
const;
54 void Find_GenReconMatches_ChargedTrack(
const vector<const DChargedTrack*>& locChargedTracks,
DMCThrownMatching* locMCThrownMatching)
const;
55 void Find_GenReconMatches_ChargedHypo(
const vector<const DMCThrown*>& locInputMCThrownVector,
const vector<const DChargedTrackHypothesis*>& locInputChargedTrackHypothesisVector,
DMCThrownMatching* locMCThrownMatching)
const;
57 void Find_GenReconMatches_NeutralParticle(
const vector<const DNeutralParticle*>& locNeutralParticles,
DMCThrownMatching* locMCThrownMatching)
const;
58 void Find_GenReconMatches_NeutralHypo(
const vector<const DMCThrown*>& locInputMCThrownVector,
const vector<const DNeutralParticleHypothesis*>& locInputNeutralParticleHypothesisVector,
DMCThrownMatching* locMCThrownMatching)
const;
60 void Find_GenReconMatches_TOFPoints(JEventLoop* locEventLoop,
DMCThrownMatching* locMCThrownMatching)
const;
61 void Find_GenReconMatches_BCALShowers(JEventLoop* locEventLoop,
DMCThrownMatching* locMCThrownMatching)
const;
62 void Find_GenReconMatches_FCALShowers(JEventLoop* locEventLoop,
DMCThrownMatching* locMCThrownMatching)
const;
73 #endif // _DMCThrownMatching_factory_
double dMaximumBCALMatchAngleDegrees
double dMaximumFCALMatchDistance
double dMinTrackMatchHitFraction
double dMaximumTOFMatchDistance
double dMaxTotalParticleErrorForMatch