ATLAS Offline Software
Loading...
Searching...
No Matches
SoftMuonInfo.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5/********************************************************************
6
7NAME: SoftMuonInfo.cxx
8PACKAGE: offline/PhysicsAnalysis/BTaggingID/BTaggingUtils
9PURPOSE: EDM for b-tagging based on soft muon identification
10********************************************************************/
11
13
14namespace Analysis
15{
16
21
23SoftMuonInfo::SoftMuonInfo(const TagInfoType& tagJetInfoType) : BaseTagInfo(tagJetInfoType), m_trackinfo()
24{
25}
26
32
35{
36 if (this!=&rhs)
37 {
41 }
42 return *this;
43}
44
48
49 MsgStream& operator<<( MsgStream& out, const SoftMuonInfo& info) {
50 int ntrk = info.numTrackInfo();
51 out << " - Tag type " << info.infoType()
52 << " based on " << ntrk << " muon tracks:" << endmsg;
53 for(int i=0;i<ntrk;i++) {
54 out << " -> " << i << info.getTrackInfo(i) << endmsg;
55 }
56 return out;
57 }
58
59 std::ostream& operator<<( std::ostream& out, const SoftMuonInfo& info) {
60 int ntrk = info.numTrackInfo();
61 out << " - Tag type " << info.infoType()
62 << " based on " << ntrk << " muon tracks:" << std::endl;
63 for(int i=0;i<ntrk;i++) {
64 out << " -> " << info.getTrackInfo(i) << std::endl;
65 }
66 return out;
67 }
68
69
70}
71
#define endmsg
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
Class for soft muon information @ author henri bachacou.
SoftMuonInfo & operator=(const SoftMuonInfo &rhs)
assigenment operator
virtual ~SoftMuonInfo()
default destructor
SoftMuonInfo()
default constructor
std::vector< SMTrackInfo > m_trackinfo
The namespace of all packages in PhysicsAnalysis/JetTagging.
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
std::string TagInfoType