35 return StatusCode::FAILURE;
43 return StatusCode::SUCCESS;
52 const EventContext& ctx = Gaudi::Hive::currentContext();
57 return StatusCode::SUCCESS;
63 if (TRTOccu.size() > 6) {
66 decEventInfo_occupancy0( *eventInfo ) = TRTOccu.at(0);
69 decEventInfo_occupancy1( *eventInfo ) = TRTOccu.at(1);
72 decEventInfo_occupancy2( *eventInfo ) = TRTOccu.at(2);
75 decEventInfo_occupancy3( *eventInfo ) = TRTOccu.at(3);
78 decEventInfo_occupancy4( *eventInfo ) = TRTOccu.at(4);
81 decEventInfo_occupancy5( *eventInfo ) = TRTOccu.at(5);
84 decEventInfo_occupancy6( *eventInfo ) = TRTOccu.at(6);
87 return StatusCode::SUCCESS;
95 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
Handle class for reading from StoreGate.
Define macros for attributes used to control the static checker.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
SG::Decorator< T, ALLOC > Decorator
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
StatusCode finalize(void)
ToolHandle< InDet::ITRT_LocalOccupancy > m_LocalOccTool
the track selector tool
StatusCode initialize(void)
TRTOccupancyInclude(const std::string &name, ISvcLocator *pSvcLocator)
~TRTOccupancyInclude(void)
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
EventInfo_v1 EventInfo
Definition of the latest event info version.