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

Fills residulas of hits in 2D histograms against three different values: More...

#include <PadResponseProcessor.h>

Inheritance diagram for marlintpc::PadResponseProcessor:

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::string _mcTruthRelationsColName
 the name of the collection to the MC truth
 
AIDA::IHistogram2D * _residuals_vs_position_on_pad
 the residuals versus the distance to pad centre (in units of pad width)
 
AIDA::IHistogram2D * _residuals_vs_variance
 the residuals versus the variance of the charge distribution along the pad row
 
AIDA::IHistogram2D * _residuals_vs_skewness
 the residuals versus the distance to pad centre (in units of pad width)
 
std::list< std::pair< double,
double > > 
_skewnessResidualsList
 
float _residualMinValue
 Minimum residual value in histogram.
 
float _residualMaxValue
 Maximum residual value in histogram.
 
float _skewnessMinValue
 Minimum skewness value in histogram.
 
float _skewnessMaxValue
 Maximum skewness value in histogram.
 
float _varianceMaxValue
 Maximum variance value in histogram.
 
int _nPadRowHistos
 
std::vector< AIDA::IHistogram2D * > _padRowHistos
 

Detailed Description

Fills residulas of hits in 2D histograms against three different values:

In case of a gaussian charge distribution a linear dependency of the residuals on the skewness is expected. The end() method calculates a and b of the relation residual = a * skewness + b
As all the output files are already closed (or not accessible) at this point the result is dumped on the console.

Input - Prerequisites

Parameters
InputTrackesName of input Tracks collection (default: TPCTracks)
MCTruthRelationColName(optional) Name of the collection with relations to the MC truth
ResidualMinValueMinimum residual value histogram (default: -0.3 mm)
ResidualMaxValueMaximal residual value histogram (default: 0.3 mm)
SkewnessMinValueMinimum skewness value histogram (default: -1 )
SkewnessMaxValueMaximum skewness value histogram (default: 1 )
VarianceMaxValueMaxnimum variance value histogram (default: 0.5 )
NPadRowHistosNumber of pad rows for which an individual histo should be created (default: 0 )
Author
Martin Killenberg, CERN

Member Function Documentation

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

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