 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/display/EventDataPlotter.h>
19 namespace TrackFindingCDC {
31 CDCSVGPlotter(
bool animate =
false,
bool forwardFade =
false);
41 void drawWires(
const CDCWireTopology& cdcWireTopology);
72 void drawHits(
const std::string& storeArrayName,
73 const std::string& stroke,
74 const std::string& strokeWidth);
83 const std::string& stroke,
84 const std::string& strokeWidth);
93 const std::string& stroke,
94 const std::string& strokeWidth);
103 const std::string& stroke,
104 const std::string& strokeWidth);
113 const std::string& stroke,
114 const std::string& strokeWidth);
123 const std::string& stroke,
124 const std::string& strokeWidth);
133 const std::string& stroke,
134 const std::string& strokeWidth);
143 const std::string& stroke,
144 const std::string& strokeWidth);
153 const std::string& stroke,
154 const std::string& strokeWidth);
160 void drawTracks(
const std::string& storeObjName,
161 const std::string& stroke,
162 const std::string& strokeWidth);
171 const std::string& stroke,
172 const std::string& strokeWidth);
179 const std::string& stroke,
180 const std::string& strokeWidth);
187 const std::string& stroke,
188 const std::string& strokeWidth);
195 const std::string& stroke,
196 const std::string& strokeWidth);
218 template<
class ACDCHitCollection>
229 const std::string& stroke,
230 const std::string& strokeWidth);
244 const std::string& stroke,
245 const std::string& strokeWidth);
259 const std::string& stroke,
260 const std::string& strokeWidth);
274 const std::string& stroke,
275 const std::string& strokeWidth);
282 std::string
saveFile(
const std::string& fileName =
"display.svg");
294 template<
class AItem,
bool a_drawTrajectories = false>
295 void drawStoreArray(
const std::string& storeArrayName, Styling<AItem>& styling);
306 template<
class AItem,
bool a_drawTrajectories = false>
307 void drawStoreVector(
const std::string& storeObjName, Styling<AItem>& styling);
315 template <
bool a_drawTrajectory = false,
class AIterable,
class AStyling>
316 void drawIterable(
const AIterable& items, AStyling& styling);
319 template <
bool a_drawTrajectory = false,
class AObject>
320 void draw(
const AObject&
object,
const AttributeMap& attributeMap);
void drawWrongRLHitsInSegments(const std::string &segmentsStoreObjName)
Draw the CDCRLWireHits in the CDCSegments colored by the match of the right left passage informations...
void drawHits(const std::string &storeArrayName, const std::string &stroke, const std::string &strokeWidth)
Draws CDCHits.
EventDataPlotter m_eventdataPlotter
The plotter instance to translate event data objects to svg expressions.
void drawClusters(const std::string &storeObjName, const std::string &stroke, const std::string &strokeWidth)
Draws CDCWireHitClusters.
void drawRecoTrackTrajectories(const std::string &storeArrayName, const std::string &stroke, const std::string &strokeWidth)
Draw RecoTracks trajectories.
void drawMCAxialSegmentPairs(const std::string &segmentsStoreObjName, const std::string &stroke, const std::string &strokeWidth)
Draws the Monte Carlo true CDCAxialSegmentPairs.
CDCSVGPlotter * clone()
Make a copy of the current status of the plotter.
void drawMCSegmentPairs(const std::string &segmentsStoreObjName, const std::string &stroke, const std::string &strokeWidth)
Draws the Monte Carlo true CDCSegmentPairs.
void drawMCParticleTrajectories(const std::string &storeArrayName, const std::string &stroke, const std::string &strokeWidth)
Draw MCParticles.
void drawSegmentTriples(const std::string &storeObjName, const std::string &stroke, const std::string &strokeWidth)
Draw the axial, stereo, axial segment triples.
void drawWrongRLHits(const std::string &storeObjName)
Draw the CDCRLWireHits in the ACDCHitCollection colored by the match of the right left passage inform...
void drawSimHitsConnectByToF(const std::string &simHitStoreArrayName, const std::string &stroke, const std::string &strokeWidth)
Draw the CDCSimHits connected in the order of their getFlightTime for each Monte Carlo particle.
void drawStoreArray(const std::string &storeArrayName, Styling< AItem > &styling)
Function Template for drawing the elements of a given StoreArray.
void drawInteractionPoint()
Draws the interaction point.
void drawAxialSegmentPairs(const std::string &storeObjName, const std::string &stroke, const std::string &strokeWidth)
Draw the axial to axial segment pairs.
void drawWires(const CDCWireTopology &cdcWireTopology)
Draws the wires.
void drawTrackTrajectories(const std::string &storeObjName, const std::string &stroke, const std::string &strokeWidth)
Draws trajectories of the tracks.
Abstract base class for different kinds of events.
void drawSegmentTrajectories(const std::string &storeObjName, const std::string &stroke, const std::string &strokeWidth)
Draws SegmentTrajectories.
void drawWrongRLHitsInTracks(const std::string &tracksStoreObjName)
Draw the CDCRLWireHits in the CDCTracks colored by the match of the right left passage informations.
void drawSegments(const std::string &storeObjName, const std::string &stroke, const std::string &strokeWidth)
Draws CDCSegments.
void drawInnerCDCWall(const std::string &stroke)
Draws the inner CDCWall.
void drawSuperLayerBoundaries(const std::string &stroke)
Draws the individual super layer boundaries.
void drawRecoTracks(const std::string &storeArrayName, const std::string &stroke, const std::string &strokeWidth)
Draw RecoTracks.
void drawTracks(const std::string &storeObjName, const std::string &stroke, const std::string &strokeWidth)
Draws CDCTracks.
void drawSimHits(const std::string &storeArrayName, const std::string &stroke, const std::string &strokeWidth)
Draws CDCSimHits.
void drawMCSegmentTriples(const std::string &segmentsStoreObjName, const std::string &stroke, const std::string &strokeWidth)
Draws the Monte Carlo true CDCSegmentTriples.
void drawSegmentPairs(const std::string &storeObjName, const std::string &stroke, const std::string &strokeWidth)
Draw the axial to stereo segment pairs.
void draw(const AObject &object, const AttributeMap &attributeMap)
Draws the object or its trajectory with the given attributes.
CDCSVGPlotter(bool animate=false, bool forwardFade=false)
Constructor.
std::string saveFile(const std::string &fileName="display.svg")
Save the current dom object representation to disk.
void drawOuterCDCWall(const std::string &stroke)
Draws the outer CDCWall.
void drawStoreVector(const std::string &storeObjName, Styling< AItem > &styling)
Function Template for drawing the elements of a given StoreVector.
void drawIterable(const AIterable &items, AStyling &styling)
Draw every element of an iterable object.
void drawSegmentTripleTrajectories(const std::string &storeObjName, const std::string &stroke, const std::string &strokeWidth)
Draw the trajectories of the axial, stereo, axial segment triples.