LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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
 

Detailed Description

Definition at line 16 of file PFParticle3DDrawer_tool.cc.

Constructor & Destructor Documentation

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

Definition at line 29 of file PFParticle3DDrawer_tool.cc.

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

Definition at line 38 of file PFParticle3DDrawer_tool.cc.

38 {}

Member Function Documentation

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

Implements evdb_tool::I3DDrawer.

Definition at line 40 of file PFParticle3DDrawer_tool.cc.

References DEFINE_ART_CLASS_TOOL.

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  }

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