ATLAS Offline Software
Loading...
Searching...
No Matches
TrackCountingInfo.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "GaudiKernel/MsgStream.h"
7
8namespace Analysis {
9
11 m_ntrk(0),
12 m_d0sig_2nd( -20.),
13 m_d0sig_abs_2nd( 0.),
14 m_d0sig_3rd( -20.),
15 m_d0sig_abs_3rd( 0.)
16 {
17 m_tagLikelihood.clear();
18 }
19
21 : BaseTagInfo(tagJetInfoType),
22 m_ntrk(0),
23 m_d0sig_2nd( -20.),
24 m_d0sig_abs_2nd( 0.),
25 m_d0sig_3rd( -20.),
27 {
28 m_tagLikelihood.clear();
29 }
30
38
40 {
41 if (this!=&rhs)
42 {
43 m_ntrk = rhs.m_ntrk;
48 }
49 return *this;
50 }
51
54
55 MsgStream& operator<<( MsgStream& out, const TrackCountingInfo& info) {
56 out << " - Tag type " << info.infoType()
57 << "2nd/3rd highest ip2d significance: " << info.d0sig_2nd() << " / " << info.d0sig_3rd()
58 << "2nd/3rd highest |ip2d significance|: " << info.d0sig_abs_2nd() << " / " << info.d0sig_abs_3rd()
59 << endmsg;
60 return out;
61 }
62
63 std::ostream& operator<<( std::ostream& out, const TrackCountingInfo& info) {
64 out << " - Tag type " << info.infoType()
65 << "2nd/3rd highest ip2d significance: " << info.d0sig_2nd() << " / " << info.d0sig_3rd()
66 << "2nd/3rd highest |ip2d significance|: " << info.d0sig_abs_2nd() << " / " << info.d0sig_abs_3rd()
67 << std::endl;
68 return out;
69 }
70
71}
#define endmsg
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition BaseTagInfo.h:67
BaseTagInfo()
default constructor
Class to hold TrackCounting tagger results.
int m_ntrk
number of tracks used for tagging
float m_d0sig_abs_2nd
2nd highest absolute IP2D significance
virtual ~TrackCountingInfo()
default destructor
float m_d0sig_3rd
3rd highest IP2D significance
float m_d0sig_abs_3rd
3rd highest absolute IP2D significance
TrackCountingInfo & operator=(const TrackCountingInfo &rhs)
assigenment operator
float m_d0sig_2nd
2nd highest IP2D significance
TrackCountingInfo()
default constructor
The namespace of all packages in PhysicsAnalysis/JetTagging.
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
std::string TagInfoType