Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
lareventdisplay
lareventdisplay
EventDisplay
3DDrawers
PCA3DDrawer_tool.cc
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file PCA3DDrawer_tool.cc
3
/// \author T. Usher
4
////////////////////////////////////////////////////////////////////////
5
6
namespace
art {
class
Event; }
7
#include "art/Utilities/ToolMacros.h"
8
namespace
fhicl {
class
ParameterSet; }
9
#include "
lareventdisplay/EventDisplay/3DDrawers/I3DDrawer.h
"
10
namespace
evdb {
11
class
View3D;
12
}
13
14
namespace
evdb_tool {
15
16
class
PCA3DDrawer
:
public
I3DDrawer
{
17
public
:
18
explicit
PCA3DDrawer
(
const
fhicl::ParameterSet&);
19
20
~PCA3DDrawer
();
21
22
void
Draw
(
const
art::Event&, evdb::View3D*)
const override
;
23
24
private
:
25
};
26
27
//----------------------------------------------------------------------
28
// Constructor.
29
PCA3DDrawer::PCA3DDrawer
(
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
PCA3DDrawer::~PCA3DDrawer
() {}
39
40
void
41
PCA3DDrawer::Draw
(
const
art::Event&
evt
, evdb::View3D* view)
const
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
}
64
65
DEFINE_ART_CLASS_TOOL(
PCA3DDrawer
)
66
}
evdb_tool::PCA3DDrawer::~PCA3DDrawer
~PCA3DDrawer()
Definition:
PCA3DDrawer_tool.cc:38
evdb_tool::PCA3DDrawer::PCA3DDrawer
PCA3DDrawer(const fhicl::ParameterSet &)
Definition:
PCA3DDrawer_tool.cc:29
evdb_tool::I3DDrawer
Definition:
I3DDrawer.h:20
evdb_tool::PCA3DDrawer
Definition:
PCA3DDrawer_tool.cc:16
evdb_tool::PCA3DDrawer::Draw
void Draw(const art::Event &, evdb::View3D *) const override
Definition:
PCA3DDrawer_tool.cc:41
I3DDrawer.h
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:8
Generated by
1.8.5