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

PixelClockFinderProcessor creates a ToT or ToA spectrum of all pixels on the chip and two occupancy plots: One for all pixel above a given threshold and one for all pixel below. More...

#include <PixelSpectrumProcessor.h>

Inheritance diagram for marlintpc::PixelSpectrumProcessor:

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

std::string _inputColName
 
std::string _modeMapColName
 
std::string _modeMapCorrName
 
std::string _mode
 
std::string _logFile
 -positon of logfile
 
tpcconddata::TimePixMap * _timePixMap
 
AIDA::IHistogram1D * _mySpectrumHisto
 
AIDA::IHistogram2D * _myPixelAboveTH_Location2dHisto
 
AIDA::IHistogram2D * _myPixelBelowTH_Location2dHisto
 
double _shutter
 
double _readoutFrequency
 
bool _multiShutter
 
int _nBins
 
int _HighTH
 
int _LowTH
 
float _min_clock
 
float _max_clock
 
int _lowerBadCountsLimit
 

Detailed Description

PixelClockFinderProcessor creates a ToT or ToA spectrum of all pixels on the chip and two occupancy plots: One for all pixel above a given threshold and one for all pixel below.

The processor also creates a eventdisplay of events with bad counts (counts in a given range)

Input - Prerequisites

a collection of TrackerData objects, zeros suppreed

Output

Parameters
InputCollectionNameName of input collection, TrackerData (defualt: TimePixZeroSuppressedData)
Modemode that should be plotted (TOT, TIMEPIX, MEDIPIX, ONEHIT or ANY), (default: ANY)
MinclockMinimum z value of lowest bin in case of z binning (default: 2500)
MaxclockMaximum z value of highest bin in case of z binning (default: 4000)
nBinsNumber ob bins in z, 0 means one Histo without z cut (default: 100)
LogFilePosition of logfile
HighTHHigh threshold from wich pixel are collected in _myBadPixelLocation2dHisto (default: 1800)
LowTHLow threshold from wich pixel are collected in _myBadPixelLocation2dHisto (default: 285)
LowerBadCountsLimitMinimal Number of Pixels with Bad Counts to create Event Display (default: 0)
Author
Martin Schultens (started the processor) & C. Brezina (changed a lot) (RFWUniversity of Bonn)

Member Data Documentation

int marlintpc::PixelSpectrumProcessor::_HighTH
protected
  • High Threshold from which Pixels are collected in _myBadPixelLocation2dHisto
std::string marlintpc::PixelSpectrumProcessor::_inputColName
protected
  • the name of the input collection
int marlintpc::PixelSpectrumProcessor::_LowTH
protected
  • Low Threshold from which Pixels are collected in _myBadPixelLocation2dHisto
float marlintpc::PixelSpectrumProcessor::_max_clock
protected
  • Maximum z value of highest bin in case of z binning
float marlintpc::PixelSpectrumProcessor::_min_clock
protected
  • Minimum z value of lowest bin in case of z binning
std::string marlintpc::PixelSpectrumProcessor::_mode
protected
  • the mode that should be plottet
std::string marlintpc::PixelSpectrumProcessor::_modeMapColName
protected
  • the name of the mode map collection
std::string marlintpc::PixelSpectrumProcessor::_modeMapCorrName
protected
  • the name of the correction to mode map collection
bool marlintpc::PixelSpectrumProcessor::_multiShutter
protected
  • true if multiple shutters are allowed during acquisition
AIDA::IHistogram1D* marlintpc::PixelSpectrumProcessor::_mySpectrumHisto
protected
  • Histo used to create a ToT or ToA spectrum of the chip
int marlintpc::PixelSpectrumProcessor::_nBins
protected
  • Number of z bins
double marlintpc::PixelSpectrumProcessor::_readoutFrequency
protected
  • readout frequency of TimePix chip in MHz, optional, should come from gear
double marlintpc::PixelSpectrumProcessor::_shutter
protected
  • length of shutter signal in us

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