LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 20 of file CalorPad.h.
|
protectedinherited |
Definition at line 51 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 54 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 88 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 132 of file DrawingPad.cxx.
References evd::DrawingPad::fAnalysisBaseDraw.
Referenced by Draw().
void evd::CalorPad::Draw | ( | const char * | opt = 0 | ) |
Definition at line 104 of file CalorPad.cxx.
References evd::DrawingPad::AnalysisBaseDraw(), evd::AnalysisBaseDrawer::CalorInteractive(), evd::AnalysisBaseDrawer::CalorShower(), evdb::View2D::Clear(), evdb::View2D::Draw(), evd::AnalysisBaseDrawer::DrawDeDx(), evd::AnalysisBaseDrawer::DrawKineticEnergy(), DrawRefCurves(), e, tca::evt, fcurvetype, evd::EvdLayoutOptions::fMakeSeeds, evd::DrawingPad::fPad, evd::RecoDrawingOptions::fUseHitSelector, fView, evdb::EventHolder::GetEvent(), evd::HitSelector::GetSelectedHitPtrs(), evd::DrawingPad::HitSelectorGet(), evdb::EventHolder::Instance(), and evd::DrawingPad::Pad().
Referenced by evd::CalorView::Draw().
void evd::CalorPad::DrawRefCurves | ( | ) |
Definition at line 169 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 84 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 75 of file DrawingPad.cxx.
References evd::DrawingPad::fHeaderDraw.
Referenced by evd::HeaderPad::Draw().
|
inherited |
Provide access to the HitSelector
Definition at line 144 of file DrawingPad.cxx.
References evd::gTheHitSelector.
Referenced by evd::TWireProjPad::ClearHitList(), Draw(), evd::TWireProjPad::Draw(), evd::TWireProjPad::SaveHitList(), evd::TWireProjPad::SaveSeedList(), evd::TWireProjPad::SelectOneHit(), and evd::Display3DPad::UpdateSeedCurve().
|
inlineinherited |
Definition at line 37 of file DrawingPad.h.
Referenced by CalorPad(), evd::Display3DPad::Display3DPad(), evd::HeaderPad::Draw(), evd::MCBriefPad::Draw(), evd::Display3DView::Draw(), Draw(), evd::Display3DPad::Draw(), evd::CalorView::Draw(), evd::TWQProjectionView::Draw(), DrawRefCurves(), evd::MCBriefPad::MCBriefPad(), evd::Ortho3DPad::Ortho3DPad(), evd::TWQMultiTPCProjectionView::SetPlaneWire(), evd::TWQProjectionView::SetPlaneWire(), evd::TWQMultiTPCProjectionView::SetRawCalib(), evd::TWQProjectionView::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 109 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 120 of file DrawingPad.cxx.
References evd::DrawingPad::fRecoBaseDraw.
Referenced by evd::TQPad::Draw(), 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 99 of file DrawingPad.cxx.
References evd::DrawingPad::fSimulationDraw.
Referenced by evd::MCBriefPad::Draw(), evd::Display3DPad::Draw(), evd::TWireProjPad::Draw(), and evd::Ortho3DPad::Draw().
|
private |
kaon template
Definition at line 37 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
private |
muon template
Definition at line 39 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
private |
pion template
Definition at line 38 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
private |
proton template
Definition at line 36 of file CalorPad.h.
Referenced by CalorPad(), DrawRefCurves(), and ~CalorPad().
|
protectedinherited |
Drawer for analysisbase objects.
Definition at line 60 of file DrawingPad.h.
Referenced by evd::DrawingPad::AnalysisBaseDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
Definition at line 45 of file CalorPad.h.
Referenced by Draw(), and DrawRefCurves().
|
protectedinherited |
Drawer for detector geometry.
Definition at line 56 of file DrawingPad.h.
Referenced by evd::DrawingPad::GeometryDraw().
|
protectedinherited |
Drawer for event header info.
Definition at line 54 of file DrawingPad.h.
Referenced by evd::DrawingPad::HeaderDraw(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
The ROOT graphics pad.
Definition at line 53 of file DrawingPad.h.
Referenced by evd::TWireProjPad::ClearandUpdatePad(), evd::MCBriefPad::Draw(), evd::TQPad::Draw(), Draw(), evd::Display3DPad::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 58 of file DrawingPad.h.
Referenced by evd::DrawingPad::RawDataDraw(), and evd::DrawingPad::~DrawingPad().
|
protectedinherited |
Drawer for recobase objects.
Definition at line 59 of file DrawingPad.h.
Referenced by evd::DrawingPad::RecoBaseDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
Definition at line 35 of file CalorPad.h.
Referenced by DrawRefCurves().
|
protectedinherited |
Drawer for simulation objects.
Definition at line 57 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 47 of file CalorPad.h.
Referenced by CalorPad(), Draw(), and ~CalorPad().
|
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().