3#ifndef FPGATrackSimMatrixReductionAlgo_h
4#define FPGATrackSimMatrixReductionAlgo_h
24#include "GaudiKernel/ITHistSvc.h"
58 Gaudi::Property<bool>
m_allregion {
this,
"allregion",
false,
"Run all regions?"};
59 Gaudi::Property<std::string>
m_filePath {
this,
"LayerChange_path",
"default filepath"};
60 Gaudi::Property<int>
m_region {
this,
"region", 0,
"Region to run"};
61 Gaudi::Property<int>
m_nRegions {
this,
"nbank", 96,
"Number of regions and thus banks to create"};
75 std::pair<std::vector<size_t>, std::vector<size_t>>
matchStages();
78 std::vector<size_t>
const & layers_1st_to_2nd, std::vector<size_t>
const & coords_1st_to_2nd);
Helper struct for accumulating sector information for matrix generation.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ServiceHandle< ITHistSvc > m_tHistSvc
FPGATrackSimPlaneMap const * m_pmap_2nd
StatusCode finalize() override
StatusCode copySliceTree(TFile *file)
virtual ~FPGATrackSimMatrixReductionAlgo()=default
Gaudi::Property< bool > m_allregion
std::pair< std::vector< module_t >, FPGATrackSimMatrixAccumulator > reduce(std::vector< module_t > const &modules_2nd, FPGATrackSimMatrixAccumulator const &acc_2nd, std::vector< size_t > const &layers_1st_to_2nd, std::vector< size_t > const &coords_1st_to_2nd)
ServiceHandle< IFPGATrackSimMappingSvc > m_FPGATrackSimMapping
Gaudi::Property< std::string > m_filePath
FPGATrackSimMatrixReductionAlgo(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode execute() override
FPGATrackSimPlaneMap const * m_pmap_1st
Gaudi::Property< int > m_region
void extract_1stStage(TFile *file)
std::vector< AccumulateMap > m_sector_cum
Gaudi::Property< int > m_nRegions
std::pair< std::vector< size_t >, std::vector< size_t > > matchStages()
StatusCode initialize() override