9 #ifndef EVD_TWQMULTITPCPROJECTION_H 10 #define EVD_TWQMULTITPCPROJECTION_H 17 #include "RQ_OBJECT.h" 26 class TRootEmbeddedCanvas;
45 std::map<int, double>
wmin;
46 std::map<int, double>
wmax;
47 std::map<int, double>
tmin;
48 std::map<int, double>
tmax;
58 RQ_OBJECT(
"evd::TWQMultiTPCProjectionView")
64 const char*
Description()
const {
return "Time/Wire/Charge Projections"; }
65 const char*
PrintTag()
const {
return "twq-multiTPC-proj"; }
67 void Draw(
const char* opt=
"");
70 static void MouseDispatch(
int plane,
void * wqpv);
73 void ChangeWire(
int plane);
75 void SetMouseZoomRegion(
int plane);
77 void SelectPoint(
int plane);
89 void SetUpZoomButtons();
90 void SetUpPositionFind();
91 void SetZoom(
int plane,
int wirelow,
int wirehi,
int timelo,
int timehi,
bool StoreZoom=
true);
92 void ZoomInterest(
bool flag=
true);
96 void SetZoomInterest();
98 void DrawPads(
const char* opt=
"");
101 double FindLineLength();
102 void ClearEndPoints();
103 void ToggleEndPointMarkers();
105 void RadioButtonsDispatch(
int parameter);
162 #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
MCBriefPad * fMC
Short summary of MC event.
Base class for define a detector display.
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.
std::vector< TQPad * > fPlaneQ
charge on each plane
TGTextView * fXYZPosition
Display the xyz position.
TGRadioButton * fRawDraw
Draw Raw information only.
TGTextButton * fClear
Clears the selected points in an event.
TGCompositeFrame * fMetaFrame
needed for the side frame
TGTextButton * fCalcAngle
Calculate the 2D & 3D angles between lines.
std::map< int, double > wmax
TGTextButton * fZoomInterest
Zoom on iteresting region.
TGRadioButton * fToggleZoom
Use zoom setting.
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.