LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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
#include <string>
9
#include <vector>
10
#include <map>
11
#include "
lareventdisplay/EventDisplay/OrthoProj.h
"
12
13
namespace
art
{
class
Event
; }
14
namespace
evdb
{
class
View2D; }
15
namespace
evdb
{
class
View3D; }
16
namespace
geo
{
class
Geometry; }
17
namespace
simb
{
18
class
MCTruth
;
19
class
MCParticle
;
20
}
21
22
namespace
evd
{
23
class
SimulationDrawer
{
24
public
:
25
SimulationDrawer
();
26
~
SimulationDrawer
();
27
28
public
:
29
// Drawing functions
30
void
MCTruthShortText(
const
art::Event
&
evt
,
31
evdb::View2D
* view);
32
void
MCTruthLongText(
const
art::Event
& evt,
33
evdb::View2D
* view);
34
void
MCTruthVectors2D(
const
art::Event
& evt,
35
evdb::View2D
* view,
36
unsigned
int
plane);
37
void
MCTruth3D(
const
art::Event
& evt,
38
evdb::View3D
* view);
39
void
MCTruthOrtho(
const
art::Event
& evt,
40
evd::OrthoProj_t
proj
,
41
double
msize,
42
evdb::View2D
* view);
43
44
void
HiLite(
int
trkId,
bool
hlt=
true
);
45
46
double
minx
;
47
double
maxx
;
48
double
miny
;
49
double
maxy
;
50
double
minz
;
51
double
maxz
;
52
53
private
:
54
int
GetMCTruth(
const
art::Event
& evt,
55
std::vector<const simb::MCTruth*>& mctruth);
56
57
int
GetParticle(
const
art::Event
& evt,
58
std::vector<const simb::MCParticle*>& plist);
59
60
private
:
61
std::map<int,bool>
fHighlite
;
62
63
};
64
}
65
66
#endif
67
evd::SimulationDrawer::maxz
double maxz
Definition:
SimulationDrawer.h:51
OrthoProj.h
Define OrthoProj_t enum for selecting orthographic view.
simb::MCParticle
Definition:
MCParticle.h:24
evd::SimulationDrawer::minx
double minx
Definition:
SimulationDrawer.h:46
evd::OrthoProj_t
OrthoProj_t
Definition:
OrthoProj.h:12
evdb
Manage all things related to colors for the event display.
Definition:
AnalysisBaseDrawer.h:18
evd
LArSoft includes.
Definition:
AnalysisBaseDrawer.cxx:50
evd::SimulationDrawer::minz
double minz
Definition:
SimulationDrawer.h:50
evdb::View3D
Definition:
View3D.h:18
evd::SimulationDrawer::miny
double miny
Definition:
SimulationDrawer.h:48
simb
Framework includes.
Definition:
SimulationDrawer.h:17
evd::SimulationDrawer
Definition:
SimulationDrawer.h:23
art::Event
Definition:
Event.h:42
proj
Float_t proj
Definition:
plot.C:34
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
evd::SimulationDrawer::maxy
double maxy
Definition:
SimulationDrawer.h:49
evd::SimulationDrawer::maxx
double maxx
Definition:
SimulationDrawer.h:47
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:5
simb::MCTruth
Event generator information.
Definition:
MCTruth.h:30
art::Level::Event
geo
Namespace collecting geometry-related classes utilities.
Definition:
TrackContainmentAlg.hh:20
evd::SimulationDrawer::fHighlite
std::map< int, bool > fHighlite
Definition:
SimulationDrawer.h:61
evdb::View2D
Definition:
View2D.h:22
lareventdisplay
v07_02_02
source
lareventdisplay
EventDisplay
SimulationDrawer.h
Generated on Wed Dec 12 2018 14:42:47 for LArSoft by
1.8.11