9 #ifndef EVD_TWQMULTITPCPROJECTION_H 10 #define EVD_TWQMULTITPCPROJECTION_H 13 #include "nuevdb/EventDisplayBase/Canvas.h" 15 class DetectorClocksData;
16 class DetectorPropertiesData;
19 #include "RQ_OBJECT.h" 27 class TGCompositeFrame;
49 std::map<int, double>
wmin;
50 std::map<int, double>
wmax;
51 std::map<int, double>
tmin;
52 std::map<int, double>
tmax;
59 RQ_OBJECT(
"evd::TWQMultiTPCProjectionView")
68 return "Time/Wire/Charge Projections";
73 return "twq-multiTPC-proj";
76 void Draw(
const char*
opt =
"");
79 static void MouseDispatch(
int plane,
void* wqpv);
81 void ChangeWire(
int plane);
83 void SetMouseZoomRegion(
int plane);
85 void SelectPoint(
int plane);
97 void SetUpZoomButtons();
98 void SetUpPositionFind();
99 void SetZoom(
int plane,
int wirelow,
int wirehi,
int timelo,
int timehi,
bool StoreZoom =
true);
100 void ZoomInterest(
bool flag =
true);
104 void SetZoomInterest();
106 void DrawPads(
const char*
opt =
"");
111 void ClearEndPoints();
112 void ToggleEndPointMarkers();
114 void RadioButtonsDispatch(
int parameter);
159 std::deque<util::PxPoint>
161 std::deque<util::PxLine>
170 #endif //EVD_TWQPROJECTION_H TGRadioButton * fCalibDraw
Draw calibrated information only.
TQPad * fWireQ
Histogram of charge vs time on selected wire.
TGCompositeFrame * fVFrame
needed for the side frame
TGNumberEntry * fThresEntry
ADC threshold to display.
std::map< int, double > tmin
TGTextButton * fUnZoomInterest
Unzoom on iteresting region.
TGRadioButton * fRawCalibDraw
Draw raw and calibrated information.
std::vector< TWireProjPad * > fPlanes
time vs wire projection for each plane
static Argument * parameter
MCBriefPad * fMC
Short summary of MC event.
TGNumberEntry * fPlaneEntry
Plane number displayed.
HeaderPad * fHeaderPad
Show header information.
std::deque< util::PxPoint > ppoints
list of points in each WireProjPad used for x,y,z finding
TGTextButton * fFindEndpoint
Calculate XYZ position of two points in wire planes.
TGCheckButton * fMCOn
Display MC truth information.
TGTextButton * fZoomBack
Unzoom on iteresting region.
TGCheckButton * fToggleAutoZoom
Toggle the autozoom setting.
TGTextButton * fClearPPoints
Clear current list of End Points.
TGTextView * fXYZPosition
Display the xyz position.
TGRadioButton * fRawDraw
Draw Raw information only.
TGTextButton * fClear
Clears the selected points in an event.
General LArSoft Utilities.
TGCompositeFrame * fMetaFrame
needed for the side frame
void Draw(const char *plot, const char *title)
TGTextButton * fCalcAngle
Calculate the 2D & 3D angles between lines.
std::map< int, double > wmax
TGTextButton * fZoomInterest
Zoom on iteresting region.
Contains all timing reference information for the detector.
TGRadioButton * fToggleZoom
Use zoom setting.
std::vector< TQPad * > fPlaneQ
charge on each plane
const char * Description() const
TGCheckButton * fGreyScale
Display gray or color scale.
std::vector< ZoomOptionsMultiTPC > fPrevZoomOpt
const char * PrintTag() const
std::deque< util::PxLine > pline
list of lines in each WireProjPad used for calculating 2d and 3d angles
std::map< int, double > wmin
TGNumberEntry * fWireEntry
Wire number displayed.
std::map< int, double > tmax
ZoomOptionsMultiTPC fZoomOpt
TGNumberEntry * fDistance
Distance from line to find hits in cluster.
TGCheckButton * fToggleShowMarkers
Toggle the ShowEndPointMarkersSetting.