|
MarlinTPC
1.2.0
|
Simple event display that visualizes TrackerRawData for the LCTPC large prototype with CED. More...
#include <TrackerRawViewer.h>
Public Member Functions | |
| virtual Processor * | newProcessor () |
| virtual void | init () |
| Called at the begin of the job before anything is read. More... | |
| virtual void | processRunHeader (lcio::LCRunHeader *run) |
| Called for every run. | |
| virtual void | processEvent (lcio::LCEvent *evt) |
| Called for every event - the working horse. | |
| virtual void | check (lcio::LCEvent *evt) |
| virtual void | end () |
| Called after data processing for clean up. | |
Protected Member Functions | |
| bool | getPadCenter (double *padCenter, int cellID0, int cellID1) |
| Computes the pad center for given hardware ID in padCenter - returns false if nothing found. | |
Protected Attributes | |
| std::string | _colName |
| Input collection name. | |
| std::string | _hitColName |
| std::string | _trkColName |
| std::string | _chMapCollection |
| std::string | _chPosTextFile |
| const gear::TPCParameters * | _tpcParams |
| ChannelPosMap * | _posMap |
| ChannelMap * | _chMap |
| float | _driftVelocity |
| int | _colorScaleMaxADC |
| int | _colorScheme |
| bool | _waitForKeyboard |
| std::vector< int > | _colors |
| int | _nRun |
| int | _nEvt |
| ADCMap | _adcMap |
| ADCMap | _adcMapInt |
Simple event display that visualizes TrackerRawData for the LCTPC large prototype with CED.
Draws all ADC channels with a color code on layer 1. Optionally, hits and tracks are displayed on layers 2 and 3. On Layer 4 a color coded map of the mean number of integrated ADC counts per pad is drawn with a color code.
A collection of TrackerRawData (and optionally collections of TrackerHits and Tracks).
| CollectionName | Name of the TrackerRawData collection (default: AltroRawData ) |
| ChannelMappingCollection | Name of the LCCD collection with channel mapping (default: ADCChannelMapping) |
| ChannelPositionTextFile | Optionally use a text file for the hardware channel to position mapping - overwrites mapping from LCCD and GEAR |
| DriftVelocity | Drift velocity in micron/ns (default: 80.) |
| ColorScaleMaxADC | ADC value used for the maximum of the color scales (default: 32) |
| WaitForKeyBoard | true: display one event and wait for 'return' - false: continiously display events |
| ColorScheme | Color scheme - 1: hot , 2 : cold (default: 1) |
| HitCollectionName | Name of the TrackerHit collection (optional, default: TPCTrackerHits) |
| TrackCollectionName | Name of the Track collection (optional, default: TPCTracks) |
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.
1.8.6