LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
evdb_tool::PCA3DDrawer Class Reference
Inheritance diagram for evdb_tool::PCA3DDrawer:
evdb_tool::I3DDrawer

Public Member Functions

 PCA3DDrawer (const fhicl::ParameterSet &)
 
 ~PCA3DDrawer ()
 
void Draw (const art::Event &, evdb::View3D *) const override
 

Detailed Description

Definition at line 20 of file PCA3DDrawer_tool.cc.

Constructor & Destructor Documentation

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

Definition at line 33 of file PCA3DDrawer_tool.cc.

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

Definition at line 42 of file PCA3DDrawer_tool.cc.

42 {}

Member Function Documentation

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

Implements evdb_tool::I3DDrawer.

Definition at line 44 of file PCA3DDrawer_tool.cc.

References DEFINE_ART_CLASS_TOOL.

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  }

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