17#include "GaudiKernel/ITHistSvc.h"
21#include "EventInfo/EventInfo.h"
45 declareInterface<IEventPropertyNtupleTool>(
this);
56 return AthAlgTool::initialize();
62 return StatusCode::SUCCESS;
67 if (!
tree)
return StatusCode::FAILURE;
82 return StatusCode::SUCCESS;
87 if ((
evtStore()->retrieve(eventInfo)).isFailure()) {
88 msg(MSG::WARNING) <<
"Could not retrieve event info" <<
endmsg;
94 return StatusCode::SUCCESS;
101 m_bCID = myEventID->bunch_crossing_id() ;
105 const ComTime* comtime=
nullptr;
109 if (
sc.isFailure() || !comtime) {
116 return StatusCode::FAILURE;
122 if (myTriggerInfo!=
nullptr) {
125 if (l1trigger.size() == 24) {
127 for (
int i=0; i<8; ++i) {
134 return StatusCode::SUCCESS;
150 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
This class contains trigger related information.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
EventID * event_ID()
the unique identification of the event.
TriggerInfo * trigger_info()
trigger information (ptr may be NULL)
This class contains trigger related information.
number_type level1TriggerType() const
get level1 trigger type
const std::vector< number_type > & level1TriggerInfo() const
get level1 trigger info
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring