|
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) :
48 m_prmvertex(prmvertex),
49 m_secvertex(secvertex),
95 ss <<
"RoI index = " <<
a.roiId()
96 <<
"; prmVtx = " <<
a.prmVtx()
97 <<
"; xComb = " <<
a.xComb()
98 <<
"; xIP1D = " <<
a.xIP1D()
99 <<
"; xIP2D = " <<
a.xIP2D()
100 <<
"; xIP3D = " <<
a.xIP3D()
101 <<
"; xCHI2 = " <<
a.xCHI2()
102 <<
"; xSV = " <<
a.xSV()
103 <<
"; xMVtx = " <<
a.xMVtx()
104 <<
"; xEVtx = " <<
a.xEVtx()
105 <<
"; xNVtx = " <<
a.xNVtx();
113 return (
m <<
str(
a));
120 const double DELTA=1
e-3;
122 if(std::abs(
a.eta() -
b.eta()) > DELTA)
return false;
123 if(std::abs(
a.phi() -
b.phi()) > DELTA)
return false;
125 if(std::abs(
a.prmVtx() -
b.prmVtx()) > DELTA)
return false;
127 if(std::abs(
a.xComb() -
b.xComb()) > DELTA)
return false;
128 if(std::abs(
a.xIP1D() -
b.xIP1D()) > DELTA)
return false;
129 if(std::abs(
a.xIP2D() -
b.xIP2D()) > DELTA)
return false;
130 if(std::abs(
a.xIP3D() -
b.xIP3D()) > DELTA)
return false;
131 if(std::abs(
a.xCHI2() -
b.xCHI2()) > DELTA)
return false;
132 if(std::abs(
a.xSV() -
b.xSV()) > DELTA)
return false;
133 if(std::abs(
a.xMVtx() -
b.xMVtx()) > DELTA)
return false;
134 if(std::abs(
a.xEVtx() -
b.xEVtx()) > DELTA)
return false;
135 if(std::abs(
a.xNVtx() -
b.xNVtx()) > DELTA)
return false;
143 if(
a.prmVtx() !=
b.prmVtx()) variableChange[
"prmVtx" ] =
static_cast< double >(
a.prmVtx() -
b.prmVtx() );
145 if(
a.xComb() !=
b.xComb()) variableChange[
"xComb"] =
static_cast<double>(
a.xComb() -
b.xComb());
146 if(
a.xIP1D() !=
b.xIP1D()) variableChange[
"xIP1D"] =
static_cast<double>(
a.xIP1D() -
b.xIP1D());
147 if(
a.xIP2D() !=
b.xIP2D()) variableChange[
"xIP2D"] =
static_cast<double>(
a.xIP2D() -
b.xIP2D());
148 if(
a.xIP3D() !=
b.xIP3D()) variableChange[
"xIP3D"] =
static_cast<double>(
a.xIP3D() -
b.xIP3D());
149 if(
a.xCHI2() !=
b.xCHI2()) variableChange[
"xCHI2"] =
static_cast<double>(
a.xCHI2() -
b.xCHI2());
150 if(
a.xSV() !=
b.xSV()) variableChange[
"xSV"] =
static_cast<double>(
a.xSV() -
b.xSV());
151 if(
a.xMVtx() !=
b.xMVtx()) variableChange[
"xMVtx"] =
static_cast<double>(
a.xMVtx() -
b.xMVtx());
152 if(
a.xEVtx() !=
b.xEVtx()) variableChange[
"xEVtx"] =
static_cast<double>(
a.xEVtx() -
b.xEVtx());
153 if(
a.xNVtx() !=
b.xNVtx()) variableChange[
"xNVtx"] =
static_cast<double>(
a.xNVtx() -
b.xNVtx());
float xSV() const
To retrieve likelihood weight based on secondary vertex.
float xIP1D() const
To retrieve likelihood weight based on longitudinal impact parameter.
MsgStream & operator<<(MsgStream &m, const TrigL2Bjet &a)
void validate(bool v)
To validate TrigL2Bjet object.
Scalar phi() const
phi method
float m_xcomb
Best likelihood weight (combination of IP3D and SV).
const TrigInDetTrackCollection * m_track
Pointer to the track collection.
const TrigInDetTrackCollection * TrackCollection() const
To retrieve pointer to track collection of type TrigInDetTrack.
float xIP2D() const
To retrieve likelihood weight based on transverse impact parameter.
Scalar eta() const
pseudorapidity method
bool operator==(const TrigL2Bjet &a, const TrigL2Bjet &b)
const TrigVertexCollection * m_secvertex
Pointer to the secondary vertex collection.
Dummy type needed fro specialized implementation.
bool m_valid
Boolean variable to declare the object as a valid one.
float m_xChi2
Probability weight based on chi2 of track fit.
bool isValid() const
To know if TrigL2Bjet object is valid.
std::string str(const TrigL2Bjet &a)
Class representing a b-jet candidate created at L2.
float m_xIP3d
Likelihood weight based on 2D combination of impact parameters.
float m_xSv
Likelihood weight based on secondary vertex.
float xEVtx() const
To retrieve likelihood weight based on energy of secondary vertex.
float m_xIP1d
Likelihood weight based on longitudinal impact parameter.
void diff(const TrigL2Bjet &a, const TrigL2Bjet &b, std::map< std::string, double > &variableChange)
float m_xevtx
Likelihood weight based on energy of secondary vertex.
float xNVtx() const
To retrieve likelihood weight based on number of tracks linked to secondary vertex.
float prmVtx() const
To retrieve reconstructed z of primary vertex.
float xMVtx() const
To retrieve likelihood weight based on mass of secondary vertex.
int roiId() const
To retrieve identifier of the RoI (unique to each LVL1 RoI).
float xComb() const
To retrieve best likelihood weight (combination of IP3D and SV).
float m_prmVtx
Z coordinate of the primary vertex.
float m_xnvtx
Likelihood weight based on number of tracks linked to secondary vertex.
float xIP3D() const
To retrieve likelihood weight based on 2D combination of impact parameters.
const TrigVertexCollection * m_prmvertex
Pointer to the primary vertex collection.
float xCHI2() const
To retrieve probability weight based on chi2 of track fit.
const TrigVertexCollection * SecVertexCollection() const
To retrieve pointer to secondary vertex collection of type TrigVertex.
const TrigVertexCollection * PrmVertexCollection() const
To retrieve pointer to primary vertex collection of type TrigVertex.
int m_roiID
Identifier of the RoI (unique to each LVL1 RoI).
float m_xmvtx
Likelihood weight based on mass of secondary vertex.
float m_xIP2d
Likelihood weight based on transverse impact parameter.