ATLAS Offline Software
Loading...
Searching...
No Matches
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/********************************************************************
6NAME: SoftMuonInfo.cxx
7PACKAGE: offline/PhysicsAnalysis/BTaggingID/BTaggingUtils
8PURPOSE: EDM for b-tagging based on soft muon identification
9********************************************************************/
10
11#ifndef JETTAGINFO_SOFTMUONINFO_H
12#define JETTAGINFO_SOFTMUONINFO_H
15#include <vector>
16#include <iostream>
17
18namespace Analysis {
19
25
27{
28public:
31
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
56private:
57 std::vector<SMTrackInfo> m_trackinfo;
58}
59; // End class
60
61MsgStream& operator<<(MsgStream& out, const SoftMuonInfo&);
62
63std::ostream& operator<<(std::ostream& out, const SoftMuonInfo&);
64
66{
67 return new SoftMuonInfo(*this);
68}
69} // End namespace
70#endif
unsigned int uint
#define x
BaseTagInfo()
default constructor
Class for soft muon information @ author henri bachacou.
SoftMuonInfo & operator=(const SoftMuonInfo &rhs)
assigenment operator
virtual ~SoftMuonInfo()
default destructor
int numTrackInfo() const
Number of muon track info objects stored.
void addTrackInfo(const SMTrackInfo &i)
Insert a new track info object.
const SMTrackInfo & getTrackInfo(uint i) const
Get a track info object.
virtual SoftMuonInfo * clone() const
Return and set methods for the likelihood.
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