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

This processor creates one histogram with the raw data of each channel. More...

#include <ADCRawEventDisplayProcessor.h>

Inheritance diagram for marlintpc::ADCRawEventDisplayProcessor:

Public Member Functions

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

Protected Attributes

int _nTimeSamples
 Number of time samples (bins per histogram)
 
std::string _inputColName
 Name of the input collection. More...
 
bool _deleteHistograms
 
std::map< std::pair< int, int >
, AIDA::IHistogram1D * > 
rawHistos
 

Detailed Description

This processor creates one histogram with the raw data of each channel.

This means for n channels there are n histograms per event!!! Be careful only to use it for dedicated debugging runs.

Although it is called RAW event processor it does not use TrackerRawData but TrackerData, so it can also be used for calibrated (e. g. pedestal subtracted) data. Simply use the TrackerRawDataToDataConverterProcessor before if you have TrackerRawData.

Input - Prerequisites

Parameters
InputCollectionNameName of the TrackerData input collection (default TPCData)
nTimeSamplesNumber of time samples (bins per histogram). Default: 1024
deleteHistogramsSet true if running with zero suppressed data. Otherwise histograms will only be reset (emptied). Default: false

Output

One histogram per channel and event

Author
Martin Killenber (University of Bonn)

Member Data Documentation

std::string marlintpc::ADCRawEventDisplayProcessor::_inputColName
protected

Name of the input collection.

Set true if running with zero suppred data. Otherwise histograms will only be reset (emptied)


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