MarlinTPC  1.2.0
TestTPCDistortionsMapProcessor.h
1 #ifndef TESTTPCDISTORTIONSMAPPROCESSOR_H
2 #define TESTTPCDISTORTIONSMAPPROCESSOR_H
3 
4 #include "TPCDistortionsMapListener.h"
5 
6 #include <marlin/Processor.h>
7 #include <lcio.h>
8 #include <string>
9 
10 namespace marlintpc
11 {
26 class TestTPCDistortionsMapProcessor : public marlin::Processor
27 {
28  public:
29 
30  virtual Processor* newProcessor() { return new TestTPCDistortionsMapProcessor; }
31 
33 
34  virtual void init();
35 
36  virtual void processRunHeader(lcio::LCRunHeader* run);
37 
38  virtual void processEvent(lcio::LCEvent* evt);
39 
40  virtual void check(lcio::LCEvent* evt);
41 
42  virtual void end();
43  private:
44  bool _draw;
45  double _scale;
46  bool _cartesian;
47  int _showModule;
48  bool _moduleInterpolation;
49  std::string _inputDistortionsCollectionName;
50  TPCDistortionsMapListener* _distortionsListener;
51 
52 };
53 } // namespace marlintpc
54 #endif // TESTTPCDISTORTIONSMAPPROCESSOR_H
Processor skeleton for MARLIN.
Definition: TestTPCDistortionsMapProcessor.h:26
Helper Class which provides access to the distortions information produced with the photodot system...
Definition: TPCDistortionsMapListener.h:46