9 #ifndef EVD_TWQMULTITPCPROJECTION_H 10 #define EVD_TWQMULTITPCPROJECTION_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")
65 const char*
Description()
const {
return "Time/Wire/Charge Projections"; }
66 const char*
PrintTag()
const {
return "twq-multiTPC-proj"; }
68 void Draw(
const char* opt =
"");
71 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 =
"");
103 void ClearEndPoints();
104 void ToggleEndPointMarkers();
106 void RadioButtonsDispatch(
int parameter);
151 std::deque<util::PxPoint>
153 std::deque<util::PxLine>
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.
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
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.