ATLAS Offline Software
FPGATrackSimTrackingToolBase.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 #ifndef FPGATRACKSIMTRACKINGTOOLBASE_H
4 #define FPGATRACKSIMTRACKINGTOOLBASE_H
5 
6 #include "GaudiKernel/ServiceHandle.h"
8 
10 
17 
19 
20 
21 class FPGATrackSimTrackingToolBase : public extends<AthAlgTool, IFPGATrackSimTrackingTool> {
22 public:
23  FPGATrackSimTrackingToolBase(const std::string& type, const std::string& name, const IInterface* parent);
24 
25  StatusCode setRoadSectors(std::vector<std::shared_ptr<const FPGATrackSimRoad>> & roads);
27 
28 protected:
29  ServiceHandle<IFPGATrackSimMappingSvc> m_FPGATrackSimMapping{ this,"FPGATrackSimMappingSvc","FPGATrackSimMappingSvc" };
30  ServiceHandle<IFPGATrackSimBankSvc> m_FPGATrackSimBank{ this,"FPGATrackSimBankSvc","FPGATrackSimBankSvc" };
31 
32  ToolHandle<IFPGATrackSimRoadFilterTool> m_spRoadFilterTool {this, "SPRoadFilterTool", "FPGATrackSimSpacepointRoadFilterTool", "Spacepoint Road Filter Tool"};
33 
34  Gaudi::Property<bool> m_doRegionalMapping{ this, "RegionalMapping", false, "Use the sub-region maps to define the sector" };
35  Gaudi::Property<bool> m_doEtaPatternConsts{ this, "doEtaPatternConsts", false, "Whether to use the eta pattern tool for constant generation" };
36  Gaudi::Property<bool> m_useSpacePoints{ this, "useSpacePoints", false, "Whether we are using spacepoints." };
37  Gaudi::Property<bool> m_useSectors { this, "useSectors", false, "Will reverse calculate the sector for track-fitting purposes" };
38  Gaudi::Property<bool> m_idealGeoRoads { this, "IdealGeoRoads", true, "Set sectors to use ideal geometry fit constants" };
39  Gaudi::Property<bool> m_isSecondStage { this, "IdealGeoRoads", true, "Set sectors to use ideal geometry fit constants" };
40  Gaudi::Property <bool> m_do2ndStage {this, "Do2ndStageTrackFit", false, "Do 2nd stage track fit"};
41 };
42 
43 #endif // FPGATRACKSIMTRACKINGTOOLBASE_H
beamspotman.r
def r
Definition: beamspotman.py:676
FPGATrackSimTrackingToolBase::m_FPGATrackSimBank
ServiceHandle< IFPGATrackSimBankSvc > m_FPGATrackSimBank
Definition: FPGATrackSimTrackingToolBase.h:30
FPGATrackSimPlaneMap.h
Maps physical layers to logical layers.
FPGATrackSimTrackingToolBase::m_doRegionalMapping
Gaudi::Property< bool > m_doRegionalMapping
Definition: FPGATrackSimTrackingToolBase.h:34
IFPGATrackSimMappingSvc.h
IFPGATrackSimTrackingTool.h
FPGATrackSimTrackingToolBase::FPGATrackSimTrackingToolBase
FPGATrackSimTrackingToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition: FPGATrackSimTrackingToolBase.cxx:6
FPGATrackSimConstants.h
FPGATrackSimTrackingToolBase
Definition: FPGATrackSimTrackingToolBase.h:21
FPGATrackSimTrackingToolBase::m_isSecondStage
Gaudi::Property< bool > m_isSecondStage
Definition: FPGATrackSimTrackingToolBase.h:39
FPGATrackSimTrackingToolBase::matchIdealGeoSector
void matchIdealGeoSector(FPGATrackSimRoad &r)
Definition: FPGATrackSimTrackingToolBase.cxx:36
FPGATrackSimTrackingToolBase::setRoadSectors
StatusCode setRoadSectors(std::vector< std::shared_ptr< const FPGATrackSimRoad >> &roads)
Definition: FPGATrackSimTrackingToolBase.cxx:11
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FPGATrackSimTrackingToolBase::m_FPGATrackSimMapping
ServiceHandle< IFPGATrackSimMappingSvc > m_FPGATrackSimMapping
Definition: FPGATrackSimTrackingToolBase.h:29
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
FPGATrackSimTrackingToolBase::m_useSpacePoints
Gaudi::Property< bool > m_useSpacePoints
Definition: FPGATrackSimTrackingToolBase.h:36
FPGATrackSimTrackingToolBase::m_idealGeoRoads
Gaudi::Property< bool > m_idealGeoRoads
Definition: FPGATrackSimTrackingToolBase.h:38
IFPGATrackSimRoadFilterTool.h
Interface declaration for road filter tools.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
FPGATrackSimTrackingToolBase::m_useSectors
Gaudi::Property< bool > m_useSectors
Definition: FPGATrackSimTrackingToolBase.h:37
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
IFPGATrackSimBankSvc.h
FPGATrackSimTrackingToolBase::m_doEtaPatternConsts
Gaudi::Property< bool > m_doEtaPatternConsts
Definition: FPGATrackSimTrackingToolBase.h:35
FPGATrackSimRoad.h
Defines a class for roads.
FPGATrackSimTrackingToolBase::m_do2ndStage
Gaudi::Property< bool > m_do2ndStage
Definition: FPGATrackSimTrackingToolBase.h:40
FPGATrackSimTrackingToolBase::m_spRoadFilterTool
ToolHandle< IFPGATrackSimRoadFilterTool > m_spRoadFilterTool
Definition: FPGATrackSimTrackingToolBase.h:32
FPGATrackSimSectorBank.h
This file declares a class that stores the module IDs of the sectors.
FPGATrackSimRoad
Definition: FPGATrackSimRoad.h:30
ServiceHandle< IFPGATrackSimMappingSvc >