|
ATLAS Offline Software
|
Go to the documentation of this file.
8 : m_algId (
other.m_algId),
9 m_param (
other.m_param),
10 m_endParam (
other.m_endParam),
11 m_chi2 (
other.m_chi2),
12 m_NStrawHits (
other.m_NStrawHits),
13 m_NStraw (
other.m_NStraw),
14 m_NStrawTime (
other.m_NStrawTime),
15 m_NTRHits (
other.m_NTRHits),
16 m_NPixelSpacePoints (
other.m_NPixelSpacePoints),
17 m_NSCT_SpacePoints (
other.m_NSCT_SpacePoints),
18 m_HitPattern (
other.m_HitPattern),
19 m_siSpacePoints (
other.m_siSpacePoints),
20 m_trtDriftCircles (
other.m_trtDriftCircles),
21 m_rdoList (std::move (
other.m_rdoList))
23 other.m_param =
nullptr;
24 other.m_endParam =
nullptr;
25 other.m_siSpacePoints =
nullptr;
26 other.m_trtDriftCircles =
nullptr;
38 std::pair < const InDet::SiCluster*, const InDet::SiCluster* >
cls = (*it)->clusters();
39 if(
cls.second==NULL) {
46 long layer = (*it)->layer();
58 std::pair < const InDet::SiCluster*, const InDet::SiCluster* >
cls = (*it)->clusters();
62 if(
cls.second!=NULL) {
73 ss <<
"AlgorithmID: "<<
t.algorithmId()
76 <<
" phi0: "<<
p->phi0()
80 <<
" NpixSPs: "<<
t.NPixelSpacePoints()
81 <<
" NsctSPs: "<<
t.NSCT_SpacePoints()
82 <<
" NstrawHits: "<<
t.NStrawHits()
83 <<
" HitPattern: "<<
t.HitPattern();
95 const double epsilon = 1
e-8;
100 if(
a.algorithmId() !=
b.algorithmId())
return false;
101 if(
a.HitPattern() !=
b.HitPattern())
return false;
102 if(
a.NStrawHits() !=
b.NStrawHits())
return false;
103 if(fabs(
a.chi2()-
b.chi2())>epsilon)
return false;
104 if(fabs(pA->
a0()-pB->
a0())>epsilon)
return false;
105 if(fabs(pA->
z0()-pB->
z0())>epsilon)
return false;
106 if(fabs(pA->
phi0()-pB->
phi0())>epsilon)
return false;
107 if(fabs(pA->
eta()-pB->
eta())>epsilon)
return false;
108 if(fabs(pA->
pT()-pB->
pT())>epsilon)
return false;
117 variableChange[
"d0"] = pA->
a0() - pB->
a0();
118 variableChange[
"z0"] = pA->
z0() - pB->
z0();
119 variableChange[
"phi0"] = pA->
phi0() - pB->
phi0();
120 variableChange[
"eta"] = pA->
eta() - pB->
eta();
121 variableChange[
"pT"] = pA->
pT() - pB->
pT();
122 variableChange[
"chi2"] =
a.chi2() -
b.chi2();
JetConstituentVector::iterator iterator
std::vector< Identifier > m_rdoList
bool operator==(const TrigInDetTrack &a, const TrigInDetTrack &b)
void eta(const double eta)
Setter: pseudorapidity.
void z0(const double z0)
Setter: longitudinal impact parameter.
std::string str(const TrigInDetTrack &t)
TrigInDetTrack()
Constructors: POOL needs default constructor.
std::vector< const TrigSiSpacePoint * > * m_siSpacePoints
void a0(const double a0)
Setter: transverse impact parameter.
MsgStream & operator<<(MsgStream &m, const TrigInDetTrack &t)
void phi0(const double phi0)
Setter: azimuthal angle of the momentum.
void pT(const double pT)
Setter: transverse momentum.
void diff(const TrigInDetTrack &a, const TrigInDetTrack &b, std::map< std::string, double > &variableChange)
comparison with feedback Function compares two objects and returns "semi verbose" output in the form ...