8 #include "TPolyLine3D.h" 9 #include "TPolyMarker.h" 10 #include "TPolyMarker3D.h" 14 #include "nuevdb/EventDisplayBase/View2D.h" 22 #include "Utilities/AssociationUtil.h" 28 #include "canvas/Persistency/Common/FindMany.h" 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;
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
void DrawDeDx(const art::Event &evt, evdb::View2D *view)
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
void DrawKineticEnergy(const art::Event &evt, evdb::View2D *view)
General GArSoft Utilities.
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)