Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FPGATrackSimMappingSvc Class Reference

#include <FPGATrackSimMappingSvc.h>

Inheritance diagram for FPGATrackSimMappingSvc:
Collaboration diagram for FPGATrackSimMappingSvc:

Public Member Functions

 FPGATrackSimMappingSvc (const std::string &name, ISvcLocator *svc)
 
virtual ~FPGATrackSimMappingSvc ()=default
 
virtual StatusCode initialize () override
 
virtual const FPGATrackSimPlaneMapPlaneMap_1st (int slice) const override
 
virtual const FPGATrackSimPlaneMapPlaneMap_2nd (int slice) const override
 
virtual const FPGATrackSimRegionMapRegionMap_1st () const override
 
virtual const FPGATrackSimRegionMapRegionMap_2nd () const override
 
virtual const FPGATrackSimRegionMapSubRegionMap () const override
 
virtual const FPGATrackSimRegionMapSubRegionMap_2nd () const override
 
virtual std::string getFakeNNMapString () const override
 
virtual std::string getFakeNNMap2ndString () const override
 
virtual std::string getExtensionNNHitMapString () const override
 
virtual std::string getExtensionNNVolMapString () const override
 
virtual std::string getParamNNMapString () const override
 
virtual std::string getParamNNMap2ndString () const override
 

Private Member Functions

virtual size_t GetPlaneMap_1stSliceSize () const override
 
virtual size_t GetPlaneMap_2ndSliceSize () const override
 
int readPmapSize (std::ifstream &fileIn)
 
int countPmapSize (std::ifstream &fileIn)
 
StatusCode checkInputs ()
 
StatusCode checkAllocs ()
 

Private Attributes

ServiceHandle< IFPGATrackSimEventSelectionSvcm_EvtSel
 
Gaudi::Property< std::string > m_mappingType {this, "mappingType", "FILE", "for now should be FILE only, DB for the future"}
 
Gaudi::Property< std::string > m_rmap_path {this, "rmap", "", "path of the region-map file"}
 
Gaudi::Property< std::string > m_subrmap_path {this, "subrmap", "", "path of the region-map file for subregions"}
 
Gaudi::Property< std::string > m_pmap_path {this, "pmap", "", "path of the PMAP file"}
 
Gaudi::Property< std::string > m_modulelut_path {this, "modulemap", "", "path of the ModuleLUT file"}
 
Gaudi::Property< std::string > m_NNmap_path_fake {this, "FakeNNonnx1st", "", "path of the NN weighting file for 1st stage"}
 
Gaudi::Property< std::string > m_NNmap2nd_path_fake {this, "FakeNNonnx2nd", "", "path of the NN weighting file for 2nd stage"}
 
Gaudi::Property< std::string > m_NNmap_path_extension_vol {this, "ExtensionNNVolonnx", "", "path of the NN weighting file"}
 
Gaudi::Property< std::string > m_NNmap_path_extension_hit {this, "ExtensionNNHitonnx", "", "path of the NN weighting file"}
 
Gaudi::Property< std::string > m_NNmap_path_param {this, "ParamNNonnx1st", "", "path of the NN weighting file for 1st stage"}
 
Gaudi::Property< std::string > m_NNmap2nd_path_param {this, "ParamNNonnx2nd", "", "path of the NN weighting file for 2nd stage"}
 
Gaudi::Property< std::string > m_radii_path {this, "radiiFile", "", "path of the average radius file" }
 
Gaudi::Property< std::vector< int > > m_layerOverrides {this, "layerOverride", {}, "Overrides the selection of the 1st stage logical layers in the plane map. Each entry declares a detector layer to use as a logical layer. Specify a detector layer with { SiliconTech * 1000 + DetectorZone * 100 + PhysicalLayer }"}
 
std::vector< std::unique_ptr< FPGATrackSimPlaneMap > > m_pmap_vector_1st
 
std::vector< std::unique_ptr< FPGATrackSimPlaneMap > > m_pmap_vector_2nd
 
std::unique_ptr< FPGATrackSimRegionMapm_rmap_1st = nullptr
 
std::unique_ptr< FPGATrackSimRegionMapm_rmap_2nd = nullptr
 
std::unique_ptr< FPGATrackSimRegionMapm_subrmap = nullptr
 
std::unique_ptr< FPGATrackSimRegionMapm_subrmap_2nd = nullptr
 
std::unique_ptr< FPGATrackSimNNMapm_NNmap_fake = nullptr
 
std::unique_ptr< FPGATrackSimNNMapm_NNmap_param = nullptr
 
std::unique_ptr< FPGATrackSimNNMapm_NNmap2nd_fake = nullptr
 
std::unique_ptr< FPGATrackSimNNMapm_NNmap2nd_param = nullptr
 
std::unique_ptr< FPGATrackSimNNMapm_NNmap_extension_vol = nullptr
 
std::unique_ptr< FPGATrackSimNNMapm_NNmap_extension_hit = nullptr
 
size_t m_numberOfPmaps = 0
 

Detailed Description

Definition at line 20 of file FPGATrackSimMappingSvc.h.

Constructor & Destructor Documentation

◆ FPGATrackSimMappingSvc()

FPGATrackSimMappingSvc::FPGATrackSimMappingSvc ( const std::string &  name,
ISvcLocator *  svc 
)

Definition at line 7 of file FPGATrackSimMappingSvc.cxx.

7  :
8  base_class(name, svc),
9  m_EvtSel("FPGATrackSimEventSelectionSvc", name)
10 {
11 }

◆ ~FPGATrackSimMappingSvc()

virtual FPGATrackSimMappingSvc::~FPGATrackSimMappingSvc ( )
virtualdefault

Member Function Documentation

◆ checkAllocs()

StatusCode FPGATrackSimMappingSvc::checkAllocs ( )
private

Definition at line 29 of file FPGATrackSimMappingSvc.cxx.

30 {
31  if (m_pmap_vector_1st.empty())
32  {
33  ATH_MSG_FATAL("Error using 1st stage plane map no elements of vector made: " << m_pmap_vector_1st);
34  return StatusCode::FAILURE;
35  }
36  if (!m_numberOfPmaps){
37  ATH_MSG_FATAL("Error with declared number of plane maps: " << m_pmap_path);
38  return StatusCode::FAILURE;
39  }
40  if (m_numberOfPmaps != (m_pmap_vector_1st.size())){
41  ATH_MSG_FATAL("Error using number of declared plane maps does not equal number of loaded plane maps: " << m_pmap_path<<"=/="<<m_pmap_vector_1st.size());
42  return StatusCode::FAILURE;
43  }
44  for (size_t a = 0 ; a < m_pmap_vector_1st.size() ;a++)
45  {
46  if(!m_pmap_vector_1st.at(a)){
47  ATH_MSG_FATAL("Error using 1st stage plane map for slice: " << a <<" of "<< m_pmap_vector_1st.size());
48  return StatusCode::FAILURE;
49  }
50  }
51  if (m_pmap_vector_2nd.empty())
52  {
53  ATH_MSG_FATAL("Error using 2nd stage plane map no elements of vector made: " << m_pmap_vector_2nd);
54  return StatusCode::FAILURE;
55  }
56  if (!m_numberOfPmaps){
57  ATH_MSG_FATAL("Error with declared number of plane maps: " << m_pmap_path);
58  return StatusCode::FAILURE;
59  }
60  if (m_numberOfPmaps != (m_pmap_vector_2nd.size())){
61  ATH_MSG_FATAL("Error using number of declared plane maps does not equal number of loaded plane maps: " << m_pmap_path<<"=/="<<m_pmap_vector_2nd.size());
62  return StatusCode::FAILURE;
63  }
64  for (size_t a = 0 ; a < m_pmap_vector_2nd.size() ;a++)
65  {
66  if(!m_pmap_vector_2nd.at(a)){
67  ATH_MSG_FATAL("Error using 1st stage plane map for slice: " << a <<" of "<< m_pmap_vector_2nd.size());
68  return StatusCode::FAILURE;
69  }
70  }
71  if (!m_rmap_1st){
72  ATH_MSG_FATAL("Error creating region map for 1st stage from: " << m_rmap_path);
73  return StatusCode::FAILURE;
74  }
75  if (!m_rmap_2nd){
76  ATH_MSG_FATAL("Error creating region map for 2nd stage from: " << m_rmap_path);
77  return StatusCode::FAILURE;
78  }
79  if (!m_subrmap){
80  ATH_MSG_FATAL("Error creating sub-region map from: " << m_subrmap_path);
81  return StatusCode::FAILURE;
82  }
83  if (!m_subrmap_2nd){
84  ATH_MSG_FATAL("Error creating second stage sub-region map from: " << m_subrmap_path);
85  return StatusCode::FAILURE;
86  }
87  return StatusCode::SUCCESS;
88 }

◆ checkInputs()

StatusCode FPGATrackSimMappingSvc::checkInputs ( )
private

Definition at line 14 of file FPGATrackSimMappingSvc.cxx.

15 {
16  if (m_pmap_path.value().empty())
17  ATH_MSG_FATAL("Main plane map definition missing");
18  else if (m_rmap_path.value().empty())
19  ATH_MSG_FATAL("Missing region map path");
20  else if (m_modulelut_path.value().empty())
21  ATH_MSG_FATAL("Module LUT file is missing");
22  else
23  return StatusCode::SUCCESS;
24 
25  return StatusCode::FAILURE;
26 }

◆ countPmapSize()

int FPGATrackSimMappingSvc::countPmapSize ( std::ifstream &  fileIn)
private

Definition at line 149 of file FPGATrackSimMappingSvc.cxx.

150 {
151  std::string line;
152 
153  getline(fileIn, line);
154  std::istringstream sline(line);
155  std::string geoKeyCheck;
156  sline >> geoKeyCheck;
157  m_numberOfPmaps = 1;
158  while (getline(fileIn,line)){
159  std::istringstream sline(line);
160  std::string geoKeyCandidate;
161  sline >> geoKeyCandidate;
162  if(geoKeyCheck.compare(geoKeyCandidate)==0){
163  m_numberOfPmaps++;
164  }
165  }
166  return m_numberOfPmaps;
167 }

◆ getExtensionNNHitMapString()

std::string FPGATrackSimMappingSvc::getExtensionNNHitMapString ( ) const
overridevirtual

Definition at line 120 of file FPGATrackSimMappingSvc.cxx.

120  {
121  if (m_NNmap_extension_hit != nullptr) {
122  return m_NNmap_extension_hit->getNNMap();
123  }
124  else{
125  return "";
126  }
127 }

◆ getExtensionNNVolMapString()

std::string FPGATrackSimMappingSvc::getExtensionNNVolMapString ( ) const
overridevirtual

Definition at line 111 of file FPGATrackSimMappingSvc.cxx.

111  {
112  if (m_NNmap_extension_vol != nullptr) {
113  return m_NNmap_extension_vol->getNNMap();
114  }
115  else{
116  return "";
117  }
118 }

◆ getFakeNNMap2ndString()

std::string FPGATrackSimMappingSvc::getFakeNNMap2ndString ( ) const
overridevirtual

Definition at line 101 of file FPGATrackSimMappingSvc.cxx.

101  {
102  if (m_NNmap2nd_fake != nullptr) {
103  return m_NNmap2nd_fake->getNNMap();
104  }
105  else{
106  return "";
107  }
108 }

◆ getFakeNNMapString()

std::string FPGATrackSimMappingSvc::getFakeNNMapString ( ) const
overridevirtual

Definition at line 91 of file FPGATrackSimMappingSvc.cxx.

91  {
92  if (m_NNmap_fake != nullptr) {
93  return m_NNmap_fake->getNNMap();
94  }
95  else{
96  return "";
97  }
98 }

◆ getParamNNMap2ndString()

std::string FPGATrackSimMappingSvc::getParamNNMap2ndString ( ) const
overridevirtual

Definition at line 138 of file FPGATrackSimMappingSvc.cxx.

138  {
139  if (m_NNmap2nd_param != nullptr) {
140  return m_NNmap2nd_param->getNNMap();
141  }
142  else{
143  return "";
144  }
145 }

◆ getParamNNMapString()

std::string FPGATrackSimMappingSvc::getParamNNMapString ( ) const
overridevirtual

Definition at line 129 of file FPGATrackSimMappingSvc.cxx.

129  {
130  if (m_NNmap_param != nullptr) {
131  return m_NNmap_param->getNNMap();
132  }
133  else{
134  return "";
135  }
136 }

◆ GetPlaneMap_1stSliceSize()

virtual size_t FPGATrackSimMappingSvc::GetPlaneMap_1stSliceSize ( ) const
inlineoverrideprivatevirtual

Definition at line 67 of file FPGATrackSimMappingSvc.h.

67 {return m_pmap_vector_1st.size();}

◆ GetPlaneMap_2ndSliceSize()

virtual size_t FPGATrackSimMappingSvc::GetPlaneMap_2ndSliceSize ( ) const
inlineoverrideprivatevirtual

Definition at line 68 of file FPGATrackSimMappingSvc.h.

68 {return m_pmap_vector_2nd.size();}

◆ initialize()

StatusCode FPGATrackSimMappingSvc::initialize ( )
overridevirtual

Definition at line 168 of file FPGATrackSimMappingSvc.cxx.

169 {
170  ATH_CHECK(m_EvtSel.retrieve());
172 
173  if (m_mappingType.value() == "FILE")
174  {
175  const std::string & filepath = PathResolverFindCalibFile(m_pmap_path.value());
176  std::ifstream fin(filepath);
177  if (!fin.is_open())
178  {
179  ATH_MSG_DEBUG("Couldn't open " << filepath);
180  throw ("FPGATrackSimPlaneMap Couldn't open " + filepath);
181  }
182 
184  fin.close();
185  fin.open(filepath);
186  ATH_MSG_DEBUG("Creating the 1st stage plane map");
187  for (size_t i = 0; i<m_numberOfPmaps; i++)
188  {
189  m_pmap_vector_1st.emplace_back(std::make_unique<FPGATrackSimPlaneMap>(fin, m_EvtSel->getRegionID(), 1, m_layerOverrides));
190  }
191 
192  fin.close();
193  fin.open(filepath);
194  ATH_MSG_DEBUG("Creating the 2nd stage plane map");
195  for (size_t i = 0; i<m_numberOfPmaps; i++)
196  {
197  m_pmap_vector_2nd.emplace_back(std::make_unique<FPGATrackSimPlaneMap>(fin, m_EvtSel->getRegionID(), 2, m_layerOverrides));
198  }
199  fin.close();
200 
201  ATH_MSG_DEBUG("Creating the 1st stage region map");
202  m_rmap_1st = std::unique_ptr<FPGATrackSimRegionMap>(new FPGATrackSimRegionMap(m_pmap_vector_1st, PathResolverFindCalibFile(m_rmap_path.value())));
203 
204  ATH_MSG_DEBUG("Creating the 2nd stage region map");
205  m_rmap_2nd = std::unique_ptr<FPGATrackSimRegionMap>(new FPGATrackSimRegionMap(m_pmap_vector_2nd, PathResolverFindCalibFile(m_rmap_path.value())));
206 
207  ATH_MSG_DEBUG("Creating the sub-region map");
208  m_subrmap = std::unique_ptr<FPGATrackSimRegionMap>(new FPGATrackSimRegionMap(m_pmap_vector_1st, PathResolverFindCalibFile(m_subrmap_path.value())));
209 
210  ATH_MSG_DEBUG("Creating the 2nd stage sub-region map");
211  m_subrmap_2nd = std::make_unique<FPGATrackSimRegionMap>(m_pmap_vector_2nd, PathResolverFindCalibFile(m_subrmap_path.value()));
212 
213  ATH_MSG_DEBUG("Setting the Modules LUT for Region Maps");
214  m_rmap_1st->loadModuleIDLUT(PathResolverFindCalibFile(m_modulelut_path.value()));
215  m_rmap_2nd->loadModuleIDLUT(PathResolverFindCalibFile(m_modulelut_path.value()));
216 
217  ATH_MSG_DEBUG("Setting the average radius per logical layer for Region and Subregion Maps");
218  m_rmap_1st->loadRadiiFile(PathResolverFindCalibFile(m_radii_path.value()));
219  m_rmap_2nd->loadRadiiFile(PathResolverFindCalibFile(m_radii_path.value()));
220  m_subrmap->loadRadiiFile(PathResolverFindCalibFile(m_radii_path.value()));
221  m_rmap_2nd->loadRadiiFile(PathResolverFindCalibFile(m_radii_path.value()));
222  m_subrmap_2nd->loadRadiiFile(PathResolverFindCalibFile(m_radii_path.value()));
223 
224  ATH_MSG_DEBUG("Creating NN weighting map");
225  ATH_MSG_INFO("MappingSVc using " << m_NNmap_path_fake.value() << " for fake track estimation");
226  ATH_MSG_INFO("MappingSVc using " << m_NNmap_path_param.value() << " for track parameter estimation");
227  ATH_MSG_INFO("MappingSVc using " << m_NNmap2nd_path_fake.value() << " for 2nd stage fake track estimation");
228  ATH_MSG_INFO("MappingSVc using " << m_NNmap2nd_path_param.value() << " for 2nd stage track parameter estimation");
229  ATH_MSG_INFO("MappingSVc using " << m_NNmap_path_extension_vol.value() << " for track extension");
230  ATH_MSG_INFO("MappingSVc using " << m_NNmap_path_extension_hit.value() << " for track extension");
231 
232  if ( ! m_NNmap_path_fake.empty() ) {
233  m_NNmap_fake = std::make_unique<FPGATrackSimNNMap>(PathResolverFindCalibFile(m_NNmap_path_fake.value()));
234  } else {
235  m_NNmap_fake = nullptr;
236  }
237 
238  if ( ! m_NNmap2nd_path_fake.empty() ) {
239  m_NNmap2nd_fake = std::make_unique<FPGATrackSimNNMap>(PathResolverFindCalibFile(m_NNmap2nd_path_fake.value()));
240  } else {
241  m_NNmap2nd_fake = nullptr;
242  }
243 
244 
245  if ( ! m_NNmap_path_extension_vol.empty() ) {
246  m_NNmap_extension_vol = std::make_unique<FPGATrackSimNNMap>(PathResolverFindCalibFile(m_NNmap_path_extension_vol.value()));
247  } else {
248  m_NNmap_extension_vol = nullptr;
249  }
250 
251  if ( ! m_NNmap_path_extension_hit.empty() ) {
252  m_NNmap_extension_hit = std::make_unique<FPGATrackSimNNMap>(PathResolverFindCalibFile(m_NNmap_path_extension_hit.value()));
253  } else {
254  m_NNmap_extension_hit = nullptr;
255  }
256 
257  if ( ! m_NNmap_path_param.empty() ) {
258  m_NNmap_param = std::make_unique<FPGATrackSimNNMap>(PathResolverFindCalibFile(m_NNmap_path_param.value()));
259  } else {
260  m_NNmap_param = nullptr;
261  }
262 
263  if ( ! m_NNmap2nd_path_param.empty() ) {
264  m_NNmap2nd_param = std::make_unique<FPGATrackSimNNMap>(PathResolverFindCalibFile(m_NNmap2nd_path_param.value()));
265  } else {
266  m_NNmap2nd_param = nullptr;
267  }
268 
269  }
271  return StatusCode::SUCCESS;
272 }

◆ PlaneMap_1st()

virtual const FPGATrackSimPlaneMap* FPGATrackSimMappingSvc::PlaneMap_1st ( int  slice) const
inlineoverridevirtual

Definition at line 29 of file FPGATrackSimMappingSvc.h.

29 { return m_pmap_vector_1st.at(slice).get(); }

◆ PlaneMap_2nd()

virtual const FPGATrackSimPlaneMap* FPGATrackSimMappingSvc::PlaneMap_2nd ( int  slice) const
inlineoverridevirtual

Definition at line 30 of file FPGATrackSimMappingSvc.h.

30 { return m_pmap_vector_2nd.at(slice).get(); }

◆ readPmapSize()

int FPGATrackSimMappingSvc::readPmapSize ( std::ifstream &  fileIn)
private

◆ RegionMap_1st()

virtual const FPGATrackSimRegionMap* FPGATrackSimMappingSvc::RegionMap_1st ( ) const
inlineoverridevirtual

Definition at line 31 of file FPGATrackSimMappingSvc.h.

31 { return m_rmap_1st.get(); }

◆ RegionMap_2nd()

virtual const FPGATrackSimRegionMap* FPGATrackSimMappingSvc::RegionMap_2nd ( ) const
inlineoverridevirtual

Definition at line 32 of file FPGATrackSimMappingSvc.h.

32 { return m_rmap_2nd.get(); }

◆ SubRegionMap()

virtual const FPGATrackSimRegionMap* FPGATrackSimMappingSvc::SubRegionMap ( ) const
inlineoverridevirtual

Definition at line 33 of file FPGATrackSimMappingSvc.h.

33 { return m_subrmap.get(); }

◆ SubRegionMap_2nd()

virtual const FPGATrackSimRegionMap* FPGATrackSimMappingSvc::SubRegionMap_2nd ( ) const
inlineoverridevirtual

Definition at line 34 of file FPGATrackSimMappingSvc.h.

34 { return m_subrmap_2nd.get(); }

Member Data Documentation

◆ m_EvtSel

ServiceHandle<IFPGATrackSimEventSelectionSvc> FPGATrackSimMappingSvc::m_EvtSel
private

Definition at line 45 of file FPGATrackSimMappingSvc.h.

◆ m_layerOverrides

Gaudi::Property<std::vector <int> > FPGATrackSimMappingSvc::m_layerOverrides {this, "layerOverride", {}, "Overrides the selection of the 1st stage logical layers in the plane map. Each entry declares a detector layer to use as a logical layer. Specify a detector layer with { SiliconTech * 1000 + DetectorZone * 100 + PhysicalLayer }"}
private

Definition at line 61 of file FPGATrackSimMappingSvc.h.

◆ m_mappingType

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_mappingType {this, "mappingType", "FILE", "for now should be FILE only, DB for the future"}
private

Definition at line 49 of file FPGATrackSimMappingSvc.h.

◆ m_modulelut_path

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_modulelut_path {this, "modulemap", "", "path of the ModuleLUT file"}
private

Definition at line 53 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap2nd_fake

std::unique_ptr<FPGATrackSimNNMap> FPGATrackSimMappingSvc::m_NNmap2nd_fake = nullptr
private

Definition at line 75 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap2nd_param

std::unique_ptr<FPGATrackSimNNMap> FPGATrackSimMappingSvc::m_NNmap2nd_param = nullptr
private

Definition at line 76 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap2nd_path_fake

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_NNmap2nd_path_fake {this, "FakeNNonnx2nd", "", "path of the NN weighting file for 2nd stage"}
private

Definition at line 55 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap2nd_path_param

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_NNmap2nd_path_param {this, "ParamNNonnx2nd", "", "path of the NN weighting file for 2nd stage"}
private

Definition at line 59 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap_extension_hit

std::unique_ptr<FPGATrackSimNNMap> FPGATrackSimMappingSvc::m_NNmap_extension_hit = nullptr
private

Definition at line 78 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap_extension_vol

std::unique_ptr<FPGATrackSimNNMap> FPGATrackSimMappingSvc::m_NNmap_extension_vol = nullptr
private

Definition at line 77 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap_fake

std::unique_ptr<FPGATrackSimNNMap> FPGATrackSimMappingSvc::m_NNmap_fake = nullptr
private

Definition at line 73 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap_param

std::unique_ptr<FPGATrackSimNNMap> FPGATrackSimMappingSvc::m_NNmap_param = nullptr
private

Definition at line 74 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap_path_extension_hit

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_NNmap_path_extension_hit {this, "ExtensionNNHitonnx", "", "path of the NN weighting file"}
private

Definition at line 57 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap_path_extension_vol

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_NNmap_path_extension_vol {this, "ExtensionNNVolonnx", "", "path of the NN weighting file"}
private

Definition at line 56 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap_path_fake

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_NNmap_path_fake {this, "FakeNNonnx1st", "", "path of the NN weighting file for 1st stage"}
private

Definition at line 54 of file FPGATrackSimMappingSvc.h.

◆ m_NNmap_path_param

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_NNmap_path_param {this, "ParamNNonnx1st", "", "path of the NN weighting file for 1st stage"}
private

Definition at line 58 of file FPGATrackSimMappingSvc.h.

◆ m_numberOfPmaps

size_t FPGATrackSimMappingSvc::m_numberOfPmaps = 0
private

Definition at line 80 of file FPGATrackSimMappingSvc.h.

◆ m_pmap_path

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_pmap_path {this, "pmap", "", "path of the PMAP file"}
private

Definition at line 52 of file FPGATrackSimMappingSvc.h.

◆ m_pmap_vector_1st

std::vector<std::unique_ptr<FPGATrackSimPlaneMap> > FPGATrackSimMappingSvc::m_pmap_vector_1st
private

Definition at line 65 of file FPGATrackSimMappingSvc.h.

◆ m_pmap_vector_2nd

std::vector<std::unique_ptr<FPGATrackSimPlaneMap> > FPGATrackSimMappingSvc::m_pmap_vector_2nd
private

Definition at line 66 of file FPGATrackSimMappingSvc.h.

◆ m_radii_path

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_radii_path {this, "radiiFile", "", "path of the average radius file" }
private

Definition at line 60 of file FPGATrackSimMappingSvc.h.

◆ m_rmap_1st

std::unique_ptr<FPGATrackSimRegionMap> FPGATrackSimMappingSvc::m_rmap_1st = nullptr
private

Definition at line 69 of file FPGATrackSimMappingSvc.h.

◆ m_rmap_2nd

std::unique_ptr<FPGATrackSimRegionMap> FPGATrackSimMappingSvc::m_rmap_2nd = nullptr
private

Definition at line 70 of file FPGATrackSimMappingSvc.h.

◆ m_rmap_path

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_rmap_path {this, "rmap", "", "path of the region-map file"}
private

Definition at line 50 of file FPGATrackSimMappingSvc.h.

◆ m_subrmap

std::unique_ptr<FPGATrackSimRegionMap> FPGATrackSimMappingSvc::m_subrmap = nullptr
private

Definition at line 71 of file FPGATrackSimMappingSvc.h.

◆ m_subrmap_2nd

std::unique_ptr<FPGATrackSimRegionMap> FPGATrackSimMappingSvc::m_subrmap_2nd = nullptr
private

Definition at line 72 of file FPGATrackSimMappingSvc.h.

◆ m_subrmap_path

Gaudi::Property<std::string> FPGATrackSimMappingSvc::m_subrmap_path {this, "subrmap", "", "path of the region-map file for subregions"}
private

Definition at line 51 of file FPGATrackSimMappingSvc.h.


The documentation for this class was generated from the following files:
FPGATrackSimMappingSvc::m_NNmap_path_fake
Gaudi::Property< std::string > m_NNmap_path_fake
Definition: FPGATrackSimMappingSvc.h:54
FPGATrackSimMappingSvc::m_rmap_2nd
std::unique_ptr< FPGATrackSimRegionMap > m_rmap_2nd
Definition: FPGATrackSimMappingSvc.h:70
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
FPGATrackSimMappingSvc::m_NNmap_path_extension_hit
Gaudi::Property< std::string > m_NNmap_path_extension_hit
Definition: FPGATrackSimMappingSvc.h:57
collListGuids.line
string line
Definition: collListGuids.py:77
FPGATrackSimMappingSvc::m_NNmap_fake
std::unique_ptr< FPGATrackSimNNMap > m_NNmap_fake
Definition: FPGATrackSimMappingSvc.h:73
FPGATrackSimMappingSvc::m_numberOfPmaps
size_t m_numberOfPmaps
Definition: FPGATrackSimMappingSvc.h:80
FPGATrackSimMappingSvc::m_radii_path
Gaudi::Property< std::string > m_radii_path
Definition: FPGATrackSimMappingSvc.h:60
FPGATrackSimMappingSvc::checkAllocs
StatusCode checkAllocs()
Definition: FPGATrackSimMappingSvc.cxx:29
FPGATrackSimMappingSvc::m_rmap_1st
std::unique_ptr< FPGATrackSimRegionMap > m_rmap_1st
Definition: FPGATrackSimMappingSvc.h:69
FPGATrackSimMappingSvc::m_NNmap2nd_path_fake
Gaudi::Property< std::string > m_NNmap2nd_path_fake
Definition: FPGATrackSimMappingSvc.h:55
FPGATrackSimMappingSvc::m_NNmap_path_extension_vol
Gaudi::Property< std::string > m_NNmap_path_extension_vol
Definition: FPGATrackSimMappingSvc.h:56
FPGATrackSimMappingSvc::m_layerOverrides
Gaudi::Property< std::vector< int > > m_layerOverrides
Definition: FPGATrackSimMappingSvc.h:61
FPGATrackSimMappingSvc::m_subrmap_2nd
std::unique_ptr< FPGATrackSimRegionMap > m_subrmap_2nd
Definition: FPGATrackSimMappingSvc.h:72
FPGATrackSimMappingSvc::m_NNmap2nd_param
std::unique_ptr< FPGATrackSimNNMap > m_NNmap2nd_param
Definition: FPGATrackSimMappingSvc.h:76
perfmonmt-refit.slice
slice
Definition: perfmonmt-refit.py:52
lumiFormat.i
int i
Definition: lumiFormat.py:85
FPGATrackSimMappingSvc::m_pmap_path
Gaudi::Property< std::string > m_pmap_path
Definition: FPGATrackSimMappingSvc.h:52
FPGATrackSimMappingSvc::m_NNmap_extension_hit
std::unique_ptr< FPGATrackSimNNMap > m_NNmap_extension_hit
Definition: FPGATrackSimMappingSvc.h:78
FPGATrackSimMappingSvc::m_EvtSel
ServiceHandle< IFPGATrackSimEventSelectionSvc > m_EvtSel
Definition: FPGATrackSimMappingSvc.h:45
FPGATrackSimMappingSvc::m_modulelut_path
Gaudi::Property< std::string > m_modulelut_path
Definition: FPGATrackSimMappingSvc.h:53
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
FPGATrackSimMappingSvc::m_NNmap_path_param
Gaudi::Property< std::string > m_NNmap_path_param
Definition: FPGATrackSimMappingSvc.h:58
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
FPGATrackSimMappingSvc::m_NNmap2nd_fake
std::unique_ptr< FPGATrackSimNNMap > m_NNmap2nd_fake
Definition: FPGATrackSimMappingSvc.h:75
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
FPGATrackSimMappingSvc::m_pmap_vector_1st
std::vector< std::unique_ptr< FPGATrackSimPlaneMap > > m_pmap_vector_1st
Definition: FPGATrackSimMappingSvc.h:65
FPGATrackSimMappingSvc::m_rmap_path
Gaudi::Property< std::string > m_rmap_path
Definition: FPGATrackSimMappingSvc.h:50
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
FPGATrackSimMappingSvc::m_pmap_vector_2nd
std::vector< std::unique_ptr< FPGATrackSimPlaneMap > > m_pmap_vector_2nd
Definition: FPGATrackSimMappingSvc.h:66
PathResolverFindCalibFile
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
Definition: PathResolver.cxx:431
FPGATrackSimMappingSvc::m_mappingType
Gaudi::Property< std::string > m_mappingType
Definition: FPGATrackSimMappingSvc.h:49
FPGATrackSimMappingSvc::m_subrmap_path
Gaudi::Property< std::string > m_subrmap_path
Definition: FPGATrackSimMappingSvc.h:51
a
TList * a
Definition: liststreamerinfos.cxx:10
FPGATrackSimMappingSvc::m_NNmap_extension_vol
std::unique_ptr< FPGATrackSimNNMap > m_NNmap_extension_vol
Definition: FPGATrackSimMappingSvc.h:77
FPGATrackSimMappingSvc::m_subrmap
std::unique_ptr< FPGATrackSimRegionMap > m_subrmap
Definition: FPGATrackSimMappingSvc.h:71
FPGATrackSimMappingSvc::m_NNmap2nd_path_param
Gaudi::Property< std::string > m_NNmap2nd_path_param
Definition: FPGATrackSimMappingSvc.h:59
FPGATrackSimMappingSvc::checkInputs
StatusCode checkInputs()
Definition: FPGATrackSimMappingSvc.cxx:14
compute_lumi.fin
fin
Definition: compute_lumi.py:19
FPGATrackSimRegionMap
Definition: FPGATrackSimRegionMap.h:62
FPGATrackSimMappingSvc::m_NNmap_param
std::unique_ptr< FPGATrackSimNNMap > m_NNmap_param
Definition: FPGATrackSimMappingSvc.h:74
FPGATrackSimMappingSvc::countPmapSize
int countPmapSize(std::ifstream &fileIn)
Definition: FPGATrackSimMappingSvc.cxx:149