ATLAS Offline Software
Loading...
Searching...
No Matches
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;
18class ITRT_CalDbTool ;
19
20namespace InDet
21{
23}
24
25namespace InDet
26{
28 {
29 public:
30 InDetCosmicsEventPhase (const std::string& name, ISvcLocator* pSvcLocator);
31 StatusCode initialize();
32 StatusCode execute();
33 StatusCode finalize();
34 StatusCode storePhase();
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}
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
abstract interface to TRT calibration constants
InDetCosmicsEventPhase(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< InDet::IInDetCosmicsEventPhaseTool > m_eventPhaseTool
ToolHandle< Trk::ITrackSummaryTool > m_trackSumTool
SG::WriteHandleKey< ComTime > m_writeKey_TRTPhase
ToolHandle< ITRT_CalDbTool > m_caldbtool
TRT Calibration DB tool.
SG::ReadHandleKeyArray< TrackCollection > m_readKey_tracks
Property holding a SG store/key/clid from which a WriteHandle is made.
Primary Vertex Finder.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray