"MarlinReco"  1.32.0
VTXDigiProcessor.h
1 #ifndef VTXDigiProcessor_h
2 #define VTXDigiProcessor_h 1
3 
4 #include "marlin/Processor.h"
5 #include "lcio.h"
6 #include <string>
7 #include <vector>
8 #include <gsl/gsl_rng.h>
9 
10 // STUFF needed for GEAR
11 #include <marlin/Global.h>
12 #include <gear/GEAR.h>
13 #include <gear/VXDParameters.h>
14 #include <gear/VXDLayerLayout.h>
15 
16 
17 using namespace lcio ;
18 using namespace marlin ;
19 
20 
67 class VTXDigiProcessor : public Processor {
68 
69  public:
70  VTXDigiProcessor(const VTXDigiProcessor&) = delete;
71  VTXDigiProcessor& operator=(const VTXDigiProcessor&) = delete;
72 
73  virtual Processor* newProcessor() { return new VTXDigiProcessor ; }
74 
75 
77 
81  virtual void init() ;
82 
85  virtual void processRunHeader( LCRunHeader* run ) ;
86 
89  virtual void processEvent( LCEvent * evt ) ;
90 
91 
92  virtual void check( LCEvent * evt ) ;
93 
94 
97  virtual void end() ;
98 
99  // find phi in correct range, taken from gear::VXDParameters
100  double correctPhiRange( double Phi ) const ;
101 
102 
103  protected:
104 
105  std::string _colNameVTX{};
106  std::string _colNameSIT{};
107  std::string _colNameSET{};
108  std::string _outColNameVTX{};
109  std::string _outColNameSIT{};
110  std::string _outColNameSET{};
111 
112  std::vector<int> _activeSETLayers{};
113 
114  int _nRun{};
115  int _nEvt{};
116  int _smearAlongLadders{};
117  int _debug{};
118  int _removeDRays{};
119  float _pointResoRPhi{},_pointResoRPhi_VTX{},_pointResoRPhi_SIT{},_pointResoRPhi_SET{};
120  float _pointResoZ{},_pointResoZ_VTX{},_pointResoZ_SIT{},_pointResoZ_SET{};
121  float _momCut{};
122 
123  FloatVec _vxdEff{};
124  std::vector< std::pair<long, long> > _vxdCount{};
125 
126  gsl_rng * _rng{};
127 
128 
129 } ;
130 
131 #endif
======= VTXDigiProcessor ========== Produces SIT &amp; VTX TrackerHit collection from SimTrackerHit col...
Definition: VTXDigiProcessor.h:67