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

Count how many times a pixel has been hit on the TimePix chip. More...

#include <TimePixOccupancyProcessor.h>

Inheritance diagram for marlintpc::TimePixOccupancyProcessor:

Public Member Functions

virtual Processor * newProcessor ()
 
virtual void init ()
 
virtual void processRunHeader (lcio::LCRunHeader *run)
 
virtual void processEvent (lcio::LCEvent *evt)
 
virtual void end ()
 

Protected Attributes

std::string _inputColName
 the name of the input collection
 
std::map< int,
AIDA::IHistogram2D * > 
_timePixOccupancyHistos
 < Map with the occupancy histograms, one per chip
 
int _nColumns
 Number of colmns on the chip.
 
int _nRows
 Number of rows on the chip.
 
int _nColumnModules
 Number of modules/chips in a row.
 
int _nRowModules
 Number of modules/chips in a row.
 
std::vector< int > _chipDirections
 Vector containing the position of the zero on the chip.
 
std::vector< int > _chipIDs
 ID number(s) of the chip(s)
 
TH2I * _allChipsOccupancy
 Histo showing the occupancy for all chips.
 

Detailed Description

Count how many times a pixel has been hit on the TimePix chip.

Input - Prerequisites

Output

Parameters
InputColNameName of input collection with lcio::TrackerRawData (default: TimePixRawData)
NColumnsNumber of colmns on a chip (default: 256)
NRowsNumber of rows on a chip (default: 256)
Author
Martin Killenberg, University of Bonn

Member Function Documentation

void marlintpc::TimePixOccupancyProcessor::processEvent ( lcio::LCEvent *  evt)
virtual

TODO: for(int iFind = 0; (iFind < _chipIDs.size()) ; iFind++) causes warning: comparison between signed and unsigned integer expressions

References _allChipsOccupancy, _chipDirections, _chipIDs, _inputColName, _nColumnModules, _nColumns, _nRows, and _timePixOccupancyHistos.


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