ATLAS Offline Software
IPRD_Provider.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IPRD_Provider.h, (c) ATLAS Detector software
8 
9 #ifndef TRK_TRUTHTRACKINTERFACES_ITTRUTHPRDPROVIDER_H
10 #define TRK_TRUTHTRACKINTERFACES_ITTRUTHPRDPROVIDER_H 1
11 
12 // Gaudi
13 #include "GaudiKernel/IAlgTool.h"
14 
15 class Identifier;
16 class IdentifierHash;
17 
18 namespace Trk {
19 
20  class PrepRawData;
21 
22  static const InterfaceID IID_IPRD_Provider("IPRD_Provider", 1, 0);
23 
33  class IPRD_Provider : virtual public IAlgTool {
34 
35  public:
37  virtual ~IPRD_Provider(){}
38 
40  static const InterfaceID& interfaceID() { return IID_IPRD_Provider; }
41 
43  virtual const Trk::PrepRawData* prdFromIdentifier(const Identifier& ide, size_t& ndof ) const = 0;
44 
45  };
46 
47 } // end of namespace
48 
49 #endif // TRK_TRUTHTRACKINTERFACES_ITTRUTHPRDPROVIDER_H
IDTPM::ndof
float ndof(const U &p)
Definition: TrackParametersHelper.h:134
Trk::IPRD_Provider::interfaceID
static const InterfaceID & interfaceID()
AlgTool interface methods.
Definition: IPRD_Provider.h:40
Trk::IPRD_Provider
Simple interface that takes an identifier and find the associated PRD from an Identifyable container.
Definition: IPRD_Provider.h:33
Trk::PrepRawData
Definition: PrepRawData.h:62
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::IPRD_Provider::prdFromIdentifier
virtual const Trk::PrepRawData * prdFromIdentifier(const Identifier &ide, size_t &ndof) const =0
return the Prd given the Identifier - returns the number of degrees of freedom
Trk::IPRD_Provider::~IPRD_Provider
virtual ~IPRD_Provider()
Virtual destructor.
Definition: IPRD_Provider.h:37
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
Identifier
Definition: IdentifierFieldParser.cxx:14