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
Edge3DDrawer_tool.cc
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file Edge3DDrawer_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
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
}
evdb_tool::Edge3DDrawer::Edge3DDrawer
Edge3DDrawer(const fhicl::ParameterSet &)
Definition:
Edge3DDrawer_tool.cc:29
evdb_tool::I3DDrawer
Definition:
I3DDrawer.h:20
evdb_tool::Edge3DDrawer::~Edge3DDrawer
~Edge3DDrawer()
Definition:
Edge3DDrawer_tool.cc:38
I3DDrawer.h
evdb_tool::Edge3DDrawer::Draw
void Draw(const art::Event &, evdb::View3D *) const override
Definition:
Edge3DDrawer_tool.cc:41
evdb_tool::Edge3DDrawer
Definition:
Edge3DDrawer_tool.cc:16
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:8
Generated by
1.8.5