|
ATLAS Offline Software
|
Go to the documentation of this file.
27 return StatusCode::SUCCESS;
41 if (!truthEventsHandle.
isValid()){
42 ATH_MSG_ERROR(
" Invalid ReadHandle for TruthEvents with key: " << truthEventsHandle.
key());
43 return StatusCode::FAILURE;
69 .tau = jetlabelpartstau,
75 return StatusCode::SUCCESS;
79 std::vector<const TruthParticle*>
81 const xAOD::Jet&
jet,
const std::string& ghostname)
const {
85 std::vector<const xAOD::TruthParticle*> parton_links
88 std::vector<const xAOD::TruthParticle*> selected_partons;
91 selected_partons.push_back(
part);
94 return selected_partons;
StatusCode decorate(const xAOD::JetContainer &jets) const override
Decorate a jet collection without otherwise modifying it.
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
void declareProperties(T &tool, LabelNames *n)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define ATH_MSG_VERBOSE(x)
ParticleJetTools::LabelNames m_labelnames
Name of jet label attributes.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
void childrenRemoved(const std::vector< const xAOD::TruthParticle * > &parents, std::vector< const xAOD::TruthParticle * > &children)
virtual bool isValid() override final
Can the handle be successfully dereferenced?
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truthEventsKey
StatusCode initialize() override
Dummy implementation of the initialisation function.
Eigen::Matrix< double, 3, 1 > Vector3D
virtual const std::string & key() const override final
Return the StoreGate ID for the referenced object.
Amg::Vector3D signalProcessP3(const xAOD::TruthEventContainer &)
void setJetLabels(const xAOD::Jet &jet, const Particles &particles, const LabelNames &names)
std::string m_ghosttauname
std::vector< const xAOD::TruthParticle * > match(const xAOD::Jet &, const std::string &ghostname) const
ParticleJetGhostLabelTool(const std::string &name)
Constructor.
double m_partptmin
Minimum pT for particle selection (in MeV)