ATLAS Offline Software
Loading...
Searching...
No Matches
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
21namespace Trk {
22 class Layer;
23 class RIO_OnTrack;
24}
25
26namespace ISF {
27 class ISFParticle;
28}
29
30typedef std::pair< const Trk::TrackParameters*, const Trk::RIO_OnTrack* > ParametersROT;
31typedef std::pair< const Trk::TrackParameters*, const Trk::Layer* > ParametersLayer;
32
33namespace iFatras {
34
44
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
std::pair< const Trk::TrackParameters *, const Trk::RIO_OnTrack * > ParametersROT
Definition IHitCreator.h:30
std::pair< const Trk::TrackParameters *, const Trk::Layer * > ParametersLayer
Definition IHitCreator.h:31
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
The generic ISF particle definition,.
Definition ISFParticle.h:42
Base Class for a Detector Layer in the Tracking realm.
Definition Layer.h:72
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Definition RIO_OnTrack.h:70
Interface definition for Sim Hit creation in Fatras, starting from intersection on an active surface.
Definition IHitCreator.h:45
DeclareInterfaceID(IHitCreator, 1, 0)
Creates the InterfaceID and interfaceID() method.
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.
virtual ~IHitCreator()
Virtual destructor.
Definition IHitCreator.h:49
virtual void createSimHit(const ISF::ISFParticle &isp, const Trk::TrackParameters &, double time) const =0
Return nothing - store the HIT in hit collection.
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.
ISFParticleOrderedQueue.
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersBase< TrackParametersDim, Charged > TrackParameters