![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
19 return StatusCode::SUCCESS;
24 if (!truthJets.isValid()) {
26 return StatusCode::FAILURE;
35 for (
const xAOD::Jet *truthJet : *truthJets) {
36 float dr =
jet->p4().DeltaR(truthJet->p4());
45 (*m_decIsHS)(*jet) = isHS;
47 (*m_decIsPU)(*jet) = isPU;
50 return StatusCode::SUCCESS;
Gaudi::Property< float > m_hsMinPt
Gaudi::Property< float > m_puMinPt
Gaudi::Property< std::string > m_isPU
::StatusCode retrieve(const T *&object, const CP::SystematicSet &sys) const
retrieve the object for the given name
const std::vector< CP::SystematicSet > & systematicsVector() const
the list of systematics to loop over
std::optional< SG::AuxElement::Decorator< char > > m_decIsPU
Select isolated Photons, Electrons and Muons.
virtual StatusCode execute() override
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
StatusCode initialize(SysListHandle &sysListHandle)
initialize this handle
SysListHandle m_systematicsList
::StatusCode initialize()
intialize this property
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_isHS
SysReadHandle< xAOD::JetContainer > m_jets
std::optional< SG::AuxElement::Decorator< char > > m_decIsHS
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::JetContainer > m_truthJets