CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
EventIncident.h
Go to the documentation of this file.
1#ifndef EVENTINFO_EVENTINCIDENT_H
2# define EVENTINFO_EVENTINCIDENT_H 1
3
4
5//<<<<<< INCLUDES >>>>>>
6#include <string>
7#ifndef GAUDIKERNEL_INCIDENT_H
8# include "GaudiKernel/Incident.h"
9#endif
10
11//<<<<<< FORWARD DECLS >>>>>>
12
13class EventInfo;
14
15//<<<<<< CLASS DECLARATIONS >>>>>>
16
17/** @class EventIncident
18 * @brief an incident that carries the EventInfo object
19 * @author [email protected] - ATLAS Collaboration
20 * $Id: EventIncident.h,v 1.1.1.1 2007/04/25 11:46:57 zoujh Exp $
21 **/
22
23class EventIncident : public Incident {
24public:
25
26 /// \name structors
27 //@{
28 /// standard constructor
29 ///@param event the EventInfo of the event in question
30 ///@param source the name of the service/algorithm firing
31 ///@param type e.g. "BeginEvent"
32 EventIncident(const EventInfo& event,
33 const std::string& source,
34 const std::string& type=std::string("BeginEvent"));
36 virtual ~EventIncident();
37 //@}
38
39 /// \name Event information accessors
40 //@{
41 ///the unique identification of the event.
42 const EventInfo& eventInfo () const;
43 //@}
44
45private:
46 const EventInfo& m_eventInfo;
47};
48
49
50//<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
51//<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
52inline const EventInfo&
54{
55 return m_eventInfo;
56}
57#endif // EVENTINFO_EVENTINCIDENT_H
58
59
an incident that carries the EventInfo object
virtual ~EventIncident()
const EventInfo & eventInfo() const
the unique identification of the event.
EventIncident(const EventInfo &event, const std::string &source, const std::string &type=std::string("BeginEvent"))
This class provides general information about an event. It extends EventInfo with a list of sub-evts ...
Definition EventInfo.h:34