![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef ANALYSISTOP_TOPPARTONS_CALCTOPPARTONHISTORY_H
7 #define ANALYSISTOP_TOPPARTONS_CALCTOPPARTONHISTORY_H
54 TLorentzVector& top_afterFSR_SC_p4);
58 TLorentzVector& t_afterFSR_p4, TLorentzVector& W_p4, TLorentzVector& b_p4, TLorentzVector& Wdecay1_p4,
59 int& Wdecay1_pdgId, TLorentzVector& Wdecay2_p4,
int& Wdecay2_pdgId);
61 TLorentzVector& t_afterFSR_p4, TLorentzVector& W_p4, TLorentzVector& q_p4,
int& q_pdgId,
62 TLorentzVector& Wdecay1_p4,
int& Wdecay1_pdgId, TLorentzVector& Wdecay2_p4,
int& Wdecay2_pdgId);
69 int& Wdecay1_pdgId, TLorentzVector& Wdecay2_p4,
int& Wdecay2_pdgId);
73 TLorentzVector& Wdecay1_p4,
int& Wdecay1_pdgId, TLorentzVector& Wdecay2_p4,
int& Wdecay2_pdgId);
77 TLorentzVector& b_afterFSR,
int& b_pdgId);
81 TLorentzVector& t_afterFSR_p4, TLorentzVector& Ph_p4, TLorentzVector& W_p4, TLorentzVector& b_p4,
82 TLorentzVector& Wdecay1_p4,
int& Wdecay1_pdgId, TLorentzVector& Wdecay2_p4,
int& Wdecay2_pdgId,
83 bool& has_ph,
int& BranchType,
int& IniPartonType,
bool& missingTop);
CalcTopPartonHistory(CalcTopPartonHistory &&rhs)=delete
StatusCode buildContainerFromMultipleCollections(const std::vector< std::string > &collections, const std::string &out_contName)
used to build container from multiple collections in DAOD_PHYS we don't have the TruthParticles colle...
bool topPhWb(const xAOD::TruthParticleContainer *truthParticles, int topId, TLorentzVector &t_beforeFSR_p4, TLorentzVector &t_afterFSR_p4, TLorentzVector &Ph_p4, TLorentzVector &W_p4, TLorentzVector &b_p4, TLorentzVector &Wdecay1_p4, int &Wdecay1_pdgId, TLorentzVector &Wdecay2_p4, int &Wdecay2_pdgId, bool &has_ph, int &BranchType, int &IniPartonType, bool &missingTop)
Store the four-momentum of photon coming from virtual top in ttgamma events.
TopConfig A simple configuration that is NOT a singleton.
StatusCode linkBosonCollections()
currently in DAOD_PHYS TruthTop have links to Ws from the TruthBoson collection, which have no link t...
const xAOD::TruthParticle * getTruthParticleLinkedFromDecoration(const xAOD::TruthParticle *part, const std::string &decorationName)
helper method to handle retriveing the truth particle linked in the decoration of another particle
bool Wt_b(const xAOD::TruthParticleContainer *truthParticles, TLorentzVector &b_beforeFSR, TLorentzVector &b_afterFSR, int &b_pdgId)
Store the four-momentum of b quark that is NOT from top in Wt(b) ST events.
std::shared_ptr< top::TopConfig > m_config
bool Wt_W(const xAOD::TruthParticleContainer *truthParticles, TLorentzVector &W_p4, int &W_pdgId, TLorentzVector &Wdecay1_p4, int &Wdecay1_pdgId, TLorentzVector &Wdecay2_p4, int &Wdecay2_pdgId)
Store the four-momentum of several particles in W decay chain for W that is NOT from top in Wt ST eve...
bool b(const xAOD::TruthParticleContainer *truthParticles, TLorentzVector &b_beforeFSR, TLorentzVector &b_afterFSR)
Store the four-momentum of b (not from tops_ before and after FSR.
virtual StatusCode execute()
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
bool topAfterFSR_SC(const xAOD::TruthParticleContainer *truthParticles, int start, TLorentzVector &top_afterFSR_SC_p4)
Store the four-momentum of the post-FSR top or anti-top found using statusCodes This would only work ...
bool topWq(const xAOD::TruthParticleContainer *truthParticles, int start, TLorentzVector &t_beforeFSR_p4, TLorentzVector &t_afterFSR_p4, TLorentzVector &W_p4, TLorentzVector &q_p4, int &q_pdgId, TLorentzVector &Wdecay1_p4, int &Wdecay1_pdgId, TLorentzVector &Wdecay2_p4, int &Wdecay2_pdgId)
virtual ~CalcTopPartonHistory()
bool Wlv(const xAOD::TruthParticleContainer *truthParticles, TLorentzVector &W_p4, TLorentzVector &Wdecay1_p4, int &Wdecay1_pdgId, TLorentzVector &Wdecay2_p4, int &Wdecay2_pdgId)
Store the four-momentum of several particles in the W decay chain.
An STL vector of pointers that by default owns its pointed-to elements.
CalcTopPartonHistory(const std::string &name)
CalcTopPartonHistory(const CalcTopPartonHistory &rhs)=delete
StatusCode decorateCollectionWithLinksToAnotherCollection(const std::string &collectionToDecorate, const std::string &collectionToLink, const std::string &nameOfDecoration)
helper method currently used in DAOD_PHYS to link particles from a given collection to the same parti...
bool topWb(const xAOD::TruthParticleContainer *truthParticles, int start, TLorentzVector &t_beforeFSR_p4, TLorentzVector &t_afterFSR_p4, TLorentzVector &W_p4, TLorentzVector &b_p4, TLorentzVector &Wdecay1_p4, int &Wdecay1_pdgId, TLorentzVector &Wdecay2_p4, int &Wdecay2_pdgId)
Store the four-momentum of several particles in the top decay chain.
void fillEtaBranch(xAOD::PartonHistory *partonHistory, std::string branchName, TLorentzVector &tlv)
CalcTopPartonHistory & operator=(const CalcTopPartonHistory &rhs)=delete
Base class for elements of a container that can have aux data.