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