LArSoft  v09_93_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 
15 
16 namespace evdb {
17  class View2D;
18  class View3D;
19 }
20 
21 namespace simb {
22  class MCTruth;
23  class MCParticle;
24 }
25 
26 namespace evd {
28  public:
31 
32  public:
33  // Drawing functions
34  void MCTruthShortText(const art::Event& evt, evdb::View2D* view);
35  void MCTruthLongText(const art::Event& evt, evdb::View2D* view);
36  void MCTruthVectors2D(const art::Event& evt, evdb::View2D* view, unsigned int plane);
37  void MCTruth3D(const art::Event& evt, evdb::View3D* view);
38  void MCTruthOrtho(const art::Event& evt,
40  double msize,
41  evdb::View2D* view);
42 
43  void HiLite(int trkId, bool hlt = true);
44 
45  double minx;
46  double maxx;
47  double miny;
48  double maxy;
49  double minz;
50  double maxz;
51 
52  private:
53  int GetMCTruth(const art::Event& evt, std::vector<const simb::MCTruth*>& mctruth);
54  int GetParticle(const art::Event& evt, std::vector<const simb::MCParticle*>& plist);
55 
56  private:
57  std::map<int, bool> fHighlite;
58  };
59 }
60 
61 #endif
62 
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
TCEvent evt
Definition: DataStructs.cxx:8