ATLAS Offline Software
Loading...
Searching...
No Matches
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
11class MsgStream;
12namespace Rec { class TrackParticle; }
13
14namespace Analysis {
15
20
21class IPInfoBase : public BaseTagInfo {
22public:
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
42private:
43 int m_ntrk; // number of tracks used
44
45}
46; // End class
47
49MsgStream& operator<<(MsgStream& out, const IPInfoBase&);
50
52std::ostream& operator<<(std::ostream& out, const IPInfoBase&);
53
55 return new IPInfoBase(*this);
56}
57
58} // End namespace
59#endif
#define x
BaseTagInfo()
default constructor
Basic class to hold IP taggers results.
Definition IPInfoBase.h:21
void nbTracks(int n)
Definition IPInfoBase.h:39
virtual IPInfoBase * clone() const
a clone method for the proper workings of the copy constructor
Definition IPInfoBase.h:54
IPInfoBase()
default constructor
virtual ~IPInfoBase()
default destructor
int nbTracks() const
Definition IPInfoBase.h:40
IPInfoBase & operator=(const IPInfoBase &rhs)
assigenment operator
The namespace of all packages in PhysicsAnalysis/JetTagging.
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
std::string TagInfoType
Gaudi Tools.