|
ATLAS Offline Software
|
Go to the documentation of this file.
41 float ptJet,
float xcomb,
float xIP1d,
float xIP2d,
float xIP3d,
float xChi2,
42 float xSv,
float xmvtx,
float xevtx,
float xnvtx) :
47 m_prmvertex(prmvertex),
48 m_secvertex(secvertex),
94 ss <<
"RoI index = " <<
a.roiId()
95 <<
"; prmVtx = " <<
a.prmVtx()
96 <<
"; xComb = " <<
a.xComb()
97 <<
"; xIP1D = " <<
a.xIP1D()
98 <<
"; xIP2D = " <<
a.xIP2D()
99 <<
"; xIP3D = " <<
a.xIP3D()
100 <<
"; xCHI2 = " <<
a.xCHI2()
101 <<
"; xSV = " <<
a.xSV()
102 <<
"; xMVtx = " <<
a.xMVtx()
103 <<
"; xEVtx = " <<
a.xEVtx()
104 <<
"; xNVtx = " <<
a.xNVtx();
112 return (
m <<
str(
a));
119 const double DELTA=1
e-3;
121 if(std::abs(
a.eta() -
b.eta()) > DELTA)
return false;
122 if(std::abs(
a.phi() -
b.phi()) > DELTA)
return false;
124 if(std::abs(
a.prmVtx() -
b.prmVtx()) > DELTA)
return false;
126 if(std::abs(
a.xComb() -
b.xComb()) > DELTA)
return false;
127 if(std::abs(
a.xIP1D() -
b.xIP1D()) > DELTA)
return false;
128 if(std::abs(
a.xIP2D() -
b.xIP2D()) > DELTA)
return false;
129 if(std::abs(
a.xIP3D() -
b.xIP3D()) > DELTA)
return false;
130 if(std::abs(
a.xCHI2() -
b.xCHI2()) > DELTA)
return false;
131 if(std::abs(
a.xSV() -
b.xSV()) > DELTA)
return false;
132 if(std::abs(
a.xMVtx() -
b.xMVtx()) > DELTA)
return false;
133 if(std::abs(
a.xEVtx() -
b.xEVtx()) > DELTA)
return false;
134 if(std::abs(
a.xNVtx() -
b.xNVtx()) > DELTA)
return false;
142 if(
a.prmVtx() !=
b.prmVtx()) variableChange[
"prmVtx" ] =
static_cast< double >(
a.prmVtx() -
b.prmVtx() );
144 if(
a.xComb() !=
b.xComb()) variableChange[
"xComb"] =
static_cast<double>(
a.xComb() -
b.xComb());
145 if(
a.xIP1D() !=
b.xIP1D()) variableChange[
"xIP1D"] =
static_cast<double>(
a.xIP1D() -
b.xIP1D());
146 if(
a.xIP2D() !=
b.xIP2D()) variableChange[
"xIP2D"] =
static_cast<double>(
a.xIP2D() -
b.xIP2D());
147 if(
a.xIP3D() !=
b.xIP3D()) variableChange[
"xIP3D"] =
static_cast<double>(
a.xIP3D() -
b.xIP3D());
148 if(
a.xCHI2() !=
b.xCHI2()) variableChange[
"xCHI2"] =
static_cast<double>(
a.xCHI2() -
b.xCHI2());
149 if(
a.xSV() !=
b.xSV()) variableChange[
"xSV"] =
static_cast<double>(
a.xSV() -
b.xSV());
150 if(
a.xMVtx() !=
b.xMVtx()) variableChange[
"xMVtx"] =
static_cast<double>(
a.xMVtx() -
b.xMVtx());
151 if(
a.xEVtx() !=
b.xEVtx()) variableChange[
"xEVtx"] =
static_cast<double>(
a.xEVtx() -
b.xEVtx());
152 if(
a.xNVtx() !=
b.xNVtx()) variableChange[
"xNVtx"] =
static_cast<double>(
a.xNVtx() -
b.xNVtx());
float m_xIP1d
Likelihood weight based on transverse impact parameter.
float m_xIP2d
Likelihood weight based on longitudinal impact parameter.
float xEVtx() const
To retrieve likelihood weight based on energy of secondary vertex.
bool m_valid
Boolean variable to declare the object as a valid one.
Scalar phi() const
phi method
float m_xIP3d
Likelihood weight based on 2D combination of impact parameters.
Scalar eta() const
pseudorapidity method
Dummy type needed fro specialized implementation.
float xNVtx() const
To retrieve likelihood weight based on number of tracks linked to secondary vertex.
float xCHI2() const
To retrieve probability weight based on chi2 of track fit.
void diff(const TrigEFBjet &a, const TrigEFBjet &b, std::map< std::string, double > &variableChange)
bool isValid() const
To know if TrigEFBjet object is valid.
float m_xcomb
Best likelihood weight (combination of IP3D and SV) - not filled yet.
Class representing a b-jet candidate created at EF.
int roiId() const
To retrieve identifier of the RoI (unique to each LVL1 RoI).
MsgStream & operator<<(MsgStream &m, const TrigEFBjet &a)
float prmVtx() const
To retrieve reconstructed z of primary vertex.
float m_xmvtx
Likelihood weight based on mass of secondary vertex - not filled yet.
float m_xevtx
Likelihood weight based on energy of secondary vertex - not filled yet.
float m_xnvtx
Likelihood weight based on number of tracks linked to secondary vertex - not filled yet.
void validate(bool v)
To validate TrigEFBjet object.
float xSV() const
To retrieve likelihood weight based on secondary vertex.
const VxContainer * m_secvertex
Pointer to the secondary vertex collection.
float xComb() const
To retrieve best likelihood weight (combination of IP3D and SV).
std::string str(const TrigEFBjet &a)
float xIP1D() const
To retrieve likelihood weight based on longitudinal impact parameter.
const VxContainer * SecVertexCollection() const
To retrieve pointer to secondary vertex collection of type VxVertex.
const Rec::TrackParticleContainer * TrackCollection() const
To retrieve pointer to track collection of type TrackParticle.
float xIP3D() const
To retrieve likelihood weight based on 2D combination of impact parameters.
bool operator==(const TrigEFBjet &a, const TrigEFBjet &b)
float m_xSv
Likelihood weight based on secondary vertex - not filled yet.
const VxContainer * PrmVertexCollection() const
To retrieve pointer to primary vertex collection of type VxVertex.
const Rec::TrackParticleContainer * m_track
Pointer to the track collection.
float m_xChi2
Probability weight based on chi2 of track fit.
const VxContainer * m_prmvertex
Pointer to the primary vertex collection.
int m_roiID
Identifier of the RoI.
float m_prmVtx
Z coordinate of the primary vertex.
float xMVtx() const
To retrieve likelihood weight based on mass of secondary vertex.
float xIP2D() const
To retrieve likelihood weight based on transverse impact parameter.