LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "TQPad.h"
Public Member Functions | |
TQPad (const char *nm, const char *ti, double x1, double y1, double x2, double y2, const char *opt, unsigned int plane, unsigned int wire) | |
~TQPad () | |
void | Draw () |
void | SetPlaneWire (unsigned int plane=0, unsigned int wire=0) |
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 Member Functions | |
void | BookHistogram () |
Private Attributes | |
unsigned int | fWire |
unsigned int | fPlane |
Which plane in the detector. More... | |
int | fTQ |
0 = plot shows charge only, 1 = plot shows charge vs time for a wire More... | |
TH1F * | fRawHisto |
1-D Histogram of charge or charge vs time More... | |
TH1F * | fRecoHisto |
1-D Histogram of charge or charge vs time More... | |
evdb::View2D * | fView |
Superimpose scale on 1D histo. More... | |
|
protectedinherited |
Definition at line 51 of file DrawingPad.h.
evd::TQPad::TQPad | ( | const char * | nm, |
const char * | ti, | ||
double | x1, | ||
double | y1, | ||
double | x2, | ||
double | y2, | ||
const char * | opt, | ||
unsigned int | plane, | ||
unsigned int | wire | ||
) |
Definition at line 44 of file TQPad.cxx.
References BookHistogram(), fPlane, fTQ, fView, evd::kQ, evd::kTQ, geo::GeometryCore::Nplanes(), and evd::DrawingPad::Pad().
evd::TQPad::~TQPad | ( | ) |
Definition at line 103 of file TQPad.cxx.
References fRawHisto, fRecoHisto, and fView.
|
inherited |
Provide access to the drawer for AnalysisBase classes
Definition at line 132 of file DrawingPad.cxx.
References evd::DrawingPad::fAnalysisBaseDraw.
Referenced by evd::CalorPad::Draw().
|
private |
Definition at line 432 of file TQPad.cxx.
References evd::RawDrawingOptions::CurrentTPC(), fPlane, fRawHisto, evd::ColorDrawingOptions::fRawQHigh, evd::ColorDrawingOptions::fRawQLow, fRecoHisto, evd::ColorDrawingOptions::fRecoQHigh, evd::ColorDrawingOptions::fRecoQLow, fTQ, evd::DrawingPad::RawDataDraw(), evd::RawDataDrawer::StartTick(), and evd::RawDataDrawer::TotalClockTicks().
Referenced by TQPad().
void evd::TQPad::Draw | ( | ) |
Definition at line 111 of file TQPad.cxx.
References evdb::View2D::AddBox(), evdb::View2D::AddPolyLine(), evd::ColorDrawingOptions::CalQ(), anab::FVectorReader< T, N >::create(), evd::RawDrawingOptions::CurrentTPC(), evd::RecoBaseDrawer::EvalExpoFit(), evd::RecoBaseDrawer::EvalMultiExpoFit(), tca::evt, larg4::f1, evd::RawDrawingOptions::fDrawRawDataOrCalibWires, evd::RawDataDrawer::FillTQHisto(), evd::RecoBaseDrawer::FillTQHisto(), evd::RecoBaseDrawer::FillTQHistoDP(), evd::DrawingPad::fPad, fPlane, evd::ColorDrawingOptions::fRawDiv, fRawHisto, evd::ColorDrawingOptions::fRawQHigh, evd::ColorDrawingOptions::fRawQLow, evd::ColorDrawingOptions::fRecoDiv, fRecoHisto, evd::ColorDrawingOptions::fRecoQHigh, evd::ColorDrawingOptions::fRecoQLow, fTQ, fView, fWire, evdb::ColorScale::GetColor(), evdb::EventHolder::GetEvent(), hist, evdb::EventHolder::Instance(), evd::kRAW, max, min, evd::DrawingPad::RawDataDraw(), evd::ColorDrawingOptions::RawQ(), evd::DrawingPad::RecoBaseDraw(), util::flags::to_string(), x, x1, x2, y, y1, and y2.
Referenced by evd::TWQMultiTPCProjectionView::Draw(), evd::TWQProjectionView::Draw(), evd::TWQMultiTPCProjectionView::SetPlaneWire(), evd::TWQProjectionView::SetPlaneWire(), evd::TWQMultiTPCProjectionView::SetRawCalib(), evd::TWQProjectionView::SetRawCalib(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), and evd::TWQProjectionView::TWQProjectionView().
|
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(), evd::CalorPad::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 evd::CalorPad::CalorPad(), evd::Display3DPad::Display3DPad(), evd::HeaderPad::Draw(), evd::MCBriefPad::Draw(), evd::Display3DView::Draw(), evd::CalorPad::Draw(), evd::Display3DPad::Draw(), evd::CalorView::Draw(), evd::TWQProjectionView::Draw(), evd::CalorPad::DrawRefCurves(), evd::MCBriefPad::MCBriefPad(), evd::Ortho3DPad::Ortho3DPad(), evd::TWQMultiTPCProjectionView::SetPlaneWire(), evd::TWQProjectionView::SetPlaneWire(), evd::TWQMultiTPCProjectionView::SetRawCalib(), evd::TWQProjectionView::SetRawCalib(), 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 BookHistogram(), 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 Draw(), evd::Display3DPad::Draw(), evd::TWireProjPad::Draw(), evd::Ortho3DPad::Draw(), and evd::TWireProjPad::ShowFull().
|
inline |
Definition at line 24 of file TQPad.h.
Referenced by evd::TWQMultiTPCProjectionView::SetPlaneWire(), evd::TWQProjectionView::SetPlaneWire(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), and evd::TWQProjectionView::TWQProjectionView().
|
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().
|
protectedinherited |
Drawer for analysisbase objects.
Definition at line 60 of file DrawingPad.h.
Referenced by evd::DrawingPad::AnalysisBaseDraw(), and evd::DrawingPad::~DrawingPad().
|
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(), Draw(), evd::CalorPad::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().
|
private |
Which plane in the detector.
Definition at line 30 of file TQPad.h.
Referenced by BookHistogram(), Draw(), and TQPad().
|
protectedinherited |
Drawer for raw data.
Definition at line 58 of file DrawingPad.h.
Referenced by evd::DrawingPad::RawDataDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
1-D Histogram of charge or charge vs time
Definition at line 32 of file TQPad.h.
Referenced by BookHistogram(), Draw(), and ~TQPad().
|
protectedinherited |
Drawer for recobase objects.
Definition at line 59 of file DrawingPad.h.
Referenced by evd::DrawingPad::RecoBaseDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
1-D Histogram of charge or charge vs time
Definition at line 33 of file TQPad.h.
Referenced by BookHistogram(), Draw(), and ~TQPad().
|
protectedinherited |
Drawer for simulation objects.
Definition at line 57 of file DrawingPad.h.
Referenced by evd::DrawingPad::SimulationDraw(), and evd::DrawingPad::~DrawingPad().
|
private |
0 = plot shows charge only, 1 = plot shows charge vs time for a wire
Definition at line 31 of file TQPad.h.
Referenced by BookHistogram(), Draw(), and TQPad().
|
private |