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

SwapXYProcessor swaps the x and the y coordinate of TrackerHits. More...

#include <SwapXYProcessor.h>

Inheritance diagram for marlintpc::SwapXYProcessor:

Public Member Functions

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

Protected Attributes

std::string _inputColName
 The name of the input collection.
 
int _outputIsTransient
 give the status which is set to the transient flag of the output collection it is an int instead of a boolean, because the processor parameter cannot be a boolean
 

Detailed Description

SwapXYProcessor swaps the x and the y coordinate of TrackerHits.

This processor MODIFIES the input collection, so you can only use it in the same steering file which creates the collection. If you try to run it on a collection read from a file you will get an exception.

Input - Prerequisites

Collection with tracker hits

Output

Collection with tracker hits

Parameters
InputCollectionNameName of input hits collection (default: TPCHits)
Author
Martin Killenberg, University of Bonn

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