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

Fill charge per hit and per track length into AIDA histograms. More...

#include <HitAndTrackChargeProcessor.h>

Inheritance diagram for marlintpc::HitAndTrackChargeProcessor:

Public Member Functions

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

Protected Attributes

std::string _tracksColName
 the name of the input tracks collection
 
std::string _hitsColName
 the name of the input hits collection
 
std::vector< AIDA::IHistogram1D * > _chargePerTrackHistos
 charge per track histos vector
 
std::vector< AIDA::IHistogram1D * > _dEdxHistos
 dEdx of the track histos vector
 
std::vector< AIDA::IHistogram1D * > _chargePerHitHistos
 charge per hit histos vector
 
std::vector< AIDA::IHistogram1D * > _chargePerHitOnTrackHistos
 charge per hit for hits on tracks only histos vector
 
float _maxChargePerHit
 Maximum value in ChargePerHit histograms.
 
float _maxChargePerTrack
 Maximum value in ChargePerHit histogram.
 
float _max_dEdx
 Maximum value in dEdx histogram.
 
float _minZ
 Minimum z value of lowest bin.
 
float _maxZ
 Maximum z value of lowest bin.
 
int _nZBins
 Number of z bins.
 
float _zBinWidth
 

Detailed Description

Fill charge per hit and per track length into AIDA histograms.

By default the chamber is divided into 10 z-bins and for each bin a histogram is filled.
In addition one histogram is filled without any z cut.

Input - Prerequisites

Output

Parameters
InputTracksName of input Tracks collection (default: TPCTracks)
InputHitsName of input TrackerHits collection (default: TPCHits)
MaxChargePerHitMaximum value in ChargePerHit histograms (default: ?? )
MaxChargePerTrackMaximum value in ChargePerHit histogram (default: ?? )
Max_dEdxMaximum value in dEdx histogram (default: 1000 )
MinZMinimum z value of lowest bin in case of z binning (default: 0)
MaxZMaximum z value of highest bin in case of z binning (default: 260)
nZBinsNumber ob bins in z (default: 10)
z binning switched of if 0, one histogram without z cut

All Histograms have 0 as lowest value

Author
Martin Killenberg, University of Bonn

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