Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
lareventdisplay
lareventdisplay
EventDisplay
3DDrawers
Edge3DDrawer_tool.cc
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file Edge3DDrawer_tool.cc
3
/// \author T. Usher
4
////////////////////////////////////////////////////////////////////////
5
6
#include "
art/Framework/Principal/fwd.h
"
7
#include "
art/Utilities/ToolMacros.h
"
8
#include "
fhiclcpp/fwd.h
"
9
#include "
lareventdisplay/EventDisplay/3DDrawers/I3DDrawer.h
"
10
namespace
evdb
{
11
class
View3D;
12
}
13
14
namespace
evdb_tool
{
15
16
class
Edge3DDrawer
:
public
I3DDrawer
{
17
public
:
18
explicit
Edge3DDrawer
(
const
fhicl::ParameterSet
&);
19
20
~
Edge3DDrawer
();
21
22
void
Draw
(
const
art::Event
&, evdb::View3D*)
const override
;
23
24
private
:
25
};
26
27
//----------------------------------------------------------------------
28
// Constructor.
29
Edge3DDrawer::Edge3DDrawer(
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
Edge3DDrawer::~Edge3DDrawer() {}
39
40
void
41
Edge3DDrawer::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
(
Edge3DDrawer
)
66
}
DEFINE_ART_CLASS_TOOL
#define DEFINE_ART_CLASS_TOOL(tool)
Definition:
ToolMacros.h:42
evdb_tool::I3DDrawer
Definition:
I3DDrawer.h:21
evdb_tool
Definition:
Edge3DDrawer_tool.cc:14
evdb
Definition:
AnalysisBaseDrawer.h:22
ToolMacros.h
I3DDrawer.h
Draw
void Draw(const char *plot, const char *title)
Definition:
gXSecComp.cxx:580
fwd.h
art::Event
Definition:
Event.h:22
evdb_tool::Edge3DDrawer
Definition:
Edge3DDrawer_tool.cc:16
fwd.h
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:7
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11