LArSoft
v09_93_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
SimulationDrawer.h
Go to the documentation of this file.
1
#ifndef EVD_SIMULATIONDRAWER_H
7
#define EVD_SIMULATIONDRAWER_H
8
9
#include <map>
10
#include <string>
11
#include <vector>
12
13
#include "
art/Framework/Principal/fwd.h
"
14
#include "
lareventdisplay/EventDisplay/OrthoProj.h
"
15
16
namespace
evdb
{
17
class
View2D;
18
class
View3D;
19
}
20
21
namespace
simb
{
22
class
MCTruth;
23
class
MCParticle;
24
}
25
26
namespace
evd
{
27
class
SimulationDrawer
{
28
public
:
29
SimulationDrawer
();
30
~
SimulationDrawer
();
31
32
public
:
33
// Drawing functions
34
void
MCTruthShortText(
const
art::Event
&
evt
,
evdb::View2D
* view);
35
void
MCTruthLongText(
const
art::Event
& evt,
evdb::View2D
* view);
36
void
MCTruthVectors2D(
const
art::Event
& evt,
evdb::View2D
* view,
unsigned
int
plane);
37
void
MCTruth3D(
const
art::Event
& evt,
evdb::View3D
* view);
38
void
MCTruthOrtho(
const
art::Event
& evt,
39
evd::OrthoProj_t
proj
,
40
double
msize,
41
evdb::View2D
* view);
42
43
void
HiLite(
int
trkId,
bool
hlt =
true
);
44
45
double
minx
;
46
double
maxx
;
47
double
miny
;
48
double
maxy
;
49
double
minz
;
50
double
maxz
;
51
52
private
:
53
int
GetMCTruth(
const
art::Event
& evt, std::vector<const simb::MCTruth*>& mctruth);
54
int
GetParticle(
const
art::Event
& evt, std::vector<const simb::MCParticle*>& plist);
55
56
private
:
57
std::map<int, bool>
fHighlite
;
58
};
59
}
60
61
#endif
62
evd::SimulationDrawer::fHighlite
std::map< int, bool > fHighlite
Definition:
SimulationDrawer.h:57
evd::SimulationDrawer::maxz
double maxz
Definition:
SimulationDrawer.h:50
OrthoProj.h
Define OrthoProj_t enum for selecting orthographic view.
fwd.h
evd::SimulationDrawer::minx
double minx
Definition:
SimulationDrawer.h:45
evd::OrthoProj_t
OrthoProj_t
Definition:
OrthoProj.h:12
evdb
Manage all things related to colors for the event display.
Definition:
Edge3DDrawer_tool.cc:14
evd
LArSoft includes.
Definition:
AnalysisBaseDrawer.cxx:27
evd::SimulationDrawer::minz
double minz
Definition:
SimulationDrawer.h:49
evdb::View3D
Definition:
View3D.h:18
evd::SimulationDrawer::miny
double miny
Definition:
SimulationDrawer.h:47
simb
ART objects.
Definition:
IHitParticleAssociations.h:22
evd::SimulationDrawer
Definition:
SimulationDrawer.h:27
art::Event
Definition:
Event.h:26
proj
Float_t proj
Definition:
plot.C:35
evd::SimulationDrawer::maxy
double maxy
Definition:
SimulationDrawer.h:48
evd::SimulationDrawer::maxx
double maxx
Definition:
SimulationDrawer.h:46
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:8
evdb::View2D
Definition:
View2D.h:22
lareventdisplay
v09_11_14
source
lareventdisplay
EventDisplay
SimulationDrawer.h
Generated on Tue Mar 11 2025 16:15:02 for LArSoft by
1.8.11