ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagInfo
JetTagInfo
IPInfoBase.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JETTAGINFO_IPINFOBASE_H
6
#define JETTAGINFO_IPINFOBASE_H
7
#include "
JetTagInfo/BaseTagInfo.h
"
8
#include <vector>
9
#include <iostream>
10
11
class
MsgStream;
12
namespace
Rec
{
class
TrackParticle
; }
13
14
namespace
Analysis
{
15
20
21
class
IPInfoBase
:
public
BaseTagInfo
{
22
public
:
24
IPInfoBase
();
25
27
IPInfoBase
(
const
TagInfoType
&
x
);
28
30
IPInfoBase
(
const
IPInfoBase
&
IPInfoBase
);
31
33
IPInfoBase
&
operator=
(
const
IPInfoBase
& rhs);
34
36
virtual
~IPInfoBase
();
37
virtual
IPInfoBase
*
clone
()
const
;
38
39
inline
void
nbTracks
(
int
n) {
m_ntrk
= n; }
40
inline
int
nbTracks
()
const
{
return
m_ntrk
; }
41
42
private
:
43
int
m_ntrk
;
// number of tracks used
44
45
}
46
;
// End class
47
49
MsgStream&
operator<<
(MsgStream& out,
const
IPInfoBase
&);
50
52
std::ostream&
operator<<
(std::ostream& out,
const
IPInfoBase
&);
53
54
inline
Analysis::IPInfoBase
*
Analysis::IPInfoBase::clone
()
const
{
55
return
new
IPInfoBase
(*
this
);
56
}
57
58
}
// End namespace
59
#endif
BaseTagInfo.h
x
#define x
Analysis::BaseTagInfo::BaseTagInfo
BaseTagInfo()=default
Analysis::IPInfoBase
Basic class to hold IP taggers results.
Definition
IPInfoBase.h:21
Analysis::IPInfoBase::nbTracks
void nbTracks(int n)
Definition
IPInfoBase.h:39
Analysis::IPInfoBase::clone
virtual IPInfoBase * clone() const
a clone method for the proper workings of the copy constructor
Definition
IPInfoBase.h:54
Analysis::IPInfoBase::IPInfoBase
IPInfoBase()
default constructor
Definition
IPInfoBase.cxx:15
Analysis::IPInfoBase::~IPInfoBase
virtual ~IPInfoBase()
default destructor
Definition
IPInfoBase.cxx:43
Analysis::IPInfoBase::nbTracks
int nbTracks() const
Definition
IPInfoBase.h:40
Analysis::IPInfoBase::m_ntrk
int m_ntrk
Definition
IPInfoBase.h:43
Analysis::IPInfoBase::operator=
IPInfoBase & operator=(const IPInfoBase &rhs)
assigenment operator
Definition
IPInfoBase.cxx:31
Rec::TrackParticle
Definition
Reconstruction/Particle/Particle/TrackParticle.h:47
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
Analysis::operator<<
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
Definition
IPInfoBase.cxx:47
Analysis::TagInfoType
std::string TagInfoType
Definition
JetTagInfoBase.h:19
Rec
namespace for combined reconstruction tools and interfaces
Definition
FakeTrackBuilder.h:10
Generated on
for ATLAS Offline Software by
1.17.0