"MarlinReco"  1.16.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 
71  virtual Processor* newProcessor() { return new VTXDigiProcessor ; }
72 
73 
75 
79  virtual void init() ;
80 
83  virtual void processRunHeader( LCRunHeader* run ) ;
84 
87  virtual void processEvent( LCEvent * evt ) ;
88 
89 
90  virtual void check( LCEvent * evt ) ;
91 
92 
95  virtual void end() ;
96 
97  // find phi in correct range, taken from gear::VXDParameters
98  double correctPhiRange( double Phi ) const ;
99 
100 
101  protected:
102 
103  std::string _colNameVTX ;
104  std::string _colNameSIT ;
105  std::string _colNameSET ;
106  std::string _outColNameVTX ;
107  std::string _outColNameSIT ;
108  std::string _outColNameSET ;
109 
110  std::vector<int> _activeSETLayers ;
111 
112  int _nRun ;
113  int _nEvt ;
114  int _smearAlongLadders;
115  int _debug;
116  int _removeDRays;
117  float _pointResoRPhi,_pointResoRPhi_VTX,_pointResoRPhi_SIT,_pointResoRPhi_SET;
118  float _pointResoZ,_pointResoZ_VTX,_pointResoZ_SIT,_pointResoZ_SET;
119  float _momCut;
120 
121  FloatVec _vxdEff ;
122  std::vector< std::pair<long, long> > _vxdCount ;
123 
124  gsl_rng * _rng ;
125 
126 
127 } ;
128 
129 #endif
130 
131 
132 
======= VTXDigiProcessor ========== Produces SIT & VTX TrackerHit collection from SimTrackerHit col...
Definition: VTXDigiProcessor.h:67