ATLAS Offline Software
Loading...
Searching...
No Matches
SoftLeptonTruthInfo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JETTAGINFO_SOFTLEPTONTRUTHINFO_H
6#define JETTAGINFO_SOFTLEPTONTRUTHINFO_H
9#include <vector>
10
11namespace Analysis
12{
13
18{
19public:
27 virtual ~SoftLeptonTruthInfo() = default;
28
30 virtual SoftLeptonTruthInfo* clone() const;
31
32
34 inline int numSLTrueInfo() const { return m_sltrueinfo.size();}
36 inline void addSLTrueInfo(const SLTrueInfo& i) { m_sltrueinfo.push_back(i); }
38 inline const SLTrueInfo& getSLTrueInfo(uint i) const {
39 return m_sltrueinfo.at(i);
40 }
41
42private:
43
44 std::vector<SLTrueInfo> m_sltrueinfo{};
45
46}; // End class
47
49 return new SoftLeptonTruthInfo(*this);
50}
51
52
53} // End namespace
54#endif
55
unsigned int uint
SoftLeptonTruthInfo & operator=(const SoftLeptonTruthInfo &rhs)=default
void addSLTrueInfo(const SLTrueInfo &i)
Insert a new track info object.
int numSLTrueInfo() const
Number of truth lepton info objects stored.
std::vector< SLTrueInfo > m_sltrueinfo
virtual ~SoftLeptonTruthInfo()=default
virtual SoftLeptonTruthInfo * clone() const
clone method
SoftLeptonTruthInfo(const SoftLeptonTruthInfo &SoftLeptonTruthInfo)=default
const SLTrueInfo & getSLTrueInfo(uint i) const
Get a track info object.
SoftLeptonTruthInfo(SoftLeptonTruthInfo &&SoftLeptonTruthInfo) noexcept=default
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string TagInfoType