 |
Belle II Software
release-05-01-25
|
13 #include <framework/datastore/RelationsObject.h>
14 #include <analysis/dataobjects/Particle.h>
15 #include <analysis/dataobjects/FlavorTaggerInfoMap.h>
29 class FlavorTaggerInfoMap;
135 void setP(
float momentum);
158 void setD0(
double D0);
164 void setZ0(
double Z0);
271 std::vector<float>
getP();
295 std::vector<float>
getD0();
301 std::vector<float>
getZ0();
369 std::map<std::string, FlavorTaggerInfoMap*>
374 std::vector<Belle2::Track*>
m_tracks;
379 std::vector<float>
m_Z0;
std::vector< Belle2::Track * > getTracks()
Get all the tracks.
int m_badTracksFT
number of tracksc not coming from Btag in this object
std::string getUseModeFlavorTagger()
GETTERS.
void setCategories(const std::string &catName)
Vector filler: Set the name of the categories.
int getGoodTracksROE()
Get the number of tracks coming from the Btag within the correspondent RestOfEvent object.
void setBadTracksFT(int numTracks)
Set the number of tracks not coming from the Btag within this class.
int m_goodTracksROE
number of tracksc coming from Btag in the correspondent RestOfEvent
std::vector< Belle2::MCParticle * > m_MCparticle
MC particle pointer related to each track.
std::vector< float > m_prodPointResZ
production point resolution Z for each track
void setUseModeFlavorTagger(const std::string &mode)
SETTERS Some of the setters are expected to fill a vector whose each element corresponds to a given c...
int m_badTracksROE
number of tracksc not coming from Btag in the correspondent RestOfEvent object
std::vector< Belle2::MCParticle * > m_MCparticle_mother
mother MC particle pointer related to each track
std::vector< std::string > getCategories()
Get the list of names of the categories of this object.
std::vector< Belle2::Track * > m_tracks
highest probability track for each category
void setP(float momentum)
Vector filler: Set the momentum absolute value of the corresponding category's track.
float getGoodTracksPurityFT()
Get the ratio (purity) of tracks coming from the Btag out of the total amount of tracks within this o...
void setProdPointResolutionZ(float deltaProdZ)
Vector filler: Set resolution of the production point of each track, i.e real production point - MC m...
std::vector< float > getP()
Get the momentum of every category's track.
std::vector< Particle * > getParticle()
Get the particle's pointer related to each track.
void setGoodTracksPurityFT(float goodTracksPurity)
Set the fraction of tracks coming from the Btag respect to the total amount of tracks within this cla...
void setGoodTracksPurityROE(float goodTracksPurity)
Set the fraction of tracks coming from the Btag respect to the total amount of tracks within RoE.
void setTrack(Belle2::Track *track)
Vector filler: Set the pointer of the track with the highest probability for each category.
This class stores the Flavor Tagger information for a specific method and particle filled in the Flav...
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
std::vector< float > m_targetProb
probability of each track to be primary
std::vector< Particle * > m_particle
particle pointer related to each track
std::vector< float > m_Z0
impact parameter Z0 related to each track
std::vector< Belle2::MCParticle * > getMCParticleMother()
Get the mother MC particle's pointer related to each track.
float m_goodTracksPurityFT
purity of tracks coming from the Btag in this objecy
std::vector< std::string > m_categories
categories name
std::vector< float > getProdPointResolutionZ()
Get resolution of the production point of each track, i.e real production point - MC matched producti...
int getBadTracksFT()
Get the number of tracks not coming from the Btag within this object.
std::vector< Belle2::MCParticle * > getMCParticle()
Get the MC particle's pointer related to each track.
void setIsFromB(int isFromB)
Vector filler: Set the MC matched code of the track depending on its mother (usually set in TagV modu...
std::vector< float > getZ0()
Get the impact parameter Z0 of every category's track.
std::vector< float > m_P
absolute 3 momentum of each track
std::map< std::string, FlavorTaggerInfoMap * > m_methodMap
Map containing the methods used for the FlavorTagger: "TMVA" or "FANN", and the corresponding map.
Belle2::Track * getTrack(int position)
Get a single track.
std::vector< float > getCatProb()
Get all the event probabilities to correspond to each category.
void setCatProb(float catProb)
Vector filler: Set the probability of the event to correspond to a given category probability for eac...
Abstract base class for different kinds of events.
float m_goodTracksPurityROE
purity of tracks coming from the Btag in the correspondent RestOfEvent object
FlavorTaggerInfo()
Default constructor.
void setZ0(double Z0)
Vector filler: Set the impact parameter Z0 of each track in an accesible way.
void setMCParticleMother(Belle2::MCParticle *MCParticle)
Vector filler: Set the pointer of the MCParticle's mother related to the track with the highest proba...
std::vector< float > m_categoryProb
probability of the event to belong to each category
std::vector< int > getIsFromB()
Get the MC matched code of every track depending on its mother.
void setGoodTracksFT(int numTracks)
Set the number of tracks coming from the Btag within this class.
void setParticle(Particle *Particle)
Vector filler: Set the pointer of the Partcile related to the track with the highest probability for ...
std::vector< float > m_D0
impact parameter D0 related to each track
FlavorTaggerInfoMap * getMethodMap(const std::string &method)
method used for the FlavorTagger and corresponding FlavorTaggerInfoMap
Class to store reconstructed particles.
void setGoodTracksROE(int numTracks)
Set the number of tracks coming from the Btag in the RoE.
void setTargProb(float)
Vector filler: Set the probability of each category's track of being a direct daughter of the Btag.
void setMCParticle(Belle2::MCParticle *MCParticle)
Vector filler: Set the pointer of the MCParticle related related to track with the highest probabilit...
bool isMethodInMap(const std::string &method)
checks if the given method method is used for the FlavorTagger with a corresponding FlavorTaggerInfoM...
std::vector< float > getTargProb()
Get all the track probabilities to come directly from the Btag for each category.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
void setBadTracksROE(int numTracks)
Set the number of tracks coming not from the Btag in the RoE.
Class that bundles various TrackFitResults.
A Class to store the Monte Carlo particle information.
int m_goodTracksFT
number of tracksc coming from Btag in this object
std::vector< int > m_isFromB
MC matched code of each track depending on its mother.
void setD0(double D0)
Vector filler: Set the impact parameter D0 of each track in an accesible way.
std::string m_useModeFlavorTagger
Usemode of the FlavorTagger: "Teacher" or "Expert".
std::vector< float > getD0()
Get the impact parameter D0 of every category's track.
int getBadTracksROE()
Get the number of tracks not coming from the Btag within the correspondent RestOfEvent object.
int getGoodTracksFT()
Get the number of tracks not coming from the Btag within this object.
This class stores the relevant information for the TagV vertex fit, extracted mainly from the Flavor ...
float getGoodTracksPurityROE()
Get the ratio (purity) of tracks coming from the Btag out of the total amount of tracks within the co...
void addMethodMap(const std::string &method)
Saves the method and the correspondig FlavorTaggerMap.