PFParticle3DDrawer_tool.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file PFParticle3DDrawer_tool.cc
3 /// \author T. Usher
4 ////////////////////////////////////////////////////////////////////////
5 
8 
11 
12 namespace evdb_tool {
13 
14  class PFParticle3DDrawer : public I3DDrawer {
15  public:
16  explicit PFParticle3DDrawer(const fhicl::ParameterSet&);
17 
19 
20  void Draw(const art::Event&, evdb::View3D*) const override;
21 
22  private:
23  };
24 
25  //----------------------------------------------------------------------
26  // Constructor.
28  {
29  // fNumPoints = pset.get< int>("NumPoints", 1000);
30  // fFloatBaseline = pset.get<bool>("FloatBaseline", false);
31  // For now only draw cryostat=0.
32 
33  return;
34  }
35 
37 
38  void
39  PFParticle3DDrawer::Draw(const art::Event& evt, evdb::View3D* view) const
40  {
41  /*
42  art::ServiceHandle<evd::SimulationDrawingOptions const> drawOpt;
43 
44  // If the option is turned off, there's nothing to do
45  if (!drawOpt->fShowMCTruthTrajectories) return;
46 
47  // geo::GeometryCore const* geom = lar::providerFrom<geo::Geometry>();
48  art::ServiceHandle<geo::Geometry const> geom;
49 
50  // Recover a handle to the collection of MCParticles
51  art::Handle< std::vector<simb::MCParticle>> mcParticleHandle;
52 
53  evt.getByLabel(drawOpt->fG4ModuleLabel, mcParticleHandle);
54 
55  // Define a couple of colors for neutrals and if we gray it out...
56  int neutralColor(12);
57  int grayedColor(15);
58  int neutrinoColor(38);
59 */
60  return;
61  }
62 
64 }
#define DEFINE_ART_CLASS_TOOL(tool)
Definition: ToolMacros.h:42
PFParticle3DDrawer(const fhicl::ParameterSet &)
TCEvent evt
Definition: DataStructs.cxx:7
void Draw(const art::Event &, evdb::View3D *) const override