19 #ifndef DERIVATIONFRAMEWORK_BVertexClosestTrackTool_H
20 #define DERIVATIONFRAMEWORK_BVertexClosestTrackTool_H
23 #include "boost/multi_array.hpp"
26 class IInDetTrackSelectionTool;
44 const std::string& Bname =
"ctrk",
45 const std::string& Prefix=
"",
46 double Dca=-999.,
double DcaErr=-99.,
47 double Zca=-999.,
double ZcaErr=-99.,
48 double VtxNDErr2=-99.,
double TrkNDErr2=-99.,
49 double Phi0Used=-999.,
52 const std::vector<std::vector<double> >& Vtap = {},
53 const std::vector<unsigned short>& Selpat = {});
57 virtual void setup(
const std::string&
Name=
"_none_",
58 const std::string& Bname=
"ctrk",
59 const std::string& Prefix=
"");
60 virtual void setup(
const std::string&
Name,
61 const std::string& Bname,
62 const std::string& Prefix,
63 double Dca,
double DcaErr,
64 double Zca,
double ZcaErr,
65 double VtxNDErr2,
double TrkNDErr2,
70 std::vector<std::vector<double> > Vtap = {},
71 std::vector<unsigned short> Selpat = {});
72 virtual void resetVals();
75 virtual std::string dcaName()
const;
76 virtual std::string dcaErrName()
const;
77 virtual std::string zcaName()
const;
78 virtual std::string zcaErrName()
const;
79 virtual std::string vtxNDErr2Name()
const;
80 virtual std::string trkNDErr2Name()
const;
81 virtual std::string phi0UsedName()
const;
82 virtual std::string nTrksChi2Name()
const;
83 virtual std::string closeTrackName()
const;
84 virtual std::string
toString()
const;
97 std::vector<std::vector<double> >
vtap;
104 const IInterface*
p);
111 virtual StatusCode addBranchesVCSetupHook(
size_t ivc)
const;
116 const unsigned int ipv,
117 const unsigned int its,
118 const unsigned int itt)
const;
120 const int ipv)
const;
123 virtual void initResults();
124 virtual void setResultsPrefix(std::string
prefix)
const;
125 virtual StatusCode logCloseTracksDebugInfo()
const;
150 #endif // DERIVATIONFRAMEWORK_BVertexClosestTrackTool_H