Belle II Software  release-05-02-19
TagVertex.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2014-2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Luigi Li Gioi, Stefano Lacaprara, Thibaud Humair *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include <analysis/dataobjects/TagVertex.h>
12 
13 using namespace Belle2;
14 
15 static const double realNaN = std::numeric_limits<double>::quiet_NaN();
16 static const TVector3 vecNaN(realNaN, realNaN, realNaN);
17 
19 {
20  return m_tagVertex;
21 }
22 
24 {
25  return m_tagVertexErrMatrix;
26 }
27 
29 {
30  return m_tagVertexPval;
31 }
32 
33 const Particle* TagVertex::getVtxFitParticle(unsigned int trackIndex)
34 {
35  if (trackIndex >= m_vtxFitParticles.size())
36  return 0;
37  return m_vtxFitParticles.at(trackIndex);
38 }
39 
40 const MCParticle* TagVertex::getVtxFitMCParticle(unsigned int trackIndex)
41 {
42  if (trackIndex >= m_vtxFitMCParticles.size())
43  return 0;
44  return m_vtxFitMCParticles.at(trackIndex);
45 }
46 
48 {
49  return m_deltaT;
50 }
51 
53 {
54  return m_deltaTErr;
55 }
56 
58 {
59  return m_mcTagV;
60 }
61 
63 {
64  return m_mcPDG;
65 }
66 
68 {
69  return m_mcDeltaTau;
70 }
71 
73 {
74  return m_mcDeltaT;
75 }
76 
78 {
79  return m_FitType;
80 }
81 
83 {
84  return m_constraintType;
85 }
86 
88 {
89  if (m_constraintType == "noConstraint") return vecNaN;
90  return m_constraintCenter;
91 }
92 
94 {
95  return m_constraintCov;
96 }
97 
99 {
100  return m_NTracks;
101 }
102 
104 {
105  return m_NFitTracks;
106 }
107 
109 {
110  return m_tagVl;
111 }
112 
114 {
115  return m_truthTagVl;
116 }
117 
119 {
120  return m_tagVlErr;
121 }
122 
124 {
125  return m_tagVol;
126 }
127 
129 {
130  return m_truthTagVol;
131 }
132 
134 {
135  return m_tagVolErr;
136 }
137 
139 {
140  return m_tagVNDF;
141 }
142 
144 {
145  return m_tagVChi2;
146 }
147 
149 {
150  return m_tagVChi2IP;
151 }
152 
153 TVector3 TagVertex::getVtxFitTrackPosition(unsigned int trackIndex)
154 {
155  if (m_vtxFitParticles.size() <= trackIndex) return vecNaN;
156  return m_vtxFitParticles.at(trackIndex)->getTrackFitResult() -> getPosition();
157 }
158 
159 
160 TVector3 TagVertex::getVtxFitTrackP(unsigned int trackIndex)
161 {
162  if (m_vtxFitParticles.size() <= trackIndex) return vecNaN;
163  return m_vtxFitParticles.at(trackIndex)->getMomentum();
164 }
165 
166 double TagVertex::getVtxFitTrackPComponent(unsigned int trackIndex, unsigned int component)
167 {
168  if (m_vtxFitParticles.size() <= trackIndex || component > 2) return realNaN;
169  return m_vtxFitParticles.at(trackIndex)->getMomentum()[component];
170 }
171 
172 double TagVertex::getVtxFitTrackZ0(unsigned int trackIndex)
173 {
174  if (m_vtxFitParticles.size() <= trackIndex) return realNaN;
175  return m_vtxFitParticles.at(trackIndex)->getTrackFitResult()->getZ0();
176 }
177 
178 double TagVertex::getVtxFitTrackD0(unsigned int trackIndex)
179 {
180  if (m_vtxFitParticles.size() <= trackIndex) return realNaN;
181  return m_vtxFitParticles.at(trackIndex)->getTrackFitResult()->getD0();
182 }
183 
184 double TagVertex::getRaveWeight(unsigned int trackIndex)
185 {
186  if (m_raveWeights.size() <= trackIndex) return realNaN;
187  return m_raveWeights.at(trackIndex);
188 }
189 
191 {
192  return m_fitTruthStatus;
193 }
194 
196 {
197  return m_rollbackStatus;
198 }
199 
200 void TagVertex::setTagVertex(const TVector3& tagVertex)
201 {
202  m_tagVertex = tagVertex;
203 }
204 
205 void TagVertex::setTagVertexErrMatrix(const TMatrixDSym& TagVertexErrMatrix)
206 {
207  m_tagVertexErrMatrix = TagVertexErrMatrix;
208 }
209 
210 void TagVertex::setTagVertexPval(float TagVertexPval)
211 {
212  m_tagVertexPval = TagVertexPval;
213 }
214 
215 void TagVertex::setDeltaT(float DeltaT)
216 {
217  m_deltaT = DeltaT;
218 }
219 
220 void TagVertex::setDeltaTErr(float DeltaTErr)
221 {
222  m_deltaTErr = DeltaTErr;
223 }
224 
225 void TagVertex::setMCTagVertex(const TVector3& mcTagVertex)
226 {
227  m_mcTagV = mcTagVertex;
228 }
229 
230 void TagVertex::setMCTagBFlavor(int mcTagBFlavor)
231 {
232  m_mcPDG = mcTagBFlavor;
233 }
234 
235 void TagVertex::setMCDeltaTau(float mcDeltaTau)
236 {
237  m_mcDeltaTau = mcDeltaTau;
238 }
239 
240 void TagVertex::setMCDeltaT(float mcDeltaT)
241 {
242  m_mcDeltaT = mcDeltaT;
243 }
244 
245 void TagVertex::setFitType(float FitType)
246 {
247  m_FitType = FitType;
248 }
249 
250 void TagVertex::setNTracks(int NTracks)
251 {
252  m_NTracks = NTracks;
253 }
254 
255 void TagVertex::setTagVl(float TagVl)
256 {
257  m_tagVl = TagVl;
258 }
259 
260 void TagVertex::setTruthTagVl(float TruthTagVl)
261 {
262  m_truthTagVl = TruthTagVl;
263 }
264 
265 void TagVertex::setTagVlErr(float TagVlErr)
266 {
267  m_tagVlErr = TagVlErr;
268 }
269 
270 void TagVertex::setTagVol(float TagVol)
271 {
272  m_tagVol = TagVol;
273 }
274 
275 void TagVertex::setTruthTagVol(float TruthTagVol)
276 {
277  m_truthTagVol = TruthTagVol;
278 }
279 
280 void TagVertex::setTagVolErr(float TagVolErr)
281 {
282  m_tagVolErr = TagVolErr;
283 }
284 
285 void TagVertex::setTagVNDF(float TagVNDF)
286 {
287  m_tagVNDF = TagVNDF;
288 }
289 
290 void TagVertex::setTagVChi2(float TagVChi2)
291 {
292  m_tagVChi2 = TagVChi2;
293 }
294 
295 void TagVertex::setTagVChi2IP(float TagVChi2IP)
296 {
297  m_tagVChi2IP = TagVChi2IP;
298 }
299 
300 void TagVertex::setVertexFitParticles(const std::vector<const Particle*>& vtxFitParticles)
301 {
302  m_vtxFitParticles = vtxFitParticles;
303  m_NFitTracks = vtxFitParticles.size();
304 }
305 
306 void TagVertex::setVertexFitMCParticles(const std::vector<const MCParticle*>& vtxFitMCParticles)
307 {
308  m_vtxFitMCParticles = vtxFitMCParticles;
309 }
310 
311 void TagVertex::setRaveWeights(const std::vector<double>& raveWeights)
312 {
313  m_raveWeights = raveWeights;
314 }
315 
316 void TagVertex::setConstraintCenter(const TVector3& constraintCenter)
317 {
318  m_constraintCenter = constraintCenter;
319 }
320 
321 void TagVertex::setConstraintCov(const TMatrixDSym& constraintCov)
322 {
323  m_constraintCov.ResizeTo(constraintCov);
324  m_constraintCov = constraintCov;
325 }
326 
327 void TagVertex::setConstraintType(const std::string& constraintType)
328 {
329  m_constraintType = constraintType;
330 }
331 
333 {
334  TMatrixDSym temp(3);
335  m_tagVertexErrMatrix.ResizeTo(temp);
336  m_tagVertexErrMatrix = temp;
337 }
338 
340 {
341  TMatrixDSym temp(3);
342  m_constraintCov.ResizeTo(temp);
343  m_constraintCov = temp;
344 }
345 
346 void TagVertex::setFitTruthStatus(int truthStatus)
347 {
348  m_fitTruthStatus = truthStatus;
349 }
350 
351 void TagVertex::setRollBackStatus(int backStatus)
352 {
353  m_rollbackStatus = backStatus;
354 }
Belle2::TagVertex::setTagVol
void setTagVol(float TagVol)
Set the tagV component in the direction orthogonal to the boost.
Definition: TagVertex.cc:270
Belle2::TagVertex::getVtxFitTrackD0
double getVtxFitTrackD0(unsigned int trackIndex)
Returns the radial distance from the IP to the POCA of the tag track indexed by trackIndex.
Definition: TagVertex.cc:178
Belle2::TagVertex::setRaveWeights
void setRaveWeights(const std::vector< double > &raveWeights)
Set the weights used by Rave in the tag vtx fit.
Definition: TagVertex.cc:311
Belle2::TagVertex::m_mcDeltaTau
float m_mcDeltaTau
generated Delta t: difference between signal and tag flight times
Definition: TagVertex.h:415
Belle2::TagVertex::setTagVl
void setTagVl(float TagVl)
Set the tagV component in the boost direction.
Definition: TagVertex.cc:255
Belle2::TagVertex::m_mcDeltaT
float m_mcDeltaT
generated Delta t approximated: true Delta L divided by Upsilon(4S)'s boost
Definition: TagVertex.h:416
Belle2::TagVertex::setVertexFitMCParticles
void setVertexFitMCParticles(const std::vector< const MCParticle * > &vtxFitMCParticles)
Set a vector of pointers to the MC p'cles corresponding to the tracks in the tag vtx fit.
Definition: TagVertex.cc:306
Belle2::TagVertex::setFitTruthStatus
void setFitTruthStatus(int truthStatus)
Set the status of the fit performed with the truth info of the tracks.
Definition: TagVertex.cc:346
Belle2::TagVertex::m_truthTagVl
float m_truthTagVl
MC tagV component in the boost direction
Definition: TagVertex.h:420
Belle2::TagVertex::getMCDeltaTau
float getMCDeltaTau()
Returns generated DeltaTau.
Definition: TagVertex.cc:67
Belle2::TagVertex::m_constraintCenter
TVector3 m_constraintCenter
centre of the constraint
Definition: TagVertex.h:433
Belle2::TagVertex::resetConstraintCov
void resetConstraintCov()
Resets 3x3 constraint error matrix All elements are set to 0.0.
Definition: TagVertex.cc:339
Belle2::TagVertex::m_tagVertex
TVector3 m_tagVertex
Btag vertex.
Definition: TagVertex.h:408
Belle2::TagVertex::getRollBackStatus
int getRollBackStatus()
Get the status of the fit performed with the rolled back tracks.
Definition: TagVertex.cc:195
Belle2::TagVertex::getMCTagVertex
TVector3 getMCTagVertex()
Returns generated BTag Vertex.
Definition: TagVertex.cc:57
Belle2::TagVertex::m_truthTagVol
float m_truthTagVol
MC tagV component in the direction orthogonal to the boost.
Definition: TagVertex.h:423
Belle2::TagVertex::getTagVertexPval
float getTagVertexPval()
Returns BTag Vertex P value.
Definition: TagVertex.cc:28
Belle2::TagVertex::setTagVolErr
void setTagVolErr(float TagVolErr)
Set the error of the tagV component in the direction orthogonal to the boost.
Definition: TagVertex.cc:280
Belle2::TagVertex::m_tagVChi2
float m_tagVChi2
chi^2 value of the tag vertex fit result
Definition: TagVertex.h:426
Belle2::TagVertex::getVtxFitMCParticle
const MCParticle * getVtxFitMCParticle(unsigned int trackIndex)
Returns a ptr to the MC particle matched to the tag vtx track indexed by trackIndex.
Definition: TagVertex.cc:40
Belle2::TagVertex::getTagVl
float getTagVl()
Returns the tagV component in the boost direction.
Definition: TagVertex.cc:108
Belle2::TagVertex::m_tagVol
float m_tagVol
tagV component in the direction orthogonal to the boost
Definition: TagVertex.h:422
Belle2::TagVertex::setTagVertexPval
void setTagVertexPval(float TagVertexPval)
Set BTag Vertex P value.
Definition: TagVertex.cc:210
Belle2::TagVertex::getDeltaT
float getDeltaT()
Returns DeltaT.
Definition: TagVertex.cc:47
Belle2::TagVertex::setMCTagBFlavor
void setMCTagBFlavor(int mcTagBFlavor)
Set generated Btag PDG code.
Definition: TagVertex.cc:230
Belle2::TagVertex::m_tagVertexPval
float m_tagVertexPval
Btag vertex P value.
Definition: TagVertex.h:410
Belle2::TagVertex::setFitType
void setFitType(float FitType)
Set fit algo type.
Definition: TagVertex.cc:245
Belle2::TagVertex::getVtxFitParticle
const Particle * getVtxFitParticle(unsigned int trackIndex)
Returns a ptr to the particle constructed from the tag vtx track indexed by trackIndex.
Definition: TagVertex.cc:33
Belle2::TagVertex::setRollBackStatus
void setRollBackStatus(int backStatus)
Set the status of the fit performed with the rolled back tracks.
Definition: TagVertex.cc:351
Belle2::TagVertex::m_constraintCov
TMatrixDSym m_constraintCov
covariance matrix associated to the constraint, ie size of the constraint
Definition: TagVertex.h:434
Belle2::TagVertex::getTagVertexErrMatrix
TMatrixDSym getTagVertexErrMatrix()
Returns BTag Vertex (3x3) error matrix.
Definition: TagVertex.cc:23
Belle2::TagVertex::setTagVNDF
void setTagVNDF(float TagVNDF)
Set the number of degrees of freedom in the tag vertex fit.
Definition: TagVertex.cc:285
Belle2::TagVertex::getTagVNDF
float getTagVNDF()
Returns the number of degrees of freedom in the tag vertex fit.
Definition: TagVertex.cc:138
Belle2::TagVertex::m_NTracks
int m_NTracks
Number of tracks used in the fit.
Definition: TagVertex.h:418
Belle2::TagVertex::m_deltaTErr
float m_deltaTErr
Delta t error.
Definition: TagVertex.h:412
Belle2::TagVertex::m_raveWeights
std::vector< double > m_raveWeights
weights of each track in the Rave tag vtx fit
Definition: TagVertex.h:431
Belle2::TagVertex::m_tagVl
float m_tagVl
tagV component in the boost direction
Definition: TagVertex.h:419
Belle2::TagVertex::m_constraintType
std::string m_constraintType
Type of the constraint used for the tag vertex fit (noConstraint, IP, Boost, Tube)
Definition: TagVertex.h:432
Belle2::TagVertex::getTagVol
float getTagVol()
Returns the tagV component in the direction orthogonal to the boost.
Definition: TagVertex.cc:123
Belle2::TagVertex::setTagVChi2
void setTagVChi2(float TagVChi2)
Set the chi^2 value of the tag vertex fit result.
Definition: TagVertex.cc:290
Belle2::TagVertex::setTagVlErr
void setTagVlErr(float TagVlErr)
Set the error of the tagV component in the boost direction.
Definition: TagVertex.cc:265
Belle2::TagVertex::getRaveWeight
double getRaveWeight(unsigned int trackIndex)
Returns the weight assigned by Rave to the track indexed by trackIndex.
Definition: TagVertex.cc:184
Belle2::TagVertex::m_mcPDG
int m_mcPDG
generated tag side B flavor (PDG code)
Definition: TagVertex.h:414
Belle2::TagVertex::m_tagVlErr
float m_tagVlErr
Error of the tagV component in the boost direction
Definition: TagVertex.h:421
Belle2::TagVertex::setConstraintType
void setConstraintType(const std::string &constraintType)
Set the type of the constraint for the tag fit.
Definition: TagVertex.cc:327
Belle2::TagVertex::setTruthTagVol
void setTruthTagVol(float TruthTagVol)
Set the tagV component in the direction orthogonal to the boost.
Definition: TagVertex.cc:275
Belle2::TagVertex::setConstraintCenter
void setConstraintCenter(const TVector3 &constraintCenter)
Set the centre of the constraint for the tag fit.
Definition: TagVertex.cc:316
Belle2::TagVertex::setTagVertex
void setTagVertex(const TVector3 &TagVertex)
Set BTag Vertex.
Definition: TagVertex.cc:200
Belle2::TagVertex::setNTracks
void setNTracks(int nTracks)
Set number of tracks used in the fit.
Definition: TagVertex.cc:250
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TagVertex::getConstraintCov
TMatrixDSym getConstraintCov()
Get the covariance matrix of the constraint for the tag fit.
Definition: TagVertex.cc:93
Belle2::TagVertex::getVtxFitTrackPosition
TVector3 getVtxFitTrackPosition(unsigned int trackIndex)
Returns the position vector (X, Y, Z) of the tag track indexed by trackindex.
Definition: TagVertex.cc:153
Belle2::TagVertex::setTruthTagVl
void setTruthTagVl(float TruthTagVl)
Set the MC tagV component in the boost direction.
Definition: TagVertex.cc:260
Belle2::TagVertex::m_tagVolErr
float m_tagVolErr
Error of the tagV component in the direction orthogonal to the boost.
Definition: TagVertex.h:424
Belle2::TagVertex::setDeltaT
void setDeltaT(float DeltaT)
Set DeltaT.
Definition: TagVertex.cc:215
Belle2::TagVertex::resetTagVertexErrorMatrix
void resetTagVertexErrorMatrix()
Resets 3x3 tag vertex error matrix All elements are set to 0.0.
Definition: TagVertex.cc:332
Belle2::TagVertex::getTruthTagVl
float getTruthTagVl()
Returns the MC tagV component in the boost direction.
Definition: TagVertex.cc:113
Belle2::TagVertex::m_tagVertexErrMatrix
TMatrixDSym m_tagVertexErrMatrix
Btag vertex (3x3) error matrix.
Definition: TagVertex.h:409
Belle2::TagVertex::getMCDeltaT
float getMCDeltaT()
Returns mc DeltaT (in kin.
Definition: TagVertex.cc:72
Belle2::TagVertex::m_tagVNDF
float m_tagVNDF
Number of degrees of freedom in the tag vertex fit.
Definition: TagVertex.h:425
Belle2::TagVertex::getVtxFitTrackZ0
double getVtxFitTrackZ0(unsigned int trackIndex)
Returns the longitudinal distance from the IP to the POCA of the tag track indexed by trackIndex.
Definition: TagVertex.cc:172
Belle2::TagVertex::m_vtxFitParticles
std::vector< const Particle * > m_vtxFitParticles
pointers to the tracks used by rave to fit the vertex
Definition: TagVertex.h:428
Belle2::TagVertex::getVtxFitTrackP
TVector3 getVtxFitTrackP(unsigned int trackIndex)
Returns the momentum vector of the tag track indexed by trackindex.
Definition: TagVertex.cc:160
Belle2::TagVertex::getFitType
int getFitType()
Returns fit algo type.
Definition: TagVertex.cc:77
Belle2::TagVertex::getFitTruthStatus
int getFitTruthStatus()
Get the status of the fit performed with the truth info of the tracks.
Definition: TagVertex.cc:190
Belle2::TagVertex::m_rollbackStatus
int m_rollbackStatus
status of the fit when fitted with rolled back tracks
Definition: TagVertex.h:436
Belle2::realNaN
static const double realNaN
shortcut for NaN of double type
Definition: TagVertexModule.cc:64
Belle2::TagVertex::setConstraintCov
void setConstraintCov(const TMatrixDSym &constraintCov)
Set the covariance matrix of the constraint for the tag fit.
Definition: TagVertex.cc:321
Belle2::TagVertex::m_deltaT
float m_deltaT
Delta t.
Definition: TagVertex.h:411
Belle2::TagVertex::setMCDeltaTau
void setMCDeltaTau(float mcDeltaTau)
Set generated DeltaT.
Definition: TagVertex.cc:235
Belle2::Particle
Class to store reconstructed particles.
Definition: Particle.h:77
Belle2::TagVertex::m_NFitTracks
int m_NFitTracks
Number of tracks used by Rave to fit the vertex.
Definition: TagVertex.h:430
Belle2::TagVertex::getTagVChi2
float getTagVChi2()
Returns the chi^2 value of the tag vertex fit result.
Definition: TagVertex.cc:143
Belle2::TagVertex::getMCTagBFlavor
int getMCTagBFlavor()
Returns generated Btag PDG code.
Definition: TagVertex.cc:62
Belle2::TagVertex::m_tagVChi2IP
float m_tagVChi2IP
IP component of chi^2 value of the tag vertex fit result.
Definition: TagVertex.h:427
Belle2::vecNaN
static const TVector3 vecNaN(realNaN, realNaN, realNaN)
vector with NaN entries
Belle2::TagVertex::setDeltaTErr
void setDeltaTErr(float DeltaTErr)
Set DeltaTErr.
Definition: TagVertex.cc:220
Belle2::TagVertex::m_mcTagV
TVector3 m_mcTagV
generated Btag vertex
Definition: TagVertex.h:413
Belle2::TagVertex::getTagVlErr
float getTagVlErr()
Returns the error of the tagV component in the boost direction.
Definition: TagVertex.cc:118
Belle2::TagVertex::getTagVolErr
float getTagVolErr()
Returns the error of the tagV component in the direction orthogonal to the boost.
Definition: TagVertex.cc:133
Belle2::TagVertex::getTagVChi2IP
float getTagVChi2IP()
Returns the IP component of the chi^2 value of the tag vertex fit result.
Definition: TagVertex.cc:148
Belle2::MCParticle
A Class to store the Monte Carlo particle information.
Definition: MCParticle.h:43
Belle2::TagVertex::setMCDeltaT
void setMCDeltaT(float mcDeltaT)
Set generated DeltaT (in kin.
Definition: TagVertex.cc:240
Belle2::TagVertex::setTagVChi2IP
void setTagVChi2IP(float TagVChi2IP)
Set the IP component of the chi^2 value of the tag vertex fit result.
Definition: TagVertex.cc:295
Belle2::TagVertex::setTagVertexErrMatrix
void setTagVertexErrMatrix(const TMatrixDSym &TagVertexErrMatrix)
Set BTag Vertex (3x3) error matrix.
Definition: TagVertex.cc:205
Belle2::TagVertex::getVtxFitTrackPComponent
double getVtxFitTrackPComponent(unsigned int trackIndex, unsigned int component)
Returns one of the 3 components of the momentum of tag track indexed by trackindex.
Definition: TagVertex.cc:166
Belle2::getPosition
ExpRunEvt getPosition(const std::vector< Evt > &events, double tEdge)
Get the exp-run-evt number from the event time [hours].
Definition: Splitter.h:344
Belle2::TagVertex::getConstraintCenter
TVector3 getConstraintCenter()
Returns the position of the constraint, ie centre of the constraint ellipse.
Definition: TagVertex.cc:87
Belle2::TagVertex::getConstraintType
std::string getConstraintType()
get the constraint type used in the tag fit
Definition: TagVertex.cc:82
Belle2::TagVertex::getNTracks
int getNTracks()
Returns number of tracks used in the fit.
Definition: TagVertex.cc:98
Belle2::TagVertex::getDeltaTErr
float getDeltaTErr()
Returns DeltaTErr.
Definition: TagVertex.cc:52
Belle2::TagVertex::getTagVertex
TVector3 getTagVertex()
Returns BTag Vertex.
Definition: TagVertex.cc:18
Belle2::TagVertex::m_vtxFitMCParticles
std::vector< const MCParticle * > m_vtxFitMCParticles
pointers to the MC p'cles corresponding to the tracks in the tag vtx fit
Definition: TagVertex.h:429
Belle2::TagVertex::setVertexFitParticles
void setVertexFitParticles(const std::vector< const Particle * > &vtxFitParticles)
Set a vector of pointers to the tracks used in the tag vtx fit.
Definition: TagVertex.cc:300
Belle2::TagVertex::m_FitType
int m_FitType
Fit algo used.
Definition: TagVertex.h:417
Belle2::TagVertex::setMCTagVertex
void setMCTagVertex(const TVector3 &mcTagVertex)
Set generated BTag Vertex.
Definition: TagVertex.cc:225
Belle2::TagVertex::getNFitTracks
int getNFitTracks()
Returns number of tracks used in the fit (not counting the ones removed because they come from Kshort...
Definition: TagVertex.cc:103
Belle2::TagVertex::m_fitTruthStatus
int m_fitTruthStatus
status of the fit when fitted with the truth info of the tracks
Definition: TagVertex.h:435
Belle2::TagVertex::getTruthTagVol
float getTruthTagVol()
Returns the MC tagV component in the direction orthogonal to the boost.
Definition: TagVertex.cc:128