ATLAS Offline Software
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
8 #include <vector>
9 #include <iostream>
10 
11 class MsgStream;
12 namespace Rec { class TrackParticle; }
13 
14 namespace Analysis {
15 
21 class IPInfoBase : public BaseTagInfo {
22 public:
24  IPInfoBase();
25 
27  IPInfoBase(const TagInfoType& x);
28 
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 
55  return new IPInfoBase(*this);
56 }
57 
58 } // End namespace
59 #endif
Analysis::IPInfoBase::~IPInfoBase
virtual ~IPInfoBase()
default destructor
Definition: IPInfoBase.cxx:43
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Analysis::IPInfoBase::nbTracks
int nbTracks() const
Definition: IPInfoBase.h:40
x
#define x
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition: Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
Analysis::IPInfoBase::IPInfoBase
IPInfoBase()
default constructor
Definition: IPInfoBase.cxx:15
Analysis::IPInfoBase::operator=
IPInfoBase & operator=(const IPInfoBase &rhs)
assigenment operator
Definition: IPInfoBase.cxx:31
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
beamspotman.n
n
Definition: beamspotman.py:731
Analysis::BaseTagInfo
Class BasetagInfo: Implements methods defined in ITagInfo.
Definition: BaseTagInfo.h:40
Analysis::IPInfoBase::clone
virtual IPInfoBase * clone() const
a clone method for the proper workings of the copy constructor
Definition: IPInfoBase.h:54
Analysis::TagInfoType
std::string TagInfoType
Definition: JetTagInfoBase.h:19
BaseTagInfo.h
Analysis::IPInfoBase::m_ntrk
int m_ntrk
Definition: IPInfoBase.h:43
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::IPInfoBase
Definition: IPInfoBase.h:21
Analysis::operator<<
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
Definition: IPInfoBase.cxx:47
Analysis::IPInfoBase::nbTracks
void nbTracks(int n)
Definition: IPInfoBase.h:39