ATLAS Offline Software
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"
9 #include "egammaEvent/egamma.h"
10 #include "egammaEvent/Electron.h"
12 #include "egammaEvent/Photon.h"
14 #include <iostream>
15 
16 class MsgStream;
17 
18 namespace Analysis {
19 
20  class SETrackInfo {
21  public:
22  SETrackInfo();
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:
51  double m_valD0wrtPV;
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
ElectronContainer.h
Analysis::SETrackInfo::isPhoton
bool isPhoton() const
Definition: SETrackInfo.cxx:78
Photon.h
Analysis::SETrackInfo::m_pTrel
double m_pTrel
Definition: SETrackInfo.h:52
Analysis::SETrackInfo::m_photon
ElementLink< PhotonContainer > m_photon
Definition: SETrackInfo.h:50
Analysis::SETrackInfo::tagLikelihood
const std::vector< double > & tagLikelihood() const
Definition: SETrackInfo.h:45
Analysis::SETrackInfo::m_electron
ElementLink< ElectronContainer > m_electron
Definition: SETrackInfo.h:49
Analysis::Electron
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Electron.h:20
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
egamma.h
Analysis::SETrackInfo::pTrel
double pTrel() const
Definition: SETrackInfo.h:44
Analysis::Photon
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:20
Analysis::SETrackInfo::electronLink
const ElementLink< ElectronContainer > & electronLink() const
Definition: SETrackInfo.h:46
Analysis::SETrackInfo::SETrackInfo
SETrackInfo()
Definition: SETrackInfo.cxx:11
PhotonContainer
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/PhotonContainer.h:30
egamma
Definition: egamma.h:58
Analysis::SETrackInfo::m_tagLikelihood
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition: SETrackInfo.h:53
Analysis::SETrackInfo::d0Value
double d0Value() const
Definition: SETrackInfo.h:43
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
Electron.h
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::SETrackInfo::photonLink
const ElementLink< PhotonContainer > & photonLink() const
Definition: SETrackInfo.h:47
Analysis::SETrackInfo
Definition: SETrackInfo.h:20
Analysis::SETrackInfo::m_valD0wrtPV
double m_valD0wrtPV
Definition: SETrackInfo.h:51
ElectronContainer
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/ElectronContainer.h:32
Analysis::operator<<
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
Definition: IPInfoBase.cxx:47
PhotonContainer.h
Analysis::SETrackInfo::electron
const egamma * electron() const
Definition: SETrackInfo.cxx:68