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

Marlin processor for distortion analysis Takes two collections each of type track. More...

#include <ModuleDistortionCalculatorProcessor.h>

Inheritance diagram for marlintpc::ModuleDistortionCalculatorProcessor:

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 ()
 
void WriteDistortionFiles (std::string filename, std::map< std::pair< int, int >, std::pair< double, double > > results)
 
void WriteRootFile ()
 

Protected Attributes

std::string _inputColNameTrackHits
 Name of the input collection for the hits.
 
std::string _inputColNameTrackFit
 Name of the input collection for the track parameters.
 

Detailed Description

Marlin processor for distortion analysis Takes two collections each of type track.

The idea is that one is the track with all hits on, so basically the track finding output to provide all relevant hits on all module rows. The other track is used to give the track fit. This could have used only a subset of hits for the fit or different tracking algorithms. This way one can compute the distortions for all hits found on a track with different track fits on those hits. If the HitCollection is not set, the hits of the collection assigned to the track given for the fit are used, which is the standard way. The output is written in a text file for each coordinate choosen (row,xy and z). Eventually this should go into a conditionsdata object.


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