|
MarlinTPC
1.2.0
|
This processor fills an 2D root histogram which represents the pad plane. More...
#include <ChargeOnPadsVisualisationProcessor.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 (EVENT::LCRunHeader *run) |
| Called for every run. | |
| virtual void | processEvent (EVENT::LCEvent *evt) |
| Called for every event - the working horse. | |
Protected Attributes | |
| std::string | _inputCollectionName |
| Inputcollection name. | |
| int | _nEvt |
| int | _nRun |
| AIDA::IHistogram2D * | _chargeOnPads |
| gear::PadRowLayout2D const * | _padLayout |
| int | _padLayoutType |
| int | _resetHisto |
This processor fills an 2D root histogram which represents the pad plane.
The amount of charge deposited in a pixel is given by the color. If used with a rectangular pad layout the number of x-bins is given by the number of pads in the row with most pads. The number of y-bins is given by the number of rows. If used with circular pad layout the number of bins in x and y is given by to times the outer radius of the pad plane divided by row height.
Collection of TPCVoxels with charges on pads
| InputCollectionName | Name of input collection, SimTrackerHits |
| ResetHistogram | Resets the histogram after each event if turned on (0) |
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.
1.8.6