LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
A drawing pad showing calorimetric particle ID information. More...
#include "CalorPad.h"
Public Member Functions | |
CalorPad (const char *name, const char *title, double x1, double y1, double x2, double y2, int curvetype) | |
~CalorPad () | |
void | Draw (const char *opt=0) |
void | DrawRefCurves () |
TPad * | Pad () |
HeaderDrawer * | HeaderDraw () |
evd_tool::IExperimentDrawer * | GeometryDraw () |
SimulationDrawer * | SimulationDraw () |
RawDataDrawer * | RawDataDraw () |
RecoBaseDrawer * | RecoBaseDraw () |
AnalysisBaseDrawer * | AnalysisBaseDraw () |
HitSelector * | HitSelectorGet () |
Protected Types | |
using | IExperimentDrawerPtr = std::unique_ptr< evd_tool::IExperimentDrawer > |
Protected Attributes | |
TPad * | fPad |
The ROOT graphics pad. More... | |
HeaderDrawer * | fHeaderDraw |
Drawer for event header info. More... | |
IExperimentDrawerPtr | fGeometryDraw |
Drawer for detector geometry. More... | |
SimulationDrawer * | fSimulationDraw |
Drawer for simulation objects. More... | |
RawDataDrawer * | fRawDataDraw |
Drawer for raw data. More... | |
RecoBaseDrawer * | fRecoBaseDraw |
Drawer for recobase objects. More... | |
AnalysisBaseDrawer * | fAnalysisBaseDraw |
Drawer for analysisbase objects. More... | |
Private Attributes | |
std::string | fROOTfile |
TGraph * | dedx_range_pro |
proton template More... | |
TGraph * | dedx_range_ka |
kaon template More... | |
TGraph * | dedx_range_pi |
pion template More... | |
TGraph * | dedx_range_mu |
muon template More... | |
TGraph * | ke_range_pro |
proton template More... | |
TGraph * | ke_range_ka |
kaon template More... | |
TGraph * | ke_range_pi |
pion template More... | |
TGraph * | ke_range_mu |
muon template More... | |
int | fcurvetype |
evdb::View2D * | fView |
Collection of graphics objects to render; text labels. More... | |
A drawing pad showing calorimetric particle ID information.
Definition at line 23 of file CalorPad.h.
|
protectedinherited |
Definition at line 43 of file DrawingPad.h.
evd::CalorPad::CalorPad | ( | const char * | name, |
const char * | title, | ||
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2, | ||
int | curvetype | ||
) |
Definition at line 40 of file CalorPad.cxx.
References dedx_range_ka, dedx_range_mu, dedx_range_pi, dedx_range_pro, fView, ke_range_ka, ke_range_mu, ke_range_pi, ke_range_pro, and evd::DrawingPad::Pad().
evd::CalorPad::~CalorPad | ( | ) |
Definition at line 75 of file CalorPad.cxx.
References dedx_range_ka, dedx_range_mu, dedx_range_pi, dedx_range_pro, fView, ke_range_ka, ke_range_mu, ke_range_pi, and ke_range_pro.
|
inherited |
Provide access to the drawer for AnalysisBase classes
Definition at line 143 of file DrawingPad.cxx.
References evd::DrawingPad::fAnalysisBaseDraw.
Referenced by Draw().
void evd::CalorPad::Draw | ( | const char * | opt = 0 | ) |
Definition at line 118 of file CalorPad.cxx.
References evd::DrawingPad::AnalysisBaseDraw(), evd::AnalysisBaseDrawer::CalorShower(), evdb::View2D::Clear(), evdb::View2D::Draw(), evd::AnalysisBaseDrawer::DrawDeDx(), evd::AnalysisBaseDrawer::DrawKineticEnergy(), DrawRefCurves(), e, tca::evt, fcurvetype, evd::DrawingPad::fPad, fView, evdb::EventHolder::GetEvent(), evdb::EventHolder::Instance(), and evd::DrawingPad::Pad().
Referenced by evd::CalorView::Draw().
void evd::CalorPad::DrawRefCurves | ( | ) |
Definition at line 164 of file CalorPad.cxx.
References dedx_range_ka, dedx_range_mu, dedx_range_pi, dedx_range_pro, evd::AnalysisDrawingOptions::fCalorTemplateFileName, fcurvetype, file, fROOTfile, ke_range_ka, ke_range_mu, ke_range_pi, ke_range_pro, and evd::DrawingPad::Pad().
Referenced by Draw().
|
inherited |
Provide access to the drawer for the detector geometry
Definition at line 97 of file DrawingPad.cxx.
References evd::DrawingPad::fGeometryDraw, evd::EvdLayoutOptions::fParameterSet, and fhicl::ParameterSet::get().
Referenced by evd::Display3DPad::Draw().
|
inherited |
Provide access to the drawer for the detector geometry
Definition at line 88 of file DrawingPad.cxx.
References evd::DrawingPad::fHeaderDraw.
Referenced by evd::HeaderPad::Draw().
|
inherited |
Provide access to the HitSelector
Definition at line 155 of file DrawingPad.cxx.
References evd::gTheHitSelector.
Referenced by evd::TWireProjPad::ClearHitList(), evd::TWireProjPad::Draw(), evd::TWireProjPad::SaveHitList(), evd::TWireProjPad::SaveSeedList(), and evd::TWireProjPad::SelectOneHit().
|
inlineinherited |
Definition at line 31 of file DrawingPad.h.
Referenced by CalorPad(), evd::Display3DPad::Display3DPad(), evd::HeaderPad::Draw(), evd::MCBriefPad::Draw(), evd::Display3DView::Draw(), evd::CalorView::Draw(), Draw(), evd::Display3DPad::Draw(), evd::TWQProjectionView::Draw(), DrawRefCurves(), evd::MCBriefPad::MCBriefPad(), evd::Ortho3DPad::Ortho3DPad(), evd::TWQProjectionView::SetPlaneWire(), evd::TWQMultiTPCProjectionView::SetPlaneWire(), evd::TWQProjectionView::SetRawCalib(), evd::TWQMultiTPCProjectionView::SetRawCalib(), evd::TQPad::TQPad(), evd::TWireProjPad::TWireProjPad(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), and evd::TWQProjectionView::TWQProjectionView().
|
inherited |
Provide access to the drawer for the RawData classes
Definition at line 121 of file DrawingPad.cxx.
References evd::DrawingPad::fRawDataDraw.
Referenced by evd::TQPad::BookHistogram(), evd::TQPad::Draw(), evd::TWireProjPad::Draw(), evd::TWireProjPad::ShowFull(), and evd::TWireProjPad::TWireProjPad().
|
inherited |
Provide access to the drawer for RecoBase classes
Definition at line 132 of file DrawingPad.cxx.
References evd::DrawingPad::fRecoBaseDraw.
Referenced by evd::Display3DPad::Draw(), evd::TWireProjPad::Draw(), evd::Ortho3DPad::Draw(), and evd::TWireProjPad::ShowFull().
|
inherited |
Provide access to the drawer for the Simulation classes
Definition at line 112 of file DrawingPad.cxx.
References evd::DrawingPad::fSimulationDraw.
Referenced by evd::MCBriefPad::Draw(), evd::TWireProjPad::Draw(), and evd::Ortho3DPad::Draw().
|
private |
kaon template
Definition at line 42 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
private |
muon template
Definition at line 44 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
private |
pion template
Definition at line 43 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
private |
proton template
Definition at line 41 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
protectedinherited |
Drawer for analysisbase objects.
Definition at line 51 of file DrawingPad.h.
Referenced by evd::DrawingPad::AnalysisBaseDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
Definition at line 50 of file CalorPad.h.
Referenced by Draw(), and DrawRefCurves().
|
protectedinherited |
Drawer for detector geometry.
Definition at line 47 of file DrawingPad.h.
Referenced by evd::DrawingPad::GeometryDraw().
|
protectedinherited |
Drawer for event header info.
Definition at line 46 of file DrawingPad.h.
Referenced by evd::DrawingPad::HeaderDraw(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
The ROOT graphics pad.
Definition at line 45 of file DrawingPad.h.
Referenced by evd::TWireProjPad::ClearandUpdatePad(), evd::MCBriefPad::Draw(), Draw(), evd::Display3DPad::Draw(), evd::TQPad::Draw(), evd::TWireProjPad::Draw(), evd::Ortho3DPad::Draw(), evd::DrawingPad::DrawingPad(), evd::TWireProjPad::DrawLinesinView(), evd::Ortho3DPad::Ortho3DPad(), evd::Ortho3DPad::SetMarkerSize(), evd::Ortho3DPad::SetZoom(), evd::TWireProjPad::TWireProjPad(), evd::Ortho3DPad::UnZoom(), evd::TWireProjPad::UpdatePad(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
Drawer for raw data.
Definition at line 49 of file DrawingPad.h.
Referenced by evd::DrawingPad::RawDataDraw(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
Drawer for recobase objects.
Definition at line 50 of file DrawingPad.h.
Referenced by evd::DrawingPad::RecoBaseDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
Definition at line 40 of file CalorPad.h.
Referenced by DrawRefCurves().
|
protectedinherited |
Drawer for simulation objects.
Definition at line 48 of file DrawingPad.h.
Referenced by evd::DrawingPad::SimulationDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
Collection of graphics objects to render; text labels.
Definition at line 52 of file CalorPad.h.
Referenced by CalorPad(), Draw(), and ~CalorPad().
|
private |
kaon template
Definition at line 47 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
private |
muon template
Definition at line 49 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
private |
pion template
Definition at line 48 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
private |
proton template
Definition at line 46 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().