LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Edge3DDrawer_tool.cc
Go to the documentation of this file.
1 
6 namespace art {
7  class Event;
8 }
10 namespace fhicl {
11  class ParameterSet;
12 }
14 namespace evdb {
15  class View3D;
16 }
17 
18 namespace evdb_tool {
19 
20  class Edge3DDrawer : public I3DDrawer {
21  public:
22  explicit Edge3DDrawer(const fhicl::ParameterSet&);
23 
24  ~Edge3DDrawer();
25 
26  void Draw(const art::Event&, evdb::View3D*) const override;
27 
28  private:
29  };
30 
31  //----------------------------------------------------------------------
32  // Constructor.
33  Edge3DDrawer::Edge3DDrawer(const fhicl::ParameterSet& pset)
34  {
35  // fNumPoints = pset.get< int>("NumPoints", 1000);
36  // fFloatBaseline = pset.get<bool>("FloatBaseline", false);
37  // For now only draw cryostat=0.
38 
39  return;
40  }
41 
42  Edge3DDrawer::~Edge3DDrawer() {}
43 
44  void Edge3DDrawer::Draw(const art::Event& evt, evdb::View3D* view) const
45  {
46  /*
47  art::ServiceHandle<evd::SimulationDrawingOptions const> drawOpt;
48 
49  // If the option is turned off, there's nothing to do
50  if (!drawOpt->fShowMCTruthTrajectories) return;
51 
52  // geo::GeometryCore const* geom = lar::providerFrom<geo::Geometry>();
53  art::ServiceHandle<geo::Geometry const> geom;
54 
55  // Recover a handle to the collection of MCParticles
56  art::Handle< std::vector<simb::MCParticle>> mcParticleHandle;
57 
58  evt.getByLabel(drawOpt->fG4ModuleLabel, mcParticleHandle);
59 
60  // Define a couple of colors for neutrals and if we gray it out...
61  int neutralColor(12);
62  int grayedColor(15);
63  int neutrinoColor(38);
64 */
65  return;
66  }
67 
69 }
#define DEFINE_ART_CLASS_TOOL(tool)
Definition: ToolMacros.h:42
hist1 Draw("HIST")
Manage all things related to colors for the event display.
parameter set interface
Definition: MVAAlg.h:12
TCEvent evt
Definition: DataStructs.cxx:8