Hall-D Software
alpha
|
#include <DSourceComboTimeHandler.h>
Public Member Functions | |
DSourceComboTimeHandler (void)=delete | |
DSourceComboTimeHandler (JEventLoop *locEventLoop, DSourceComboer *locSourceComboer, const DSourceComboVertexer *locSourceComboVertexer) | |
~DSourceComboTimeHandler (void) | |
void | Reset (void) |
void | Set_DebugLevel (int locDebugLevel) |
void | Setup (const vector< const DNeutralShower * > &locNeutralShowers, const DEventRFBunch *locInitialEventRFBunch, const DDetectorMatches *locDetectorMatches) |
void | Set_BeamParticles (const vector< const DBeamPhoton * > &locBeamParticles) |
const DEventRFBunch * | Get_InitialEventRFBunch (void) const |
DPhotonKinematicsByZBin | Get_PhotonKinematics (void) const |
unordered_map< signed char, DPhotonShowersByBeamBunch > | Get_ShowersByBeamBunchByZBin (void) const |
vector< const DKinematicData * > | Get_BeamParticlesByRFBunch (int locRFBunch, unsigned int locPlusMinusBunchRange) const |
map< DetectorSystem_t, TF1 * > | Get_TimeCuts (Particle_t locPID) const |
bool | Get_TimeCut (Particle_t locPID, DetectorSystem_t locSystem, TF1 *locTimeCut_ns) const |
vector< int > | Get_ValidRFBunches (const JObject *locObject, signed char locVertexZBin) const |
vector< int > | Get_CommonRFBunches (const vector< int > &locRFBunches1, const JObject *locObject, signed char locVertexZBin) const |
vector< int > | Get_CommonRFBunches (const vector< int > &locRFBunches1, const vector< int > &locRFBunches2) const |
int | Calc_RFBunchShift (double locTimeToStepTo) const |
int | Calc_RFBunchShift (double locTimeToStep, double locTimeToStepTo) const |
double | Calc_RFTime (int locNumRFBunchShifts) const |
double | Calc_PropagatedRFTime (double locPrimaryVertexZ, int locNumRFBunchShifts, double locDetachedVertexTimeOffset) const |
double | Get_BeamBunchPeriod (void) const |
bool | Select_RFBunches_Charged (const DReactionVertexInfo *locReactionVertexInfo, const DSourceCombo *locChargedCombo, vector< int > &locValidRFBunches) |
bool | Select_RFBunches_PhotonVertices (const DReactionVertexInfo *locReactionVertexInfo, const DSourceCombo *locReactionFullCombo, vector< int > &locValidRFBunches) |
bool | Select_RFBunches_AllVerticesUnknown (const DReactionVertexInfo *locReactionVertexInfo, const DSourceCombo *locReactionFullCombo, Charge_t locCharge, vector< int > &locValidRFBunches) |
int | Select_RFBunch_Full (const DReactionVertexInfo *locReactionVertexInfo, const DSourceCombo *locReactionFullCombo, const vector< int > &locRFBunches) |
bool | Cut_Timing_MissingMassVertices (const DReactionVertexInfo *locReactionVertexInfo, const DSourceCombo *locReactionFullCombo, const DKinematicData *locBeamParticle, int locRFBunch) |
DLorentzVector | Get_ChargedPOCAToVertexX4 (const DChargedTrackHypothesis *locHypothesis, bool locIsProductionVertex, const DSourceCombo *locReactionFullCombo, const DSourceCombo *locVertexPrimaryCombo, const DKinematicData *locBeamPhoton, bool locIsCombo2ndVertex, DVector3 locVertex) |
size_t | Get_NumVertexZBins (void) const |
signed char | Get_PhotonVertexZBin (double locVertexZ) const |
double | Get_PhotonVertexZBinCenter (signed char locVertexZBin) const |
size_t | Get_VertexZBin_TargetCenter (void) const |
void | Vote_OldMethod (const DSourceCombo *locReactionFullCombo, vector< int > &locValidRFBunches) |
Private Member Functions | |
pair< DVector3, double > | Calc_Photon_Kinematics (const DNeutralShower *locNeutralShower, const DVector3 &locVertex) const |
shared_ptr< const DKinematicData > | Create_KinematicData_Photon (const DNeutralShower *locNeutralShower, const DVector3 &locVertex) const |
void | Calc_PhotonBeamBunchShifts (const DNeutralShower *locNeutralShower, shared_ptr< const DKinematicData > &locKinematicData, double locRFTime, signed char locZBin) |
vector< int > | Calc_BeamBunchShifts (double locVertexTime, double locOrigRFBunchPropagatedTime, double locDeltaTCut, bool locIncludeDecayTimeOffset, Particle_t locPID, DetectorSystem_t locSystem, double locP) |
double | Calc_MaxDeltaTError (const DNeutralShower *locNeutralShower, double locTheta) const |
double | Calc_MaxDeltaTError (const DNeutralShower *locNeutralShower, double locTheta, double locZError) const |
bool | Get_RFBunches_ChargedTrack (const DChargedTrackHypothesis *locHypothesis, bool locIsProductionVertex, const DSourceCombo *locVertexPrimaryCombo, bool locIsCombo2ndVertex, DVector3 locVertex, double locPropagatedRFTime, bool locOnlyTrackFlag, bool locDetachedVertex, vector< int > &locRFBunches) |
TF1 * | Get_TimeCutFunction (Particle_t locPID, DetectorSystem_t locSystem) const |
bool | Compute_RFChiSqs_UnknownVertices (const DSourceCombo *locReactionFullCombo, Charge_t locCharge, const vector< int > &locRFBunches, unordered_map< int, double > &locChiSqByRFBunch, map< int, map< Particle_t, map< DetectorSystem_t, vector< pair< float, float >>>>> &locRFDeltaTsForHisting) |
bool | Cut_PhotonPID (const DNeutralShower *locNeutralShower, const DVector3 &locVertex, double locPropagatedRFTime, bool locTargetCenterFlag, bool locDetachedVertex) |
bool | Cut_TrackPID (const DChargedTrackHypothesis *locHypothesis, bool locIsProductionVertex, const DSourceCombo *locFullReactionCombo, const DSourceCombo *locVertexPrimaryCombo, const DKinematicData *locBeamPhoton, bool locIsCombo2ndVertex, DVector3 locVertex, double locPropagatedRFTime, bool locDetachedVertex) |
pair< double, double > | Calc_RFDeltaTChiSq (const DNeutralShower *locNeutralShower, const TVector3 &locVertex, double locPropagatedRFTime) const |
pair< double, double > | Calc_RFDeltaTChiSq (const DChargedTrackHypothesis *locHypothesis, double locVertexTime, double locPropagatedRFTime) const |
void | Define_DefaultCuts (void) |
void | Get_CommandLineCuts (void) |
void | Create_CutFunctions (void) |
void | Fill_Histograms (void) |
Definition at line 37 of file DSourceComboTimeHandler.h.
|
delete |
DAnalysis::DSourceComboTimeHandler::DSourceComboTimeHandler | ( | JEventLoop * | locEventLoop, |
DSourceComboer * | locSourceComboer, | ||
const DSourceComboVertexer * | locSourceComboVertexer | ||
) |
Definition at line 343 of file DSourceComboTimeHandler.cc.
References AntiProton, Create_CutFunctions(), dAnalysisUtilities, dBeamBunchPeriod, dDebugLevel, Define_DefaultCuts(), dHist_BeamRFDeltaTVsBeamE, dHistMap_RFDeltaTVsP_AllRFs, dHistMap_RFDeltaTVsP_BestRF, dMaxDecayTimeOffset, dNumPhotonVertexZBins, dPhotonVertexZBinWidth, dPhotonVertexZRangeLow, dPrintCutFlag, dShowerRFBunches, dShowersByBeamBunchByZBin, dTargetCenter, Electron, Gamma, DAnalysis::Get_ChainPIDs(), Get_CommandLineCuts(), DAnalysis::Get_Reactions(), DAnalysis::DSourceComboInfo::Get_VertexZIndex_Unknown(), DAnalysis::DSourceComboInfo::Get_VertexZIndex_ZIndependent(), DApplication::GetDGeometry(), DGeometry::GetTargetLength(), DGeometry::GetTargetZ(), IsDetachedVertex(), japp, KMinus, KPlus, locHist, MuonMinus, MuonPlus, OmegaMinus, ParticleCharge(), ParticleName_ROOT(), ParticleType(), PiMinus, PiPlus, Positron, Proton, string, SYS_BCAL, SYS_FCAL, SYS_START, SYS_TOF, SystemName(), Unknown, Xi0, and XiMinus.
|
inline |
Definition at line 42 of file DSourceComboTimeHandler.h.
|
private |
Definition at line 649 of file DSourceComboTimeHandler.cc.
References Calc_RFBunchShift(), dAllRFDeltaTs, dBeamBunchPeriod, dDebugLevel, dInitialEventRFBunch, dMaxDecayTimeOffset, DEventRFBunch::dTime, and SystemName().
Referenced by Calc_PhotonBeamBunchShifts(), Get_RFBunches_ChargedTrack(), Select_RFBunches_PhotonVertices(), and Vote_OldMethod().
|
inlineprivate |
Definition at line 100 of file DSourceComboTimeHandler.h.
References Calc_MaxDeltaTError().
Referenced by Calc_MaxDeltaTError(), Calc_PhotonBeamBunchShifts(), and Cut_PhotonPID().
|
private |
Definition at line 711 of file DSourceComboTimeHandler.cc.
References DNeutralShower::dDetectorSystem, DNeutralShower::dSpacetimeVertex, dTargetCenter, dTargetLength, sin(), SPEED_OF_LIGHT, sqrt(), and SYS_BCAL.
|
inlineprivate |
Definition at line 281 of file DSourceComboTimeHandler.h.
References DNeutralShower::dEnergy, and DNeutralShower::dSpacetimeVertex.
Referenced by Cut_PhotonPID(), Select_RFBunches_PhotonVertices(), and Vote_OldMethod().
|
private |
Definition at line 611 of file DSourceComboTimeHandler.cc.
References Calc_BeamBunchShifts(), Calc_MaxDeltaTError(), dDebugLevel, DNeutralShower::dDetectorSystem, DNeutralShower::dEnergy, dPIDTimingCuts, dShowerRFBunches, dShowersByBeamBunchByZBin, Gamma, DAnalysis::DSourceComboInfo::Get_VertexZIndex_Unknown(), SYS_FCAL, SystemName(), and Unknown.
Referenced by Setup().
|
inline |
Definition at line 269 of file DSourceComboTimeHandler.h.
References SPEED_OF_LIGHT.
Referenced by DAnalysis::DSourceComboP4Handler::Calc_P4_Decay(), DAnalysis::DSourceComboVertexer::Calc_VertexTimeOffsets_WithBeam(), Compute_RFChiSqs_UnknownVertices(), DAnalysis::DSourceComboP4Handler::Cut_InvariantMass_HasMassiveNeutral(), DAnalysis::DSourceComboP4Handler::Cut_MissingMassSquared(), Cut_Timing_MissingMassVertices(), Select_RFBunch_Full(), Select_RFBunches_Charged(), and Select_RFBunches_PhotonVertices().
|
inline |
Definition at line 68 of file DSourceComboTimeHandler.h.
References Calc_RFBunchShift().
Referenced by Calc_BeamBunchShifts(), Calc_RFBunchShift(), DAnalysis::DSourceComboVertexer::Calc_VertexTimeOffsets_WithBeam(), and DAnalysis::DSourceComboer::Combo_WithBeam().
|
inline |
Definition at line 300 of file DSourceComboTimeHandler.h.
|
inlineprivate |
Definition at line 325 of file DSourceComboTimeHandler.h.
References DNeutralShower::dCovarianceMatrix, and DNeutralShower::dSpacetimeVertex.
Referenced by Compute_RFChiSqs_UnknownVertices(), and Select_RFBunch_Full().
|
inlineprivate |
Definition at line 340 of file DSourceComboTimeHandler.h.
References DKinematicData::errorMatrix().
|
inline |
Definition at line 264 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DParticleComboCreator::Build_ParticleCombo().
|
private |
Definition at line 1244 of file DSourceComboTimeHandler.cc.
References Calc_PropagatedRFTime(), Calc_RFDeltaTChiSq(), dDebugLevel, dTargetCenter, DAnalysis::DSourceCombo::Get_SourceParticles(), ParticleCharge(), and ParticleMass().
Referenced by Select_RFBunch_Full().
|
private |
Definition at line 296 of file DSourceComboTimeHandler.cc.
References dAllRFDeltaTs, dDefaultTimeCutFunctionString, dPIDTimingCuts, dPIDTimingCuts_TF1FunctionString, dPIDTimingCuts_TF1Params, dPrintCutFlag, dSelectedRFDeltaTs, japp, ParticleType(), and SystemName().
Referenced by DSourceComboTimeHandler().
|
inlineprivate |
|
private |
Definition at line 1458 of file DSourceComboTimeHandler.cc.
References Calc_MaxDeltaTError(), Calc_Photon_Kinematics(), dDebugLevel, dDetachedPathLengthUncertainty, DNeutralShower::dDetectorSystem, DNeutralShower::dEnergy, dSelectedRFDeltaTs, Gamma, Get_TimeCutFunction(), and Unknown.
Referenced by Cut_Timing_MissingMassVertices(), Select_RFBunches_AllVerticesUnknown(), and Select_RFBunches_PhotonVertices().
bool DAnalysis::DSourceComboTimeHandler::Cut_Timing_MissingMassVertices | ( | const DReactionVertexInfo * | locReactionVertexInfo, |
const DSourceCombo * | locReactionFullCombo, | ||
const DKinematicData * | locBeamParticle, | ||
int | locRFBunch | ||
) |
Definition at line 1282 of file DSourceComboTimeHandler.cc.
References Calc_PropagatedRFTime(), Cut_PhotonPID(), Cut_TrackPID(), dDebugLevel, dSourceComboer, dSourceComboVertexer, DAnalysis::DSourceComboVertexer::Get_PrimaryVertex(), DAnalysis::Get_SourceParticles_ThisVertex(), DAnalysis::DReactionVertexInfo::Get_StepVertexInfos(), DAnalysis::DSourceComboVertexer::Get_TimeOffset(), DAnalysis::DSourceComboVertexer::Get_Vertex(), DAnalysis::DSourceComboVertexer::Get_VertexDeterminableWithCharged(), DAnalysis::DSourceComboVertexer::Get_VertexDeterminableWithPhotons(), DAnalysis::DSourceComboer::Get_VertexPrimaryCombo(), ParticleCharge(), and ParticleMass().
Referenced by DAnalysis::DSourceComboer::Combo_WithBeam().
|
private |
Definition at line 1482 of file DSourceComboTimeHandler.cc.
References dChargedDecayProductTimeUncertainty, dDebugLevel, dDetectorMatches, dSelectedRFDeltaTs, Get_ChargedPOCAToVertexX4(), DDetectorMatches::Get_SCMatchParams(), Get_TimeCutFunction(), DChargedTrackHypothesis::Get_TrackTimeBased(), DKinematicData::momentum(), DKinematicData::PID(), DKinematicData::position(), SPEED_OF_LIGHT, SYS_START, DChargedTrackHypothesis::t1_detector(), and DKinematicData::time().
Referenced by Cut_Timing_MissingMassVertices().
|
private |
Definition at line 165 of file DSourceComboTimeHandler.cc.
References AntiProton, dDefaultTimeCutFunctionString, dPIDTimingCuts_TF1Params, Electron, Gamma, KMinus, KPlus, MuonMinus, MuonPlus, ParticleCharge(), PiMinus, PiPlus, Positron, Proton, SYS_BCAL, SYS_FCAL, SYS_START, SYS_TOF, and Unknown.
Referenced by DSourceComboTimeHandler().
|
private |
Definition at line 1343 of file DSourceComboTimeHandler.cc.
References dAllRFDeltaTs, dBeamRFDeltaTs, dHist_BeamRFDeltaTVsBeamE, dHistMap_RFDeltaTVsP_AllRFs, dHistMap_RFDeltaTVsP_BestRF, dSelectedRFDeltaTs, and japp.
|
inline |
Definition at line 72 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboer::DSourceComboer().
|
inline |
Definition at line 252 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboer::Combo_WithBeam().
DLorentzVector DAnalysis::DSourceComboTimeHandler::Get_ChargedPOCAToVertexX4 | ( | const DChargedTrackHypothesis * | locHypothesis, |
bool | locIsProductionVertex, | ||
const DSourceCombo * | locReactionFullCombo, | ||
const DSourceCombo * | locVertexPrimaryCombo, | ||
const DKinematicData * | locBeamPhoton, | ||
bool | locIsCombo2ndVertex, | ||
DVector3 | locVertex | ||
) |
Definition at line 1440 of file DSourceComboTimeHandler.cc.
References DKinematicData::charge(), dAnalysisUtilities, dChargedParticlePOCAToVertexX4, dSourceComboVertexer, DAnalysis::DSourceComboVertexer::Get_ConstrainingParticles(), DKinematicData::lorentzMomentum(), DAnalysisUtilities::Propagate_Track(), and DKinematicData::x4().
Referenced by DAnalysis::DParticleComboCreator::Create_ChargedHypo(), Cut_TrackPID(), and Get_RFBunches_ChargedTrack().
|
private |
Definition at line 222 of file DSourceComboTimeHandler.cc.
References dDebugLevel, dPIDTimingCuts_TF1FunctionString, dPIDTimingCuts_TF1Params, and string.
Referenced by DSourceComboTimeHandler().
|
inline |
Definition at line 306 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboer::Combo_Horizontally_AddCombo(), DAnalysis::DSourceComboer::Combo_Horizontally_AddParticle(), DAnalysis::DSourceComboer::Combo_Vertically_NDecays(), DAnalysis::DSourceComboer::Combo_Vertically_NParticles(), DAnalysis::DSourceComboer::Combo_WithNeutralsAndBeam(), Select_RFBunches_AllVerticesUnknown(), Select_RFBunches_Charged(), and Select_RFBunches_PhotonVertices().
|
inline |
Definition at line 311 of file DSourceComboTimeHandler.h.
|
inline |
Definition at line 51 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DParticleComboCreator::Build_ParticleCombo().
|
inline |
Definition at line 85 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboer::Combo_Vertically_NParticles(), and DAnalysis::DSourceComboer::Create_Combo_OneParticle().
|
inline |
Definition at line 52 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboer::Reset_NewEvent().
|
inline |
Definition at line 205 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboP4Handler::Cut_InvariantMass_HasMassiveNeutral(), DAnalysis::DSourceComboP4Handler::Get_P4_NotMassiveNeutral(), and DAnalysis::DSourceComboVertexer::Get_VertexZBin().
|
inline |
Definition at line 214 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboP4Handler::Calc_P4_Decay(), and Setup().
|
private |
Definition at line 1400 of file DSourceComboTimeHandler.cc.
References Calc_BeamBunchShifts(), dChargedDecayProductTimeUncertainty, dDebugLevel, dDetectorMatches, Get_ChargedPOCAToVertexX4(), DDetectorMatches::Get_SCMatchParams(), Get_TimeCutFunction(), DChargedTrackHypothesis::Get_TrackTimeBased(), DKinematicData::momentum(), DKinematicData::PID(), DKinematicData::position(), SPEED_OF_LIGHT, SYS_NULL, SYS_START, DChargedTrackHypothesis::t1_detector(), and DKinematicData::time().
Referenced by Select_RFBunches_AllVerticesUnknown(), Select_RFBunches_Charged(), and Select_RFBunches_PhotonVertices().
|
inline |
Definition at line 53 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboer::Reset_NewEvent().
|
inline |
Definition at line 237 of file DSourceComboTimeHandler.h.
|
inlineprivate |
Definition at line 353 of file DSourceComboTimeHandler.h.
Referenced by Cut_PhotonPID(), Cut_TrackPID(), and Get_RFBunches_ChargedTrack().
|
inline |
Definition at line 229 of file DSourceComboTimeHandler.h.
Referenced by DReaction_factory_trackeff_missing::Add_PostKinfitTimingCuts(), and DReaction_factory_ReactionFilter::Add_PostKinfitTimingCuts().
|
inline |
Definition at line 291 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboer::Combo_Vertically_NParticles(), and DAnalysis::DSourceComboer::Create_Combo_OneParticle().
|
inline |
Definition at line 88 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboP4Handler::Calc_P4_NoMassiveNeutrals(), DAnalysis::DSourceComboer::Create_ZDependentSourceComboUses(), DAnalysis::DSourceComboP4Handler::Get_P4_NotMassiveNeutral(), DAnalysis::DSourceComboVertexer::Get_VertexZBin(), and Select_RFBunches_AllVerticesUnknown().
|
inline |
Definition at line 185 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboer::Reset_NewEvent().
int DAnalysis::DSourceComboTimeHandler::Select_RFBunch_Full | ( | const DReactionVertexInfo * | locReactionVertexInfo, |
const DSourceCombo * | locReactionFullCombo, | ||
const vector< int > & | locRFBunches | ||
) |
Definition at line 1012 of file DSourceComboTimeHandler.cc.
References Calc_PropagatedRFTime(), Calc_RFDeltaTChiSq(), Compute_RFChiSqs_UnknownVertices(), d_Charged, d_Neutral, dChargedParticlePOCAToVertexX4, dDebugLevel, dFullComboRFBunches, dSelectedRFDeltaTs, dSourceComboer, dSourceComboVertexer, DAnalysis::DSourceComboVertexer::Get_ConstrainingParticles_NoBeam(), DAnalysis::DSourceComboVertexer::Get_IsTimeOffsetKnown(), DAnalysis::DSourceComboVertexer::Get_PrimaryVertex(), DAnalysis::DReactionStepVertexInfo::Get_ProductionVertexFlag(), DAnalysis::Get_SourceParticles_ThisVertex(), DAnalysis::DReactionVertexInfo::Get_StepVertexInfo(), DAnalysis::DReactionVertexInfo::Get_StepVertexInfos(), DAnalysis::DSourceComboVertexer::Get_TimeOffset(), DAnalysis::DSourceComboVertexer::Get_Vertex_NoBeam(), DAnalysis::DSourceComboVertexer::Get_VertexDeterminableWithCharged(), DAnalysis::DSourceComboVertexer::Get_VertexDeterminableWithPhotons(), DAnalysis::DSourceComboer::Get_VertexPrimaryCombo(), ParticleCharge(), and ParticleMass().
Referenced by DAnalysis::DSourceComboer::Build_ParticleCombos(), and DAnalysis::DSourceComboer::Combo_WithNeutralsAndBeam().
bool DAnalysis::DSourceComboTimeHandler::Select_RFBunches_AllVerticesUnknown | ( | const DReactionVertexInfo * | locReactionVertexInfo, |
const DSourceCombo * | locReactionFullCombo, | ||
Charge_t | locCharge, | ||
vector< int > & | locValidRFBunches | ||
) |
Definition at line 931 of file DSourceComboTimeHandler.cc.
References Cut_PhotonPID(), d_Charged, dBeamBunchPeriod, dDebugLevel, dInitialEventRFBunch, dShowerRFBunches, dTargetCenter, DEventRFBunch::dTime, dUnknownVertexRFBunches, Get_CommonRFBunches(), Get_RFBunches_ChargedTrack(), DAnalysis::DSourceCombo::Get_SourceParticles(), Get_VertexZBin_TargetCenter(), ParticleCharge(), ParticleMass(), and SPEED_OF_LIGHT.
Referenced by DAnalysis::DSourceComboer::Combo_WithNeutralsAndBeam().
bool DAnalysis::DSourceComboTimeHandler::Select_RFBunches_Charged | ( | const DReactionVertexInfo * | locReactionVertexInfo, |
const DSourceCombo * | locChargedCombo, | ||
vector< int > & | locValidRFBunches | ||
) |
Definition at line 729 of file DSourceComboTimeHandler.cc.
References Calc_PropagatedRFTime(), d_Charged, DAnalysis::d_FinalState, dChargedComboRFBunches, dDebugLevel, dInitialEventRFBunch, dSourceComboer, dSourceComboVertexer, dTargetCenter, DEventRFBunch::dTime, Get_CommonRFBunches(), DAnalysis::DSourceComboVertexer::Get_IsTimeOffsetKnown(), DAnalysis::DSourceComboVertexer::Get_PrimaryVertex(), DAnalysis::DReactionStepVertexInfo::Get_ProductionVertexFlag(), Get_RFBunches_ChargedTrack(), DAnalysis::DSourceCombo::Get_SourceParticles(), DAnalysis::Get_SourceParticles_ThisVertex(), DAnalysis::DReactionVertexInfo::Get_StepVertexInfo(), DAnalysis::DReactionVertexInfo::Get_StepVertexInfos(), DAnalysis::DSourceComboVertexer::Get_TimeOffset(), DAnalysis::DSourceComboVertexer::Get_Vertex_NoBeam(), DAnalysis::DSourceComboVertexer::Get_VertexDeterminableWithCharged(), DAnalysis::DSourceComboer::Get_VertexPrimaryCombo(), and DAnalysis::Print_SourceCombo().
Referenced by DAnalysis::DSourceComboer::Build_ParticleCombos().
bool DAnalysis::DSourceComboTimeHandler::Select_RFBunches_PhotonVertices | ( | const DReactionVertexInfo * | locReactionVertexInfo, |
const DSourceCombo * | locReactionFullCombo, | ||
vector< int > & | locValidRFBunches | ||
) |
Definition at line 817 of file DSourceComboTimeHandler.cc.
References Calc_BeamBunchShifts(), Calc_Photon_Kinematics(), Calc_PropagatedRFTime(), Cut_PhotonPID(), d_Charged, dBeamBunchPeriod, dDebugLevel, DNeutralShower::dDetectorSystem, dPhotonVertexRFBunches, dPIDTimingCuts, dShowerRFBunches, dSourceComboer, dSourceComboVertexer, Gamma, Get_CommonRFBunches(), DAnalysis::DSourceComboVertexer::Get_IsTimeOffsetKnown(), DAnalysis::DSourceComboVertexer::Get_IsVertexKnown_NoBeam(), DAnalysis::DSourceComboVertexer::Get_PrimaryVertex(), DAnalysis::DReactionStepVertexInfo::Get_ProductionVertexFlag(), Get_RFBunches_ChargedTrack(), DAnalysis::DSourceCombo::Get_SourceParticles(), DAnalysis::Get_SourceParticles_ThisVertex(), DAnalysis::DReactionVertexInfo::Get_StepVertexInfo(), DAnalysis::DReactionVertexInfo::Get_StepVertexInfos(), DAnalysis::DSourceComboVertexer::Get_TimeOffset(), DAnalysis::DSourceComboVertexer::Get_Vertex_NoBeam(), DAnalysis::DSourceComboVertexer::Get_VertexDeterminableWithCharged(), DAnalysis::DSourceComboer::Get_VertexPrimaryCombo(), DAnalysis::DSourceComboVertexer::Get_VertexZBin_NoBeam(), DAnalysis::DSourceComboInfo::Get_VertexZIndex_OutOfRange(), ParticleCharge(), and ParticleMass().
Referenced by DAnalysis::DSourceComboer::Combo_WithNeutralsAndBeam().
|
inline |
Definition at line 219 of file DSourceComboTimeHandler.h.
Referenced by DAnalysis::DSourceComboer::Reset_NewEvent().
|
inline |
Definition at line 46 of file DSourceComboTimeHandler.h.
void DAnalysis::DSourceComboTimeHandler::Setup | ( | const vector< const DNeutralShower * > & | locNeutralShowers, |
const DEventRFBunch * | locInitialEventRFBunch, | ||
const DDetectorMatches * | locDetectorMatches | ||
) |
Definition at line 520 of file DSourceComboTimeHandler.cc.
References Calc_PhotonBeamBunchShifts(), Create_KinematicData_Photon(), dDebugLevel, dDetectorMatches, dInitialEventRFBunch, dNumPhotonVertexZBins, dPhotonKinematics, dShowerRFBunches, dShowersByBeamBunchByZBin, dTargetCenter, DEventRFBunch::dTime, Get_PhotonVertexZBinCenter(), DAnalysis::DSourceComboInfo::Get_VertexZIndex_Unknown(), DAnalysis::DSourceComboInfo::Get_VertexZIndex_ZIndependent(), SPEED_OF_LIGHT, SYS_BCAL, and SystemName().
Referenced by DAnalysis::DSourceComboer::Reset_NewEvent().
void DAnalysis::DSourceComboTimeHandler::Vote_OldMethod | ( | const DSourceCombo * | locReactionFullCombo, |
vector< int > & | locValidRFBunches | ||
) |
Definition at line 1140 of file DSourceComboTimeHandler.cc.
References Calc_BeamBunchShifts(), Calc_Photon_Kinematics(), dBeamBunchPeriod, dDebugLevel, dInitialEventRFBunch, dSourceComboVertexer, dTargetCenter, DEventRFBunch::dTime, Gamma, DAnalysis::DSourceCombo::Get_SourceParticles(), DAnalysis::DSourceComboVertexer::Get_Vertex_NoBeam(), ParticleCharge(), ParticleMass(), SPEED_OF_LIGHT, SYS_NULL, SYS_START, and SYS_TOF.
Referenced by DAnalysis::DSourceComboer::Build_ParticleCombos(), and DAnalysis::DSourceComboer::Combo_WithNeutralsAndBeam().
|
private |
Definition at line 182 of file DSourceComboTimeHandler.h.
Referenced by Calc_BeamBunchShifts(), Create_CutFunctions(), and Fill_Histograms().
|
private |
Definition at line 122 of file DSourceComboTimeHandler.h.
Referenced by DSourceComboTimeHandler(), and Get_ChargedPOCAToVertexX4().
|
private |
Definition at line 129 of file DSourceComboTimeHandler.h.
Referenced by Calc_BeamBunchShifts(), DSourceComboTimeHandler(), Select_RFBunches_AllVerticesUnknown(), Select_RFBunches_PhotonVertices(), and Vote_OldMethod().
|
private |
Definition at line 166 of file DSourceComboTimeHandler.h.
|
private |
Definition at line 180 of file DSourceComboTimeHandler.h.
Referenced by Fill_Histograms().
|
private |
Definition at line 161 of file DSourceComboTimeHandler.h.
Referenced by Select_RFBunches_Charged().
|
private |
Definition at line 143 of file DSourceComboTimeHandler.h.
Referenced by Cut_TrackPID(), and Get_RFBunches_ChargedTrack().
|
private |
Definition at line 159 of file DSourceComboTimeHandler.h.
Referenced by Get_ChargedPOCAToVertexX4(), and Select_RFBunch_Full().
|
private |
Definition at line 123 of file DSourceComboTimeHandler.h.
Referenced by Calc_BeamBunchShifts(), Calc_PhotonBeamBunchShifts(), Compute_RFChiSqs_UnknownVertices(), Cut_PhotonPID(), Cut_Timing_MissingMassVertices(), Cut_TrackPID(), DSourceComboTimeHandler(), Get_CommandLineCuts(), Get_RFBunches_ChargedTrack(), Select_RFBunch_Full(), Select_RFBunches_AllVerticesUnknown(), Select_RFBunches_Charged(), Select_RFBunches_PhotonVertices(), Setup(), and Vote_OldMethod().
|
private |
Definition at line 172 of file DSourceComboTimeHandler.h.
Referenced by Create_CutFunctions(), and Define_DefaultCuts().
|
private |
Definition at line 142 of file DSourceComboTimeHandler.h.
Referenced by Cut_PhotonPID().
|
private |
Definition at line 147 of file DSourceComboTimeHandler.h.
Referenced by Cut_TrackPID(), Get_RFBunches_ChargedTrack(), and Setup().
|
private |
Definition at line 164 of file DSourceComboTimeHandler.h.
Referenced by Select_RFBunch_Full().
|
private |
Definition at line 177 of file DSourceComboTimeHandler.h.
Referenced by DSourceComboTimeHandler(), and Fill_Histograms().
|
private |
Definition at line 179 of file DSourceComboTimeHandler.h.
Referenced by DSourceComboTimeHandler(), and Fill_Histograms().
|
private |
Definition at line 178 of file DSourceComboTimeHandler.h.
Referenced by DSourceComboTimeHandler(), and Fill_Histograms().
|
private |
Definition at line 146 of file DSourceComboTimeHandler.h.
Referenced by Calc_BeamBunchShifts(), Select_RFBunches_AllVerticesUnknown(), Select_RFBunches_Charged(), Setup(), and Vote_OldMethod().
|
private |
Definition at line 141 of file DSourceComboTimeHandler.h.
Referenced by Calc_BeamBunchShifts(), and DSourceComboTimeHandler().
|
private |
Definition at line 139 of file DSourceComboTimeHandler.h.
Referenced by DSourceComboTimeHandler(), and Setup().
|
private |
Definition at line 153 of file DSourceComboTimeHandler.h.
Referenced by Setup().
|
private |
Definition at line 162 of file DSourceComboTimeHandler.h.
Referenced by Select_RFBunches_PhotonVertices().
|
private |
Definition at line 137 of file DSourceComboTimeHandler.h.
Referenced by DSourceComboTimeHandler().
|
private |
Definition at line 138 of file DSourceComboTimeHandler.h.
Referenced by DSourceComboTimeHandler().
|
private |
Definition at line 170 of file DSourceComboTimeHandler.h.
Referenced by Calc_PhotonBeamBunchShifts(), Create_CutFunctions(), and Select_RFBunches_PhotonVertices().
|
private |
Definition at line 171 of file DSourceComboTimeHandler.h.
Referenced by Create_CutFunctions(), and Get_CommandLineCuts().
|
private |
Definition at line 173 of file DSourceComboTimeHandler.h.
Referenced by Create_CutFunctions(), Define_DefaultCuts(), and Get_CommandLineCuts().
|
private |
Definition at line 124 of file DSourceComboTimeHandler.h.
Referenced by Create_CutFunctions(), and DSourceComboTimeHandler().
|
private |
Definition at line 181 of file DSourceComboTimeHandler.h.
Referenced by Create_CutFunctions(), Cut_PhotonPID(), Cut_TrackPID(), Fill_Histograms(), and Select_RFBunch_Full().
|
private |
Definition at line 155 of file DSourceComboTimeHandler.h.
Referenced by Calc_PhotonBeamBunchShifts(), DSourceComboTimeHandler(), Select_RFBunches_AllVerticesUnknown(), Select_RFBunches_PhotonVertices(), and Setup().
|
private |
Definition at line 157 of file DSourceComboTimeHandler.h.
Referenced by Calc_PhotonBeamBunchShifts(), DSourceComboTimeHandler(), and Setup().
|
private |
Definition at line 120 of file DSourceComboTimeHandler.h.
Referenced by Cut_Timing_MissingMassVertices(), Select_RFBunch_Full(), Select_RFBunches_Charged(), and Select_RFBunches_PhotonVertices().
|
private |
Definition at line 121 of file DSourceComboTimeHandler.h.
Referenced by Cut_Timing_MissingMassVertices(), Get_ChargedPOCAToVertexX4(), Select_RFBunch_Full(), Select_RFBunches_Charged(), Select_RFBunches_PhotonVertices(), and Vote_OldMethod().
|
private |
Definition at line 127 of file DSourceComboTimeHandler.h.
Referenced by Calc_MaxDeltaTError(), Compute_RFChiSqs_UnknownVertices(), DSourceComboTimeHandler(), Select_RFBunches_AllVerticesUnknown(), Select_RFBunches_Charged(), Setup(), and Vote_OldMethod().
|
private |
Definition at line 128 of file DSourceComboTimeHandler.h.
Referenced by Calc_MaxDeltaTError().
|
private |
Definition at line 163 of file DSourceComboTimeHandler.h.
Referenced by Select_RFBunches_AllVerticesUnknown().
|
private |
Definition at line 130 of file DSourceComboTimeHandler.h.