"MarlinReco"  1.16.0
VTXBgClusters.h
1 #ifndef VTXBgClusters_h
2 #define VTXBgClusters_h 1
3 
4 #include "marlin/Processor.h"
5 #include "lcio.h"
6 #include <string>
7 #include <vector>
8 
9 #ifdef MARLIN_USE_AIDA
10 #include <AIDA/AIDA.h>
11 typedef std::vector< AIDA::IHistogram1D* > Hist1DVec ;
12 typedef std::vector< AIDA::IHistogram2D* > Hist2DVec ;
13 #endif
14 
15 //#include <gsl/gsl_rng.h>
16 // // STUFF needed for GEAR
17 // #include <marlin/Global.h>
18 // #include <gear/GEAR.h>
19 // #include <gear/VXDParameters.h>
20 // #include <gear/VXDLayerLayout.h>
21 
22 
23 using namespace lcio ;
24 using namespace marlin ;
25 
26 class VXDGeometry ;
27 
44 class VTXBgClusters : public Processor {
45 
46  public:
47 
48  virtual Processor* newProcessor() { return new VTXBgClusters ; }
49 
50 
51  VTXBgClusters() ;
52 
56  virtual void init() ;
57 
60  virtual void processRunHeader( LCRunHeader* run ) ;
61 
64  virtual void processEvent( LCEvent * evt ) ;
65 
66 
67  virtual void check( LCEvent * evt ) ;
68 
69 
72  virtual void end() ;
73 
74 
75 // // find phi of point in projection 2D, taken from gear::VXDParameters
76 // double getPhiPoint( gear::Vector3D p ) const ;
77 // // find phi in correct range, taken from gear::VXDParameters
78 // double correctPhiRange( double Phi ) const ;
79 
80 
81  protected:
82 
83  std::string _colNameVTX ;
84 // std::string _outColNameVTX ;
85 
86  int _nRun ;
87  int _nEvt ;
88  int _debug;
89  int _mod;
90  int _removeDRays;
91 // float _pointResoRPhi,_pointResoRPhi_VTX;
92 // float _pointResoZ,_pointResoZ_VTX;
93  float _momCut;
94  float _epi; //epitaxial thickness in unit of 50 um (standard thickness)
95  float _pitch[6]; //pitch in um
96  float _it[6]; //integration time in ns
97 
98  // gsl_rng * r ;
99  VXDGeometry* _vxdGeo ;
100 
101 #ifdef MARLIN_USE_AIDA
102  Hist1DVec _hist1DVec ;
103  Hist2DVec _hist2DVec ;
104 #endif
105 
106 } ;
107 
108 #endif
109 
110 
111 
======= VXDGeometry ========== Helper class for VXD geomtry transformations: from lab frame to ladd...
Definition: VXDGeometry.h:49
======= VTXBgClusters ========== Add Cluster parameters to VXD hits, according to projection of pat...
Definition: VTXBgClusters.h:44