 |
Belle II Software
release-05-02-19
|
57 class DisplayData :
public TObject {
73 void addArrow(
const std::string& name,
const TVector3& start,
const TVector3& end,
int color = -1);
79 void addHistogram(
const std::string& name,
const TH1* hist);
82 void addLabel(
const std::string& text,
const TVector3& pos);
89 void addPoint(
const std::string& name,
const TVector3& pos);
99 void select(
const TObject*
object);
111 std::vector<std::pair<std::string, TVector3> >
m_labels;
Stores data associated with an arrow.
std::vector< std::pair< std::string, TVector3 > > m_labels
text labels (to be shown at a given position).
std::vector< TH1 * > m_histograms
Histograms to be shown in Eve.
Control TEve browser user interface.
void addHistogram(const std::string &name, const TH1 *hist)
Add histogram with the given name.
void addLabel(const std::string &text, const TVector3 &pos)
Add a text label at the given position.
void addArrow(const std::string &name, const TVector3 &start, const TVector3 &end, int color=-1)
Add an arrow in the display (for axes, to point out some specific location).
TVector3 end
and ends here.
Produces visualisation for MCParticles, simhits, genfit::Tracks, geometry and other things.
TVector3 start
arrow starts here.
Abstract base class for different kinds of events.
std::vector< Arrow > m_arrows
List of arrows.
ClassDef(DisplayData, 4)
Add custom information to the display.
std::map< std::string, std::vector< TVector3 > > m_pointSets
name -> points map
void addPoint(const std::string &name, const TVector3 &pos)
Add a point at the given position, as part of a collection specified by name.
void select(const TObject *object)
Select the given object in the display.
Add custom information to the display.
DisplayData()
Constructor.
std::vector< std::pair< std::string, unsigned int > > m_selectedObjects
List of selected objects (array name, index).
~DisplayData()
Destructor.