Hall-D Software
alpha
|
#include <DParticleID.h>
Classes | |
class | dedx_t |
Public Member Functions | |
JOBJECT_PUBLIC (DParticleID) | |
DParticleID (JEventLoop *loop) | |
virtual | ~DParticleID (void) |
virtual jerror_t | CalcDCdEdxChiSq (DChargedTrackHypothesis *locChargedTrackHypothesis) const =0 |
jerror_t | GetDCdEdxHits (const DTrackTimeBased *track, vector< dedx_t > &dEdxHits_CDC, vector< dedx_t > &dEdxHits_FDC) const |
jerror_t | CalcDCdEdx (const DTrackTimeBased *locTrackTimeBased, double &locdEdx_FDC, double &locdx_FDC, double &locdEdx_CDC, double &locdEdx_CDC_amp, double &locdx_CDC, double &locdx_CDC_amp, unsigned int &locNumHitsUsedFordEdx_FDC, unsigned int &locNumHitsUsedFordEdx_CDC) const |
jerror_t | CalcDCdEdx (const DTrackTimeBased *locTrackTimeBased, const vector< dedx_t > &locdEdxHits_CDC, const vector< dedx_t > &locdEdxHits_FDC, double &locdEdx_FDC, double &locdx_FDC, double &locdEdx_CDC, double &locdEdx_CDC_amp, double &locdx_CDC, double &locdx_CDC_amp, unsigned int &locNumHitsUsedFordEdx_FDC, unsigned int &locNumHitsUsedFordEdx_CDC) const |
jerror_t | CalcdEdxHit (const DVector3 &mom, const DVector3 &pos, const DCDCTrackHit *hit, dedx_t &dedx) const |
double | CalcdXHit (const DVector3 &mom, const DVector3 &pos, const DCoordinateSystem *wire) const |
jerror_t | GroupTracks (vector< const DTrackTimeBased * > &tracks, vector< vector< const DTrackTimeBased * > > &grouped_tracks) const |
void | GetScintMPdEandSigma (double p, double M, double x, double &most_prob_dE, double &sigma_dE) const |
double | GetMostProbabledEdx_DC (double p, double mass, double dx, bool locIsCDCFlag) const |
double | GetdEdxSigma_DC (double num_hits, double p, double mass, double mean_path_length, bool locIsCDCFlag) const |
virtual jerror_t | GetdEdxMean_CDC (double locBeta, unsigned int locNumHitsUsedFordEdx, double &locMeandEdx, Particle_t locPIDHypothesis) const =0 |
virtual jerror_t | GetdEdxSigma_CDC (double locBeta, unsigned int locNumHitsUsedFordEdx, double &locSigmadEdx, Particle_t locPIDHypothesis) const =0 |
virtual jerror_t | GetdEdxMean_FDC (double locBeta, unsigned int locNumHitsUsedFordEdx, double &locMeandEdx, Particle_t locPIDHypothesis) const =0 |
virtual jerror_t | GetdEdxSigma_FDC (double locBeta, unsigned int locNumHitsUsedFordEdx, double &locSigmadEdx, Particle_t locPIDHypothesis) const =0 |
virtual double | GetProtondEdxMean_SC (double locBeta) const =0 |
virtual double | GetProtondEdxSigma_SC (double locBeta) const =0 |
virtual double | GetTimeVariance (DetectorSystem_t detector, Particle_t particle, double p) const =0 |
virtual double | GetEOverPMean (DetectorSystem_t detector, double p) const =0 |
virtual double | GetEOverPSigma (DetectorSystem_t detector, double p) const =0 |
bool | Distance_ToTrack (const DReferenceTrajectory *rt, const DFCALShower *locFCALShower, double locInputStartTime, shared_ptr< DFCALShowerMatchParams > &locShowerMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Distance_ToTrack (const DReferenceTrajectory *rt, const DBCALShower *locBCALShower, double locInputStartTime, shared_ptr< DBCALShowerMatchParams > &locShowerMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Distance_ToTrack (const DReferenceTrajectory *rt, const DTOFPoint *locTOFPoint, double locInputStartTime, shared_ptr< DTOFHitMatchParams > &locTOFHitMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Distance_ToTrack (const DReferenceTrajectory *rt, const DSCHit *locSCHit, double locInputStartTime, shared_ptr< DSCHitMatchParams > &locSCHitMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | ProjectTo_SC (const DReferenceTrajectory *rt, unsigned int locSCSector, double &locDeltaPhi, DVector3 &locProjPos, DVector3 &locProjMom, DVector3 &locPaddleNorm, double &locPathLength, double &locFlightTime, double &locFlightTimeVariance, int &locSCPlane) const |
double | Distance_ToTrack (const DFCALShower *locFCALShower, const DVector3 &locProjPos) const |
bool | Distance_ToTrack (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const DFCALShower *locFCALShower, double locInputStartTime, shared_ptr< DFCALShowerMatchParams > &locShowerMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Distance_ToTrack (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const DTOFPoint *locTOFPoint, double locInputStartTime, shared_ptr< DTOFHitMatchParams > &locTOFHitMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Distance_ToTrack (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const DSCHit *locSCHit, double locInputStartTime, shared_ptr< DSCHitMatchParams > &locSCHitMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Distance_ToTrack (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const DBCALShower *locBCALShower, double locInputStartTime, shared_ptr< DBCALShowerMatchParams > &locShowerMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Cut_MatchDistance (const DReferenceTrajectory *rt, const DBCALShower *locBCALShower, double locInputStartTime, shared_ptr< DBCALShowerMatchParams > &locShowerMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Cut_MatchDistance (const DReferenceTrajectory *rt, const DTOFPoint *locTOFPoint, double locInputStartTime, shared_ptr< DTOFHitMatchParams > &locTOFHitMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Cut_MatchDistance (const DReferenceTrajectory *rt, const DSCHit *locSCHit, double locInputStartTime, shared_ptr< DSCHitMatchParams > &locSCHitMatchParams, bool locIsTimeBased, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Cut_MatchDistance (const DReferenceTrajectory *rt, const DFCALShower *locFCALShower, double locInputStartTime, shared_ptr< DFCALShowerMatchParams > &locShowerMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Cut_MatchDistance (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const DBCALShower *locBCALShower, double locInputStartTime, shared_ptr< DBCALShowerMatchParams > &locShowerMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Cut_MatchDistance (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const DFCALShower *locFCALShower, double locInputStartTime, shared_ptr< DFCALShowerMatchParams > &locShowerMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Cut_MatchDistance (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const DTOFPoint *locTOFPoint, double locInputStartTime, shared_ptr< DTOFHitMatchParams > &locTOFHitMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Cut_MatchDistance (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const DSCHit *locSCHit, double locInputStartTime, shared_ptr< DSCHitMatchParams > &locSCHitMatchParams, bool locIsTimeBased, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Cut_MatchDIRC (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DDIRCPmtHit * > locDIRCHits, double locInputStartTime, Particle_t locPID, shared_ptr< DDIRCMatchParams > &locDIRCMatchParams, const vector< const DDIRCTruthBarHit * > locDIRCBarHits, map< shared_ptr< const DDIRCMatchParams >, vector< const DDIRCPmtHit * > > &locDIRCTrackMatchParams, DVector3 *locOutputProjPos=nullptr, DVector3 *locOutputProjMom=nullptr) const |
bool | Get_BestBCALMatchParams (const DTrackingData *locTrack, const DDetectorMatches *locDetectorMatches, shared_ptr< const DBCALShowerMatchParams > &locBestMatchParams) const |
bool | Get_BestSCMatchParams (const DTrackingData *locTrack, const DDetectorMatches *locDetectorMatches, shared_ptr< const DSCHitMatchParams > &locBestMatchParams) const |
bool | Get_BestTOFMatchParams (const DTrackingData *locTrack, const DDetectorMatches *locDetectorMatches, shared_ptr< const DTOFHitMatchParams > &locBestMatchParams) const |
bool | Get_BestFCALMatchParams (const DTrackingData *locTrack, const DDetectorMatches *locDetectorMatches, shared_ptr< const DFCALShowerMatchParams > &locBestMatchParams) const |
bool | Get_DIRCMatchParams (const DTrackingData *locTrack, const DDetectorMatches *locDetectorMatches, shared_ptr< const DDIRCMatchParams > &locBestMatchParams) const |
shared_ptr< const DBCALShowerMatchParams > | Get_BestBCALMatchParams (DVector3 locMomentum, vector< shared_ptr< const DBCALShowerMatchParams > > &locShowerMatchParams) const |
shared_ptr< const DSCHitMatchParams > | Get_BestSCMatchParams (vector< shared_ptr< const DSCHitMatchParams > > &locSCHitMatchParams) const |
shared_ptr< const DTOFHitMatchParams > | Get_BestTOFMatchParams (vector< shared_ptr< const DTOFHitMatchParams > > &locTOFHitMatchParams) const |
shared_ptr< const DFCALShowerMatchParams > | Get_BestFCALMatchParams (vector< shared_ptr< const DFCALShowerMatchParams > > &locShowerMatchParams) const |
bool | Get_ClosestToTrack (const DReferenceTrajectory *rt, const vector< const DBCALShower * > &locBCALShowers, bool locCutFlag, double &locStartTime, shared_ptr< const DBCALShowerMatchParams > &locBestMatchParams, double *locStartTimeVariance=nullptr, DVector3 *locBestProjPos=nullptr, DVector3 *locBestProjMom=nullptr) const |
bool | Get_ClosestToTrack (const DReferenceTrajectory *rt, const vector< const DTOFPoint * > &locTOFPoints, bool locCutFlag, double &locStartTime, shared_ptr< const DTOFHitMatchParams > &locBestMatchParams, double *locStartTimeVariance=nullptr, DVector3 *locBestProjPos=nullptr, DVector3 *locBestProjMom=nullptr) const |
bool | Get_ClosestToTrack (const DReferenceTrajectory *rt, const vector< const DFCALShower * > &locFCALShowers, bool locCutFlag, double &locStartTime, shared_ptr< const DFCALShowerMatchParams > &locBestMatchParams, double *locStartTimeVariance=nullptr, DVector3 *locBestProjPos=nullptr, DVector3 *locBestProjMom=nullptr) const |
bool | Get_ClosestToTrack (const DReferenceTrajectory *rt, const vector< const DSCHit * > &locSCHits, bool locIsTimeBased, bool locCutFlag, double &locStartTime, shared_ptr< const DSCHitMatchParams > &locBestMatchParams, double *locStartTimeVariance=nullptr, DVector3 *locBestProjPos=nullptr, DVector3 *locBestProjMom=nullptr) const |
const DTOFPaddleHit * | Get_ClosestTOFPaddleHit_Horizontal (const DReferenceTrajectory *locReferenceTrajectory, const vector< const DTOFPaddleHit * > &locTOFPaddleHits, double locInputStartTime, double &locBestDeltaY, double &locBestDistance) const |
const DTOFPaddleHit * | Get_ClosestTOFPaddleHit_Vertical (const DReferenceTrajectory *locReferenceTrajectory, const vector< const DTOFPaddleHit * > &locTOFPaddleHits, double locInputStartTime, double &locBestDeltaX, double &locBestDistance) const |
bool | Get_ClosestToTrack (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DBCALShower * > &locBCALShowers, bool locCutFlag, double &locStartTime, shared_ptr< const DBCALShowerMatchParams > &locBestMatchParams, double *locStartTimeVariance=nullptr, DVector3 *locBestProjPos=nullptr, DVector3 *locBestProjMom=nullptr) const |
bool | Get_ClosestToTrack (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DTOFPoint * > &locTOFPoints, bool locCutFlag, double &locStartTime, shared_ptr< const DTOFHitMatchParams > &locBestMatchParams, double *locStartTimeVariance=nullptr, DVector3 *locBestProjPos=nullptr, DVector3 *locBestProjMom=nullptr) const |
bool | Get_ClosestToTrack (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DFCALShower * > &locFCALShowers, bool locCutFlag, double &locStartTime, shared_ptr< const DFCALShowerMatchParams > &locBestMatchParams, double *locStartTimeVariance=nullptr, DVector3 *locBestProjPos=nullptr, DVector3 *locBestProjMom=nullptr) const |
bool | Get_ClosestToTrack (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DSCHit * > &locSCHits, bool locIsTimeBased, bool locCutFlag, double &locStartTime, shared_ptr< const DSCHitMatchParams > &locBestMatchParams, double *locStartTimeVariance=nullptr, DVector3 *locBestProjPos=nullptr, DVector3 *locBestProjMom=nullptr) const |
const DTOFPaddleHit * | Get_ClosestTOFPaddleHit_Horizontal (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DTOFPaddleHit * > &locTOFPaddleHits, double locInputStartTime, double &locBestDeltaY, double &locBestDistance) const |
const DTOFPaddleHit * | Get_ClosestTOFPaddleHit_Vertical (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DTOFPaddleHit * > &locTOFPaddleHits, double locInputStartTime, double &locBestDeltaX, double &locBestDistance) const |
bool | PredictFCALHit (const DReferenceTrajectory *rt, unsigned int &row, unsigned int &col, DVector3 *intersection=nullptr) const |
bool | PredictBCALWedge (const DReferenceTrajectory *rt, unsigned int &module, unsigned int §or, DVector3 *intersection=nullptr) const |
bool | PredictTOFPaddles (const DReferenceTrajectory *rt, unsigned int &hbar, unsigned int &vbar, DVector3 *intersection=nullptr) const |
unsigned int | PredictSCSector (const DReferenceTrajectory *rt, DVector3 *locOutputProjPos=nullptr, bool *locProjBarrelRegion=nullptr, double *locMinDPhi=nullptr) const |
unsigned int | PredictSCSector (const DReferenceTrajectory *rt, double &locDeltaPhi, DVector3 &locProjPos, DVector3 &locProjMom, DVector3 &locPaddleNorm, double &locPathLength, double &locFlightTime, double &locFlightTimeVariance, int &locSCPlane) const |
unsigned int | PredictSCSector (const vector< DTrackFitter::Extrapolation_t > &extrapolations, double &locDeltaPhi, DVector3 &locProjPos, DVector3 &locProjMom, DVector3 &locPaddleNorm, double &locPathLength, double &locFlightTime, double &locFlightTimeVariance, int &locSCPlane) const |
unsigned int | PredictSCSector (const vector< DTrackFitter::Extrapolation_t > &extrapolations, DVector3 *locOutputProjPos=nullptr, bool *locProjBarrelRegion=nullptr, double *locMinDPhi=nullptr) const |
bool | PredictFCALHit (const vector< DTrackFitter::Extrapolation_t > &extrapolations, unsigned int &row, unsigned int &col, DVector3 *intersection=nullptr) const |
bool | PredictBCALWedge (const vector< DTrackFitter::Extrapolation_t > &extrapolations, unsigned int &module, unsigned int §or, DVector3 *intersection=nullptr) const |
bool | PredictTOFPaddles (const vector< DTrackFitter::Extrapolation_t > &extrapolations, unsigned int &hbar, unsigned int &vbar, DVector3 *intersection=nullptr) const |
bool | Get_StartTime (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DFCALShower * > &FCALShowers, double &StartTime) const |
bool | Get_StartTime (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DSCHit * > &SCHits, double &StartTime) const |
bool | Get_StartTime (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DTOFPoint * > &TOFPoints, double &StartTime) const |
bool | Get_StartTime (const vector< DTrackFitter::Extrapolation_t > &extrapolations, const vector< const DBCALShower * > &locBCALShowers, double &StartTime) const |
double | Calc_BCALFlightTimePCorrelation (const DTrackingData *locTrack, DDetectorMatches *locDetectorMatches) const |
double | Calc_FCALFlightTimePCorrelation (const DTrackingData *locTrack, DDetectorMatches *locDetectorMatches) const |
double | Calc_TOFFlightTimePCorrelation (const DTrackingData *locTrack, DDetectorMatches *locDetectorMatches) const |
double | Calc_SCFlightTimePCorrelation (const DTrackingData *locTrack, const DDetectorMatches *locDetectorMatches) const |
double | Calc_PropagatedRFTime (const DKinematicData *locKinematicData, const DEventRFBunch *locEventRFBunch) const |
double | Calc_TimingChiSq (const DChargedTrackHypothesis *locChargedHypo, unsigned int &locNDF, double &locTimingPull) const |
double | Calc_TimingChiSq (const DNeutralParticleHypothesis *locNeutralHypo, unsigned int &locNDF, double &locTimingPull) const |
void | Calc_ChargedPIDFOM (DChargedTrackHypothesis *locChargedTrackHypothesis) const |
unsigned int | Get_CDCRingBitPattern (vector< const DCDCTrackHit * > &locCDCTrackHits) const |
unsigned int | Get_FDCPlaneBitPattern (vector< const DFDCPseudo * > &locFDCPseudos) const |
void | Get_CDCRings (unsigned int locBitPattern, set< int > &locCDCRings) const |
void | Get_FDCPlanes (unsigned int locBitPattern, set< int > &locFDCPlanes) const |
void | Get_CDCNumHitRingsPerSuperlayer (int locBitPattern, map< int, int > &locNumHitRingsPerSuperlayer) const |
void | Get_CDCNumHitRingsPerSuperlayer (const set< int > &locCDCRings, map< int, int > &locNumHitRingsPerSuperlayer) const |
void | Get_FDCNumHitPlanesPerPackage (int locBitPattern, map< int, int > &locNumHitPlanesPerPackage) const |
void | Get_FDCNumHitPlanesPerPackage (const set< int > &locFDCPlanes, map< int, int > &locNumHitPlanesPerPackage) const |
double | Get_CorrectedHitTime (const DTOFPoint *locTOFPoint, const DVector3 &locProjPos) const |
double | Get_CorrectedHitEnergy (const DTOFPoint *locTOFPoint, const DVector3 &locProjPos) const |
double | Get_CorrectedHitEnergy (const DSCHit *locSCHit, const DVector3 &locProjPos) const |
double | Get_CorrectedHitTime (const DSCHit *locSCHit, const DVector3 &locProjPos) const |
const DDIRCLut * | Get_DIRCLut () const |
Private Types | |
enum | sc_region_t { SC_STRAIGHT, SC_BEND, SC_NOSE } |
enum | sc_region_attn { SC_STRAIGHT_ATTN, SC_BENDNOSE_ATTN } |
Private Member Functions | |
DParticleID () | |
Private Attributes | |
int | DEBUG_LEVEL |
bool | START_EXIST = true |
double | sc_leg_tcor |
double | sc_angle_cor |
vector< vector< DVector3 > > | sc_dir |
vector< vector< DVector3 > > | sc_pos |
vector< vector< DVector3 > > | sc_norm |
double | dSCdphi |
double | dSCphi0 |
vector< double > | sc_veff [3] |
vector< double > | sc_pt_yint [3] |
vector< double > | sc_pt_slope [3] |
vector< double > | sc_attn_A [2] |
vector< double > | sc_attn_B [2] |
vector< double > | sc_attn_C [2] |
double | dFCALz |
const DFCALGeometry * | dFCALGeometry |
const DTOFGeometry * | dTOFGeometry |
vector< double > | propagation_speed |
double | dHalfPaddle_OneSided |
double | TOF_ATTEN_LENGTH |
double | TOF_E_THRESHOLD |
double | ONESIDED_PADDLE_MIDPOINT_MAG |
double | CDC_TIME_CUT_FOR_DEDX |
double | dTargetZCenter |
const DTrackFinder * | finder |
const DTrackFitter * | fitter |
DTOFPoint_factory * | dTOFPointFactory |
const DDIRCLut * | dDIRCLut |
Definition at line 57 of file DParticleID.h.
|
private |
Enumerator | |
---|---|
SC_STRAIGHT_ATTN | |
SC_BENDNOSE_ATTN |
Definition at line 289 of file DParticleID.h.
|
private |
Enumerator | |
---|---|
SC_STRAIGHT | |
SC_BEND | |
SC_NOSE |
Definition at line 280 of file DParticleID.h.
DParticleID::DParticleID | ( | JEventLoop * | loop | ) |
Definition at line 33 of file DParticleID.cc.
References _DBG_, ATTEN_LENGTH, BCAL_PHI_CUT_PAR1, BCAL_PHI_CUT_PAR2, BCAL_PHI_CUT_PAR3, BCAL_Z_CUT, C_EFFECTIVE, CDC_GAIN_DOCA_PARS, CDC_TIME_CUT_FOR_DEDX, dapp, dDIRCLut, dFCALGeometry, dFCALz, dHalfPaddle_OneSided, dKRhoZoverA_CDC, dKRhoZoverA_FDC, dKRhoZoverA_Scint, dLnI_CDC, dLnI_FDC, dLnI_Scint, dRhoZoverA_CDC, dRhoZoverA_FDC, dRhoZoverA_Scint, dSCCutPars_TimeBased, dSCCutPars_WireBased, dSCdphi, dSCphi0, dTargetZCenter, dTOFGeometry, dTOFPointFactory, FCAL_CUT_PAR1, FCAL_CUT_PAR2, FCAL_CUT_PAR3, finder, DRootGeom::FindMat(), fitter, DTOFGeometry::Get_LongBarLength(), DTOFGeometry::Get_ShortBarLength(), DApplication::GetDGeometry(), DGeometry::GetFCALZ(), DApplication::GetRootGeom(), DGeometry::GetStartCounterGeom(), DGeometry::GetTargetZ(), ONESIDED_PADDLE_MIDPOINT_MAG, OUT_OF_TIME_CUT, propagation_speed, sc_angle_cor, sc_attn_A, sc_attn_B, sc_attn_C, SC_BEND, SC_BENDNOSE_ATTN, SC_BOUNDARY1, SC_BOUNDARY2, SC_BOUNDARY3, sc_dir, sc_norm, SC_NOSE, sc_pos, sc_pt_slope, sc_pt_yint, SC_SECTION1_P0, SC_SECTION1_P1, SC_SECTION2_P0, SC_SECTION2_P1, SC_SECTION3_P0, SC_SECTION3_P1, SC_SECTION4_P0, SC_SECTION4_P1, SC_STRAIGHT, SC_STRAIGHT_ATTN, START_EXIST, temp, TOF_ATTEN_LENGTH, TOF_CUT_PAR1, TOF_CUT_PAR2, TOF_CUT_PAR3, TOF_CUT_PAR4, and TOF_E_THRESHOLD.
|
inlinevirtual |
Definition at line 64 of file DParticleID.h.
|
private |
double DParticleID::Calc_BCALFlightTimePCorrelation | ( | const DTrackingData * | locTrack, |
DDetectorMatches * | locDetectorMatches | ||
) | const |
Definition at line 3182 of file DParticleID.cc.
References Get_BestBCALMatchParams().
Referenced by DDetectorMatches_factory_WireBased::Create_DDetectorMatches(), and DDetectorMatches_factory::Create_DDetectorMatches().
void DParticleID::Calc_ChargedPIDFOM | ( | DChargedTrackHypothesis * | locChargedTrackHypothesis | ) | const |
Definition at line 3292 of file DParticleID.cc.
References AntiProton, Calc_TimingChiSq(), CalcDCdEdxChiSq(), Electron, DKinematicData::energy(), DChargedTrackHypothesis::Get_BCALShowerMatchParams(), DChargedTrackHypothesis::Get_ChiSq_DCdEdx(), DChargedTrackHypothesis::Get_FCALShowerMatchParams(), DChargedTrackHypothesis::Get_NDF_DCdEdx(), DChargedTrackHypothesis::Get_SCHitMatchParams(), DChargedTrackHypothesis::Get_TrackTimeBased(), GetEOverPMean(), GetEOverPSigma(), GetProtondEdxMean_SC(), GetProtondEdxSigma_SC(), DKinematicData::momentum(), DKinematicData::PID(), Positron, Proton, DChargedTrackHypothesis::Set_ChiSq_Overall(), DChargedTrackHypothesis::Set_ChiSq_Timing(), sigma, SYS_BCAL, and SYS_FCAL.
Referenced by DAnalysis::DParticleComboCreator::Create_ChargedHypo(), DAnalysis::DParticleComboCreator::Create_ChargedHypo_KinFit(), and DChargedTrackHypothesis_factory::Create_ChargedTrackHypothesis().
double DParticleID::Calc_FCALFlightTimePCorrelation | ( | const DTrackingData * | locTrack, |
DDetectorMatches * | locDetectorMatches | ||
) | const |
Definition at line 3191 of file DParticleID.cc.
References Get_BestFCALMatchParams().
Referenced by DDetectorMatches_factory_WireBased::Create_DDetectorMatches(), and DDetectorMatches_factory::Create_DDetectorMatches().
double DParticleID::Calc_PropagatedRFTime | ( | const DKinematicData * | locKinematicData, |
const DEventRFBunch * | locEventRFBunch | ||
) | const |
Definition at line 3218 of file DParticleID.cc.
References dTargetZCenter, DEventRFBunch::dTime, SPEED_OF_LIGHT, and DKinematicData::z().
Referenced by JEventProcessor_FCAL_Hadronic_Eff::Calc_FCALTiming(), JEventProcessor_TOF_Eff::Calc_TOFTiming(), DChargedTrackHypothesis_factory::Create_ChargedTrackHypothesis(), JEventProcessor_TOF_Eff::Cut_FCALTiming(), JEventProcessor_TOF_Eff::evnt(), DHistogramAction_DetectorMatching::Fill_MatchingHists(), DHistogramAction_DetectorPID::Perform_Action(), and DHistogramAction_EventVertex::Perform_Action().
double DParticleID::Calc_SCFlightTimePCorrelation | ( | const DTrackingData * | locTrack, |
const DDetectorMatches * | locDetectorMatches | ||
) | const |
Definition at line 3209 of file DParticleID.cc.
References Get_BestSCMatchParams().
Referenced by DDetectorMatches_factory_WireBased::Create_DDetectorMatches(), and DDetectorMatches_factory::Create_DDetectorMatches().
double DParticleID::Calc_TimingChiSq | ( | const DChargedTrackHypothesis * | locChargedHypo, |
unsigned int & | locNDF, | ||
double & | locTimingPull | ||
) | const |
Definition at line 3224 of file DParticleID.cc.
References DChargedTrackHypothesis::Get_BCALShowerMatchParams(), DChargedTrackHypothesis::Get_FCALShowerMatchParams(), DChargedTrackHypothesis::Get_TOFHitMatchParams(), DChargedTrackHypothesis::Get_TrackTimeBased(), GetTimeVariance(), DKinematicData::momentum(), DKinematicData::PID(), sqrt(), SYS_BCAL, SYS_FCAL, SYS_TOF, and DChargedTrackHypothesis::t0().
Referenced by Calc_ChargedPIDFOM(), DAnalysis::DParticleComboCreator::Create_NeutralHypo_KinFit(), DHistogramAction_PID::Fill_ChargedHists(), and DHistogramAction_PID::Fill_NeutralHists().
double DParticleID::Calc_TimingChiSq | ( | const DNeutralParticleHypothesis * | locNeutralHypo, |
unsigned int & | locNDF, | ||
double & | locTimingPull | ||
) | const |
Definition at line 3263 of file DParticleID.cc.
References DNeutralShower::dCovarianceMatrix, DKinematicData::errorMatrix(), DNeutralParticleHypothesis::Get_NeutralShower(), sqrt(), SYS_NULL, DNeutralParticleHypothesis::t0(), DNeutralParticleHypothesis::t0_detector(), DNeutralParticleHypothesis::t0_err(), DNeutralParticleHypothesis::t1_detector(), and DKinematicData::time().
double DParticleID::Calc_TOFFlightTimePCorrelation | ( | const DTrackingData * | locTrack, |
DDetectorMatches * | locDetectorMatches | ||
) | const |
Definition at line 3200 of file DParticleID.cc.
References Get_BestTOFMatchParams().
Referenced by DDetectorMatches_factory_WireBased::Create_DDetectorMatches(), and DDetectorMatches_factory::Create_DDetectorMatches().
jerror_t DParticleID::CalcDCdEdx | ( | const DTrackTimeBased * | locTrackTimeBased, |
double & | locdEdx_FDC, | ||
double & | locdx_FDC, | ||
double & | locdEdx_CDC, | ||
double & | locdEdx_CDC_amp, | ||
double & | locdx_CDC, | ||
double & | locdx_CDC_amp, | ||
unsigned int & | locNumHitsUsedFordEdx_FDC, | ||
unsigned int & | locNumHitsUsedFordEdx_CDC | ||
) | const |
Definition at line 425 of file DParticleID.cc.
References GetDCdEdxHits().
jerror_t DParticleID::CalcDCdEdx | ( | const DTrackTimeBased * | locTrackTimeBased, |
const vector< dedx_t > & | locdEdxHits_CDC, | ||
const vector< dedx_t > & | locdEdxHits_FDC, | ||
double & | locdEdx_FDC, | ||
double & | locdx_FDC, | ||
double & | locdEdx_CDC, | ||
double & | locdEdx_CDC_amp, | ||
double & | locdx_CDC, | ||
double & | locdx_CDC_amp, | ||
unsigned int & | locNumHitsUsedFordEdx_FDC, | ||
unsigned int & | locNumHitsUsedFordEdx_CDC | ||
) | const |
Definition at line 447 of file DParticleID.cc.
References DParticleID_dedx_amp_cmp().
|
pure virtual |
Implemented in DParticleID_PID1.
Referenced by Calc_ChargedPIDFOM().
jerror_t DParticleID::CalcdEdxHit | ( | const DVector3 & | mom, |
const DVector3 & | pos, | ||
const DCDCTrackHit * | hit, | ||
dedx_t & | dedx | ||
) | const |
Definition at line 495 of file DParticleID.cc.
References CalcdXHit(), CDC_GAIN_DOCA_PARS, DCDCTrackHit::dE, DParticleID::dedx_t::dE, DCDCTrackHit::dE_amp, DParticleID::dedx_t::dE_amp, DParticleID::dedx_t::dEdx, DParticleID::dedx_t::dEdx_amp, DCDCTrackHit::dist, DParticleID::dedx_t::dx, DParticleID::dedx_t::p, and DCDCTrackHit::wire.
Referenced by GetDCdEdxHits().
double DParticleID::CalcdXHit | ( | const DVector3 & | mom, |
const DVector3 & | pos, | ||
const DCoordinateSystem * | wire | ||
) | const |
Definition at line 568 of file DParticleID.cc.
References c, F, DCoordinateSystem::origin, sin(), sqrt(), temp, and DCoordinateSystem::udir.
Referenced by CalcdEdxHit(), JEventProcessor_CDC_Efficiency::Fill_Efficiency_Histos(), and JEventProcessor_CDC_Efficiency::Fill_MeasuredHit().
bool DParticleID::Cut_MatchDIRC | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DDIRCPmtHit * > | locDIRCHits, | ||
double | locInputStartTime, | ||
Particle_t | locPID, | ||
shared_ptr< DDIRCMatchParams > & | locDIRCMatchParams, | ||
const vector< const DDIRCTruthBarHit * > | locDIRCBarHits, | ||
map< shared_ptr< const DDIRCMatchParams >, vector< const DDIRCPmtHit * > > & | locDIRCTrackMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1767 of file DParticleID.cc.
References DDIRCLut::CalcLUT(), and dDIRCLut.
Referenced by DDetectorMatches_factory::MatchToDIRC().
bool DParticleID::Cut_MatchDistance | ( | const DReferenceTrajectory * | rt, |
const DBCALShower * | locBCALShower, | ||
double | locInputStartTime, | ||
shared_ptr< DBCALShowerMatchParams > & | locShowerMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1530 of file DParticleID.cc.
References BCAL_PHI_CUT_PAR1, BCAL_PHI_CUT_PAR2, BCAL_PHI_CUT_PAR3, BCAL_Z_CUT, and Distance_ToTrack().
Referenced by JEventProcessor_ST_online_tracking::evnt(), JEventProcessor_ST_Tresolution::evnt(), Get_ClosestToTrack(), DDetectorMatches_factory_WireBased::MatchToBCAL(), DDetectorMatches_factory::MatchToBCAL(), DDetectorMatches_factory_WireBased::MatchToFCAL(), DDetectorMatches_factory::MatchToFCAL(), DDetectorMatches_factory_WireBased::MatchToSC(), DDetectorMatches_factory::MatchToSC(), DDetectorMatches_factory_WireBased::MatchToTOF(), and DDetectorMatches_factory::MatchToTOF().
bool DParticleID::Cut_MatchDistance | ( | const DReferenceTrajectory * | rt, |
const DTOFPoint * | locTOFPoint, | ||
double | locInputStartTime, | ||
shared_ptr< DTOFHitMatchParams > & | locTOFHitMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1560 of file DParticleID.cc.
References Distance_ToTrack(), DTOFPoint::Is_XPositionWellDefined(), DTOFPoint::Is_YPositionWellDefined(), sqrt(), TOF_CUT_PAR1, TOF_CUT_PAR2, TOF_CUT_PAR3, and TOF_CUT_PAR4.
bool DParticleID::Cut_MatchDistance | ( | const DReferenceTrajectory * | rt, |
const DSCHit * | locSCHit, | ||
double | locInputStartTime, | ||
shared_ptr< DSCHitMatchParams > & | locSCHitMatchParams, | ||
bool | locIsTimeBased, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1610 of file DParticleID.cc.
References Distance_ToTrack(), dSCCutPars_TimeBased, dSCCutPars_WireBased, and START_EXIST.
bool DParticleID::Cut_MatchDistance | ( | const DReferenceTrajectory * | rt, |
const DFCALShower * | locFCALShower, | ||
double | locInputStartTime, | ||
shared_ptr< DFCALShowerMatchParams > & | locShowerMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1635 of file DParticleID.cc.
References Distance_ToTrack(), FCAL_CUT_PAR1, and FCAL_CUT_PAR2.
bool DParticleID::Cut_MatchDistance | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const DBCALShower * | locBCALShower, | ||
double | locInputStartTime, | ||
shared_ptr< DBCALShowerMatchParams > & | locShowerMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1657 of file DParticleID.cc.
References BCAL_PHI_CUT_PAR1, BCAL_PHI_CUT_PAR2, BCAL_PHI_CUT_PAR3, BCAL_Z_CUT, and Distance_ToTrack().
bool DParticleID::Cut_MatchDistance | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const DFCALShower * | locFCALShower, | ||
double | locInputStartTime, | ||
shared_ptr< DFCALShowerMatchParams > & | locShowerMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1687 of file DParticleID.cc.
References Distance_ToTrack(), FCAL_CUT_PAR1, FCAL_CUT_PAR2, and FCAL_CUT_PAR3.
bool DParticleID::Cut_MatchDistance | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const DTOFPoint * | locTOFPoint, | ||
double | locInputStartTime, | ||
shared_ptr< DTOFHitMatchParams > & | locTOFHitMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1705 of file DParticleID.cc.
References Distance_ToTrack(), DTOFPoint::Is_XPositionWellDefined(), DTOFPoint::Is_YPositionWellDefined(), sqrt(), TOF_CUT_PAR1, TOF_CUT_PAR2, and TOF_CUT_PAR3.
bool DParticleID::Cut_MatchDistance | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const DSCHit * | locSCHit, | ||
double | locInputStartTime, | ||
shared_ptr< DSCHitMatchParams > & | locSCHitMatchParams, | ||
bool | locIsTimeBased, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1747 of file DParticleID.cc.
References Distance_ToTrack(), dSCCutPars_TimeBased, and dSCCutPars_WireBased.
bool DParticleID::Distance_ToTrack | ( | const DReferenceTrajectory * | rt, |
const DFCALShower * | locFCALShower, | ||
double | locInputStartTime, | ||
shared_ptr< DFCALShowerMatchParams > & | locShowerMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 737 of file DParticleID.cc.
References DReferenceTrajectory::GetIntersectionWithPlane(), DFCALShower::getPosition(), DFCALShower::getTime(), OUT_OF_TIME_CUT, sqrt(), and SYS_FCAL.
Referenced by Cut_MatchDistance(), Distance_ToTrack(), JEventProcessor_SC_Eff::evnt(), Get_ClosestToTrack(), Get_StartTime(), DDetectorMatches_factory_WireBased::MatchToTrack(), and DDetectorMatches_factory::MatchToTrack().
bool DParticleID::Distance_ToTrack | ( | const DReferenceTrajectory * | rt, |
const DBCALShower * | locBCALShower, | ||
double | locInputStartTime, | ||
shared_ptr< DBCALShowerMatchParams > & | locShowerMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 800 of file DParticleID.cc.
References DReferenceTrajectory::DistToRTwithTime(), DReferenceTrajectory::GetIntersectionWithRadius(), DReferenceTrajectory::GetLastDOCAPoint(), M_TWO_PI, DReferenceTrajectory::swim_step_t::mom, OUT_OF_TIME_CUT, DReferenceTrajectory::swim_steps, SYS_BCAL, DBCALShower::t, DBCALShower::x, DBCALShower::y, and DBCALShower::z.
bool DParticleID::Distance_ToTrack | ( | const DReferenceTrajectory * | rt, |
const DTOFPoint * | locTOFPoint, | ||
double | locInputStartTime, | ||
shared_ptr< DTOFHitMatchParams > & | locTOFHitMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 905 of file DParticleID.cc.
References DTOFPoint::dE, DTOFPoint::dHorizontalBar, DTOFPoint::dHorizontalBarStatus, dTOFGeometry, DTOFPoint::dVerticalBar, DTOFPoint::dVerticalBarStatus, DTOFGeometry::Get_FirstShortBar(), DTOFGeometry::Get_LastShortBar(), DReferenceTrajectory::GetIntersectionWithPlane(), DTOFPoint::Is_XPositionWellDefined(), DTOFPoint::Is_YPositionWellDefined(), ONESIDED_PADDLE_MIDPOINT_MAG, OUT_OF_TIME_CUT, DTOFPoint::pos, propagation_speed, SYS_TOF, DTOFPoint::t, DTOFPoint::tErr, and TOF_ATTEN_LENGTH.
bool DParticleID::Distance_ToTrack | ( | const DReferenceTrajectory * | rt, |
const DSCHit * | locSCHit, | ||
double | locInputStartTime, | ||
shared_ptr< DSCHitMatchParams > & | locSCHitMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1010 of file DParticleID.cc.
References DSCHit::dE, M_TWO_PI, OUT_OF_TIME_CUT, PredictSCSector(), sc_angle_cor, sc_attn_A, sc_attn_B, sc_attn_C, SC_BEND, SC_BENDNOSE_ATTN, SC_BOUNDARY1, SC_BOUNDARY2, SC_BOUNDARY3, sc_dir, SC_NOSE, sc_pos, sc_pt_slope, sc_pt_yint, SC_SECTION1_P0, SC_SECTION1_P1, SC_SECTION2_P0, SC_SECTION2_P1, SC_SECTION3_P0, SC_SECTION3_P1, SC_SECTION4_P0, SC_SECTION4_P1, SC_STRAIGHT, SC_STRAIGHT_ATTN, DSCHit::sector, START_EXIST, and DSCHit::t.
double DParticleID::Distance_ToTrack | ( | const DFCALShower * | locFCALShower, |
const DVector3 & | locProjPos | ||
) | const |
Definition at line 708 of file DParticleID.cc.
References DFCALShower::getPosition(), and sqrt().
bool DParticleID::Distance_ToTrack | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const DFCALShower * | locFCALShower, | ||
double | locInputStartTime, | ||
shared_ptr< DFCALShowerMatchParams > & | locShowerMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1208 of file DParticleID.cc.
References Distance_ToTrack(), DFCALShower::getPosition(), DFCALShower::getTime(), and OUT_OF_TIME_CUT.
bool DParticleID::Distance_ToTrack | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const DTOFPoint * | locTOFPoint, | ||
double | locInputStartTime, | ||
shared_ptr< DTOFHitMatchParams > & | locTOFHitMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1254 of file DParticleID.cc.
References Get_CorrectedHitEnergy(), Get_CorrectedHitTime(), DTOFPoint::Is_XPositionWellDefined(), DTOFPoint::Is_YPositionWellDefined(), OUT_OF_TIME_CUT, DTOFPoint::pos, and DTOFPoint::tErr.
bool DParticleID::Distance_ToTrack | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const DSCHit * | locSCHit, | ||
double | locInputStartTime, | ||
shared_ptr< DSCHitMatchParams > & | locSCHitMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1309 of file DParticleID.cc.
References Get_CorrectedHitEnergy(), Get_CorrectedHitTime(), M_TWO_PI, OUT_OF_TIME_CUT, sc_angle_cor, SC_BOUNDARY1, SC_BOUNDARY2, SC_BOUNDARY3, sc_dir, sc_norm, sc_pos, SC_SECTION1_P0, SC_SECTION1_P1, SC_SECTION2_P0, SC_SECTION2_P1, SC_SECTION3_P0, SC_SECTION3_P1, SC_SECTION4_P0, SC_SECTION4_P1, DSCHit::sector, and DSCHit::t.
bool DParticleID::Distance_ToTrack | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const DBCALShower * | locBCALShower, | ||
double | locInputStartTime, | ||
shared_ptr< DBCALShowerMatchParams > & | locShowerMatchParams, | ||
DVector3 * | locOutputProjPos = nullptr , |
||
DVector3 * | locOutputProjMom = nullptr |
||
) | const |
Definition at line 1412 of file DParticleID.cc.
References DTrackFitter::ExtrapolateToRadius(), fitter, xstream::base64::index(), M_TWO_PI, OUT_OF_TIME_CUT, DBCALShower::t, DBCALShower::x, DBCALShower::y, and DBCALShower::z.
bool DParticleID::Get_BestBCALMatchParams | ( | const DTrackingData * | locTrack, |
const DDetectorMatches * | locDetectorMatches, | ||
shared_ptr< const DBCALShowerMatchParams > & | locBestMatchParams | ||
) | const |
Definition at line 1789 of file DParticleID.cc.
References DDetectorMatches::Get_BCALMatchParams(), and DKinematicData::momentum().
Referenced by Calc_BCALFlightTimePCorrelation(), DChargedTrackHypothesis_factory::Create_ChargedTrackHypothesis(), Get_ClosestToTrack(), and DCustomAction_p2pi_unusedHists::Perform_Action().
shared_ptr< const DBCALShowerMatchParams > DParticleID::Get_BestBCALMatchParams | ( | DVector3 | locMomentum, |
vector< shared_ptr< const DBCALShowerMatchParams > > & | locShowerMatchParams | ||
) | const |
Definition at line 1800 of file DParticleID.cc.
References BCAL_PHI_CUT_PAR1, BCAL_PHI_CUT_PAR2, BCAL_PHI_CUT_PAR3, and BCAL_Z_CUT.
bool DParticleID::Get_BestFCALMatchParams | ( | const DTrackingData * | locTrack, |
const DDetectorMatches * | locDetectorMatches, | ||
shared_ptr< const DFCALShowerMatchParams > & | locBestMatchParams | ||
) | const |
Definition at line 1876 of file DParticleID.cc.
References DDetectorMatches::Get_FCALMatchParams().
Referenced by Calc_FCALFlightTimePCorrelation(), DChargedTrackHypothesis_factory::Create_ChargedTrackHypothesis(), Get_ClosestToTrack(), and DCustomAction_p2pi_unusedHists::Perform_Action().
shared_ptr< const DFCALShowerMatchParams > DParticleID::Get_BestFCALMatchParams | ( | vector< shared_ptr< const DFCALShowerMatchParams > > & | locShowerMatchParams | ) | const |
Definition at line 1887 of file DParticleID.cc.
bool DParticleID::Get_BestSCMatchParams | ( | const DTrackingData * | locTrack, |
const DDetectorMatches * | locDetectorMatches, | ||
shared_ptr< const DSCHitMatchParams > & | locBestMatchParams | ||
) | const |
Definition at line 1825 of file DParticleID.cc.
References DDetectorMatches::Get_SCMatchParams().
Referenced by Calc_SCFlightTimePCorrelation(), DChargedTrackHypothesis_factory::Create_ChargedTrackHypothesis(), JEventProcessor_ST_online_tracking::evnt(), JEventProcessor_ST_Tresolution::evnt(), Get_ClosestToTrack(), and DHistogramAction_Reconstruction::Perform_Action().
shared_ptr< const DSCHitMatchParams > DParticleID::Get_BestSCMatchParams | ( | vector< shared_ptr< const DSCHitMatchParams > > & | locSCHitMatchParams | ) | const |
Definition at line 1836 of file DParticleID.cc.
bool DParticleID::Get_BestTOFMatchParams | ( | const DTrackingData * | locTrack, |
const DDetectorMatches * | locDetectorMatches, | ||
shared_ptr< const DTOFHitMatchParams > & | locBestMatchParams | ||
) | const |
Definition at line 1850 of file DParticleID.cc.
References DDetectorMatches::Get_TOFMatchParams().
Referenced by Calc_TOFFlightTimePCorrelation(), DChargedTrackHypothesis_factory::Create_ChargedTrackHypothesis(), DEventProcessor_dirc_tree::evnt(), DEventProcessor_dirc_hists::evnt(), Get_ClosestToTrack(), DCustomAction_dirc_reactions::Perform_Action(), and DCustomAction_dirc_tree::Perform_Action().
shared_ptr< const DTOFHitMatchParams > DParticleID::Get_BestTOFMatchParams | ( | vector< shared_ptr< const DTOFHitMatchParams > > & | locTOFHitMatchParams | ) | const |
Definition at line 1861 of file DParticleID.cc.
References sqrt().
void DParticleID::Get_CDCNumHitRingsPerSuperlayer | ( | int | locBitPattern, |
map< int, int > & | locNumHitRingsPerSuperlayer | ||
) | const |
Definition at line 3400 of file DParticleID.cc.
References Get_CDCRings().
Referenced by DCutAction_TrackHitPattern::Cut_TrackHitPattern(), and JEventProcessor_CDC_Efficiency::evnt().
void DParticleID::Get_CDCNumHitRingsPerSuperlayer | ( | const set< int > & | locCDCRings, |
map< int, int > & | locNumHitRingsPerSuperlayer | ||
) | const |
Definition at line 3407 of file DParticleID.cc.
unsigned int DParticleID::Get_CDCRingBitPattern | ( | vector< const DCDCTrackHit * > & | locCDCTrackHits | ) | const |
Definition at line 3350 of file DParticleID.cc.
void DParticleID::Get_CDCRings | ( | unsigned int | locBitPattern, |
set< int > & | locCDCRings | ||
) | const |
Definition at line 3376 of file DParticleID.cc.
Referenced by JEventProcessor_CDC_Efficiency::evnt(), DCustomAction_p2pi_unusedHists::FillTrack(), Get_CDCNumHitRingsPerSuperlayer(), DCutAction_MinTrackHits::Perform_Action(), and DHistogramAction_Reconstruction::Perform_Action().
const DTOFPaddleHit * DParticleID::Get_ClosestTOFPaddleHit_Horizontal | ( | const DReferenceTrajectory * | locReferenceTrajectory, |
const vector< const DTOFPaddleHit * > & | locTOFPaddleHits, | ||
double | locInputStartTime, | ||
double & | locBestDeltaY, | ||
double & | locBestDistance | ||
) | const |
Definition at line 2134 of file DParticleID.cc.
References DTOFGeometry::bar2y(), DTOFPoint_factory::Build_TOFSpacetimeHit_Horizontal(), DTOFPoint_factory::tof_spacetimehit_t::dIsDoubleEndedBar, dTOFGeometry, dTOFPointFactory, DTOFGeometry::Get_CenterHorizPlane(), DReferenceTrajectory::GetIntersectionWithPlane(), ONESIDED_PADDLE_MIDPOINT_MAG, OUT_OF_TIME_CUT, propagation_speed, sqrt(), SYS_TOF, DTOFPoint_factory::tof_spacetimehit_t::t, and TOF_E_THRESHOLD.
Referenced by JEventProcessor_TOF_Eff::evnt(), and DHistogramAction_DetectorMatching::Fill_MatchingHists().
const DTOFPaddleHit * DParticleID::Get_ClosestTOFPaddleHit_Horizontal | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DTOFPaddleHit * > & | locTOFPaddleHits, | ||
double | locInputStartTime, | ||
double & | locBestDeltaY, | ||
double & | locBestDistance | ||
) | const |
Definition at line 2507 of file DParticleID.cc.
References DTOFGeometry::bar2y(), DTOFPoint_factory::Build_TOFSpacetimeHit_Horizontal(), DTOFPoint_factory::tof_spacetimehit_t::dIsDoubleEndedBar, dTOFGeometry, dTOFPointFactory, DTOFGeometry::Get_CenterHorizPlane(), ONESIDED_PADDLE_MIDPOINT_MAG, OUT_OF_TIME_CUT, propagation_speed, py, sqrt(), DTOFPoint_factory::tof_spacetimehit_t::t, TOF_E_THRESHOLD, and tx.
const DTOFPaddleHit * DParticleID::Get_ClosestTOFPaddleHit_Vertical | ( | const DReferenceTrajectory * | locReferenceTrajectory, |
const vector< const DTOFPaddleHit * > & | locTOFPaddleHits, | ||
double | locInputStartTime, | ||
double & | locBestDeltaX, | ||
double & | locBestDistance | ||
) | const |
Definition at line 2211 of file DParticleID.cc.
References DTOFGeometry::bar2y(), DTOFPoint_factory::Build_TOFSpacetimeHit_Vertical(), DTOFPoint_factory::tof_spacetimehit_t::dIsDoubleEndedBar, dTOFGeometry, dTOFPointFactory, DTOFGeometry::Get_CenterVertPlane(), DReferenceTrajectory::GetIntersectionWithPlane(), ONESIDED_PADDLE_MIDPOINT_MAG, OUT_OF_TIME_CUT, propagation_speed, sqrt(), SYS_TOF, DTOFPoint_factory::tof_spacetimehit_t::t, and TOF_E_THRESHOLD.
Referenced by JEventProcessor_TOF_Eff::evnt(), and DHistogramAction_DetectorMatching::Fill_MatchingHists().
const DTOFPaddleHit * DParticleID::Get_ClosestTOFPaddleHit_Vertical | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DTOFPaddleHit * > & | locTOFPaddleHits, | ||
double | locInputStartTime, | ||
double & | locBestDeltaX, | ||
double & | locBestDistance | ||
) | const |
Definition at line 2589 of file DParticleID.cc.
References DTOFGeometry::bar2y(), DTOFPoint_factory::Build_TOFSpacetimeHit_Vertical(), DTOFPoint_factory::tof_spacetimehit_t::dIsDoubleEndedBar, dTOFGeometry, dTOFPointFactory, DTOFGeometry::Get_CenterVertPlane(), ONESIDED_PADDLE_MIDPOINT_MAG, OUT_OF_TIME_CUT, propagation_speed, py, sqrt(), DTOFPoint_factory::tof_spacetimehit_t::t, TOF_E_THRESHOLD, and tx.
bool DParticleID::Get_ClosestToTrack | ( | const DReferenceTrajectory * | rt, |
const vector< const DBCALShower * > & | locBCALShowers, | ||
bool | locCutFlag, | ||
double & | locStartTime, | ||
shared_ptr< const DBCALShowerMatchParams > & | locBestMatchParams, | ||
double * | locStartTimeVariance = nullptr , |
||
DVector3 * | locBestProjPos = nullptr , |
||
DVector3 * | locBestProjMom = nullptr |
||
) | const |
Definition at line 1915 of file DParticleID.cc.
References Cut_MatchDistance(), Distance_ToTrack(), Get_BestBCALMatchParams(), DReferenceTrajectory::swim_step_t::mom, and DReferenceTrajectory::swim_steps.
Referenced by JEventProcessor_TOF_Eff::evnt(), JEventProcessor_FCAL_Hadronic_Eff::evnt(), DHistogramAction_DetectorMatching::Fill_MatchingHists(), and DCustomAction_CutNoDetectorHit::Perform_Action().
bool DParticleID::Get_ClosestToTrack | ( | const DReferenceTrajectory * | rt, |
const vector< const DTOFPoint * > & | locTOFPoints, | ||
bool | locCutFlag, | ||
double & | locStartTime, | ||
shared_ptr< const DTOFHitMatchParams > & | locBestMatchParams, | ||
double * | locStartTimeVariance = nullptr , |
||
DVector3 * | locBestProjPos = nullptr , |
||
DVector3 * | locBestProjMom = nullptr |
||
) | const |
Definition at line 1969 of file DParticleID.cc.
References Cut_MatchDistance(), Distance_ToTrack(), and Get_BestTOFMatchParams().
bool DParticleID::Get_ClosestToTrack | ( | const DReferenceTrajectory * | rt, |
const vector< const DFCALShower * > & | locFCALShowers, | ||
bool | locCutFlag, | ||
double & | locStartTime, | ||
shared_ptr< const DFCALShowerMatchParams > & | locBestMatchParams, | ||
double * | locStartTimeVariance = nullptr , |
||
DVector3 * | locBestProjPos = nullptr , |
||
DVector3 * | locBestProjMom = nullptr |
||
) | const |
Definition at line 2023 of file DParticleID.cc.
References Cut_MatchDistance(), Distance_ToTrack(), and Get_BestFCALMatchParams().
bool DParticleID::Get_ClosestToTrack | ( | const DReferenceTrajectory * | rt, |
const vector< const DSCHit * > & | locSCHits, | ||
bool | locIsTimeBased, | ||
bool | locCutFlag, | ||
double & | locStartTime, | ||
shared_ptr< const DSCHitMatchParams > & | locBestMatchParams, | ||
double * | locStartTimeVariance = nullptr , |
||
DVector3 * | locBestProjPos = nullptr , |
||
DVector3 * | locBestProjMom = nullptr |
||
) | const |
Definition at line 2077 of file DParticleID.cc.
References Cut_MatchDistance(), Distance_ToTrack(), Get_BestSCMatchParams(), and START_EXIST.
bool DParticleID::Get_ClosestToTrack | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DBCALShower * > & | locBCALShowers, | ||
bool | locCutFlag, | ||
double & | locStartTime, | ||
shared_ptr< const DBCALShowerMatchParams > & | locBestMatchParams, | ||
double * | locStartTimeVariance = nullptr , |
||
DVector3 * | locBestProjPos = nullptr , |
||
DVector3 * | locBestProjMom = nullptr |
||
) | const |
Definition at line 2290 of file DParticleID.cc.
References Cut_MatchDistance(), Distance_ToTrack(), and Get_BestBCALMatchParams().
bool DParticleID::Get_ClosestToTrack | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DTOFPoint * > & | locTOFPoints, | ||
bool | locCutFlag, | ||
double & | locStartTime, | ||
shared_ptr< const DTOFHitMatchParams > & | locBestMatchParams, | ||
double * | locStartTimeVariance = nullptr , |
||
DVector3 * | locBestProjPos = nullptr , |
||
DVector3 * | locBestProjMom = nullptr |
||
) | const |
Definition at line 2345 of file DParticleID.cc.
References Cut_MatchDistance(), Distance_ToTrack(), and Get_BestTOFMatchParams().
bool DParticleID::Get_ClosestToTrack | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DFCALShower * > & | locFCALShowers, | ||
bool | locCutFlag, | ||
double & | locStartTime, | ||
shared_ptr< const DFCALShowerMatchParams > & | locBestMatchParams, | ||
double * | locStartTimeVariance = nullptr , |
||
DVector3 * | locBestProjPos = nullptr , |
||
DVector3 * | locBestProjMom = nullptr |
||
) | const |
Definition at line 2399 of file DParticleID.cc.
References Cut_MatchDistance(), Distance_ToTrack(), and Get_BestFCALMatchParams().
bool DParticleID::Get_ClosestToTrack | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DSCHit * > & | locSCHits, | ||
bool | locIsTimeBased, | ||
bool | locCutFlag, | ||
double & | locStartTime, | ||
shared_ptr< const DSCHitMatchParams > & | locBestMatchParams, | ||
double * | locStartTimeVariance = nullptr , |
||
DVector3 * | locBestProjPos = nullptr , |
||
DVector3 * | locBestProjMom = nullptr |
||
) | const |
Definition at line 2453 of file DParticleID.cc.
References Cut_MatchDistance(), Distance_ToTrack(), and Get_BestSCMatchParams().
double DParticleID::Get_CorrectedHitEnergy | ( | const DTOFPoint * | locTOFPoint, |
const DVector3 & | locProjPos | ||
) | const |
Definition at line 3498 of file DParticleID.cc.
References DTOFPoint::dE, DTOFPoint::dHorizontalBar, DTOFPoint::dHorizontalBarStatus, dTOFGeometry, DTOFPoint::dVerticalBar, DTOFPoint::dVerticalBarStatus, DTOFGeometry::Get_FirstShortBar(), DTOFGeometry::Get_LastShortBar(), DTOFPoint::Is_XPositionWellDefined(), DTOFPoint::Is_YPositionWellDefined(), ONESIDED_PADDLE_MIDPOINT_MAG, and TOF_ATTEN_LENGTH.
Referenced by Distance_ToTrack().
double DParticleID::Get_CorrectedHitEnergy | ( | const DSCHit * | locSCHit, |
const DVector3 & | locProjPos | ||
) | const |
Definition at line 3550 of file DParticleID.cc.
References DSCHit::dE, sc_angle_cor, sc_attn_A, sc_attn_B, sc_attn_C, SC_BENDNOSE_ATTN, sc_pos, SC_STRAIGHT_ATTN, and DSCHit::sector.
double DParticleID::Get_CorrectedHitTime | ( | const DTOFPoint * | locTOFPoint, |
const DVector3 & | locProjPos | ||
) | const |
Definition at line 3446 of file DParticleID.cc.
References DTOFPoint::dHorizontalBar, DTOFPoint::dHorizontalBarStatus, dTOFGeometry, DTOFPoint::dVerticalBar, DTOFPoint::dVerticalBarStatus, DTOFGeometry::Get_FirstShortBar(), DTOFGeometry::Get_LastShortBar(), DTOFPoint::Is_XPositionWellDefined(), DTOFPoint::Is_YPositionWellDefined(), ONESIDED_PADDLE_MIDPOINT_MAG, propagation_speed, and DTOFPoint::t.
Referenced by Distance_ToTrack(), and Get_StartTime().
double DParticleID::Get_CorrectedHitTime | ( | const DSCHit * | locSCHit, |
const DVector3 & | locProjPos | ||
) | const |
Definition at line 3597 of file DParticleID.cc.
References sc_angle_cor, SC_BEND, SC_NOSE, sc_pos, sc_pt_slope, sc_pt_yint, SC_STRAIGHT, DSCHit::sector, and DSCHit::t.
const DDIRCLut * DParticleID::Get_DIRCLut | ( | ) | const |
Definition at line 3633 of file DParticleID.cc.
References dDIRCLut.
Referenced by DEventSourceREST::Extract_DDetectorMatches().
bool DParticleID::Get_DIRCMatchParams | ( | const DTrackingData * | locTrack, |
const DDetectorMatches * | locDetectorMatches, | ||
shared_ptr< const DDIRCMatchParams > & | locBestMatchParams | ||
) | const |
Definition at line 1901 of file DParticleID.cc.
References DDetectorMatches::Get_DIRCMatchParams().
Referenced by DChargedTrackHypothesis_factory::Create_ChargedTrackHypothesis(), DEventProcessor_dirc_tree::evnt(), DEventProcessor_dirc_hists::evnt(), DCustomAction_dirc_reactions::Perform_Action(), and DCustomAction_dirc_tree::Perform_Action().
void DParticleID::Get_FDCNumHitPlanesPerPackage | ( | int | locBitPattern, |
map< int, int > & | locNumHitPlanesPerPackage | ||
) | const |
Definition at line 3421 of file DParticleID.cc.
References Get_FDCPlanes().
Referenced by DCutAction_TrackHitPattern::Cut_TrackHitPattern().
void DParticleID::Get_FDCNumHitPlanesPerPackage | ( | const set< int > & | locFDCPlanes, |
map< int, int > & | locNumHitPlanesPerPackage | ||
) | const |
Definition at line 3428 of file DParticleID.cc.
unsigned int DParticleID::Get_FDCPlaneBitPattern | ( | vector< const DFDCPseudo * > & | locFDCPseudos | ) | const |
Definition at line 3363 of file DParticleID.cc.
void DParticleID::Get_FDCPlanes | ( | unsigned int | locBitPattern, |
set< int > & | locFDCPlanes | ||
) | const |
Definition at line 3388 of file DParticleID.cc.
Referenced by DCustomAction_p2pi_unusedHists::FillTrack(), Get_FDCNumHitPlanesPerPackage(), DCutAction_MinTrackHits::Perform_Action(), and DHistogramAction_Reconstruction::Perform_Action().
bool DParticleID::Get_StartTime | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DFCALShower * > & | FCALShowers, | ||
double & | StartTime | ||
) | const |
Definition at line 3020 of file DParticleID.cc.
References Distance_ToTrack(), FCAL_CUT_PAR1, FCAL_CUT_PAR2, and OUT_OF_TIME_CUT.
bool DParticleID::Get_StartTime | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DSCHit * > & | SCHits, | ||
double & | StartTime | ||
) | const |
Definition at line 3047 of file DParticleID.cc.
References dSCCutPars_WireBased, Get_CorrectedHitTime(), OUT_OF_TIME_CUT, and sc_pos.
bool DParticleID::Get_StartTime | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DTOFPoint * > & | TOFPoints, | ||
double & | StartTime | ||
) | const |
Definition at line 3082 of file DParticleID.cc.
References Get_CorrectedHitTime(), OUT_OF_TIME_CUT, DTOFPoint::pos, sqrt(), TOF_CUT_PAR1, TOF_CUT_PAR2, and TOF_CUT_PAR3.
bool DParticleID::Get_StartTime | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
const vector< const DBCALShower * > & | locBCALShowers, | ||
double & | StartTime | ||
) | const |
Definition at line 3134 of file DParticleID.cc.
References BCAL_PHI_CUT_PAR1, BCAL_PHI_CUT_PAR2, BCAL_PHI_CUT_PAR3, BCAL_Z_CUT, DTrackFitter::ExtrapolateToRadius(), fitter, OUT_OF_TIME_CUT, x, and y.
jerror_t DParticleID::GetDCdEdxHits | ( | const DTrackTimeBased * | track, |
vector< dedx_t > & | dEdxHits_CDC, | ||
vector< dedx_t > & | dEdxHits_FDC | ||
) | const |
Definition at line 343 of file DParticleID.cc.
References CalcdEdxHit(), CDC_TIME_CUT_FOR_DEDX, DParticleID_dedx_cmp(), DTrackTimeBased::extrapolations, xstream::base64::index(), SYS_CDC, and SYS_FDC.
Referenced by CalcDCdEdx().
|
pure virtual |
Implemented in DParticleID_PID1.
|
pure virtual |
Implemented in DParticleID_PID1.
|
pure virtual |
Implemented in DParticleID_PID1.
double DParticleID::GetdEdxSigma_DC | ( | double | num_hits, |
double | p, | ||
double | mass, | ||
double | mean_path_length, | ||
bool | locIsCDCFlag | ||
) | const |
Definition at line 679 of file DParticleID.cc.
References dKRhoZoverA_CDC, dKRhoZoverA_FDC, dLnI_CDC, dLnI_FDC, e, sqrt(), and T0().
Referenced by DHistogramAction_PID::Fill_ChargedHists().
|
pure virtual |
Implemented in DParticleID_PID1.
|
pure virtual |
Implemented in DParticleID_PID1.
Referenced by Calc_ChargedPIDFOM().
|
pure virtual |
Implemented in DParticleID_PID1.
Referenced by Calc_ChargedPIDFOM().
double DParticleID::GetMostProbabledEdx_DC | ( | double | p, |
double | mass, | ||
double | dx, | ||
bool | locIsCDCFlag | ||
) | const |
Definition at line 657 of file DParticleID.cc.
References dKRhoZoverA_CDC, dKRhoZoverA_FDC, dLnI_CDC, dLnI_FDC, and e.
Referenced by DHistogramAction_PID::Fill_ChargedHists(), and DHistogramAction_DetectorPID::Perform_Action().
|
pure virtual |
Implemented in DParticleID_PID1.
Referenced by Calc_ChargedPIDFOM().
|
pure virtual |
Implemented in DParticleID_PID1.
Referenced by Calc_ChargedPIDFOM().
void DParticleID::GetScintMPdEandSigma | ( | double | p, |
double | M, | ||
double | x, | ||
double & | most_prob_dE, | ||
double & | sigma_dE | ||
) | const |
Definition at line 622 of file DParticleID.cc.
References dKRhoZoverA_Scint, dLnI_Scint, dRhoZoverA_Scint, e, sqrt(), x, X, and X0.
Referenced by DHistogramAction_PID::Fill_ChargedHists(), and DHistogramAction_DetectorPID::Perform_Action().
|
pure virtual |
Implemented in DParticleID_PID1.
Referenced by Calc_TimingChiSq().
jerror_t DParticleID::GroupTracks | ( | vector< const DTrackTimeBased * > & | tracks, |
vector< vector< const DTrackTimeBased * > > & | grouped_tracks | ||
) | const |
Definition at line 310 of file DParticleID.cc.
References DTrackTimeBased::candidateid, and DParticleID_hypothesis_cmp().
DParticleID::JOBJECT_PUBLIC | ( | DParticleID | ) |
bool DParticleID::PredictBCALWedge | ( | const DReferenceTrajectory * | rt, |
unsigned int & | module, | ||
unsigned int & | sector, | ||
DVector3 * | intersection = nullptr |
||
) | const |
Definition at line 2702 of file DParticleID.cc.
References DReferenceTrajectory::GetIntersectionWithRadius().
Referenced by JEventProcessor_BCAL_Hadronic_Eff::evnt(), and DHistogramAction_DetectorMatching::Fill_MatchingHists().
bool DParticleID::PredictBCALWedge | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
unsigned int & | module, | ||
unsigned int & | sector, | ||
DVector3 * | intersection = nullptr |
||
) | const |
Definition at line 2967 of file DParticleID.cc.
bool DParticleID::PredictFCALHit | ( | const DReferenceTrajectory * | rt, |
unsigned int & | row, | ||
unsigned int & | col, | ||
DVector3 * | intersection = nullptr |
||
) | const |
Definition at line 2676 of file DParticleID.cc.
References DFCALGeometry::column(), dFCALGeometry, dFCALz, DReferenceTrajectory::GetIntersectionWithPlane(), DFCALGeometry::isBlockActive(), DFCALGeometry::row(), SYS_FCAL, x, and y.
Referenced by JEventProcessor_FCAL_Hadronic_Eff::evnt(), and DHistogramAction_DetectorMatching::Fill_MatchingHists().
bool DParticleID::PredictFCALHit | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
unsigned int & | row, | ||
unsigned int & | col, | ||
DVector3 * | intersection = nullptr |
||
) | const |
Definition at line 2943 of file DParticleID.cc.
References DFCALGeometry::column(), dFCALGeometry, dFCALz, DFCALGeometry::isBlockActive(), DFCALGeometry::row(), x, and y.
unsigned int DParticleID::PredictSCSector | ( | const DReferenceTrajectory * | rt, |
DVector3 * | locOutputProjPos = nullptr , |
||
bool * | locProjBarrelRegion = nullptr , |
||
double * | locMinDPhi = nullptr |
||
) | const |
Definition at line 2759 of file DParticleID.cc.
References sc_pos, and START_EXIST.
Referenced by Distance_ToTrack(), JEventProcessor_SC_Eff::evnt(), DHistogramAction_DetectorMatching::Fill_MatchingHists(), and PredictSCSector().
unsigned int DParticleID::PredictSCSector | ( | const DReferenceTrajectory * | rt, |
double & | locDeltaPhi, | ||
DVector3 & | locProjPos, | ||
DVector3 & | locProjMom, | ||
DVector3 & | locPaddleNorm, | ||
double & | locPathLength, | ||
double & | locFlightTime, | ||
double & | locFlightTimeVariance, | ||
int & | locSCPlane | ||
) | const |
Definition at line 2787 of file DParticleID.cc.
References DReferenceTrajectory::swim_step_t::B, DReferenceTrajectory::swim_step_t::cov_t_t, DReferenceTrajectory::GetMass(), xstream::base64::index(), DReferenceTrajectory::swim_step_t::mom, DReferenceTrajectory::Nswim_steps, DCoordinateSystem::origin, py, DReferenceTrajectory::q, DReferenceTrajectory::swim_step_t::s, sc_norm, sc_pos, size, SPEED_OF_LIGHT, sqrt(), DReferenceTrajectory::swim_steps, DReferenceTrajectory::swim_step_t::t, x, and y.
unsigned int DParticleID::PredictSCSector | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
double & | locDeltaPhi, | ||
DVector3 & | locProjPos, | ||
DVector3 & | locProjMom, | ||
DVector3 & | locPaddleNorm, | ||
double & | locPathLength, | ||
double & | locFlightTime, | ||
double & | locFlightTimeVariance, | ||
int & | locSCPlane | ||
) | const |
Definition at line 2876 of file DParticleID.cc.
References xstream::base64::index(), sc_dir, sc_norm, and sc_pos.
unsigned int DParticleID::PredictSCSector | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
DVector3 * | locOutputProjPos = nullptr , |
||
bool * | locProjBarrelRegion = nullptr , |
||
double * | locMinDPhi = nullptr |
||
) | const |
Definition at line 2920 of file DParticleID.cc.
References PredictSCSector(), and sc_pos.
bool DParticleID::PredictTOFPaddles | ( | const DReferenceTrajectory * | rt, |
unsigned int & | hbar, | ||
unsigned int & | vbar, | ||
DVector3 * | intersection = nullptr |
||
) | const |
Definition at line 2731 of file DParticleID.cc.
References dTOFGeometry, DTOFGeometry::Get_CenterMidPlane(), DReferenceTrajectory::GetIntersectionWithPlane(), SYS_TOF, x, y, and DTOFGeometry::y2bar().
Referenced by JEventProcessor_TOF_Eff::evnt(), and DHistogramAction_DetectorMatching::Fill_MatchingHists().
bool DParticleID::PredictTOFPaddles | ( | const vector< DTrackFitter::Extrapolation_t > & | extrapolations, |
unsigned int & | hbar, | ||
unsigned int & | vbar, | ||
DVector3 * | intersection = nullptr |
||
) | const |
Definition at line 2993 of file DParticleID.cc.
References dTOFGeometry, DTOFGeometry::Get_CenterMidPlane(), x, y, and DTOFGeometry::y2bar().
bool DParticleID::ProjectTo_SC | ( | const DReferenceTrajectory * | rt, |
unsigned int | locSCSector, | ||
double & | locDeltaPhi, | ||
DVector3 & | locProjPos, | ||
DVector3 & | locProjMom, | ||
DVector3 & | locPaddleNorm, | ||
double & | locPathLength, | ||
double & | locFlightTime, | ||
double & | locFlightTimeVariance, | ||
int & | locSCPlane | ||
) | const |
Definition at line 1128 of file DParticleID.cc.
References DReferenceTrajectory::GetIntersectionWithPlane(), M_TWO_PI, sc_dir, sc_norm, sc_pos, size, and START_EXIST.
|
protected |
Definition at line 249 of file DParticleID.h.
Referenced by DParticleID().
|
protected |
Definition at line 243 of file DParticleID.h.
Referenced by Cut_MatchDistance(), DParticleID(), Get_BestBCALMatchParams(), and Get_StartTime().
|
protected |
Definition at line 243 of file DParticleID.h.
Referenced by Cut_MatchDistance(), DParticleID(), Get_BestBCALMatchParams(), and Get_StartTime().
|
protected |
Definition at line 243 of file DParticleID.h.
Referenced by Cut_MatchDistance(), DParticleID(), Get_BestBCALMatchParams(), and Get_StartTime().
|
protected |
Definition at line 243 of file DParticleID.h.
Referenced by Cut_MatchDistance(), DParticleID(), Get_BestBCALMatchParams(), and Get_StartTime().
|
protected |
Definition at line 248 of file DParticleID.h.
Referenced by DParticleID().
|
protected |
Definition at line 252 of file DParticleID.h.
Referenced by CalcdEdxHit(), and DParticleID().
|
private |
Definition at line 311 of file DParticleID.h.
Referenced by DParticleID(), and GetDCdEdxHits().
|
protected |
Definition at line 240 of file DParticleID.h.
|
protected |
Definition at line 241 of file DParticleID.h.
|
protected |
Definition at line 239 of file DParticleID.h.
|
protected |
Definition at line 238 of file DParticleID.h.
|
private |
Definition at line 320 of file DParticleID.h.
Referenced by Cut_MatchDIRC(), DParticleID(), and Get_DIRCLut().
|
private |
Definition at line 263 of file DParticleID.h.
|
private |
Definition at line 299 of file DParticleID.h.
Referenced by DParticleID(), and PredictFCALHit().
|
private |
Definition at line 298 of file DParticleID.h.
Referenced by DParticleID(), and PredictFCALHit().
|
private |
Definition at line 306 of file DParticleID.h.
Referenced by DParticleID().
|
protected |
Definition at line 237 of file DParticleID.h.
Referenced by DParticleID(), GetdEdxSigma_DC(), and GetMostProbabledEdx_DC().
|
protected |
Definition at line 235 of file DParticleID.h.
Referenced by DParticleID(), GetdEdxSigma_DC(), and GetMostProbabledEdx_DC().
|
protected |
Definition at line 236 of file DParticleID.h.
Referenced by DParticleID(), and GetScintMPdEandSigma().
|
protected |
Definition at line 237 of file DParticleID.h.
Referenced by DParticleID(), GetdEdxSigma_DC(), and GetMostProbabledEdx_DC().
|
protected |
Definition at line 235 of file DParticleID.h.
Referenced by DParticleID(), GetdEdxSigma_DC(), and GetMostProbabledEdx_DC().
|
protected |
Definition at line 236 of file DParticleID.h.
Referenced by DParticleID(), and GetScintMPdEandSigma().
|
protected |
Definition at line 237 of file DParticleID.h.
Referenced by DParticleID().
|
protected |
Definition at line 235 of file DParticleID.h.
Referenced by DParticleID().
|
protected |
Definition at line 236 of file DParticleID.h.
Referenced by DParticleID(), and GetScintMPdEandSigma().
|
protected |
Definition at line 246 of file DParticleID.h.
Referenced by Cut_MatchDistance(), and DParticleID().
|
protected |
Definition at line 246 of file DParticleID.h.
Referenced by Cut_MatchDistance(), DParticleID(), and Get_StartTime().
|
private |
Definition at line 276 of file DParticleID.h.
Referenced by DParticleID().
|
private |
Definition at line 277 of file DParticleID.h.
Referenced by DParticleID().
|
private |
Definition at line 313 of file DParticleID.h.
Referenced by Calc_PropagatedRFTime(), and DParticleID().
|
private |
Definition at line 303 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), Get_ClosestTOFPaddleHit_Horizontal(), Get_ClosestTOFPaddleHit_Vertical(), Get_CorrectedHitEnergy(), Get_CorrectedHitTime(), and PredictTOFPaddles().
|
private |
Definition at line 317 of file DParticleID.h.
Referenced by DParticleID(), Get_ClosestTOFPaddleHit_Horizontal(), and Get_ClosestTOFPaddleHit_Vertical().
|
protected |
Definition at line 244 of file DParticleID.h.
Referenced by Cut_MatchDistance(), DParticleID(), and Get_StartTime().
|
protected |
Definition at line 244 of file DParticleID.h.
Referenced by Cut_MatchDistance(), DParticleID(), and Get_StartTime().
|
protected |
Definition at line 244 of file DParticleID.h.
Referenced by Cut_MatchDistance(), and DParticleID().
|
private |
Definition at line 315 of file DParticleID.h.
Referenced by DParticleID().
|
private |
Definition at line 316 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), and Get_StartTime().
|
private |
Definition at line 309 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), Get_ClosestTOFPaddleHit_Horizontal(), Get_ClosestTOFPaddleHit_Vertical(), Get_CorrectedHitEnergy(), and Get_CorrectedHitTime().
|
protected |
Definition at line 250 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), Get_ClosestTOFPaddleHit_Horizontal(), Get_ClosestTOFPaddleHit_Vertical(), and Get_StartTime().
|
private |
Definition at line 304 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), Get_ClosestTOFPaddleHit_Horizontal(), Get_ClosestTOFPaddleHit_Vertical(), and Get_CorrectedHitTime().
|
private |
Definition at line 272 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), Get_CorrectedHitEnergy(), and Get_CorrectedHitTime().
|
private |
Definition at line 293 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), and Get_CorrectedHitEnergy().
|
private |
Definition at line 294 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), and Get_CorrectedHitEnergy().
|
private |
Definition at line 295 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), and Get_CorrectedHitEnergy().
|
protected |
Definition at line 255 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
protected |
Definition at line 255 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
protected |
Definition at line 255 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
private |
Definition at line 273 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), PredictSCSector(), and ProjectTo_SC().
|
private |
Definition at line 271 of file DParticleID.h.
|
private |
Definition at line 275 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), PredictSCSector(), and ProjectTo_SC().
|
private |
Definition at line 274 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), Get_CorrectedHitEnergy(), Get_CorrectedHitTime(), Get_StartTime(), PredictSCSector(), and ProjectTo_SC().
|
private |
Definition at line 287 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), and Get_CorrectedHitTime().
|
private |
Definition at line 286 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), and Get_CorrectedHitTime().
|
protected |
Definition at line 256 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
protected |
Definition at line 256 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
protected |
Definition at line 257 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
protected |
Definition at line 257 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
protected |
Definition at line 258 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
protected |
Definition at line 258 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
protected |
Definition at line 259 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
protected |
Definition at line 259 of file DParticleID.h.
Referenced by Distance_ToTrack(), and DParticleID().
|
private |
Definition at line 285 of file DParticleID.h.
|
private |
Definition at line 268 of file DParticleID.h.
Referenced by Cut_MatchDistance(), Distance_ToTrack(), DParticleID(), Get_ClosestToTrack(), PredictSCSector(), and ProjectTo_SC().
|
private |
Definition at line 307 of file DParticleID.h.
Referenced by Distance_ToTrack(), DParticleID(), and Get_CorrectedHitEnergy().
|
protected |
Definition at line 245 of file DParticleID.h.
Referenced by Cut_MatchDistance(), DParticleID(), and Get_StartTime().
|
protected |
Definition at line 245 of file DParticleID.h.
Referenced by Cut_MatchDistance(), DParticleID(), and Get_StartTime().
|
protected |
Definition at line 245 of file DParticleID.h.
Referenced by Cut_MatchDistance(), DParticleID(), and Get_StartTime().
|
protected |
Definition at line 245 of file DParticleID.h.
Referenced by Cut_MatchDistance(), and DParticleID().
|
private |
Definition at line 308 of file DParticleID.h.
Referenced by DParticleID(), Get_ClosestTOFPaddleHit_Horizontal(), and Get_ClosestTOFPaddleHit_Vertical().