ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagInfo
JetTagInfo
SoftMuonInfo.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
/********************************************************************
6
NAME: SoftMuonInfo.cxx
7
PACKAGE: offline/PhysicsAnalysis/BTaggingID/BTaggingUtils
8
PURPOSE: EDM for b-tagging based on soft muon identification
9
********************************************************************/
10
11
#ifndef JETTAGINFO_SOFTMUONINFO_H
12
#define JETTAGINFO_SOFTMUONINFO_H
13
#include "
JetTagInfo/BaseTagInfo.h
"
14
#include "
JetTagInfo/SMTrackInfo.h
"
15
#include <vector>
16
#include <iostream>
17
18
namespace
Analysis
{
19
25
26
class
SoftMuonInfo
:
public
BaseTagInfo
27
{
28
public
:
30
SoftMuonInfo
();
31
33
SoftMuonInfo
(
const
TagInfoType
&
x
);
34
36
SoftMuonInfo
(
const
SoftMuonInfo
&
SoftMuonInfo
);
37
39
SoftMuonInfo
&
operator=
(
const
SoftMuonInfo
& rhs);
40
42
virtual
~SoftMuonInfo
();
43
45
virtual
SoftMuonInfo
*
clone
()
const
;
46
48
inline
int
numTrackInfo
()
const
{
return
m_trackinfo
.size();}
50
inline
void
addTrackInfo
(
const
SMTrackInfo
& i) {
m_trackinfo
.push_back(i); }
52
inline
const
SMTrackInfo
&
getTrackInfo
(
uint
i)
const
{
53
return
m_trackinfo
.at(i);
54
}
55
56
private
:
57
std::vector<SMTrackInfo>
m_trackinfo
;
58
}
59
;
// End class
60
61
MsgStream&
operator<<
(MsgStream& out,
const
SoftMuonInfo
&);
62
63
std::ostream&
operator<<
(std::ostream& out,
const
SoftMuonInfo
&);
64
65
inline
Analysis::SoftMuonInfo
*
Analysis::SoftMuonInfo::clone
()
const
66
{
67
return
new
SoftMuonInfo
(*
this
);
68
}
69
}
// End namespace
70
#endif
BaseTagInfo.h
uint
unsigned int uint
Definition
LArOFPhaseFill.cxx:19
SMTrackInfo.h
x
#define x
Analysis::BaseTagInfo::BaseTagInfo
BaseTagInfo()=default
Analysis::SMTrackInfo
Definition
SMTrackInfo.h:17
Analysis::SoftMuonInfo
Class for soft muon information @ author henri bachacou.
Definition
SoftMuonInfo.h:27
Analysis::SoftMuonInfo::operator=
SoftMuonInfo & operator=(const SoftMuonInfo &rhs)
assigenment operator
Definition
SoftMuonInfo.cxx:34
Analysis::SoftMuonInfo::~SoftMuonInfo
virtual ~SoftMuonInfo()
default destructor
Definition
SoftMuonInfo.cxx:46
Analysis::SoftMuonInfo::numTrackInfo
int numTrackInfo() const
Number of muon track info objects stored.
Definition
SoftMuonInfo.h:48
Analysis::SoftMuonInfo::addTrackInfo
void addTrackInfo(const SMTrackInfo &i)
Insert a new track info object.
Definition
SoftMuonInfo.h:50
Analysis::SoftMuonInfo::getTrackInfo
const SMTrackInfo & getTrackInfo(uint i) const
Get a track info object.
Definition
SoftMuonInfo.h:52
Analysis::SoftMuonInfo::clone
virtual SoftMuonInfo * clone() const
Return and set methods for the likelihood.
Definition
SoftMuonInfo.h:65
Analysis::SoftMuonInfo::SoftMuonInfo
SoftMuonInfo()
default constructor
Definition
SoftMuonInfo.cxx:18
Analysis::SoftMuonInfo::m_trackinfo
std::vector< SMTrackInfo > m_trackinfo
Definition
SoftMuonInfo.h:57
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
Analysis::operator<<
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
Definition
IPInfoBase.cxx:47
Analysis::TagInfoType
std::string TagInfoType
Definition
JetTagInfoBase.h:19
Generated on
for ATLAS Offline Software by
1.17.0