ATLAS Offline Software
Loading...
Searching...
No Matches
SoftLeptonTruthInfo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 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:
22
25
28
31
33 virtual ~SoftLeptonTruthInfo();
34
36 virtual SoftLeptonTruthInfo* clone() const;
37
38
40 inline int numSLTrueInfo() const { return m_sltrueinfo.size();}
42 inline void addSLTrueInfo(const SLTrueInfo& i) { m_sltrueinfo.push_back(i); }
44 inline const SLTrueInfo& getSLTrueInfo(uint i) const {
45 return m_sltrueinfo.at(i);
46 }
47
48private:
49
50 std::vector<SLTrueInfo> m_sltrueinfo;
51
52}; // End class
53
55 return new SoftLeptonTruthInfo(*this);
56}
57
58
59} // End namespace
60#endif
61
unsigned int uint
BaseTagInfo()
default constructor
SoftLeptonTruthInfo & operator=(const SoftLeptonTruthInfo &rhs)
assigenment operator
SoftLeptonTruthInfo()
default constructor
void addSLTrueInfo(const SLTrueInfo &i)
Insert a new track info object.
int numSLTrueInfo() const
Number of truth lepton info objects stored.
virtual ~SoftLeptonTruthInfo()
default destructor
std::vector< SLTrueInfo > m_sltrueinfo
virtual SoftLeptonTruthInfo * clone() const
clone method
const SLTrueInfo & getSLTrueInfo(uint i) const
Get a track info object.
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string TagInfoType