00001
00002
00003
00004 #ifndef XAOD_ANALYSIS
00005
00006 #ifndef TrigDecisionTool_DecisionObjectHandleEventInfo_h
00007 #define TrigDecisionTool_DecisionObjectHandleEventInfo_h
00008
00009 #include <string>
00010 #include "AsgTools/AsgToolsConf.h"
00011 #include "StoreGate/DataHandle.h"
00012
00013 #include "TrigDecisionTool/EventPtrDef.h"
00014 #include "TrigDecisionTool/Logger.h"
00015 #include "TrigDecisionTool/DecisionObjectHandle.h"
00016 #include "EventInfo/EventInfo.h"
00017 #include "AsgTools/AsgMessaging.h"
00018
00019 class TriggerInfo;
00020 class EventInfo;
00021 class StoreGateSvc;
00022
00023 namespace Trig {
00027 class DecisionObjectHandleEventInfo : public DecisionObjectHandle<TriggerInfo,void>,
00028 public DataHandle<EventInfo>
00029 {
00030 public:
00031 DecisionObjectHandleEventInfo( EventPtr_t sg, const std::string& key );
00032 using DataHandle<EventInfo>::reset;
00033 virtual void reset();
00034 virtual TriggerInfo const * getDecision() const;
00035 virtual void const * getNavigation() const;
00036 private:
00037 StoreGateSvc* m_sg;
00038 const std::string m_key;
00039 mutable EventInfo const * m_object;
00040 };
00041 }
00042
00043 #endif // TrigDecisionTool_DecisionObjectHandleEventInfo_h
00044
00045 #endif //ifndef XAOD_ANALYSIS