ATLAS Offline Software
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 
26 class SoftMuonInfo : public BaseTagInfo
27 {
28 public:
31 
33  SoftMuonInfo(const TagInfoType& x);
34 
37 
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 
66 {
67  return new SoftMuonInfo(*this);
68 }
69 } // End namespace
70 #endif
SMTrackInfo.h
Analysis::SoftMuonInfo
Definition: SoftMuonInfo.h:31
Analysis::SoftMuonInfo::m_trackinfo
std::vector< SMTrackInfo > m_trackinfo
Definition: SoftMuonInfo.h:61
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
x
#define x
Analysis::SoftMuonInfo::operator=
SoftMuonInfo & operator=(const SoftMuonInfo &rhs)
assigenment operator
Definition: SoftMuonInfo.cxx:39
uint
unsigned int uint
Definition: LArOFPhaseFill.cxx:20
lumiFormat.i
int i
Definition: lumiFormat.py:92
Analysis::SoftMuonInfo::clone
virtual SoftMuonInfo * clone() const
Return and set methods for the likelihood.
Definition: SoftMuonInfo.h:69
Analysis::SoftMuonInfo::numTrackInfo
int numTrackInfo() const
Number of muon track info objects stored.
Definition: SoftMuonInfo.h:52
Analysis::TagInfoType
std::string TagInfoType
Definition: JetTagInfoBase.h:19
BaseTagInfo.h
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::SoftMuonInfo::addTrackInfo
void addTrackInfo(const SMTrackInfo &i)
Insert a new track info object.
Definition: SoftMuonInfo.h:54
Analysis::operator<<
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
Definition: IPInfoBase.cxx:47
Analysis::SoftMuonInfo::~SoftMuonInfo
virtual ~SoftMuonInfo()
default destructor
Definition: SoftMuonInfo.cxx:51
Analysis::SoftMuonInfo::SoftMuonInfo
SoftMuonInfo()
default constructor
Definition: SoftMuonInfo.cxx:23
Analysis::SoftMuonInfo::getTrackInfo
const SMTrackInfo & getTrackInfo(uint i) const
Get a track info object.
Definition: SoftMuonInfo.h:56
Analysis::SMTrackInfo
Definition: SMTrackInfo.h:17