HerdSoftware  0.2.3
HWMCTruthDisplay.h
Go to the documentation of this file.
1 /*
2  * HWMCTruthDisplay.h
3  *
4  * Created on: 13 Nov 2019
5  * Author: Valerio Formato
6  */
7 
8 // HERD headers
10 #include "dataobjects/MCTruth.h"
11 
12 // ROOT headers
13 #include "TEveArrow.h"
14 #include "TEveTrack.h"
15 
16 #ifndef HWMCTruthDisplay_H_
17 #define HWMCTruthDisplay_H_
18 
19 namespace Herd {
21 public:
22  HWMCTruthDisplay() : HWBaseEventDisplay("MC truth"), trackList(nullptr), arrow(nullptr){};
24 
25  void ImportMCTruth(const MCTruth &mcTruth);
26  void MakeTracks();
27  void SetRenderState(bool renderState);
28 
29  TEveTrackList *trackList;
30  TEveArrow *arrow;
31 
32 private:
33  bool tracksReady = false;
34 };
35 } // namespace Herd
36 
37 #endif
void SetRenderState(bool renderState)
Definition: HWMCTruthDisplay.cpp:28
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
HWMCTruthDisplay()
Definition: HWMCTruthDisplay.h:22
void ImportMCTruth(const MCTruth &mcTruth)
Definition: HWMCTruthDisplay.cpp:30
Definition: HWMCTruthDisplay.h:20
void MakeTracks()
Definition: HWMCTruthDisplay.cpp:20
bool tracksReady
Definition: HWMCTruthDisplay.h:33
Data structure for the Monte Carlo truth of each event.
Definition: MCTruth.h:24
TEveTrackList * trackList
Definition: HWMCTruthDisplay.h:29
~HWMCTruthDisplay()
Definition: HWMCTruthDisplay.h:23
Definition: HWBaseEventDisplay.h:19
TEveArrow * arrow
Definition: HWMCTruthDisplay.h:30