Hall-D Software
alpha
|
#include <DDIRCLut.h>
Public Member Functions | |
JOBJECT_PUBLIC (DDIRCLut) | |
DDIRCLut () | |
~DDIRCLut () | |
bool | brun (JEventLoop *loop) |
bool | CreateDebugHistograms () |
bool | CalcLUT (TVector3 locProjPos, TVector3 locProjMom, const vector< const DDIRCPmtHit * > locDIRCHits, double locFlightTime, Particle_t locPID, shared_ptr< DDIRCMatchParams > &locDIRCMatchParams, const vector< const DDIRCTruthBarHit * > locDIRCBarHits, map< shared_ptr< const DDIRCMatchParams >, vector< const DDIRCPmtHit * > > &locDIRCTrackMatchParams) const |
vector< pair< double, double > > | CalcPhoton (const DDIRCPmtHit *locDIRCHit, double locFlightTime, TVector3 posInBar, TVector3 momInBar, map< Particle_t, double > locExpectedAngle, double locAngle, Particle_t locPID, map< Particle_t, double > &logLikelihoodSum, int &nPhotonsThetaC, double &meanThetaC, double &meanDeltaT, bool &isGood) const |
vector< pair< double, double > > | CalcPhoton (const DDIRCPmtHit *locDIRCHit, double locFlightTime, TVector3 posInBar, TVector3 momInBar, map< Particle_t, double > locExpectedAngle, double locAngle, Particle_t locPID, map< Particle_t, double > &logLikelihoodSum) const |
double | CalcLikelihood (double locExpectedThetaC, double locThetaC) const |
double | CalcAngle (TVector3 momInBar, double locMass) const |
map< Particle_t, double > | CalcExpectedAngles (TVector3 momInBar) const |
Private Attributes | |
DApplication * | dapp |
DDIRCLutReader * | dDIRCLutReader |
const DDIRCGeometry * | dDIRCGeometry |
bool | DIRC_DEBUG_HISTS |
bool | DIRC_TRUTH_BARHIT |
bool | DIRC_TRUTH_PIXELTIME |
double | DIRC_CUT_TDIFFD |
double | DIRC_CUT_TDIFFR |
double | DIRC_SIGMA_THETAC |
double | DIRC_LIGHT_V |
int | dMaxChannels |
double | dCriticalAngle |
double | dIndex |
TH1I * | hDiff |
TH1I * | hDiffT |
TH1I * | hDiffD |
TH1I * | hDiffR |
TH1I * | hTime |
TH1I * | hCalc |
TH1I * | hNph |
TH1I * | hNphC |
TH2I * | hDiff_Pixel [2] |
deque< Particle_t > | dFinalStatePIDs |
map< Particle_t, TH1I * > | hDeltaThetaC |
map< Particle_t, TH2I * > | hDeltaThetaC_Pixel |
Definition at line 28 of file DDIRCLut.h.
DDIRCLut::DDIRCLut | ( | ) |
|
inline |
Definition at line 35 of file DDIRCLut.h.
bool DDIRCLut::brun | ( | JEventLoop * | loop | ) |
Definition at line 57 of file DDIRCLut.cc.
References dapp, and DApplication::GetDIRCLut().
Referenced by DDIRCLut_factory::brun().
double DDIRCLut::CalcAngle | ( | TVector3 | momInBar, |
double | locMass | ||
) | const |
Definition at line 379 of file DDIRCLut.cc.
References sqrt().
Referenced by DEventProcessor_dirc_hists::evnt(), and DCustomAction_dirc_reactions::Perform_Action().
map< Particle_t, double > DDIRCLut::CalcExpectedAngles | ( | TVector3 | momInBar | ) | const |
Definition at line 383 of file DDIRCLut.cc.
References ParticleMass(), and sqrt().
Referenced by DEventProcessor_dirc_hists::evnt(), and DCustomAction_dirc_reactions::Perform_Action().
double DDIRCLut::CalcLikelihood | ( | double | locExpectedThetaC, |
double | locThetaC | ||
) | const |
Definition at line 372 of file DDIRCLut.cc.
bool DDIRCLut::CalcLUT | ( | TVector3 | locProjPos, |
TVector3 | locProjMom, | ||
const vector< const DDIRCPmtHit * > | locDIRCHits, | ||
double | locFlightTime, | ||
Particle_t | locPID, | ||
shared_ptr< DDIRCMatchParams > & | locDIRCMatchParams, | ||
const vector< const DDIRCTruthBarHit * > | locDIRCBarHits, | ||
map< shared_ptr< const DDIRCMatchParams >, vector< const DDIRCPmtHit * > > & | locDIRCTrackMatchParams | ||
) | const |
Definition at line 122 of file DDIRCLut.cc.
References dapp, KPlus, ParticleMass(), PiPlus, Positron, Proton, py, x, and y.
Referenced by DParticleID::Cut_MatchDIRC(), and DEventSourceREST::Extract_DDetectorMatches().
vector< pair< double, double > > DDIRCLut::CalcPhoton | ( | const DDIRCPmtHit * | locDIRCHit, |
double | locFlightTime, | ||
TVector3 | posInBar, | ||
TVector3 | momInBar, | ||
map< Particle_t, double > | locExpectedAngle, | ||
double | locAngle, | ||
Particle_t | locPID, | ||
map< Particle_t, double > & | logLikelihoodSum, | ||
int & | nPhotonsThetaC, | ||
double & | meanThetaC, | ||
double & | meanDeltaT, | ||
bool & | isGood | ||
) | const |
Definition at line 212 of file DDIRCLut.cc.
References DDIRCPmtHit::ch, dapp, dir, KPlus, PiPlus, DDIRCPmtHit::t, and u.
Referenced by DEventProcessor_dirc_hists::evnt(), and DCustomAction_dirc_reactions::Perform_Action().
vector< pair< double, double > > DDIRCLut::CalcPhoton | ( | const DDIRCPmtHit * | locDIRCHit, |
double | locFlightTime, | ||
TVector3 | posInBar, | ||
TVector3 | momInBar, | ||
map< Particle_t, double > | locExpectedAngle, | ||
double | locAngle, | ||
Particle_t | locPID, | ||
map< Particle_t, double > & | logLikelihoodSum | ||
) | const |
Definition at line 364 of file DDIRCLut.cc.
bool DDIRCLut::CreateDebugHistograms | ( | ) |
Definition at line 70 of file DDIRCLut.cc.
References ParticleName_ROOT(), and ParticleType().
DDIRCLut::JOBJECT_PUBLIC | ( | DDIRCLut | ) |
|
private |
Definition at line 47 of file DDIRCLut.h.
|
private |
Definition at line 61 of file DDIRCLut.h.
|
private |
Definition at line 49 of file DDIRCLut.h.
|
private |
Definition at line 48 of file DDIRCLut.h.
|
private |
Definition at line 65 of file DDIRCLut.h.
|
private |
Definition at line 61 of file DDIRCLut.h.
|
private |
Definition at line 55 of file DDIRCLut.h.
|
private |
Definition at line 56 of file DDIRCLut.h.
|
private |
Definition at line 51 of file DDIRCLut.h.
|
private |
Definition at line 58 of file DDIRCLut.h.
|
private |
Definition at line 57 of file DDIRCLut.h.
|
private |
Definition at line 52 of file DDIRCLut.h.
|
private |
Definition at line 53 of file DDIRCLut.h.
|
private |
Definition at line 60 of file DDIRCLut.h.
|
private |
Definition at line 63 of file DDIRCLut.h.
|
private |
Definition at line 66 of file DDIRCLut.h.
|
private |
Definition at line 67 of file DDIRCLut.h.
|
private |
Definition at line 63 of file DDIRCLut.h.
|
private |
Definition at line 64 of file DDIRCLut.h.
|
private |
Definition at line 63 of file DDIRCLut.h.
|
private |
Definition at line 63 of file DDIRCLut.h.
|
private |
Definition at line 63 of file DDIRCLut.h.
|
private |
Definition at line 63 of file DDIRCLut.h.
|
private |
Definition at line 63 of file DDIRCLut.h.
|
private |
Definition at line 63 of file DDIRCLut.h.