MarlinTrkProcessors  2.4.1
PlanarDigiProcessor.h
1 #ifndef PlanarDigiProcessor_h
2 #define PlanarDigiProcessor_h 1
3 
4 #include "marlin/Processor.h"
5 
6 #include "lcio.h"
7 
8 #include <string>
9 #include <vector>
10 
11 #include <gsl/gsl_rng.h>
12 
13 
14 using namespace lcio ;
15 using namespace marlin ;
16 
17 
46 class PlanarDigiProcessor : public Processor {
47 
48 public:
49 
50  virtual Processor* newProcessor() { return new PlanarDigiProcessor ; }
51 
52 
54 
58  virtual void init() ;
59 
62  virtual void processRunHeader( LCRunHeader* run ) ;
63 
66  virtual void processEvent( LCEvent * evt ) ;
67 
68 
69  virtual void check( LCEvent * evt ) ;
70 
71 
74  virtual void end() ;
75 
76 
77 protected:
78 
79  std::string _inColName ;
80 
81  std::string _outColName ;
82  std::string _outRelColName ;
83 
84 
85  int _nRun ;
86  int _nEvt ;
87 
88  // float _resU ;
89  // float _resV ;
90  FloatVec _resU ;
91  FloatVec _resV ;
92  bool _isStrip;
93 
94  gsl_rng* _rng ;
95 
96 
97 } ;
98 
99 #endif
100 
101 
102 
======= PlanarDigiProcessor ========== Creates TrackerHits from SimTrackerHits, smearing them accor...
Definition: PlanarDigiProcessor.h:46