#include <SVInfoPlus.h>
Definition at line 16 of file SVInfoPlus.h.
◆ SVInfoPlus() [1/3]
| Analysis::SVInfoPlus::SVInfoPlus |
( |
| ) |
|
default constructor
Default constructor.
Definition at line 11 of file SVInfoPlus.cxx.
BaseTagInfo()
default constructor
std::vector< SVTrackInfo > m_trackinfo
◆ SVInfoPlus() [2/3]
| Analysis::SVInfoPlus::SVInfoPlus |
( |
const TagInfoType & | x | ) |
|
constructor with info type
Definition at line 22 of file SVInfoPlus.cxx.
31{
33}
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
◆ SVInfoPlus() [3/3]
| Analysis::SVInfoPlus::SVInfoPlus |
( |
const SVInfoPlus & | SVInfoPlus | ) |
|
copy destructor
Copy constructor not really needed now, but the object might get more complicated ...
Definition at line 38 of file SVInfoPlus.cxx.
◆ ~SVInfoPlus()
| Analysis::SVInfoPlus::~SVInfoPlus |
( |
| ) |
|
|
virtual |
◆ addTrackInfo()
| void Analysis::SVInfoPlus::addTrackInfo |
( |
const SVTrackInfo & | i | ) |
|
|
inline |
◆ clone()
a clone method for the proper workings of the copy constructor
Reimplemented from Analysis::BaseTagInfo.
Definition at line 87 of file SVInfoPlus.h.
88{
90}
SVInfoPlus()
default constructor
◆ getChi2Compatibility()
Definition at line 72 of file SVInfoPlus.cxx.
72 {
73
74
75
76 Eigen::Vector3d Diff;
80
81 AmgSymMatrix(3) covariance = secVertex.covariancePosition() + priVertex.covariancePosition();
82
84 bool invertible;
85 covariance.computeInverseWithCheck(
weight, invertible);
87 return 0;
88 }
89
91 differenceNorm.normalize();
93 jetDirectionNorm.normalize();
94
95 double weight_similarity = Diff.transpose()*
weight*Diff;
96
97 return std::sqrt(weight_similarity)*differenceNorm.dot(jetDirectionNorm);
98
99
100 }
#define AmgSymMatrix(dim)
virtual double weight() const
get the weight of one tagger
const Amg::Vector3D & position() const
return position of vertex
Eigen::Matrix< double, 3, 1 > Vector3D
◆ getEnergyFraction()
| float Analysis::SVInfoPlus::getEnergyFraction |
( |
| ) |
const |
|
inline |
◆ getMass()
| float Analysis::SVInfoPlus::getMass |
( |
| ) |
const |
|
inline |
◆ getN2T()
| long int Analysis::SVInfoPlus::getN2T |
( |
| ) |
const |
|
inline |
◆ getNGTrackInJet()
| long int Analysis::SVInfoPlus::getNGTrackInJet |
( |
| ) |
const |
|
inline |
◆ getNGTrackInSvx()
| long int Analysis::SVInfoPlus::getNGTrackInSvx |
( |
| ) |
const |
|
inline |
◆ getNormDist()
| float Analysis::SVInfoPlus::getNormDist |
( |
| ) |
const |
|
inline |
◆ getRecSvx()
◆ getTrackInfo()
◆ infoType()
| TagInfoType Analysis::BaseTagInfo::infoType |
( |
void | | ) |
const |
|
inlinevirtualinherited |
returns the infoType of the info objects.
This has to be set by the tagger.
Implements Analysis::ITagInfo.
Definition at line 81 of file BaseTagInfo.h.
82{
84}
TagInfoType m_tagJetInfoType
string to hold the info type (specified by the tag tool)
◆ isValid()
| bool Analysis::BaseTagInfo::isValid |
( |
| ) |
const |
|
inlinevirtualinherited |
returns true if the tag was successfull
Implements Analysis::ITagInfo.
Definition at line 73 of file BaseTagInfo.h.
74{
76}
bool m_isValid
true if the tagger could tag the jet, default is false
◆ makeValid()
| void Analysis::BaseTagInfo::makeValid |
( |
| ) |
|
|
inlinevirtualinherited |
◆ numTrackInfo()
| int Analysis::SVInfoPlus::numTrackInfo |
( |
| ) |
const |
|
inline |
◆ operator=()
assigenment operator
Definition at line 50 of file SVInfoPlus.cxx.
51{
52 if (this!=&rhs)
53 {
64 }
65 return *this;
66}
◆ setEnergyFraction()
| void Analysis::SVInfoPlus::setEnergyFraction |
( |
float | ef | ) |
|
|
inline |
◆ setMass()
| void Analysis::SVInfoPlus::setMass |
( |
float | mass | ) |
|
|
inline |
◆ setN2T()
| void Analysis::SVInfoPlus::setN2T |
( |
long int | li | ) |
|
|
inline |
◆ setNGTrackInJet()
| void Analysis::SVInfoPlus::setNGTrackInJet |
( |
long int | li | ) |
|
|
inline |
◆ setNGTrackInSvx()
| void Analysis::SVInfoPlus::setNGTrackInSvx |
( |
long int | li | ) |
|
|
inline |
◆ setNormDist()
| void Analysis::SVInfoPlus::setNormDist |
( |
float | nd | ) |
|
|
inline |
◆ setRecSvx()
◆ setTagJetInfoType()
| void Analysis::BaseTagInfo::setTagJetInfoType |
( |
const TagInfoType & | type | ) |
|
|
inlineprotectedinherited |
◆ setTagLikelihood() [1/2]
| void Analysis::BaseTagInfo::setTagLikelihood |
( |
const std::vector< double > & | tagLikelihood | ) |
|
|
inlinevirtualinherited |
Return and set methods for the likelihood.
to set the tag likelihood for one tagger
Implements Analysis::ITagInfo.
Definition at line 85 of file BaseTagInfo.h.
86{
88}
virtual const std::vector< double > & tagLikelihood(void) const
returns the tag likelihood of one tagger
◆ setTagLikelihood() [2/2]
| void Analysis::BaseTagInfo::setTagLikelihood |
( |
std::vector< double > && | tagLikelihood | ) |
|
|
inlinevirtualinherited |
◆ setValid()
| void Analysis::BaseTagInfo::setValid |
( |
bool | valid | ) |
|
|
inlineprotectedinherited |
◆ setWeight()
| void Analysis::BaseTagInfo::setWeight |
( |
double | weight | ) |
|
|
inlinevirtualinherited |
◆ tagLikelihood()
| const std::vector< double > & Analysis::BaseTagInfo::tagLikelihood |
( |
void | | ) |
const |
|
inlinevirtualinherited |
◆ weight()
| double Analysis::BaseTagInfo::weight |
( |
void | | ) |
const |
|
inlinevirtualinherited |
get the weight of one tagger
Implements Analysis::ITagInfo.
Definition at line 109 of file BaseTagInfo.h.
110{
112}
virtual bool isValid() const
returns true if the tag was successfull
◆ m_efracsvx
| float Analysis::SVInfoPlus::m_efracsvx |
|
private |
◆ m_isValid
| bool Analysis::BaseTagInfo::m_isValid |
|
protectedinherited |
true if the tagger could tag the jet, default is false
Definition at line 66 of file BaseTagInfo.h.
◆ m_masssvx
| float Analysis::SVInfoPlus::m_masssvx |
|
private |
◆ m_N2Tpair
| long int Analysis::SVInfoPlus::m_N2Tpair |
|
private |
◆ m_NGTinJet
| long int Analysis::SVInfoPlus::m_NGTinJet |
|
private |
◆ m_NGTinSvx
| long int Analysis::SVInfoPlus::m_NGTinSvx |
|
private |
◆ m_normdist
| float Analysis::SVInfoPlus::m_normdist |
|
private |
◆ m_recsvx
◆ m_tagJetInfoType
string to hold the info type (specified by the tag tool)
Definition at line 69 of file BaseTagInfo.h.
◆ m_tagLikelihood
| std::vector<double> Analysis::BaseTagInfo::m_tagLikelihood |
|
protectedinherited |
vector to hold the taglikelihood (signal plus N background)
Definition at line 67 of file BaseTagInfo.h.
◆ m_trackinfo
| std::vector<SVTrackInfo> Analysis::SVInfoPlus::m_trackinfo |
|
private |
◆ m_weight
| double Analysis::BaseTagInfo::m_weight |
|
protectedinherited |
The documentation for this class was generated from the following files: