#include <BVertexClosestTrackTool.h>
|
| CtItem (const std::string &Name="_none_", const std::string &Bname="ctrk", const std::string &Prefix="", double Dca=-999., double DcaErr=-99., double Zca=-999., double ZcaErr=-99., double VtxNDErr2=-99., double TrkNDErr2=-99., double Phi0Used=-999., int NTrksChi2=0, xAOD::TrackParticle *CloseTrack=NULL, const TrackBag &Tracks={}, const std::vector< std::vector< double > > &Vtap={}, const std::vector< unsigned short > &Selpat={}) |
|
virtual | ~CtItem () |
|
virtual void | setup (const std::string &Name="_none_", const std::string &Bname="ctrk", const std::string &Prefix="") |
|
virtual void | setup (const std::string &Name, const std::string &Bname, const std::string &Prefix, double Dca, double DcaErr, double Zca, double ZcaErr, double VtxNDErr2, double TrkNDErr2, double Phi0Used, int NTrksChi2, xAOD::TrackParticle *CloseTrack=NULL, TrackBag Tracks={}, std::vector< std::vector< double > > Vtap={}, std::vector< unsigned short > Selpat={}) |
|
virtual void | resetVals () |
|
virtual void | copyVals (const BaseItem &item) |
|
virtual void | copyVals (const CtItem &item) |
|
virtual std::string | dcaName () const |
|
virtual std::string | dcaErrName () const |
|
virtual std::string | zcaName () const |
|
virtual std::string | zcaErrName () const |
|
virtual std::string | vtxNDErr2Name () const |
|
virtual std::string | trkNDErr2Name () const |
|
virtual std::string | phi0UsedName () const |
|
virtual std::string | nTrksChi2Name () const |
|
virtual std::string | closeTrackName () const |
|
virtual std::string | toString () const |
|
Definition at line 40 of file BVertexClosestTrackTool.h.
◆ CtItem()
DerivationFramework::BVertexClosestTrackTool::CtItem::CtItem |
( |
const std::string & |
Name = "_none_" , |
|
|
const std::string & |
Bname = "ctrk" , |
|
|
const std::string & |
Prefix = "" , |
|
|
double |
Dca = -999. , |
|
|
double |
DcaErr = -99. , |
|
|
double |
Zca = -999. , |
|
|
double |
ZcaErr = -99. , |
|
|
double |
VtxNDErr2 = -99. , |
|
|
double |
TrkNDErr2 = -99. , |
|
|
double |
Phi0Used = -999. , |
|
|
int |
NTrksChi2 = 0 , |
|
|
xAOD::TrackParticle * |
CloseTrack = NULL , |
|
|
const TrackBag & |
Tracks = {} , |
|
|
const std::vector< std::vector< double > > & |
Vtap = {} , |
|
|
const std::vector< unsigned short > & |
Selpat = {} |
|
) |
| |
◆ ~CtItem()
DerivationFramework::BVertexClosestTrackTool::CtItem::~CtItem |
( |
| ) |
|
|
virtual |
◆ closeTrackName()
std::string DerivationFramework::BVertexClosestTrackTool::CtItem::closeTrackName |
( |
| ) |
const |
|
virtual |
◆ copyVals() [1/2]
void DerivationFramework::BVertexClosestTrackTool::CtItem::copyVals |
( |
const BaseItem & |
item | ) |
|
|
virtual |
◆ copyVals() [2/2]
void DerivationFramework::BVertexClosestTrackTool::CtItem::copyVals |
( |
const CtItem & |
item | ) |
|
|
virtual |
◆ dcaErrName()
std::string DerivationFramework::BVertexClosestTrackTool::CtItem::dcaErrName |
( |
| ) |
const |
|
virtual |
◆ dcaName()
std::string DerivationFramework::BVertexClosestTrackTool::CtItem::dcaName |
( |
| ) |
const |
|
virtual |
◆ nTrksChi2Name()
std::string DerivationFramework::BVertexClosestTrackTool::CtItem::nTrksChi2Name |
( |
| ) |
const |
|
virtual |
◆ phi0UsedName()
std::string DerivationFramework::BVertexClosestTrackTool::CtItem::phi0UsedName |
( |
| ) |
const |
|
virtual |
◆ resetVals()
void DerivationFramework::BVertexClosestTrackTool::CtItem::resetVals |
( |
| ) |
|
|
virtual |
◆ setup() [1/2]
void DerivationFramework::BVertexClosestTrackTool::CtItem::setup |
( |
const std::string & |
Name, |
|
|
const std::string & |
Bname, |
|
|
const std::string & |
Prefix, |
|
|
double |
Dca, |
|
|
double |
DcaErr, |
|
|
double |
Zca, |
|
|
double |
ZcaErr, |
|
|
double |
VtxNDErr2, |
|
|
double |
TrkNDErr2, |
|
|
double |
Phi0Used, |
|
|
int |
NTrksChi2, |
|
|
xAOD::TrackParticle * |
CloseTrack = NULL , |
|
|
TrackBag |
Tracks = {} , |
|
|
std::vector< std::vector< double > > |
Vtap = {} , |
|
|
std::vector< unsigned short > |
Selpat = {} |
|
) |
| |
|
virtual |
◆ setup() [2/2]
void DerivationFramework::BVertexClosestTrackTool::CtItem::setup |
( |
const std::string & |
Name = "_none_" , |
|
|
const std::string & |
Bname = "ctrk" , |
|
|
const std::string & |
Prefix = "" |
|
) |
| |
|
virtual |
◆ toString()
std::string DerivationFramework::BVertexClosestTrackTool::CtItem::toString |
( |
| ) |
const |
|
virtual |
Definition at line 195 of file BVertexClosestTrackTool.cxx.
196 std::string
f1 =
std::format(
"dca: {:10.6f} {:10.6f} zca: {:10.6f} {:10.6f} nt: {:10d}",
201 std::string rstr =
f2;
202 rstr +=
"per track: p(px, py, pz)\n";
203 rstr +=
" d(d0, z0, phi, theta, qoverp)\n";
204 rstr +=
" d0, d0Err, z0, z0Err, logChi2, dca, okFlag\n";
205 rstr +=
" vtxNDErr2, trkNDErr2, phi0Used\n";
206 rstr +=
" vtxNDErr, trkNDErr, log(chi2Err2Sum)\n";
209 for (
unsigned int i=0;
i<
tracks.size(); ++
i) {
213 std::string f4 =
std::format(
"%s\nd0: %10.4f %10.4f z0: %10.4f %10.4f "
214 "lc2: %10.4f dca: %10.4f ok: %3f\n"
215 "vtxNDErr2: %10.4f trkNDErr2: %10.4f "
217 "vtxNDErr: %10.4f trkNDErr2 %10.4f "
218 "logChi2Err2Sum: %10.4f"
228 std::string(f3str.length(),
' '));
229 tstr.replace(0,f3str.length(),f3str);
230 rstr.append(tstr+
"\n");
237 rstr.erase(rstr.length()-1);
◆ trkNDErr2Name()
std::string DerivationFramework::BVertexClosestTrackTool::CtItem::trkNDErr2Name |
( |
| ) |
const |
|
virtual |
◆ vtxNDErr2Name()
std::string DerivationFramework::BVertexClosestTrackTool::CtItem::vtxNDErr2Name |
( |
| ) |
const |
|
virtual |
◆ zcaErrName()
std::string DerivationFramework::BVertexClosestTrackTool::CtItem::zcaErrName |
( |
| ) |
const |
|
virtual |
◆ zcaName()
std::string DerivationFramework::BVertexClosestTrackTool::CtItem::zcaName |
( |
| ) |
const |
|
virtual |
◆ closeTrack
◆ dca
double DerivationFramework::BVertexClosestTrackTool::CtItem::dca |
◆ dcaErr
double DerivationFramework::BVertexClosestTrackTool::CtItem::dcaErr |
◆ nTrksChi2
int DerivationFramework::BVertexClosestTrackTool::CtItem::nTrksChi2 |
◆ phi0Used
double DerivationFramework::BVertexClosestTrackTool::CtItem::phi0Used |
◆ selpat
std::vector<unsigned short> DerivationFramework::BVertexClosestTrackTool::CtItem::selpat |
◆ tracks
TrackBag DerivationFramework::BVertexClosestTrackTool::CtItem::tracks |
◆ trkNDErr2
double DerivationFramework::BVertexClosestTrackTool::CtItem::trkNDErr2 |
◆ vtap
std::vector<std::vector<double> > DerivationFramework::BVertexClosestTrackTool::CtItem::vtap |
◆ vtxNDErr2
double DerivationFramework::BVertexClosestTrackTool::CtItem::vtxNDErr2 |
◆ zca
double DerivationFramework::BVertexClosestTrackTool::CtItem::zca |
◆ zcaErr
double DerivationFramework::BVertexClosestTrackTool::CtItem::zcaErr |
The documentation for this class was generated from the following files: