#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 208 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 246 of file Conv4HitsReco.cc.
References GetIntersection(), IsNotValidForPtLimit(), LogDebug, mMaxLimit, mMinLimit, ptLegMaxCut, qMaxLimit, qMinLimit, unitVn, unitVp, v1minus2, v3minus4, vMMaxLimit, vN, vP, vQMaxLimit, vV, and Gflash::Z.
Referenced by ConversionCandidate().
int Conv4HitsReco::ConversionCandidate | ( | TVector3 & | vtx, |
double & | ptplus, | ||
double & | ptminus | ||
) |
Definition at line 135 of file Conv4HitsReco.cc.
References ComputeMaxLimits(), ComputeMinLimits(), convVtx, GetConvVertexFromParams(), GetPtMinusFromParam(), GetPtPlusFromParam(), GuessStartingValues(), hit1, hit4, IsNotValidForPtLimit(), IsNotValidForVtxPosition(), LogDebug, m, maxVtxDistance, minusCenter, minusRadius, mMaxLimit, mMinLimit, mqFindByIteration(), plusCenter, plusRadius, ptLegMaxCut, ptLegMinCut, lumiQueryAPI::q, qMaxLimit, qMinLimit, unitVn, unitVp, vN, and vP.
void Conv4HitsReco::Dump | ( | void | ) |
TVector3 Conv4HitsReco::GetConvVertexFromParams | ( | double & | m, |
double & | q | ||
) |
Definition at line 119 of file Conv4HitsReco.cc.
References LogDebug, minusCenter, minusRadius, plusCenter, plusRadius, unitVn, unitVp, vN, and vP.
Referenced by ConversionCandidate().
double Conv4HitsReco::GetDm | ( | ) |
Definition at line 10 of file Conv4HitsReco.cc.
References O0, Om, Oq, T0, and Tq.
Referenced by mqFindByIteration().
double Conv4HitsReco::GetDq | ( | ) |
Definition at line 16 of file Conv4HitsReco.cc.
References O0, Om, Oq, T0, and Tq.
Referenced by mqFindByIteration().
TVector3 Conv4HitsReco::GetIntersection | ( | TVector3 & | V1, |
TVector3 & | p1, | ||
TVector3 & | V2, | ||
TVector3 & | p2 | ||
) |
Definition at line 91 of file Conv4HitsReco.cc.
References p2.
Referenced by ComputeMaxLimits(), and ComputeMinLimits().
TVector3 Conv4HitsReco::GetMinusCenter | ( | double & | radius | ) |
TVector3 Conv4HitsReco::GetPlusCenter | ( | double & | radius | ) |
double Conv4HitsReco::GetPtFromParamAndHitPair | ( | double & | m, |
double & | eta | ||
) |
Definition at line 101 of file Conv4HitsReco.cc.
References mathSSE::sqrt().
Referenced by ComputeMaxLimits(), GetPtMinusFromParam(), GetPtPlusFromParam(), and IsNotValidForPtLimit().
double Conv4HitsReco::GetPtMinusFromParam | ( | double & | m | ) |
Definition at line 107 of file Conv4HitsReco.cc.
References _eta, and GetPtFromParamAndHitPair().
Referenced by ConversionCandidate().
double Conv4HitsReco::GetPtPlusFromParam | ( | double & | q | ) |
Definition at line 113 of file Conv4HitsReco.cc.
References _pi, and GetPtFromParamAndHitPair().
Referenced by ConversionCandidate().
int Conv4HitsReco::GuessStartingValues | ( | double & | m, |
double & | q | ||
) |
Definition at line 275 of file Conv4HitsReco.cc.
References LogDebug, mMaxLimit, and qMaxLimit.
Referenced by ConversionCandidate().
int Conv4HitsReco::IsNotValidForPtLimit | ( | double | m, |
double | q, | ||
double | ptmin, | ||
double | ptmax | ||
) |
Definition at line 228 of file Conv4HitsReco.cc.
References _eta, _pi, and GetPtFromParamAndHitPair().
Referenced by ComputeMaxLimits(), ComputeMinLimits(), and ConversionCandidate().
int Conv4HitsReco::IsNotValidForVtxPosition | ( | double & | maxDist | ) |
Definition at line 238 of file Conv4HitsReco.cc.
References convVtx, hit1, hit2, hit3, hit4, and insertMaterial::maxDist.
Referenced by ConversionCandidate().
int Conv4HitsReco::mqFindByIteration | ( | double & | m, |
double & | q | ||
) |
Definition at line 177 of file Conv4HitsReco.cc.
References GetDm(), GetDq(), i, iterationStopRelThreshold, LogDebug, maxNumberOfIterations, and SetLinSystCoeff().
Referenced by ConversionCandidate().
double Conv4HitsReco::qFromM | ( | double | m | ) |
std::string Conv4HitsReco::qFromM_print | ( | double | m | ) |
Definition at line 50 of file Conv4HitsReco.cc.
References _eta2, alpha, beta, m, pn, pNV, mathSSE::sqrt(), contentValuesCheck::ss, unitVn, unitVp, vNminusV, and vPminusN.
Referenced by qFromM().
void Conv4HitsReco::Set | ( | double | ) |
|
inline |
Definition at line 78 of file Conv4HitsReco.h.
References iterationStopRelThreshold.
void Conv4HitsReco::SetLinSystCoeff | ( | double | m, |
double | q | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
double Conv4HitsReco::_eta |
Definition at line 37 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), Dump(), GetPtMinusFromParam(), and IsNotValidForPtLimit().
double Conv4HitsReco::_eta2 |
Definition at line 39 of file Conv4HitsReco.h.
Referenced by qFromM_print(), and SetLinSystCoeff().
double Conv4HitsReco::_pi |
Definition at line 38 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), Dump(), GetPtPlusFromParam(), and IsNotValidForPtLimit().
double Conv4HitsReco::_pi2 |
Definition at line 40 of file Conv4HitsReco.h.
Referenced by SetLinSystCoeff().
TVector3 Conv4HitsReco::convVtx |
Definition at line 49 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), and IsNotValidForVtxPosition().
TVector3 Conv4HitsReco::hit1 |
Definition at line 18 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), Dump(), and IsNotValidForVtxPosition().
TVector3 Conv4HitsReco::hit2 |
Definition at line 17 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), Dump(), and IsNotValidForVtxPosition().
TVector3 Conv4HitsReco::hit3 |
Definition at line 16 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), Dump(), and IsNotValidForVtxPosition().
TVector3 Conv4HitsReco::hit4 |
Definition at line 15 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), Dump(), and IsNotValidForVtxPosition().
double Conv4HitsReco::iterationStopRelThreshold |
Definition at line 53 of file Conv4HitsReco.h.
Referenced by mqFindByIteration(), and SetIterationStopRelThreshold().
int Conv4HitsReco::maxNumberOfIterations |
Definition at line 54 of file Conv4HitsReco.h.
Referenced by mqFindByIteration(), and SetMaxNumberOfIterations().
double Conv4HitsReco::maxVtxDistance |
Definition at line 55 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), and SetMaxVtxDistance().
TVector3 Conv4HitsReco::minusCenter |
Definition at line 48 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), GetConvVertexFromParams(), and GetMinusCenter().
double Conv4HitsReco::minusRadius |
Definition at line 51 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), GetConvVertexFromParams(), and GetMinusCenter().
double Conv4HitsReco::mMaxLimit |
Definition at line 44 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), and GuessStartingValues().
double Conv4HitsReco::mMinLimit |
Definition at line 46 of file Conv4HitsReco.h.
Referenced by ComputeMinLimits(), and ConversionCandidate().
double Conv4HitsReco::nNV |
Definition at line 36 of file Conv4HitsReco.h.
Referenced by SetLinSystCoeff().
double Conv4HitsReco::nPN |
Definition at line 32 of file Conv4HitsReco.h.
Referenced by SetLinSystCoeff().
double Conv4HitsReco::O0 |
Definition at line 65 of file Conv4HitsReco.h.
Referenced by GetDm(), GetDq(), and SetLinSystCoeff().
double Conv4HitsReco::Om |
Definition at line 65 of file Conv4HitsReco.h.
Referenced by GetDm(), GetDq(), and SetLinSystCoeff().
double Conv4HitsReco::Oq |
Definition at line 65 of file Conv4HitsReco.h.
Referenced by GetDm(), GetDq(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::plusCenter |
Definition at line 47 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), GetConvVertexFromParams(), and GetPlusCenter().
double Conv4HitsReco::plusRadius |
Definition at line 50 of file Conv4HitsReco.h.
Referenced by ConversionCandidate(), GetConvVertexFromParams(), and GetPlusCenter().
double Conv4HitsReco::pn |
Definition at line 30 of file Conv4HitsReco.h.
Referenced by qFromM_print(), and SetLinSystCoeff().
double Conv4HitsReco::PN |
Definition at line 33 of file Conv4HitsReco.h.
double Conv4HitsReco::PN2 |
Definition at line 34 of file Conv4HitsReco.h.
Referenced by SetLinSystCoeff().
double Conv4HitsReco::pNV |
Definition at line 35 of file Conv4HitsReco.h.
Referenced by qFromM_print(), and SetLinSystCoeff().
double Conv4HitsReco::pPN |
Definition at line 31 of file Conv4HitsReco.h.
Referenced by SetLinSystCoeff().
double Conv4HitsReco::ptLegMaxCut |
Definition at line 57 of file Conv4HitsReco.h.
Referenced by ComputeMinLimits(), ConversionCandidate(), and SetPtLegMaxCut().
double Conv4HitsReco::ptLegMinCut |
Definition at line 56 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ConversionCandidate(), and SetPtLegMinCut().
double Conv4HitsReco::ptPhotMaxCut |
Definition at line 58 of file Conv4HitsReco.h.
Referenced by SetPtPhotMaxCut().
double Conv4HitsReco::qMaxLimit |
Definition at line 43 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), and GuessStartingValues().
double Conv4HitsReco::qMinLimit |
Definition at line 45 of file Conv4HitsReco.h.
Referenced by ComputeMinLimits(), and ConversionCandidate().
double Conv4HitsReco::T0 |
Definition at line 64 of file Conv4HitsReco.h.
Referenced by GetDm(), GetDq(), and SetLinSystCoeff().
double Conv4HitsReco::Tm |
Definition at line 64 of file Conv4HitsReco.h.
double Conv4HitsReco::Tq |
Definition at line 64 of file Conv4HitsReco.h.
Referenced by GetDm(), GetDq(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::unitVn |
Definition at line 28 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), Dump(), GetConvVertexFromParams(), qFromM_print(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::unitVp |
Definition at line 29 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), Dump(), GetConvVertexFromParams(), qFromM_print(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::v1minus2 |
Definition at line 22 of file Conv4HitsReco.h.
Referenced by ComputeMinLimits().
TVector3 Conv4HitsReco::v3minus4 |
Definition at line 21 of file Conv4HitsReco.h.
Referenced by ComputeMinLimits().
TVector3 Conv4HitsReco::vMMaxLimit |
Definition at line 41 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), and ComputeMinLimits().
TVector3 Conv4HitsReco::vN |
Definition at line 23 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), Dump(), and GetConvVertexFromParams().
TVector3 Conv4HitsReco::vNminusV |
Definition at line 27 of file Conv4HitsReco.h.
Referenced by qFromM_print(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::vP |
Definition at line 24 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), ConversionCandidate(), Dump(), and GetConvVertexFromParams().
TVector3 Conv4HitsReco::vPminusN |
Definition at line 25 of file Conv4HitsReco.h.
Referenced by Dump(), qFromM_print(), and SetLinSystCoeff().
TVector3 Conv4HitsReco::vPminusV |
Definition at line 26 of file Conv4HitsReco.h.
TVector3 Conv4HitsReco::vQMaxLimit |
Definition at line 42 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), and ComputeMinLimits().
TVector3 Conv4HitsReco::vV |
Definition at line 14 of file Conv4HitsReco.h.
Referenced by ComputeMaxLimits(), ComputeMinLimits(), and Dump().