|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   21 #ifndef XAOD_STANDALONE 
   31   return StatusCode::SUCCESS;
 
   47   if (!truthHSJetsHandle.
isValid()){
 
   49     return StatusCode::FAILURE;
 
   59       for (
const xAOD::Jet *truthJet : *truthHSJets) {
 
   60           float dr = 
jet->p4().DeltaR(truthJet->p4());
 
   68       isHSJetHandle(*
jet) = isHS;
 
   69       isPUJetHandle(*
jet) = isPU;
 
   72   return StatusCode::SUCCESS;
 
  
const_pointer_type cptr()
Dereference the pointer.
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
const std::string & key() const
Return the StoreGate ID for the referenced object.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.