LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
SimulationDrawer.h
Go to the documentation of this file.
1 #ifndef EVD_SIMULATIONDRAWER_H
7 #define EVD_SIMULATIONDRAWER_H
8 
9 #include <map>
10 #include <string>
11 #include <vector>
12 
13 namespace art {
14  class Event;
15 }
17 
18 namespace evdb {
19  class View2D;
20  class View3D;
21 }
22 
23 namespace simb {
24  class MCTruth;
25  class MCParticle;
26 }
27 
28 namespace evd {
30  public:
33 
34  public:
35  // Drawing functions
36  void MCTruthShortText(const art::Event& evt, evdb::View2D* view);
37  void MCTruthLongText(const art::Event& evt, evdb::View2D* view);
38  void MCTruthVectors2D(const art::Event& evt, evdb::View2D* view, unsigned int plane);
39  void MCTruth3D(const art::Event& evt, evdb::View3D* view);
40  void MCTruthOrtho(const art::Event& evt,
42  double msize,
43  evdb::View2D* view);
44 
45  void HiLite(int trkId, bool hlt = true);
46 
47  double minx;
48  double maxx;
49  double miny;
50  double maxy;
51  double minz;
52  double maxz;
53 
54  private:
55  int GetMCTruth(const art::Event& evt, std::vector<const simb::MCTruth*>& mctruth);
56  int GetParticle(const art::Event& evt, std::vector<const simb::MCParticle*>& plist);
57 
58  private:
59  std::map<int, bool> fHighlite;
60  };
61 }
62 
63 #endif
64 
std::map< int, bool > fHighlite
Define OrthoProj_t enum for selecting orthographic view.
OrthoProj_t
Definition: OrthoProj.h:12
Manage all things related to colors for the event display.
LArSoft includes.
ART objects.
Float_t proj
Definition: plot.C:35
Definition: MVAAlg.h:12
TCEvent evt
Definition: DataStructs.cxx:8