#include <FPGATrackSimTrackingToolBase.h>
|
ServiceHandle< IFPGATrackSimMappingSvc > | m_FPGATrackSimMapping { this,"FPGATrackSimMappingSvc","FPGATrackSimMappingSvc" } |
|
ServiceHandle< IFPGATrackSimBankSvc > | m_FPGATrackSimBank { this,"FPGATrackSimBankSvc","FPGATrackSimBankSvc" } |
|
ToolHandle< IFPGATrackSimRoadFilterTool > | m_spRoadFilterTool {this, "SPRoadFilterTool", "FPGATrackSimSpacepointRoadFilterTool", "Spacepoint Road Filter Tool"} |
|
Gaudi::Property< bool > | m_doRegionalMapping { this, "RegionalMapping", false, "Use the sub-region maps to define the sector" } |
|
Gaudi::Property< bool > | m_doEtaPatternConsts { this, "doEtaPatternConsts", false, "Whether to use the eta pattern tool for constant generation" } |
|
Gaudi::Property< bool > | m_useSpacePoints { this, "useSpacePoints", false, "Whether we are using spacepoints." } |
|
Gaudi::Property< bool > | m_useSectors { this, "useSectors", false, "Will reverse calculate the sector for track-fitting purposes" } |
|
Gaudi::Property< bool > | m_idealGeoRoads { this, "IdealGeoRoads", true, "Set sectors to use ideal geometry fit constants" } |
|
Gaudi::Property< bool > | m_isSecondStage { this, "IdealGeoRoads", true, "Set sectors to use ideal geometry fit constants" } |
|
Gaudi::Property< bool > | m_do2ndStage {this, "Do2ndStageTrackFit", false, "Do 2nd stage track fit"} |
|
◆ FPGATrackSimTrackingToolBase()
FPGATrackSimTrackingToolBase::FPGATrackSimTrackingToolBase |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ matchIdealGeoSector()
Definition at line 36 of file FPGATrackSimTrackingToolBase.cxx.
46 double qoverpt =
r.getY()*0.001;
48 qoverpt = std::abs(qoverpt);
52 const std::vector<double> &qoverpt_bins = sectorbank->
getQOverPtBins();
53 auto bounds = std::equal_range(qoverpt_bins.begin(), qoverpt_bins.end(), qoverpt);
57 sectorbin = std::clamp(sectorbin, 0, 10 *
static_cast<int>(qoverpt_bins.size() - 2));
60 int subregion =
r.getSubRegion();
64 std::vector<module_t> modules(
r.getNLayers(), -1);
66 for (
unsigned int il = 0;
il <
r.getNLayers();
il++) {
67 if (
r.getNHits_layer()[
il] == 0) {
70 wc_layers |= (0x1 <<
il);
72 std::unique_ptr<FPGATrackSimHit> wcHit = std::make_unique<FPGATrackSimHit>();
82 r.setHits(
il,{std::move(wcHit)});
85 modules[
il]= sectorbin;
88 r.setWCLayers(wc_layers);
99 r.setSectorBin(sectorbin);
◆ setRoadSectors()
StatusCode FPGATrackSimTrackingToolBase::setRoadSectors |
( |
std::vector< std::shared_ptr< const FPGATrackSimRoad >> & |
roads | ) |
|
Definition at line 11 of file FPGATrackSimTrackingToolBase.cxx.
13 for (
auto& road: roads)
15 std::shared_ptr<FPGATrackSimRoad> nonConstRoad = std::const_pointer_cast<FPGATrackSimRoad>(road);
27 std::vector<std::shared_ptr<const FPGATrackSimRoad>> postfilter_roads;
29 roads = std::move(postfilter_roads);
31 return StatusCode::SUCCESS;
◆ m_do2ndStage
Gaudi::Property<bool> FPGATrackSimTrackingToolBase::m_do2ndStage {this, "Do2ndStageTrackFit", false, "Do 2nd stage track fit"} |
|
protected |
◆ m_doEtaPatternConsts
Gaudi::Property<bool> FPGATrackSimTrackingToolBase::m_doEtaPatternConsts { this, "doEtaPatternConsts", false, "Whether to use the eta pattern tool for constant generation" } |
|
protected |
◆ m_doRegionalMapping
Gaudi::Property<bool> FPGATrackSimTrackingToolBase::m_doRegionalMapping { this, "RegionalMapping", false, "Use the sub-region maps to define the sector" } |
|
protected |
◆ m_FPGATrackSimBank
◆ m_FPGATrackSimMapping
◆ m_idealGeoRoads
Gaudi::Property<bool> FPGATrackSimTrackingToolBase::m_idealGeoRoads { this, "IdealGeoRoads", true, "Set sectors to use ideal geometry fit constants" } |
|
protected |
◆ m_isSecondStage
Gaudi::Property<bool> FPGATrackSimTrackingToolBase::m_isSecondStage { this, "IdealGeoRoads", true, "Set sectors to use ideal geometry fit constants" } |
|
protected |
◆ m_spRoadFilterTool
◆ m_useSectors
Gaudi::Property<bool> FPGATrackSimTrackingToolBase::m_useSectors { this, "useSectors", false, "Will reverse calculate the sector for track-fitting purposes" } |
|
protected |
◆ m_useSpacePoints
Gaudi::Property<bool> FPGATrackSimTrackingToolBase::m_useSpacePoints { this, "useSpacePoints", false, "Whether we are using spacepoints." } |
|
protected |
The documentation for this class was generated from the following files: