Public Member Functions | List of all members
evdb_tool::PFParticle3DDrawer Class Reference
Inheritance diagram for evdb_tool::PFParticle3DDrawer:
evdb_tool::I3DDrawer

Public Member Functions

 PFParticle3DDrawer (const fhicl::ParameterSet &)
 
 ~PFParticle3DDrawer ()
 
void Draw (const art::Event &, evdb::View3D *) const override
 
- Public Member Functions inherited from evdb_tool::I3DDrawer
virtual ~I3DDrawer () noexcept=default
 

Detailed Description

Definition at line 14 of file PFParticle3DDrawer_tool.cc.

Constructor & Destructor Documentation

evdb_tool::PFParticle3DDrawer::PFParticle3DDrawer ( const fhicl::ParameterSet pset)
explicit

Definition at line 27 of file PFParticle3DDrawer_tool.cc.

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  }
evdb_tool::PFParticle3DDrawer::~PFParticle3DDrawer ( )

Definition at line 36 of file PFParticle3DDrawer_tool.cc.

36 {}

Member Function Documentation

void evdb_tool::PFParticle3DDrawer::Draw ( const art::Event evt,
evdb::View3D *  view 
) const
overridevirtual

Implements evdb_tool::I3DDrawer.

Definition at line 39 of file PFParticle3DDrawer_tool.cc.

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  }

The documentation for this class was generated from the following file: