MarlinTPC  1.2.0
Public Member Functions | Protected Attributes | List of all members
marlintpc::ChargeOnPadsVisualisationProcessor Class Reference

This processor fills an 2D root histogram which represents the pad plane. More...

#include <ChargeOnPadsVisualisationProcessor.h>

Inheritance diagram for marlintpc::ChargeOnPadsVisualisationProcessor:

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
 

Detailed Description

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.

Input - Prerequisites

Collection of TPCVoxels with charges on pads

Parameters
InputCollectionNameName of input collection, SimTrackerHits
ResetHistogramResets the histogram after each event if turned on (0)
Author
Thorsten Krautscheid

Member Function Documentation

void marlintpc::ChargeOnPadsVisualisationProcessor::init ( )
virtual

Called at the begin of the job before anything is read.

Use to initialize the processor, e.g. book histograms.


The documentation for this class was generated from the following files: