ATLAS Offline Software
IHitCreator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IHitCreator.h, (c) ATLAS Detector software
8 
9 #ifndef ISF_FATRASINTERFACES_IHITCREATOR_H
10 #define ISF_FATRASINTERFACES_IHITCREATOR_H
11 
12 // Gaudi
13 #include "GaudiKernel/IAlgTool.h"
15 
16 // Trk
18 #include <utility>
19 
20 
21 namespace Trk {
22  class Layer;
23  class RIO_OnTrack;
24 }
25 
26 namespace ISF {
27  class ISFParticle;
28 }
29 
30 typedef std::pair< const Trk::TrackParameters*, const Trk::RIO_OnTrack* > ParametersROT;
31 typedef std::pair< const Trk::TrackParameters*, const Trk::Layer* > ParametersLayer;
32 
33 namespace iFatras {
34 
45  class ATLAS_NOT_THREAD_SAFE IHitCreator : virtual public IAlgTool { // deprecated: ATLASSIM-6020
46  public:
47 
49  virtual ~IHitCreator(){}
50 
53 
55  virtual void createSimHit(const ISF::ISFParticle& isp, const Trk::TrackParameters&, double time ) const = 0;
56 
58  virtual const ParametersROT* createHit(const ISF::ISFParticle& isp, const Trk::TrackParameters& tpars ) const = 0;
59 
61  virtual const std::vector< ParametersROT >* createHits(const ISF::ISFParticle& isp, const ParametersLayer& tparsLayer ) const = 0;
62 
63  };
64 
65 } // end of namespace
66 
67 #endif
68 
TrackParameters.h
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
ISF::ISFParticle
Definition: ISFParticle.h:42
python.RingerConstants.Layer
Layer
Definition: RingerConstants.py:42
ParametersLayer
std::pair< const Trk::TrackParameters *, const Trk::Layer * > ParametersLayer
Definition: IHitCreator.h:31
iFatras
Definition: ActsFatrasSimTool.h:55
iFatras::IHitCreator::createHit
virtual const ParametersROT * createHit(const ISF::ISFParticle &isp, const Trk::TrackParameters &tpars) const =0
Return the cluster on Track – the PrepRawData is contained in this one.
iFatras::IHitCreator
Definition: IHitCreator.h:45
iFatras::IHitCreator::DeclareInterfaceID
DeclareInterfaceID(IHitCreator, 1, 0)
Creates the InterfaceID and interfaceID() method.
Trk::ParametersBase
Definition: ParametersBase.h:55
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::MeasurementBaseType::RIO_OnTrack
@ RIO_OnTrack
Definition: MeasurementBase.h:49
ParametersROT
std::pair< const Trk::TrackParameters *, const Trk::RIO_OnTrack * > ParametersROT
Definition: IHitCreator.h:30
ISF
ISFParticleOrderedQueue.
Definition: PrimaryParticleInformation.h:13
iFatras::IHitCreator::createHits
virtual const std::vector< ParametersROT > * createHits(const ISF::ISFParticle &isp, const ParametersLayer &tparsLayer) const =0
Return the cluster on Track – the PrepRawData is contained in this one.
checker_macros.h
Define macros for attributes used to control the static checker.
iFatras::IHitCreator::createSimHit
virtual void createSimHit(const ISF::ISFParticle &isp, const Trk::TrackParameters &, double time) const =0
Return nothing - store the HIT in hit collection.
iFatras::IHitCreator::~IHitCreator
virtual ~IHitCreator()
Virtual destructor.
Definition: IHitCreator.h:49