HerdSoftware  0.3.2
HWTrackingDetectorEventDisplay.h
Go to the documentation of this file.
1 /*
2  * HWTrackingDetectorEventDisplay.h
3  *
4  * Created on: 08 May 2019
5  * Author: Valerio Formato
6  */
7 
8 #ifndef HWTrackingDetectorEventDisplay_H_
9 #define HWTrackingDetectorEventDisplay_H_
10 
11 // HERD headers
14 #include "dataobjects/Track2D.h"
15 
16 // ROOT headers
17 #include "TEvePointSet.h"
18 #include "TEveStraightLineSet.h"
19 #include "TEveTrack.h"
20 #include "TEveTrackPropagator.h"
21 
22 namespace Herd {
24 public:
25  HWTrackingDetectorEventDisplay(std::string name = "Tracker");
27 
28  template <class TrackingGeoParams>
29  void ImportClusters(const ClustersColl &clColl, const SidesArray<std::vector<TrackingGeoParams>> &geoParamsColl);
30  void SetRenderState(bool renderState);
31 
32  TEvePointSet *TrkHitsXZ;
33  TEvePointSet *TrkHitsYZ;
34  TEvePointSet *TrkHitsXY;
35 
36  TEveStraightLineSet *TrkHits3D;
37 
38 private:
39  template <class TrackingGeoParams>
40  std::pair<float, float> GetLineRange(const Cluster &cl, const TrackingGeoParams &geoParams);
41 };
42 } // namespace Herd
43 
44 #endif
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
Tracker cluster object for transient data model.
Definition: Cluster.h:30
HWTrackingDetectorEventDisplay(std::string name="Tracker")
Definition: HWTrackingDetectorEventDisplay.cpp:11
TEvePointSet * TrkHitsYZ
Definition: HWTrackingDetectorEventDisplay.h:33
void SetRenderState(bool renderState)
Definition: HWTrackingDetectorEventDisplay.cpp:45
~HWTrackingDetectorEventDisplay()
Definition: HWTrackingDetectorEventDisplay.cpp:38
TEvePointSet * TrkHitsXZ
Definition: HWTrackingDetectorEventDisplay.h:32
An array that accepts side as subscripts.
Definition: SidesArray.h:72
TEveStraightLineSet * TrkHits3D
Definition: HWTrackingDetectorEventDisplay.h:36
std::pair< float, float > GetLineRange(const Cluster &cl, const TrackingGeoParams &geoParams)
void ImportClusters(const ClustersColl &clColl, const SidesArray< std::vector< TrackingGeoParams >> &geoParamsColl)
Definition: HWTrackingDetectorEventDisplay.hpp:6
TEvePointSet * TrkHitsXY
Definition: HWTrackingDetectorEventDisplay.h:34
Definition: HWTrackingDetectorEventDisplay.h:23
Definition: HWBaseEventDisplay.h:19