LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PCA3DDrawer_tool.cc
Go to the documentation of this file.
1
6
namespace
art
{
7
class
Event
;
8
}
9
#include "
art/Utilities/ToolMacros.h
"
10
namespace
fhicl
{
11
class
ParameterSet;
12
}
13
#include "
lareventdisplay/EventDisplay/3DDrawers/I3DDrawer.h
"
14
namespace
evdb
{
15
class
View3D;
16
}
17
18
namespace
evdb_tool
{
19
20
class
PCA3DDrawer
:
public
I3DDrawer
{
21
public
:
22
explicit
PCA3DDrawer
(
const
fhicl::ParameterSet
&);
23
24
~
PCA3DDrawer
();
25
26
void
Draw
(
const
art::Event
&,
evdb::View3D
*)
const override
;
27
28
private
:
29
};
30
31
//----------------------------------------------------------------------
32
// Constructor.
33
PCA3DDrawer::PCA3DDrawer(
const
fhicl::ParameterSet
& pset)
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
}
41
42
PCA3DDrawer::~PCA3DDrawer() {}
43
44
void
PCA3DDrawer::Draw
(
const
art::Event
&
evt
,
evdb::View3D
* view)
const
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
}
67
68
DEFINE_ART_CLASS_TOOL
(
PCA3DDrawer
)
69
}
DEFINE_ART_CLASS_TOOL
#define DEFINE_ART_CLASS_TOOL(tool)
Definition:
ToolMacros.h:42
Draw
hist1 Draw("HIST")
evdb_tool::I3DDrawer
Definition:
I3DDrawer.h:23
evdb_tool
Definition:
Edge3DDrawer_tool.cc:18
evdb_tool::PCA3DDrawer
Definition:
PCA3DDrawer_tool.cc:20
evdb
Manage all things related to colors for the event display.
Definition:
Edge3DDrawer_tool.cc:14
ToolMacros.h
evdb::View3D
Definition:
View3D.h:18
fhicl
parameter set interface
Definition:
BeamFlashTrackMatchTaggerAlg.h:17
I3DDrawer.h
art::Event
Definition:
Event.h:26
art
Definition:
MVAAlg.h:12
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:8
art::Level::Event
fhicl::ParameterSet
Definition:
ParameterSet.h:36
lareventdisplay
v09_11_05
source
lareventdisplay
EventDisplay
3DDrawers
PCA3DDrawer_tool.cc
Generated on Thu May 2 2024 20:59:38 for LArSoft by
1.8.11