ATLAS Offline Software
InDetCosmicsEventPhase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include "GaudiKernel/ToolHandle.h"
7 #include "GaudiKernel/ServiceHandle.h"
14 #include <string>
15 
17 //class TrackCollection;
18 class ITRT_CalDbTool ;
19 
20 namespace InDet
21 {
22  class IInDetCosmicsEventPhaseTool;
23 }
24 
25 namespace InDet
26 {
28  {
29  public:
30  InDetCosmicsEventPhase (const std::string& name, ISvcLocator* pSvcLocator);
35 
36  private:
37  double m_phase = 0.0;
38 
39  SG::ReadHandleKeyArray<TrackCollection> m_readKey_tracks {this, "InputTracksNames" ,{"Tracks"}, "Tracks to extract event phase" };
40  SG::WriteHandleKey<ComTime> m_writeKey_TRTPhase {this, "EventPhaseName" ,"TRT_Phase", "TRT Event Phase name to store" };
41 
42  ToolHandle<ITRT_CalDbTool> m_caldbtool ;
43  ToolHandle<Trk::ITrackSummaryTool> m_trackSumTool; //<! Track summary tool
44  ToolHandle<InDet::IInDetCosmicsEventPhaseTool> m_eventPhaseTool; //<! Cosmics Event Phase tool
45  };
46 }
ReadHandleKeyArray.h
IInDetCosmicsEventPhaseTool.h
ITrackSummaryTool.h
ComTime.h
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::InDetCosmicsEventPhase::initialize
StatusCode initialize()
Definition: InDetCosmicsEventPhase.cxx:37
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
InDet::InDetCosmicsEventPhase::InDetCosmicsEventPhase
InDetCosmicsEventPhase(const std::string &name, ISvcLocator *pSvcLocator)
Definition: InDetCosmicsEventPhase.cxx:28
InDet::InDetCosmicsEventPhase::m_eventPhaseTool
ToolHandle< InDet::IInDetCosmicsEventPhaseTool > m_eventPhaseTool
Definition: InDetCosmicsEventPhase.h:44
InDet::InDetCosmicsEventPhase::m_readKey_tracks
SG::ReadHandleKeyArray< TrackCollection > m_readKey_tracks
Definition: InDetCosmicsEventPhase.h:39
AthAlgorithm.h
SG::WriteHandleKey< ComTime >
InDet::InDetCosmicsEventPhase::m_writeKey_TRTPhase
SG::WriteHandleKey< ComTime > m_writeKey_TRTPhase
Definition: InDetCosmicsEventPhase.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
InDet::InDetCosmicsEventPhase::m_caldbtool
ToolHandle< ITRT_CalDbTool > m_caldbtool
TRT Calibration DB tool.
Definition: InDetCosmicsEventPhase.h:42
ITRT_CalDbTool
Definition: ITRT_CalDbTool.h:30
AthAlgorithm
Definition: AthAlgorithm.h:47
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
InDet::InDetCosmicsEventPhase::execute
StatusCode execute()
Definition: InDetCosmicsEventPhase.cxx:56
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
InDet::InDetCosmicsEventPhase
Definition: InDetCosmicsEventPhase.h:28
InDet::InDetCosmicsEventPhase::m_phase
double m_phase
Definition: InDetCosmicsEventPhase.h:37
InDet::InDetCosmicsEventPhase::finalize
StatusCode finalize()
Definition: InDetCosmicsEventPhase.cxx:128
InDet::InDetCosmicsEventPhase::m_trackSumTool
ToolHandle< Trk::ITrackSummaryTool > m_trackSumTool
Definition: InDetCosmicsEventPhase.h:43
InDet::InDetCosmicsEventPhase::storePhase
StatusCode storePhase()
Definition: InDetCosmicsEventPhase.cxx:133