Aid in the rendering of AnalysisBase objects.
More...
#include <AnalysisBaseDrawer.h>
Aid in the rendering of AnalysisBase objects.
Definition at line 30 of file AnalysisBaseDrawer.h.
gar::evd::AnalysisBaseDrawer::AnalysisBaseDrawer |
( |
| ) |
|
gar::evd::AnalysisBaseDrawer::~AnalysisBaseDrawer |
( |
| ) |
|
void gar::evd::AnalysisBaseDrawer::DrawDeDx |
( |
const art::Event & |
evt, |
|
|
evdb::View2D * |
view |
|
) |
| |
Definition at line 62 of file AnalysisBaseDrawer.cxx.
68 for(
size_t imod = 0; imod < recoOpt->
fTrackLabels.size(); ++imod) {
72 auto trackListHandle = evt.
getValidHandle<std::vector<rec::Track> >(which);
73 std::vector<art::Ptr<rec::Track> > tracklist;
std::vector< art::InputTag > fTrackLabels
module labels that produced tracks
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
void gar::evd::AnalysisBaseDrawer::DrawKineticEnergy |
( |
const art::Event & |
evt, |
|
|
evdb::View2D * |
view |
|
) |
| |
Definition at line 80 of file AnalysisBaseDrawer.cxx.
87 TLatex& proton_tex = view->AddLatex(2.0, 180.0,
"proton");
88 TLatex& kaon_tex = view->AddLatex(2.0, 165.0,
"kaon" );
89 TLatex& pion_tex = view->AddLatex(2.0, 150.0,
"pion" );
90 TLatex& muon_tex = view->AddLatex(2.0, 135.0,
"muon" );
91 proton_tex.SetTextColor(kBlack);
92 kaon_tex .SetTextColor(kGray+2);
93 pion_tex .SetTextColor(kGray+1);
94 muon_tex .SetTextColor(kGray);
95 proton_tex.SetTextSize (0.075);
96 kaon_tex .SetTextSize (0.075);
97 pion_tex .SetTextSize (0.075);
98 muon_tex .SetTextSize (0.075);
103 for(
size_t imod = 0; imod < recoOpt->
fTrackLabels.size(); ++imod) {
106 auto trackListHandle = evt.
getValidHandle<std::vector<rec::Track> >(which);
107 std::vector<art::Ptr<rec::Track> > tracklist;
std::vector< art::InputTag > fTrackLabels
module labels that produced tracks
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
The documentation for this class was generated from the following files: