ATLAS Offline Software
Loading...
Searching...
No Matches
MultiSVInfoPlus.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace Analysis
8{
9
16
17 MultiSVInfoPlus::MultiSVInfoPlus(const TagInfoType& tagJetInfoType) : BaseTagInfo(tagJetInfoType),
18 m_NGTinJet(-1),
19 m_NGTinSvx(-1),
20 m_N2Tpair(-1),
21 m_normdist(-1.),
23 {
24 m_tagLikelihood.clear();
25 }
26
27
33 {
34 m_vtxInfo.clear();
35 for(unsigned int i=0; i<rhs.m_vtxInfo.size(); ++i){
36 m_vtxInfo.push_back(new MSVVtxInfo( *(rhs.m_vtxInfo[i]) ) );
37 }
38 }
39
41 {
42 if (this!=&rhs)
43 {
47 m_N2Tpair = rhs.m_N2Tpair;
49 for(unsigned int i=0; i<m_vtxInfo.size(); ++i)delete m_vtxInfo[i];
50 m_vtxInfo.clear();
51 for(unsigned int i=0; i<rhs.m_vtxInfo.size(); ++i){
52 m_vtxInfo.push_back(new MSVVtxInfo( *(rhs.m_vtxInfo[i]) ) );
53 }
54 m_vtxInfo = rhs.m_vtxInfo;
56 }
57 return *this;
58 }
59
61 {
62 if (this!=&rhs)
63 {
64 m_tagLikelihood=rhs.m_tagLikelihood;
65 m_NGTinJet = rhs.m_NGTinJet;
66 m_NGTinSvx = rhs.m_NGTinSvx;
67 m_N2Tpair = rhs.m_N2Tpair;
68 m_normdist = rhs.m_normdist;
69 for(unsigned int i=0; i<m_vtxInfo.size(); ++i)
70 delete m_vtxInfo[i];
71 m_vtxInfo = std::move(rhs.m_vtxInfo);
72 m_tagJetInfoType=rhs.m_tagJetInfoType;
73 }
74 return *this;
75 }
76
78 for(unsigned int i=0; i<m_vtxInfo.size(); ++i)delete m_vtxInfo[i];
79 }
80
81
82}
83
TagInfoType m_tagJetInfoType
string to hold the info type (specified by the tag tool)
Definition BaseTagInfo.h:69
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition BaseTagInfo.h:67
BaseTagInfo()
default constructor
MultiSVInfoPlus()
default constructor
virtual ~MultiSVInfoPlus()
default destructor
MultiSVInfoPlus & operator=(const MultiSVInfoPlus &rhs)
assigenment operator
std::vector< MSVVtxInfo * > m_vtxInfo
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string TagInfoType
STL namespace.