HerdSoftware  0.1.1
HWMainWindow.hpp
Go to the documentation of this file.
4 
5 namespace Herd {
6 
7 template <class TrackingGeoParams>
9  const SidesArray<std::vector<TrackingGeoParams>> &geoParamsColl,
11  if (m_detEnableMap.find(_disp.Name()) == m_detEnableMap.end()) {
12  m_detEnableMap[_disp.Name()] = true;
13  _disp.SetStatus(true);
14  }
15 
16  _disp.ImportClusters(clColl, geoParamsColl);
17  m_projections->DrawTrackingDetectorClusters(_disp);
18 
19  GetGlobalScene()->Changed();
20  GetGlobalScene()->Repaint();
21 
22  DoRedraw3D();
23 }
24 
25 } // namespace Herd
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
std::unordered_map< std::string, bool > m_detEnableMap
Definition: HWMainWindow.h:102
void SetTrackingClusters(const ClustersColl &clColl, const SidesArray< std::vector< TrackingGeoParams >> &geoParamsColl, HWTrackingDetectorEventDisplay &_disp)
Definition: HWMainWindow.hpp:8
void ImportClusters(const ClustersColl &clColl, const SidesArray< std::vector< TrackingGeoParams >> geoParamsColl)
Definition: HWTrackingDetectorEventDisplay.hpp:6
An array that accepts side as subscripts.
Definition: SidesArray.h:72
std::unique_ptr< HWProjections > m_projections
Definition: HWMainWindow.h:79
const std::string & Name() const
Definition: HWBaseEventDisplay.h:27
void SetStatus(bool status)
Definition: HWBaseEventDisplay.h:23
Definition: HWTrackingDetectorEventDisplay.h:22