ATLAS Offline Software
CalcTTZPartonHistory.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef ANALYSISTOP_TOPPARTONS_CALCTTZPARTONHISTORY_H
6 #define ANALYSISTOP_TOPPARTONS_CALCTTZPARTONHISTORY_H
7 
17 // Framework include(s):
21 
22 // forward declaration(s):
23 namespace top {
24  class TopConfig;
25 }
26 
27 namespace top {
29  public:
30  explicit CalcTTZPartonHistory(const std::string& name);
31  virtual ~CalcTTZPartonHistory() {}
32 
36 
37  void zHistorySaver(const xAOD::TruthParticleContainer* truthParticles, xAOD::PartonHistory* ttbarPartonHistory);
38 
39  virtual StatusCode execute();
40 
42  bool getZ(const xAOD::TruthParticleContainer* truthParticles,
43  TLorentzVector* Z,
44  TLorentzVector* ZDecay1,
45  int* ZDecay1_pdgId,
46  TLorentzVector* ZDecay2,
47  int* ZDecay2_pdgId,
48  bool* is_on_shell);
49  private:
51  };
52 }
53 
54 #endif
xAOD::PartonHistory
Interface class.
Definition: PartonHistory.h:48
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::CalcTTZPartonHistory::getFlavourSibling
const xAOD::TruthParticle * getFlavourSibling(const xAOD::TruthParticle *particle)
Definition: CalcTTZPartonHistory.cxx:154
TruthParticleContainer.h
top::CalcTTZPartonHistory::CalcTTZPartonHistory
CalcTTZPartonHistory(CalcTTZPartonHistory &&rhs)=delete
top::CalcTTZPartonHistory
Definition: CalcTTZPartonHistory.h:28
PartonHistory.h
top::CalcTTZPartonHistory::operator=
CalcTTZPartonHistory & operator=(const CalcTTZPartonHistory &rhs)=delete
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:41
top::CalcTTZPartonHistory::~CalcTTZPartonHistory
virtual ~CalcTTZPartonHistory()
Definition: CalcTTZPartonHistory.h:31
top::CalcTtbarPartonHistory
Definition: CalcTtbarPartonHistory.h:33
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
top::CalcTTZPartonHistory::m_ancestry_corrupted
bool m_ancestry_corrupted
Definition: CalcTTZPartonHistory.h:50
top::CalcTTZPartonHistory::execute
virtual StatusCode execute()
Definition: CalcTTZPartonHistory.cxx:169
top::CalcTTZPartonHistory::CalcTTZPartonHistory
CalcTTZPartonHistory(const std::string &name)
Definition: CalcTTZPartonHistory.cxx:11
top::CalcTTZPartonHistory::zHistorySaver
void zHistorySaver(const xAOD::TruthParticleContainer *truthParticles, xAOD::PartonHistory *ttbarPartonHistory)
Definition: CalcTTZPartonHistory.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CalcTtbarPartonHistory.h
top::CalcTTZPartonHistory::CalcTTZPartonHistory
CalcTTZPartonHistory(const CalcTTZPartonHistory &rhs)=delete
top::CalcTTZPartonHistory::getZ
bool getZ(const xAOD::TruthParticleContainer *truthParticles, TLorentzVector *Z, TLorentzVector *ZDecay1, int *ZDecay1_pdgId, TLorentzVector *ZDecay2, int *ZDecay2_pdgId, bool *is_on_shell)
Definition: CalcTTZPartonHistory.cxx:56