MarlinTPC
1.2.0
|
HepRepOutputProcessor: This processor generates a HepRep Output file for a HepRep based event display program. More...
#include <HepRepOutputProcessor.h>
Public Member Functions | |
HepRepOutputProcessor () | |
The constructor. Parameters will be registered here. | |
~HepRepOutputProcessor () | |
The Destructor. | |
Processor * | newProcessor () |
Return a new instance of this processor. | |
void | init () |
Processor initialisation. GEAR Geometry is drawn here. | |
void | processRunHeader (lcio::LCRunHeader *run) |
RunHeader processing. Revision and parameter logging. | |
virtual void | processEvent (lcio::LCEvent *evt) |
Called for every event - the working horse. | |
virtual void | check (lcio::LCEvent *evt) |
Called for every event - right after processEvent() has been called for all processors. | |
virtual void | end () |
Called after data processing for clean up in the inverse order of the init() method so that resources allocated in the first processor also will be available for all following processors. | |
HepRepOutputProcessor: This processor generates a HepRep Output file for a HepRep based event display program.
The processor extracts geometrical information of the detector in the init() function, so it can be used for geometry checks as well. By means of parameters the user can decide which objects from the LCIO file shall be drawn.
Color or pattern coding of the quality flags should be implemented for the pads.
not yet implemented, shall vary between a given color and "black"
not yet implemented, shall bleach a given color to "white"
Color | - |
not yet implemented, will be needed for some future color schemes.
<h4>Input - Prerequisites</h4> A valid GEAR file. <h4>Output</h4> A HepRep xml file. @param SimTrackerHitCollections list of the input SimTrackerHit collections. @param TrackerDataCollections list of the input SimTrackerHit collections. @param TrackerHitCollections list of the input SimTrackerHit collections. @param TrackerPulseCollections list of the input SimTrackerHit collections. @param TrackCollections list of the input SimTrackerHit collections. @param EventNumbersToDraw A space separated list of event numbers to be drawn. @param OutputFileName Name of the HepRep output file. @param PulseColorScheme Determines how the pulses are color coded: \li RAINBOW = 0, does rainbow colors between minimum and maximum charge. \li REDBLUE = 1, original color coding by J.Abernathy, gives a reddish value for charges > 0 and a blueish one for charges < 0 \li TOPOGRAPHIC = 2, color coding as known from maps - blue for charges < 0 and green>yellow>orange>red for charges >0 \li GREYSCALE = 3, grey between minimum (dark grey) and maximum charge (light grey) \li REDBLUESCALE = 4,\xrefitem todo 19. @author \li J. Abernathy (UVic) \li Oliver Schäfer, University of Rostock @version Revision $Rev$