 |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef XAODBTAGGING_VERSIONS_BTAGGING_V1_H
9 #define XAODBTAGGING_VERSIONS_BTAGGING_V1_H
13 #include "AthLinks/ElementLink.h"
44 typedef std::vector< ElementLink< xAOD::TrackParticleContainer > >
46 typedef std::vector<ElementLink<xAOD::VertexContainer> >
VxELVec_t;
47 typedef std::vector<ElementLink<xAOD::BTagVertexContainer> >
BTagVxELVec_t;
220 const std::string&
signal=
"pb",
const std::string& bckgd=
"pu")
const;
222 bool pu(
const std::string& taggername,
double &
value)
const;
223 bool pb(
const std::string& taggername,
double &
value)
const;
224 bool pc(
const std::string& taggername,
double &
value)
const;
225 bool ptau(
const std::string& taggername,
double &
value)
const;
272 bool variable(
const std::string &taggername,
273 const std::string &variablename, T &
value)
const;
278 const std::string &variablename,
const T &
value);
286 const std::string &variablename);
288 const std::string &variablename);
290 const std::string &variablename);
298 const std::string &variablename,
301 const std::string
varname = taggername+
"_" + variablename;
303 if( ! acc.isAvailable( *
this ) )
return false;
304 value = acc( *
this );
311 const std::string &variablename,
314 const std::string
varname = taggername+
"_" + variablename;
316 acc( *
this ) =
value;
322 #endif // XAODBTAGGING_VERSIONS_BTAGGING_V1_H
void clearIP2D_TrackParticleLinks()
clear vector of IP2D TrackParticle ElementLinks
size_t nIP2D_TrackParticles() const
Get the number of IP2D TrackParticles associated with the object.
bool ptau(const std::string &taggername, double &value) const
const TPELVec_t & IP2D_TrackParticleLinks() const
get vector of IP2D TrackParticle ElementLinks
float IP3D_pu() const
IP3D light probability.
float JetFitter_pc() const
JetFitter c probability.
float JetFitter_loglikelihoodratio() const
get JetFitter log likelihood ratio
const TPELVec_t & IP3D_TrackParticleLinks() const
get vector of IP3D TrackParticle ElementLinks
bool taggerInfo(int &value, BTagInfo info) const
get taggers information (int)
const TPELVec_t & SV0_TrackParticleLinks() const
get vector of SV0 TrackParticle ElementLinks
void setJetFitter_pc(float value)
set JetFitter c probability
float calcLLR(double num, double den) const
const xAOD::TrackParticle * IP3D_TrackParticle(size_t i) const
Get one particular IP3D TrackParticle as a bare pointer.
float SV1_pb() const
SV1 b probability.
const xAOD::TrackParticle * IP2D_TrackParticle(size_t i) const
Get one particular IP2D TrackParticle as a bare pointer.
void setJetFitter_pu(float value)
set JetFitter light probability
float IP3D_pc() const
IP3D c probability.
void clearIP3D_TrackParticleLinks()
clear vector of IP3D TrackParticle ElementLinks
void setIP3D_pc(float value)
set IP3D c probability
std::vector< ElementLink< xAOD::TrackParticleContainer > > TPELVec_t
A helper typedef.
Base class for elements of a container that can have aux data.
float JetFitter_pu() const
JetFitter light probability.
bool loglikelihoodratio(const std::string &taggername, double &value, const std::string &signal="pb", const std::string &bckgd="pu") const
void addIP2D_TrackParticle(const ElementLink< xAOD::TrackParticleContainer > &link)
add a TrackParticle ElementLink for IP2D
float IP2D_pb() const
IP2D b probability.
void setIP2D_pb(float value)
set IP2D b probability
float SV1plusIP3D_discriminant() const
bool taggerInfo(bool &value, BTagInfo info) const
get taggers information (bool)
size_t nSV1_TrackParticles() const
Get the number of SV1 TrackParticles associated with the object.
void setIP3D_TrackParticleLinks(const TPELVec_t &value)
set vector of IP3D TrackParticle ElementLinks
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void setJetFitter_pb(float value)
set JetFitter b probability
void setDynTPELName(const std::string &taggername, const std::string &variablename)
float SV1_pc() const
SV1 c probability.
float JetFitter_pb() const
JetFitter b probability.
void addSV1_TrackParticle(const ElementLink< xAOD::TrackParticleContainer > &link)
add a TrackParticle ElementLink for SV1
void setSV0_TrackParticleLinks(const TPELVec_t &value)
set vector of SV0 TrackParticle ElementLinks
float MV1_discriminant() const
MV1 discriminant.
void setVariable(const std::string &taggername, const std::string &variablename, const T &value)
set variables by string
void setIP2D_TrackParticleLinks(const TPELVec_t &value)
set vector of IP2D TrackParticle ElementLinks
void setSV1_pc(float value)
set SV1 c probability
bool pc(const std::string &taggername, double &value) const
void clearSV1_TrackParticleLinks()
clear vector of SV1 TrackParticle ElementLinks
BTagging_v1()
Default constructor.
bool taggerInfo(std::vector< float > &value, BTagInfo info) const
get taggers information (vector<float>)
void setIP3D_pu(float value)
set IP3D light probability
const TPELVec_t & SV1_TrackParticleLinks() const
get vector of SV1 TrackParticle ElementLinks
bool taggerInfo(float &value, BTagInfo info) const
get taggers information (float)
void setSV0_significance3D(float value)
set SV0 3D significance
void setDynBTagVxELName(const std::string &taggername, const std::string &variablename)
bool taggerInfo(std::vector< int > &value, BTagInfo info) const
get taggers information (vector<int>)
const xAOD::TrackParticle * SV0_TrackParticle(size_t i) const
Get one particular SV0 TrackParticle as a bare pointer.
std::vector< ElementLink< xAOD::VertexContainer > > VxELVec_t
float SV1_pu() const
SV1 light probability.
float IP3D_pb() const
IP3D b probability.
void setIP2D_pc(float value)
set IP2D c probability
bool pu(const std::string &taggername, double &value) const
float IP3D_loglikelihoodratio() const
get IP3D log likelihood ratio
void addSV0_TrackParticle(const ElementLink< xAOD::TrackParticleContainer > &link)
add a TrackParticle ElementLink for SV0
void clearSV0_TrackParticleLinks()
clear vector of SV0 TrackParticle ElementLinks
const xAOD::TrackParticle * SV1_TrackParticle(size_t i) const
Get one particular SV1 TrackParticle as a bare pointer.
void setSV1_pu(float value)
set SV1 light probability
size_t nSV0_TrackParticles() const
Get the number of SV0 TrackParticles associated with the object.
size_t nIP3D_TrackParticles() const
Get the number of IP3D TrackParticles associated with the object.
void setIP2D_pu(float value)
set IP2D light probability
void setSV1_TrackParticleLinks(const TPELVec_t &value)
set vector of SV1 TrackParticle ElementLinks
bool taggerInfo(std::string &value, BTagInfo info) const
get taggers information (string)
void setIP3D_pb(float value)
set IP3D b probability
bool variable(const std::string &taggername, const std::string &variablename, T &value) const
get variables by string
float IP2D_pc() const
IP2D c probability.
void addIP3D_TrackParticle(const ElementLink< xAOD::TrackParticleContainer > &link)
add a TrackParticle ElementLink for IP3D
Class describing a TrackParticle.
float IP2D_pu() const
IP2D light probability.
void setMV1_discriminant(float value)
set MV1 discriminant
void setTaggerInfo(int value, BTagInfo info)
set taggers information (int)
double SV1_loglikelihoodratio() const
get SV1 log likelihood ratio
Define macros for attributes used to control the static checker.
float IP2D_loglikelihoodratio() const
get IP2D log likelihood ratio
std::vector< ElementLink< xAOD::BTagVertexContainer > > BTagVxELVec_t
void setSV1_pb(float value)
set SV1 b probability
Base class for elements of a container that can have aux data.
float SV0_significance3D() const
SV0 3D significance.
void setDynVxELName(const std::string &taggername, const std::string &variablename)
bool taggerInfo(std::vector< bool > &value, BTagInfo info) const
get taggers information (vector<bool>)
bool MVx_discriminant(const std::string &taggername, double &value) const
bool pb(const std::string &taggername, double &value) const