#include <Conv4HitsReco.h>
Public Member Functions | |
int | ComputeMaxLimits () |
int | ComputeMinLimits () |
Conv4HitsReco (TVector3 &, TVector3 &, TVector3 &, TVector3 &, TVector3 &) | |
int | ConversionCandidate (TVector3 &, double &, double &) |
void | Dump () |
TVector3 | GetConvVertexFromParams (double &, double &) |
double | GetDm () |
double | GetDq () |
TVector3 | GetIntersection (TVector3 &, TVector3 &, TVector3 &, TVector3 &) |
TVector3 | GetMinusCenter (double &) |
TVector3 | GetPlusCenter (double &) |
double | GetPtFromParamAndHitPair (double &, double &) |
double | GetPtMinusFromParam (double &) |
double | GetPtPlusFromParam (double &) |
int | GuessStartingValues (double &, double &) |
int | IsNotValidForPtLimit (double, double, double, double) |
int | IsNotValidForVtxPosition (double &) |
int | mqFindByIteration (double &, double &) |
double | qFromM (double) |
std::string | qFromM_print (double m) |
void | Set (double) |
void | SetIterationStopRelThreshold (double val) |
void | SetLinSystCoeff (double, double) |
void | SetMaxNumberOfIterations (int val) |
void | SetMaxVtxDistance (int val) |
void | SetPtLegMaxCut (double val) |
void | SetPtLegMinCut (double val) |
void | SetPtPhotMaxCut (double val) |
~Conv4HitsReco () | |
Public Attributes | |
double | _eta |
double | _eta2 |
double | _pi |
double | _pi2 |
TVector3 | convVtx |
TVector3 | hit1 |
TVector3 | hit2 |
TVector3 | hit3 |
TVector3 | hit4 |
double | iterationStopRelThreshold |
int | maxNumberOfIterations |
double | maxVtxDistance |
TVector3 | minusCenter |
double | minusRadius |
double | mMaxLimit |
double | mMinLimit |
double | nNV |
double | nPN |
double | O0 |
double | Om |
double | Oq |
TVector3 | plusCenter |
double | plusRadius |
double | pn |
double | PN |
double | PN2 |
double | pNV |
double | pPN |
double | ptLegMaxCut |
double | ptLegMinCut |
double | ptPhotMaxCut |
double | qMaxLimit |
double | qMinLimit |
double | T0 |
double | Tm |
double | Tq |
TVector3 | unitVn |
TVector3 | unitVp |
TVector3 | v1minus2 |
TVector3 | v3minus4 |
TVector3 | vMMaxLimit |
TVector3 | vN |
TVector3 | vNminusV |
TVector3 | vP |
TVector3 | vPminusN |
TVector3 | vPminusV |
TVector3 | vQMaxLimit |
TVector3 | vV |
Definition at line 10 of file Conv4HitsReco.h.
Conv4HitsReco::Conv4HitsReco | ( | TVector3 & | , |
TVector3 & | , | ||
TVector3 & | , | ||
TVector3 & | , | ||
TVector3 & | |||
) |
Conv4HitsReco::~Conv4HitsReco | ( | ) |
int Conv4HitsReco::ComputeMaxLimits | ( | ) |
Definition at line 185 of file Conv4HitsReco.cc.
References _eta, _pi, GetIntersection(), GetPtFromParamAndHitPair(), hit2, hit3, IsNotValidForPtLimit(), LogDebug, mMaxLimit, ptLegMinCut, qMaxLimit, unitVn, unitVp, vMMaxLimit, vN, vP, vQMaxLimit, and vV.
Referenced by ConversionCandidate().
int Conv4HitsReco::ComputeMinLimits | ( | ) |
Definition at line 224 of file Conv4HitsReco.cc.
References GetIntersection(), IsNotValidForPtLimit(), LogDebug, mMaxLimit, mMinLimit, ptLegMaxCut, qMaxLimit, qMinLimit, unitVn, unitVp, v1minus2, v3minus4, vMMaxLimit, vN, vP, vQMaxLimit, vV, and BeamSpotPI::Z.
Referenced by ConversionCandidate().
int Conv4HitsReco::ConversionCandidate | ( | TVector3 & | vtx, |
double & | ptplus, | ||
double & | ptminus | ||
) |
Definition at line 112 of file Conv4HitsReco.cc.
References ComputeMaxLimits(), ComputeMinLimits(), convVtx, GetConvVertexFromParams(), GetPtMinusFromParam(), GetPtPlusFromParam(), GuessStartingValues(), hit1, hit4, IsNotValidForPtLimit(), IsNotValidForVtxPosition(), LogDebug, visualization-live-secondInstance_cfg::m, maxVtxDistance, minusCenter, minusRadius, mMaxLimit, mMinLimit, mqFindByIteration(), plusCenter, plusRadius, ptLegMaxCut, ptLegMinCut, submitPVResolutionJobs::q, qMaxLimit, qMinLimit, unitVn, unitVp, vN, vP, and extraflags_cff::vtx.
void Conv4HitsReco::Dump | ( | void | ) |
TVector3 Conv4HitsReco::GetConvVertexFromParams | ( | double & | m, |
double & | q | ||
) |
Definition at line 98 of file Conv4HitsReco.cc.
References LogDebug, visualization-live-secondInstance_cfg::m, minusCenter, minusRadius, plusCenter, plusRadius, submitPVResolutionJobs::q, unitVn, unitVp, vN, and vP.
Referenced by ConversionCandidate().
double Conv4HitsReco::GetDm | ( | ) |
double Conv4HitsReco::GetDq | ( | ) |
TVector3 Conv4HitsReco::GetIntersection | ( | TVector3 & | V1, |
TVector3 & | p1, | ||
TVector3 & | V2, | ||
TVector3 & | p2 | ||
) |
Definition at line 82 of file Conv4HitsReco.cc.
Referenced by ComputeMaxLimits(), and ComputeMinLimits().
TVector3 Conv4HitsReco::GetMinusCenter | ( | double & | radius | ) |
Definition at line 75 of file Conv4HitsReco.cc.
References minusCenter, minusRadius, and CosmicsPD_Skims::radius.
TVector3 Conv4HitsReco::GetPlusCenter | ( | double & | radius | ) |
Definition at line 70 of file Conv4HitsReco.cc.
References plusCenter, plusRadius, and CosmicsPD_Skims::radius.
double Conv4HitsReco::GetPtFromParamAndHitPair | ( | double & | m, |
double & | eta | ||
) |
Definition at line 90 of file Conv4HitsReco.cc.
References PVValHelper::eta, visualization-live-secondInstance_cfg::m, and mathSSE::sqrt().
Referenced by ComputeMaxLimits(), GetPtMinusFromParam(), GetPtPlusFromParam(), and IsNotValidForPtLimit().
double Conv4HitsReco::GetPtMinusFromParam | ( | double & | m | ) |
Definition at line 94 of file Conv4HitsReco.cc.
References _eta, GetPtFromParamAndHitPair(), and visualization-live-secondInstance_cfg::m.
Referenced by ConversionCandidate().
double Conv4HitsReco::GetPtPlusFromParam | ( | double & | q | ) |
Definition at line 96 of file Conv4HitsReco.cc.
References _pi, GetPtFromParamAndHitPair(), and submitPVResolutionJobs::q.
Referenced by ConversionCandidate().
int Conv4HitsReco::GuessStartingValues | ( | double & | m, |
double & | q | ||
) |
Definition at line 251 of file Conv4HitsReco.cc.
References LogDebug, visualization-live-secondInstance_cfg::m, mMaxLimit, submitPVResolutionJobs::q, and qMaxLimit.
Referenced by ConversionCandidate().
int Conv4HitsReco::IsNotValidForPtLimit | ( | double | m, |
double | q, | ||
double | ptmin, | ||
double | ptmax | ||
) |
Definition at line 205 of file Conv4HitsReco.cc.
References _eta, _pi, GetPtFromParamAndHitPair(), visualization-live-secondInstance_cfg::m, muonTiming_cfi::ptmax, ptmin, and submitPVResolutionJobs::q.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), and ConversionCandidate().
int Conv4HitsReco::IsNotValidForVtxPosition | ( | double & | maxDist | ) |
Definition at line 217 of file Conv4HitsReco.cc.
References convVtx, hit1, hit2, hit3, hit4, and TtFullHadJetPartonMatch_cfi::maxDist.
Referenced by ConversionCandidate().
int Conv4HitsReco::mqFindByIteration | ( | double & | m, |
double & | q | ||
) |
Definition at line 155 of file Conv4HitsReco.cc.
References symbols::dm, submitPVResolutionJobs::err, GetDm(), GetDq(), mps_fire::i, iterationStopRelThreshold, LogDebug, visualization-live-secondInstance_cfg::m, maxNumberOfIterations, submitPVResolutionJobs::q, and SetLinSystCoeff().
Referenced by ConversionCandidate().
double Conv4HitsReco::qFromM | ( | double | m | ) |
Definition at line 65 of file Conv4HitsReco.cc.
References LogDebug, visualization-live-secondInstance_cfg::m, and qFromM_print().
std::string Conv4HitsReco::qFromM_print | ( | double | m | ) |
Definition at line 44 of file Conv4HitsReco.cc.
References _eta2, alpha, HLT_FULL_cff::beta, TtSemiLepEvtBuilder_cfi::disc, CustomPhysics_cfi::gamma, visualization-live-secondInstance_cfg::m, pn, pNV, mathSSE::sqrt(), contentValuesCheck::ss, unitVn, unitVp, vNminusV, and vPminusN.
Referenced by qFromM().
void Conv4HitsReco::Set | ( | double | ) |
|
inline |
Definition at line 77 of file Conv4HitsReco.h.
References iterationStopRelThreshold, and heppy_batch::val.
void Conv4HitsReco::SetLinSystCoeff | ( | double | m, |
double | q | ||
) |
Definition at line 18 of file Conv4HitsReco.cc.
References _eta2, _pi2, visualization-live-secondInstance_cfg::m, nNV, nPN, O0, Om, Oq, pn, PN2, pNV, pPN, submitPVResolutionJobs::q, mathSSE::sqrt(), T0, Tq, unitVn, unitVp, vNminusV, and vPminusN.
Referenced by mqFindByIteration().
|
inline |
Definition at line 78 of file Conv4HitsReco.h.
References maxNumberOfIterations, and heppy_batch::val.
|
inline |
|
inline |
|
inline |
|
inline |
double Conv4HitsReco::_eta |
Definition at line 36 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), Dump(), GetPtMinusFromParam(), and IsNotValidForPtLimit().
double Conv4HitsReco::_eta2 |
Definition at line 38 of file Conv4HitsReco.h.
Referenced by qFromM_print(), and SetLinSystCoeff().
double Conv4HitsReco::_pi |
Definition at line 37 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), Dump(), GetPtPlusFromParam(), and IsNotValidForPtLimit().
double Conv4HitsReco::_pi2 |
Definition at line 39 of file Conv4HitsReco.h.
Referenced by SetLinSystCoeff().
TVector3 Conv4HitsReco::convVtx |
Definition at line 48 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), and IsNotValidForVtxPosition().
TVector3 Conv4HitsReco::hit1 |
Definition at line 17 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), Dump(), and IsNotValidForVtxPosition().
TVector3 Conv4HitsReco::hit2 |
Definition at line 16 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), Dump(), and IsNotValidForVtxPosition().
TVector3 Conv4HitsReco::hit3 |
Definition at line 15 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), Dump(), and IsNotValidForVtxPosition().
TVector3 Conv4HitsReco::hit4 |
Definition at line 14 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), Dump(), and IsNotValidForVtxPosition().
double Conv4HitsReco::iterationStopRelThreshold |
Definition at line 52 of file Conv4HitsReco.h.
Referenced by mqFindByIteration(), and SetIterationStopRelThreshold().
int Conv4HitsReco::maxNumberOfIterations |
Definition at line 53 of file Conv4HitsReco.h.
Referenced by mqFindByIteration(), and SetMaxNumberOfIterations().
double Conv4HitsReco::maxVtxDistance |
Definition at line 54 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), and SetMaxVtxDistance().
TVector3 Conv4HitsReco::minusCenter |
Definition at line 47 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), GetConvVertexFromParams(), and GetMinusCenter().
double Conv4HitsReco::minusRadius |
Definition at line 50 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), GetConvVertexFromParams(), and GetMinusCenter().
double Conv4HitsReco::mMaxLimit |
Definition at line 43 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), and GuessStartingValues().
double Conv4HitsReco::mMinLimit |
Definition at line 45 of file Conv4HitsReco.h.
Referenced by ComputeMinLimits(), and ConversionCandidate().
double Conv4HitsReco::nNV |
Definition at line 35 of file Conv4HitsReco.h.
Referenced by SetLinSystCoeff().
double Conv4HitsReco::nPN |
Definition at line 31 of file Conv4HitsReco.h.
Referenced by SetLinSystCoeff().
double Conv4HitsReco::O0 |
Definition at line 64 of file Conv4HitsReco.h.
Referenced by GetDm(), GetDq(), and SetLinSystCoeff().
double Conv4HitsReco::Om |
Definition at line 64 of file Conv4HitsReco.h.
Referenced by GetDm(), GetDq(), and SetLinSystCoeff().
double Conv4HitsReco::Oq |
Definition at line 64 of file Conv4HitsReco.h.
Referenced by GetDm(), GetDq(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::plusCenter |
Definition at line 46 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), GetConvVertexFromParams(), and GetPlusCenter().
double Conv4HitsReco::plusRadius |
Definition at line 49 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), GetConvVertexFromParams(), and GetPlusCenter().
double Conv4HitsReco::pn |
Definition at line 29 of file Conv4HitsReco.h.
Referenced by qFromM_print(), and SetLinSystCoeff().
double Conv4HitsReco::PN |
Definition at line 32 of file Conv4HitsReco.h.
double Conv4HitsReco::PN2 |
Definition at line 33 of file Conv4HitsReco.h.
Referenced by SetLinSystCoeff().
double Conv4HitsReco::pNV |
Definition at line 34 of file Conv4HitsReco.h.
Referenced by qFromM_print(), and SetLinSystCoeff().
double Conv4HitsReco::pPN |
Definition at line 30 of file Conv4HitsReco.h.
Referenced by SetLinSystCoeff().
double Conv4HitsReco::ptLegMaxCut |
Definition at line 56 of file Conv4HitsReco.h.
Referenced by ComputeMinLimits(), ConversionCandidate(), and SetPtLegMaxCut().
double Conv4HitsReco::ptLegMinCut |
Definition at line 55 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ConversionCandidate(), and SetPtLegMinCut().
double Conv4HitsReco::ptPhotMaxCut |
Definition at line 57 of file Conv4HitsReco.h.
Referenced by SetPtPhotMaxCut().
double Conv4HitsReco::qMaxLimit |
Definition at line 42 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), and GuessStartingValues().
double Conv4HitsReco::qMinLimit |
Definition at line 44 of file Conv4HitsReco.h.
Referenced by ComputeMinLimits(), and ConversionCandidate().
double Conv4HitsReco::T0 |
Definition at line 63 of file Conv4HitsReco.h.
Referenced by GetDm(), GetDq(), and SetLinSystCoeff().
double Conv4HitsReco::Tm |
Definition at line 63 of file Conv4HitsReco.h.
double Conv4HitsReco::Tq |
Definition at line 63 of file Conv4HitsReco.h.
Referenced by GetDm(), GetDq(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::unitVn |
Definition at line 27 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), Dump(), GetConvVertexFromParams(), qFromM_print(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::unitVp |
Definition at line 28 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), Dump(), GetConvVertexFromParams(), qFromM_print(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::v1minus2 |
Definition at line 21 of file Conv4HitsReco.h.
Referenced by ComputeMinLimits().
TVector3 Conv4HitsReco::v3minus4 |
Definition at line 20 of file Conv4HitsReco.h.
Referenced by ComputeMinLimits().
TVector3 Conv4HitsReco::vMMaxLimit |
Definition at line 40 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), and ComputeMinLimits().
TVector3 Conv4HitsReco::vN |
Definition at line 22 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), Dump(), and GetConvVertexFromParams().
TVector3 Conv4HitsReco::vNminusV |
Definition at line 26 of file Conv4HitsReco.h.
Referenced by qFromM_print(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::vP |
Definition at line 23 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), Dump(), and GetConvVertexFromParams().
TVector3 Conv4HitsReco::vPminusN |
Definition at line 24 of file Conv4HitsReco.h.
Referenced by Dump(), qFromM_print(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::vPminusV |
Definition at line 25 of file Conv4HitsReco.h.
TVector3 Conv4HitsReco::vQMaxLimit |
Definition at line 41 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), and ComputeMinLimits().
TVector3 Conv4HitsReco::vV |
Definition at line 13 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), and Dump().