LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
SimulationDrawer.h
Go to the documentation of this file.
1 #ifndef EVD_SIMULATIONDRAWER_H
7 #define EVD_SIMULATIONDRAWER_H
8 #include <string>
9 #include <vector>
10 #include <map>
12 
13 namespace art { class Event; }
14 namespace evdb { class View2D; }
15 namespace evdb { class View3D; }
16 namespace geo { class Geometry; }
17 namespace simb {
18  class MCTruth;
19  class MCParticle;
20 }
21 
22 namespace evd {
24  public:
27 
28  public:
29  // Drawing functions
30  void MCTruthShortText(const art::Event& evt,
31  evdb::View2D* view);
32  void MCTruthLongText(const art::Event& evt,
33  evdb::View2D* view);
34  void MCTruthVectors2D(const art::Event& evt,
35  evdb::View2D* view,
36  unsigned int plane);
37  void MCTruth3D(const art::Event& evt,
38  evdb::View3D* view);
39  void MCTruthOrtho(const art::Event& evt,
41  double msize,
42  evdb::View2D* view);
43 
44  void HiLite(int trkId, bool hlt=true);
45 
46  double minx;
47  double maxx;
48  double miny;
49  double maxy;
50  double minz;
51  double maxz;
52 
53  private:
54  int GetMCTruth(const art::Event& evt,
55  std::vector<const simb::MCTruth*>& mctruth);
56 
57  int GetParticle(const art::Event& evt,
58  std::vector<const simb::MCParticle*>& plist);
59 
60  private:
61  std::map<int,bool> fHighlite;
62 
63  };
64 }
65 
66 #endif
67 
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.
Framework includes.
Float_t proj
Definition: plot.C:34
HLT enums.
Event generator information.
Definition: MCTruth.h:30
Namespace collecting geometry-related classes utilities.
std::map< int, bool > fHighlite