ATLAS Offline Software
SLTrueInfo.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_SLTRUEINFO
6 #define JETTAGINFO_SLTRUEINFO
7 
9 #include <iostream>
10 
11 class MsgStream;
12 
13 namespace Analysis {
14 
15  class SLTrueInfo {
16  public:
17  SLTrueInfo();
18  SLTrueInfo(int, int, int, bool, bool, bool, const Eigen::Vector3d&, const Eigen::Vector3d&);
19  inline int barcode() const { return m_barcode; }
20  inline int pdgId() const { return m_pdgCode; }
21  inline int pdgIdMother() const { return m_pdgCodeMother; }
22  inline bool FromB() const { return m_isFromBhadron; }
23  inline bool FromD() const { return m_isFromDhadron; }
24  inline bool FromGH() const { return m_isFromGHboson; }
25  inline Eigen::Vector3d momentum() const { return m_Momentum; }
26  inline Eigen::Vector3d prodvtx() const { return m_ProductionVertex; }
27  private:
28  int m_barcode;
29  int m_pdgCode;
34  Eigen::Vector3d m_Momentum;
35  Eigen::Vector3d m_ProductionVertex;
36  };
37 
38  MsgStream& operator<<(MsgStream& out, const SLTrueInfo&);
39  std::ostream& operator<<(std::ostream& out, const SLTrueInfo&);
40 
41 }
42 #endif // JETTAGINFO_SLTRUEINFO
Analysis::SLTrueInfo::m_Momentum
Eigen::Vector3d m_Momentum
Definition: SLTrueInfo.h:34
Analysis::SLTrueInfo::FromGH
bool FromGH() const
Definition: SLTrueInfo.h:24
Analysis::SLTrueInfo::m_ProductionVertex
Eigen::Vector3d m_ProductionVertex
Definition: SLTrueInfo.h:35
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Analysis::SLTrueInfo::momentum
Eigen::Vector3d momentum() const
Definition: SLTrueInfo.h:25
Analysis::SLTrueInfo::m_pdgCodeMother
int m_pdgCodeMother
Definition: SLTrueInfo.h:30
Analysis::SLTrueInfo::m_barcode
int m_barcode
Definition: SLTrueInfo.h:28
Analysis::SLTrueInfo::pdgId
int pdgId() const
Definition: SLTrueInfo.h:20
Analysis::SLTrueInfo::FromD
bool FromD() const
Definition: SLTrueInfo.h:23
Analysis::SLTrueInfo::pdgIdMother
int pdgIdMother() const
Definition: SLTrueInfo.h:21
Analysis::SLTrueInfo::FromB
bool FromB() const
Definition: SLTrueInfo.h:22
Analysis::SLTrueInfo::m_isFromDhadron
bool m_isFromDhadron
Definition: SLTrueInfo.h:32
Analysis::SLTrueInfo::m_isFromBhadron
bool m_isFromBhadron
Definition: SLTrueInfo.h:31
EventPrimitives.h
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::SLTrueInfo::SLTrueInfo
SLTrueInfo()
Definition: SLTrueInfo.cxx:11
Analysis::SLTrueInfo::barcode
int barcode() const
Definition: SLTrueInfo.h:19
Analysis::SLTrueInfo
Definition: SLTrueInfo.h:15
Analysis::SLTrueInfo::m_pdgCode
int m_pdgCode
Definition: SLTrueInfo.h:29
Analysis::SLTrueInfo::m_isFromGHboson
bool m_isFromGHboson
Definition: SLTrueInfo.h:33
Analysis::operator<<
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
Definition: IPInfoBase.cxx:47
Analysis::SLTrueInfo::prodvtx
Eigen::Vector3d prodvtx() const
Definition: SLTrueInfo.h:26