ATLAS Offline Software
Loading...
Searching...
No Matches
SETrackInfo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JETTAGINFO_SETRACKINFO
6#define JETTAGINFO_SETRACKINFO
7
8#include "AthLinks/ElementLink.h"
12#include "egammaEvent/Photon.h"
14#include <iostream>
15
16class MsgStream;
17
18namespace Analysis {
19
21 public:
23 SETrackInfo(const ElectronContainer* coll,
24 const Electron* el,
25 double d0val,
26 double pTrel,
27 const std::vector<double>& tagLikelihood);
28 SETrackInfo(const PhotonContainer* coll,
29 const Photon* el,
30 double d0val,
31 double pTrel,
32 const std::vector<double>& tagLikelihood);
34 double d0val,
35 double pTrel,
36 std::vector<double>&& tagLikelihood);
38 double d0val,
39 double pTrel,
40 std::vector<double>&& tagLikelihood);
41 bool isPhoton() const;
42 const egamma* electron() const;
43 inline double d0Value() const { return m_valD0wrtPV; }
44 inline double pTrel() const { return m_pTrel; }
45 inline const std::vector<double>& tagLikelihood() const { return m_tagLikelihood; }
46 inline const ElementLink<ElectronContainer>& electronLink() const { return m_electron; }
47 inline const ElementLink<PhotonContainer>& photonLink() const { return m_photon; }
48 private:
52 double m_pTrel;
53 std::vector<double> m_tagLikelihood;
54 };
55
56 MsgStream& operator<<(MsgStream& out, const SETrackInfo&);
57 std::ostream& operator<<(std::ostream& out, const SETrackInfo&);
58
59}
60#endif // JETTAGINFO_SETRACKINFO
const ElementLink< PhotonContainer > & photonLink() const
Definition SETrackInfo.h:47
const egamma * electron() const
const std::vector< double > & tagLikelihood() const
Definition SETrackInfo.h:45
ElementLink< PhotonContainer > m_photon
Definition SETrackInfo.h:50
double pTrel() const
Definition SETrackInfo.h:44
const ElementLink< ElectronContainer > & electronLink() const
Definition SETrackInfo.h:46
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition SETrackInfo.h:53
ElementLink< ElectronContainer > m_electron
Definition SETrackInfo.h:49
double d0Value() const
Definition SETrackInfo.h:43
elec/gamma data class.
Definition egamma.h:58
The namespace of all packages in PhysicsAnalysis/JetTagging.
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.