 |
Belle II Software
release-05-02-19
|
13 #include <framework/datastore/RelationsObject.h>
16 #include <TMatrixDSym.h>
20 #include <mdst/dataobjects/TrackFitResult.h>
21 #include <mdst/dataobjects/MCParticle.h>
22 #include <analysis/dataobjects/Particle.h>
void setTagVol(float TagVol)
Set the tagV component in the direction orthogonal to the boost.
double getVtxFitTrackD0(unsigned int trackIndex)
Returns the radial distance from the IP to the POCA of the tag track indexed by trackIndex.
void setRaveWeights(const std::vector< double > &raveWeights)
Set the weights used by Rave in the tag vtx fit.
float m_mcDeltaTau
generated Delta t: difference between signal and tag flight times
void setTagVl(float TagVl)
Set the tagV component in the boost direction.
float m_mcDeltaT
generated Delta t approximated: true Delta L divided by Upsilon(4S)'s boost
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.
void setFitTruthStatus(int truthStatus)
Set the status of the fit performed with the truth info of the tracks.
float m_truthTagVl
MC tagV component in the boost direction
float getMCDeltaTau()
Returns generated DeltaTau.
TVector3 m_constraintCenter
centre of the constraint
void resetConstraintCov()
Resets 3x3 constraint error matrix All elements are set to 0.0.
TVector3 m_tagVertex
Btag vertex.
int getRollBackStatus()
Get the status of the fit performed with the rolled back tracks.
TVector3 getMCTagVertex()
Returns generated BTag Vertex.
float m_truthTagVol
MC tagV component in the direction orthogonal to the boost.
float getTagVertexPval()
Returns BTag Vertex P value.
void setTagVolErr(float TagVolErr)
Set the error of the tagV component in the direction orthogonal to the boost.
float m_tagVChi2
chi^2 value of the tag vertex fit result
const MCParticle * getVtxFitMCParticle(unsigned int trackIndex)
Returns a ptr to the MC particle matched to the tag vtx track indexed by trackIndex.
float getTagVl()
Returns the tagV component in the boost direction.
float m_tagVol
tagV component in the direction orthogonal to the boost
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
void setTagVertexPval(float TagVertexPval)
Set BTag Vertex P value.
float getDeltaT()
Returns DeltaT.
void setMCTagBFlavor(int mcTagBFlavor)
Set generated Btag PDG code.
float m_tagVertexPval
Btag vertex P value.
void setFitType(float FitType)
Set fit algo type.
const Particle * getVtxFitParticle(unsigned int trackIndex)
Returns a ptr to the particle constructed from the tag vtx track indexed by trackIndex.
void setRollBackStatus(int backStatus)
Set the status of the fit performed with the rolled back tracks.
TMatrixDSym m_constraintCov
covariance matrix associated to the constraint, ie size of the constraint
TMatrixDSym getTagVertexErrMatrix()
Returns BTag Vertex (3x3) error matrix.
void setTagVNDF(float TagVNDF)
Set the number of degrees of freedom in the tag vertex fit.
float getTagVNDF()
Returns the number of degrees of freedom in the tag vertex fit.
int m_NTracks
Number of tracks used in the fit.
float m_deltaTErr
Delta t error.
std::vector< double > m_raveWeights
weights of each track in the Rave tag vtx fit
float m_tagVl
tagV component in the boost direction
std::string m_constraintType
Type of the constraint used for the tag vertex fit (noConstraint, IP, Boost, Tube)
float getTagVol()
Returns the tagV component in the direction orthogonal to the boost.
void setTagVChi2(float TagVChi2)
Set the chi^2 value of the tag vertex fit result.
void setTagVlErr(float TagVlErr)
Set the error of the tagV component in the boost direction.
double getRaveWeight(unsigned int trackIndex)
Returns the weight assigned by Rave to the track indexed by trackIndex.
TagVertex()
Default constructor.
int m_mcPDG
generated tag side B flavor (PDG code)
float m_tagVlErr
Error of the tagV component in the boost direction
void setConstraintType(const std::string &constraintType)
Set the type of the constraint for the tag fit.
void setTruthTagVol(float TruthTagVol)
Set the tagV component in the direction orthogonal to the boost.
void setConstraintCenter(const TVector3 &constraintCenter)
Set the centre of the constraint for the tag fit.
void setTagVertex(const TVector3 &TagVertex)
Set BTag Vertex.
void setNTracks(int nTracks)
Set number of tracks used in the fit.
Abstract base class for different kinds of events.
TMatrixDSym getConstraintCov()
Get the covariance matrix of the constraint for the tag fit.
TVector3 getVtxFitTrackPosition(unsigned int trackIndex)
Returns the position vector (X, Y, Z) of the tag track indexed by trackindex.
void setTruthTagVl(float TruthTagVl)
Set the MC tagV component in the boost direction.
float m_tagVolErr
Error of the tagV component in the direction orthogonal to the boost.
void setDeltaT(float DeltaT)
Set DeltaT.
void resetTagVertexErrorMatrix()
Resets 3x3 tag vertex error matrix All elements are set to 0.0.
float getTruthTagVl()
Returns the MC tagV component in the boost direction.
TMatrixDSym m_tagVertexErrMatrix
Btag vertex (3x3) error matrix.
float getMCDeltaT()
Returns mc DeltaT (in kin.
float m_tagVNDF
Number of degrees of freedom in the tag vertex fit.
double getVtxFitTrackZ0(unsigned int trackIndex)
Returns the longitudinal distance from the IP to the POCA of the tag track indexed by trackIndex.
std::vector< const Particle * > m_vtxFitParticles
pointers to the tracks used by rave to fit the vertex
TVector3 getVtxFitTrackP(unsigned int trackIndex)
Returns the momentum vector of the tag track indexed by trackindex.
int getFitType()
Returns fit algo type.
int getFitTruthStatus()
Get the status of the fit performed with the truth info of the tracks.
int m_rollbackStatus
status of the fit when fitted with rolled back tracks
void setConstraintCov(const TMatrixDSym &constraintCov)
Set the covariance matrix of the constraint for the tag fit.
void setMCDeltaTau(float mcDeltaTau)
Set generated DeltaT.
Class to store reconstructed particles.
int m_NFitTracks
Number of tracks used by Rave to fit the vertex.
float getTagVChi2()
Returns the chi^2 value of the tag vertex fit result.
int getMCTagBFlavor()
Returns generated Btag PDG code.
float m_tagVChi2IP
IP component of chi^2 value of the tag vertex fit result.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
TagVertex data object: contains Btag Vertex and DeltaT.
void setDeltaTErr(float DeltaTErr)
Set DeltaTErr.
TVector3 m_mcTagV
generated Btag vertex
float getTagVlErr()
Returns the error of the tagV component in the boost direction.
float getTagVolErr()
Returns the error of the tagV component in the direction orthogonal to the boost.
float getTagVChi2IP()
Returns the IP component of the chi^2 value of the tag vertex fit result.
A Class to store the Monte Carlo particle information.
void setMCDeltaT(float mcDeltaT)
Set generated DeltaT (in kin.
void setTagVChi2IP(float TagVChi2IP)
Set the IP component of the chi^2 value of the tag vertex fit result.
void setTagVertexErrMatrix(const TMatrixDSym &TagVertexErrMatrix)
Set BTag Vertex (3x3) error matrix.
double getVtxFitTrackPComponent(unsigned int trackIndex, unsigned int component)
Returns one of the 3 components of the momentum of tag track indexed by trackindex.
TVector3 getConstraintCenter()
Returns the position of the constraint, ie centre of the constraint ellipse.
std::string getConstraintType()
get the constraint type used in the tag fit
int getNTracks()
Returns number of tracks used in the fit.
float getDeltaTErr()
Returns DeltaTErr.
TVector3 getTagVertex()
Returns BTag Vertex.
std::vector< const MCParticle * > m_vtxFitMCParticles
pointers to the MC p'cles corresponding to the tracks in the tag vtx fit
void setVertexFitParticles(const std::vector< const Particle * > &vtxFitParticles)
Set a vector of pointers to the tracks used in the tag vtx fit.
int m_FitType
Fit algo used.
void setMCTagVertex(const TVector3 &mcTagVertex)
Set generated BTag Vertex.
int getNFitTracks()
Returns number of tracks used in the fit (not counting the ones removed because they come from Kshort...
int m_fitTruthStatus
status of the fit when fitted with the truth info of the tracks
float getTruthTagVol()
Returns the MC tagV component in the direction orthogonal to the boost.