LArSoft
v09_90_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
namespace
art
{
14
class
Event
;
15
}
16
#include "
lareventdisplay/EventDisplay/OrthoProj.h
"
17
18
namespace
evdb
{
19
class
View2D;
20
class
View3D;
21
}
22
23
namespace
simb
{
24
class
MCTruth;
25
class
MCParticle;
26
}
27
28
namespace
evd
{
29
class
SimulationDrawer
{
30
public
:
31
SimulationDrawer
();
32
~
SimulationDrawer
();
33
34
public
:
35
// Drawing functions
36
void
MCTruthShortText(
const
art::Event
&
evt
,
evdb::View2D
* view);
37
void
MCTruthLongText(
const
art::Event
& evt,
evdb::View2D
* view);
38
void
MCTruthVectors2D(
const
art::Event
& evt,
evdb::View2D
* view,
unsigned
int
plane);
39
void
MCTruth3D(
const
art::Event
& evt,
evdb::View3D
* view);
40
void
MCTruthOrtho(
const
art::Event
& evt,
41
evd::OrthoProj_t
proj
,
42
double
msize,
43
evdb::View2D
* view);
44
45
void
HiLite(
int
trkId,
bool
hlt =
true
);
46
47
double
minx
;
48
double
maxx
;
49
double
miny
;
50
double
maxy
;
51
double
minz
;
52
double
maxz
;
53
54
private
:
55
int
GetMCTruth(
const
art::Event
& evt, std::vector<const simb::MCTruth*>& mctruth);
56
int
GetParticle(
const
art::Event
& evt, std::vector<const simb::MCParticle*>& plist);
57
58
private
:
59
std::map<int, bool>
fHighlite
;
60
};
61
}
62
63
#endif
64
evd::SimulationDrawer::fHighlite
std::map< int, bool > fHighlite
Definition:
SimulationDrawer.h:59
evd::SimulationDrawer::maxz
double maxz
Definition:
SimulationDrawer.h:52
OrthoProj.h
Define OrthoProj_t enum for selecting orthographic view.
evd::SimulationDrawer::minx
double minx
Definition:
SimulationDrawer.h:47
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:51
evdb::View3D
Definition:
View3D.h:18
evd::SimulationDrawer::miny
double miny
Definition:
SimulationDrawer.h:49
simb
ART objects.
Definition:
IHitParticleAssociations.h:22
evd::SimulationDrawer
Definition:
SimulationDrawer.h:29
art::Event
Definition:
Event.h:26
proj
Float_t proj
Definition:
plot.C:35
art
Definition:
MVAAlg.h:12
evd::SimulationDrawer::maxy
double maxy
Definition:
SimulationDrawer.h:50
evd::SimulationDrawer::maxx
double maxx
Definition:
SimulationDrawer.h:48
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:8
art::Level::Event
evdb::View2D
Definition:
View2D.h:22
lareventdisplay
v09_11_05
source
lareventdisplay
EventDisplay
SimulationDrawer.h
Generated on Thu May 2 2024 20:59:39 for LArSoft by
1.8.11