ATLAS Offline Software
ITRT_DetElementsRoadMaker.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 // Header file for class ITRT_DetElementsRoadMaker
8 // (c) ATLAS Detector software
10 // Base class for detector elements road builder in TRT
11 // All detector elements should be destributed in propagation order.
13 // Version 1.0 11/08/2005 I.Gavrilenko
15 
16 #ifndef ITRT_DetElementsRoadMaker_H
17 #define ITRT_DetElementsRoadMaker_H
18 
19 #include <list>
20 #include "GaudiKernel/AlgTool.h"
21 #include "GaudiKernel/EventContext.h"
25 
26 class MsgStream;
27 
28 namespace MagField {
29  class AtlasFieldCache;
30 }
31 
32 namespace InDetDD {
33  class TRT_BaseElement;
34 }
35 
36 namespace InDet {
37 
38 
39  static const InterfaceID IID_ITRT_DetElementsRoadMaker
40  ("InDet::ITRT_DetElementsRoadMaker",1,0);
41 
42  class ITRT_DetElementsRoadMaker : virtual public IAlgTool
43  {
45  // Public methods:
47 
48  public:
49 
51  // Standard tool methods
53 
54  static const InterfaceID& interfaceID();
55  virtual StatusCode initialize ()=0;
56  virtual StatusCode finalize ()=0;
57 
59  // Main methods for road builder
61 
62  virtual std::vector<const InDetDD::TRT_BaseElement*>
63  detElementsRoad(const EventContext& ctx,
64  MagField::AtlasFieldCache& fieldCache,
67 
69  // Print internal tool parameters and status
71 
72  virtual MsgStream& dump(MsgStream& out) const=0;
73  virtual std::ostream& dump(std::ostream& out) const=0;
74 
75  };
76 
78  // Overload of << operator for MsgStream and std::ostream
80 
81  MsgStream& operator << (MsgStream& ,const ITRT_DetElementsRoadMaker&);
82  std::ostream& operator << (std::ostream&,const ITRT_DetElementsRoadMaker&);
83 
85  // Inline methods
87 
88  inline const InterfaceID& ITRT_DetElementsRoadMaker::interfaceID()
89  {
90  return IID_ITRT_DetElementsRoadMaker;
91  }
92 
94  // Overload of << operator MsgStream
96 
97  inline MsgStream& operator <<
98  (MsgStream& sl,const ITRT_DetElementsRoadMaker& se)
99  {
100  return se.dump(sl);
101  }
103  // Overload of << operator std::ostream
105 
106  inline std::ostream& operator <<
107  (std::ostream& sl,const ITRT_DetElementsRoadMaker& se)
108  {
109  return se.dump(sl);
110  }
111 
112 } // end of name space
113 
114 
115 #endif // ITRT_DetElementsRoadMaker_H
116 
used
InDet::ITRT_DetElementsRoadMaker::dump
virtual MsgStream & dump(MsgStream &out) const =0
InDet::operator<<
MsgStream & operator<<(MsgStream &, const GNNTrackReaderTool &)
TrackParameters.h
InDet::ITRT_DetElementsRoadMaker::finalize
virtual StatusCode finalize()=0
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::ITRT_DetElementsRoadMaker::detElementsRoad
virtual std::vector< const InDetDD::TRT_BaseElement * > detElementsRoad(const EventContext &ctx, MagField::AtlasFieldCache &fieldCache, const Trk::TrackParameters &Tp, Trk::PropDirection D, InDet::TRT_DetElementLink_xk::TRT_DetElemUsedMap &used) const =0
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
PropDirection.h
InDet::ITRT_DetElementsRoadMaker::dump
virtual std::ostream & dump(std::ostream &out) const =0
keylayer_zslicemap.se
se
Definition: keylayer_zslicemap.py:194
InDet::ITRT_DetElementsRoadMaker::initialize
virtual StatusCode initialize()=0
InDet::ITRT_DetElementsRoadMaker
Definition: ITRT_DetElementsRoadMaker.h:43
Trk::PropDirection
PropDirection
Definition: PropDirection.h:19
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::ParametersBase
Definition: ParametersBase.h:55
InDet::ITRT_DetElementsRoadMaker::interfaceID
static const InterfaceID & interfaceID()
Definition: ITRT_DetElementsRoadMaker.h:88
MagField
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Definition: ForwardRegionFieldSvc.h:27
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
MagField::AtlasFieldCache
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Definition: AtlasFieldCache.h:43