CEDViewer
1.12.0
|
DSTViewer
This processor displays ....
More...
#include <DSTViewer.h>
Public Member Functions | |
virtual Processor * | newProcessor () |
DSTViewer () | |
DSTViewer description. | |
virtual void | init () |
DSTViewer initialise. | |
virtual void | processRunHeader (LCRunHeader *run) |
Process run header (?) | |
virtual void | processEvent (LCEvent *evt) |
Main function processEvent. More... | |
virtual void | check (LCEvent *evt) |
virtual void | end () |
Protected Member Functions | |
int | returnTrackColor (int type) |
PRELIM. | |
int | returnClusterColor (float eneCluster, float cutoff_min, float cutoff_max) |
void | showLegendSpectrum (const unsigned int color_steps, char scale, int colorMap, float ene_min, float ene_max, unsigned int ticks) |
int | returnRGBClusterColor (float eneCluster, float cutoff_min, float cutoff_max, int color_steps, char scale, int colorMap) |
int | returnClusterSize (float eneCluster, float cutoff_min, float cutoff_max) |
int | returnTrackSize (float type) |
PRELIM. | |
int | returnJetLayer (std::string jetColName) |
int | returnIpLayer (std::string jetColName) |
int | returnJetColor (std::string jetColName, int colNumber) |
int | addAlphaChannelToColor (int color, int alphaChannel) |
float * | returnConeColor (std::string jetColName) |
void | writeLayerDescription (void) |
DSTViewer
This processor displays ....
ParticleCollection | : name of reconstructed Particle collection to be displayed ..... |
|
virtual |
Main function processEvent.
Drawing Geometry Reset drawing buffer and START drawing collection
Drawing Reconstructed Particles
Total E, p, q values for the event
get particle properties
Draw the helix and straight lines
Draw momentum lines from the ip
Draw momentum lines from the ip
References returnClusterSize(), returnRGBClusterColor(), returnTrackColor(), returnTrackSize(), and showLegendSpectrum().
|
protected |
eneCluster | : Energy of the cluster |
cutoff_min | : Min cut for the cluster energy |
cutoff_max | : Max cut for the cluster energy |
Returns the colour for the visualisation of a cluster (in log scale). Colours run from red (0x660000) to blue (0x6600FF) for high and low energy particles respectively.
Check the input values for sanity
|
protected |
|
protected |
|
protected |
eneCluster | : Energy of the cluster |
cutoff_min | : Min cut for the cluster energy |
cutoff_max | : Max cut for the cluster energy |
color_steps | Number of colours to be used in the scale |
scale | : Linear or Logarithmic colour scale |
colorMap | : Color map type to be used |
Returns the size for the visualisation of a cluster (in log scale) within user defined sizes.
Referenced by processEvent().