ATLAS Offline Software
Loading...
Searching...
No Matches
MultiSVInfoPlus.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JETTAGINFO_MULTISVINFOPLUS_H
6#define JETTAGINFO_MULTISVINFOPLUS_H
9#include <vector>
10#include <iostream>
11
12namespace Analysis
13{
14
16{
17 public:
20
23
26
30
32 virtual ~MultiSVInfoPlus();
33 virtual MultiSVInfoPlus* clone() const;
34
36 void setNGTrackInJet(long int);
37 void setNGTrackInSvx(long int);
38 void setN2T(long int);
39 void setNormDist(float);
40 void addVtxInfo(MSVVtxInfo*);
41 void addVtxInfo(std::unique_ptr<MSVVtxInfo>);
42
44 long int getNGTrackInJet() const;
45 long int getNGTrackInSvx() const;
46 long int getN2T() const;
47 float getNormDist() const;
48 int numVtxInfo() const;
49 const MSVVtxInfo* getVtxInfo(unsigned int i) const;
50
51 private:
52 long int m_NGTinJet;
53 long int m_NGTinSvx;
54 long int m_N2Tpair;
56 std::vector<MSVVtxInfo*> m_vtxInfo;
58
59}; // End class
60
61 inline void MultiSVInfoPlus::setNGTrackInJet(long int li) {m_NGTinJet = li;}
62 inline void MultiSVInfoPlus::setNGTrackInSvx(long int li) {m_NGTinSvx = li;}
63 inline void MultiSVInfoPlus::setN2T(long int li) {m_N2Tpair = li;}
64 inline void MultiSVInfoPlus::setNormDist(float nd) {m_normdist = nd;}
65 inline void MultiSVInfoPlus::addVtxInfo(MSVVtxInfo* i) { m_vtxInfo.push_back(i); }
66 inline void MultiSVInfoPlus::addVtxInfo(std::unique_ptr<MSVVtxInfo> i) { m_vtxInfo.push_back(i.release()); }
67 //
68 inline long int MultiSVInfoPlus::getNGTrackInJet() const {return m_NGTinJet;}
69 inline long int MultiSVInfoPlus::getNGTrackInSvx() const {return m_NGTinSvx;}
70 inline long int MultiSVInfoPlus::getN2T() const {return m_N2Tpair;}
71 inline float MultiSVInfoPlus::getNormDist() const {return m_normdist;}
72 inline int MultiSVInfoPlus::numVtxInfo() const {return m_vtxInfo.size();}
73 inline const MSVVtxInfo* MultiSVInfoPlus::getVtxInfo(uint i) const {return m_vtxInfo.at(i);}
74
79
80} // End namespace
81#endif
unsigned int uint
#define x
BaseTagInfo()
default constructor
void setNGTrackInJet(long int)
Set methods.
long int getNGTrackInJet() const
Get methods.
virtual MultiSVInfoPlus * clone() const
a clone method for the proper workings of the copy constructor
const MSVVtxInfo * getVtxInfo(unsigned int i) const
void addVtxInfo(MSVVtxInfo *)
MultiSVInfoPlus()
default constructor
virtual ~MultiSVInfoPlus()
default destructor
long int getNGTrackInSvx() const
MultiSVInfoPlus & operator=(const MultiSVInfoPlus &rhs)
assigenment operator
std::vector< MSVVtxInfo * > m_vtxInfo
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string TagInfoType