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 =
"");
99 void SetZoom(
int plane,
int wirelow,
int wirehi,
int timelo,
int timehi,
bool StoreZoom =
true);
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.
then echo unknown compiler flag
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.
void ChangeWire(int plane)
std::vector< TWireProjPad * > fPlanes
time vs wire projection for each plane
void ZoomInterest(bool flag=true)
void Draw(const char *opt="")
MCBriefPad * fMC
Short summary of MC event.
double FindLineLength(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp)
void RadioButtonsDispatch(int parameter)
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.
void SelectPoint(int plane)
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.
void DrawPads(const char *opt="")
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.
void SetMouseZoomRegion(int plane)
std::map< int, double > wmax
TWQMultiTPCProjectionView(TGMainFrame *mf)
TGTextButton * fZoomInterest
Zoom on iteresting region.
static void MouseDispatch(int plane, void *wqpv)
int DrawLine(int plane, util::PxLine &pline)
Contains all timing reference information for the detector.
TGRadioButton * fToggleZoom
Use zoom setting.
void ToggleEndPointMarkers()
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
void SetZoom(int plane, int wirelow, int wirehi, int timelo, int timehi, bool StoreZoom=true)
TGNumberEntry * fWireEntry
Wire number displayed.
std::map< int, double > tmax
ZoomOptionsMultiTPC fZoomOpt
~TWQMultiTPCProjectionView()
TGNumberEntry * fDistance
Distance from line to find hits in cluster.
TGCheckButton * fToggleShowMarkers
Toggle the ShowEndPointMarkersSetting.