13 #ifndef RHOCALCULATIONTOOLS_H 14 #define RHOCALCULATIONTOOLS_H 30 #include "TLorentzVector.h" 32 #include "TMatrixDSym.h" 38 static void SetVerbose(Int_t level) { fVerbose = level; }
41 static Double_t
GetBz(
const TVector3 &position);
69 P7toHelix(
const TVector3 &pos,
const TLorentzVector &p4,
const Double_t Q,
const TMatrixD &cov77, Float_t *helixparams,
TMatrixD &helixCov, Bool_t skipcov = kFALSE);
70 static Bool_t
P7toPRG(
const TVector3 &pos,
const TLorentzVector &p4,
const Double_t Q,
const TMatrixD &cov77,
const TVector3 &expPoint, Float_t *helixparams,
TMatrixD &helixCov,
71 TMatrixD &jacobian, Bool_t skipcov = kFALSE);
82 static std::ostream &bold_on(std::ostream &os) {
return os <<
"\e[1m"; }
84 static std::ostream &bold_off(std::ostream &os) {
return os <<
"\e[0m"; }
90 static Int_t fVerbose;
TMatrixT< double > TMatrixD