ATLAS Offline Software
IInDetCosmicsEventPhaseTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IInDetCosmicsEventPhaseTool.h, (c) ATLAS Detector software
8 #ifndef IINDETINDETCOSMICSEVENTPHASETOOL_H
9 #define IINDETINDETCOSMICSEVENTPHASETOOL_H
10 
11 #include "GaudiKernel/IAlgTool.h"
12 
13 #include "TrkTrack/Track.h"
15 
16 namespace InDet
17 {
18 
19 
20  static const InterfaceID IID_IInDetCosmicsEventPhaseTool("InDet::IInDetCosmicsEventPhaseTool", 1, 0);
21 
22  class IInDetCosmicsEventPhaseTool : virtual public IAlgTool {
23  public:
24  static const InterfaceID& interfaceID( ) ;
25 
27  virtual double findPhase(const Trk::Track *track) const =0;
28 
30  virtual double findPhase(const Trk::Segment *segment) const =0;
31 
33  virtual double findPhaseFromTE(const Trk::Track *track) const =0;
34 
35  };
36 
38  {
39  return IID_IInDetCosmicsEventPhaseTool;
40  }
41 
42 } // end of namespace
43 
44 #endif
InDet::IInDetCosmicsEventPhaseTool::findPhase
virtual double findPhase(const Trk::Track *track) const =0
finds event phase of a track from the leading edge
Trk::Track
The ATLAS Track class.
Definition: Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::IInDetCosmicsEventPhaseTool::interfaceID
static const InterfaceID & interfaceID()
Definition: IInDetCosmicsEventPhaseTool.h:37
InDet::IInDetCosmicsEventPhaseTool::findPhaseFromTE
virtual double findPhaseFromTE(const Trk::Track *track) const =0
finds event phase of a track from the trailing edge
TrackSegment.h
Track.h
Trk::Segment
Definition: Tracking/TrkEvent/TrkSegment/TrkSegment/Segment.h:56
InDet::IInDetCosmicsEventPhaseTool::findPhase
virtual double findPhase(const Trk::Segment *segment) const =0
finds event phase of a segment from the leading edge
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
InDet::IInDetCosmicsEventPhaseTool
Definition: IInDetCosmicsEventPhaseTool.h:22
NSWL1::PadTriggerAdapter::segment
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
Definition: PadTriggerAdapter.cxx:5