Public Member Functions | List of all members
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
 
- Public Member Functions inherited from evdb_tool::I3DDrawer
virtual ~I3DDrawer () noexcept=default
 

Detailed Description

Definition at line 16 of file PCA3DDrawer_tool.cc.

Constructor & Destructor Documentation

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

Definition at line 29 of file PCA3DDrawer_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::PCA3DDrawer::~PCA3DDrawer ( )

Definition at line 38 of file PCA3DDrawer_tool.cc.

38 {}

Member Function Documentation

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

Implements evdb_tool::I3DDrawer.

Definition at line 41 of file PCA3DDrawer_tool.cc.

42  {
43  /*
44  art::ServiceHandle<evd::SimulationDrawingOptions const> drawOpt;
45 
46  // If the option is turned off, there's nothing to do
47  if (!drawOpt->fShowMCTruthTrajectories) return;
48 
49  // geo::GeometryCore const* geom = lar::providerFrom<geo::Geometry>();
50  art::ServiceHandle<geo::Geometry const> geom;
51 
52  // Recover a handle to the collection of MCParticles
53  art::Handle< std::vector<simb::MCParticle>> mcParticleHandle;
54 
55  evt.getByLabel(drawOpt->fG4ModuleLabel, mcParticleHandle);
56 
57  // Define a couple of colors for neutrals and if we gray it out...
58  int neutralColor(12);
59  int grayedColor(15);
60  int neutrinoColor(38);
61 */
62  return;
63  }

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