MarlinTPC  1.2.0
SwapXYProcessor.h
1 #ifndef SWAP_XY_PROCESSOR_H
2 #define SWAP_XY_PROCESSOR_H
3 
4 // C++
5 #include <string>
6 
7 // LCIO
8 #include "lcio.h"
9 
10 // Marlin
11 #include "marlin/Processor.h"
12 
13 namespace marlintpc
14 {
15 
29  // @param OutputCollectionName (optional) Name of output hits collection (default: TPCSwappedHits)
30  // @param SetOutputTransient If not 0 the output collection is set transient (default: 1)
34  class SwapXYProcessor: public marlin::Processor
35  {
36 
37  public:
38  virtual Processor* newProcessor() { return new SwapXYProcessor ; }
39 
40  SwapXYProcessor() ;
41 
42 // virtual void init() ;
43 
44  virtual void processRunHeader( lcio::LCRunHeader* run ) ;
45 
46  virtual void processEvent( lcio::LCEvent * evt ) ;
47 
48 // virtual void check( lcio::LCEvent * evt ) ;
49 
50 // virtual void end() ;
51 
52  protected:
53  std::string _inputColName ;
54 // std::string _outputColName ; ///< The name of the output collection
55 
60  } ;
61 
62 }
63 
64 #endif //SWAP_XY_PROCESSOR_H
SwapXYProcessor swaps the x and the y coordinate of TrackerHits.
Definition: SwapXYProcessor.h:34
int _outputIsTransient
give the status which is set to the transient flag of the output collection it is an int instead of a...
Definition: SwapXYProcessor.h:59
std::string _inputColName
The name of the input collection.
Definition: SwapXYProcessor.h:53