"MarlinReco"  1.32.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  VTXBgClusters(const VTXBgClusters&) = delete;
49  VTXBgClusters& operator=(const VTXBgClusters&) = delete;
50 
51  virtual Processor* newProcessor() { return new VTXBgClusters ; }
52 
53 
54  VTXBgClusters() ;
55 
59  virtual void init() ;
60 
63  virtual void processRunHeader( LCRunHeader* run ) ;
64 
67  virtual void processEvent( LCEvent * evt ) ;
68 
69 
70  virtual void check( LCEvent * evt ) ;
71 
72 
75  virtual void end() ;
76 
77 
78 // // find phi of point in projection 2D, taken from gear::VXDParameters
79 // double getPhiPoint( gear::Vector3D p ) const ;
80 // // find phi in correct range, taken from gear::VXDParameters
81 // double correctPhiRange( double Phi ) const ;
82 
83 
84  protected:
85 
86  std::string _colNameVTX{};
87 // std::string _outColNameVTX ;
88 
89  int _nRun{};
90  int _nEvt{};
91  int _debug{};
92  int _mod{};
93  int _removeDRays{};
94 // float _pointResoRPhi,_pointResoRPhi_VTX;
95 // float _pointResoZ,_pointResoZ_VTX;
96  float _momCut{};
97  float _epi{}; //epitaxial thickness in unit of 50 um (standard thickness)
98  float _pitch[6]{}; //pitch in um
99  float _it[6]{}; //integration time in ns
100 
101  // gsl_rng * r ;
102  VXDGeometry* _vxdGeo{};
103 
104 #ifdef MARLIN_USE_AIDA
105  Hist1DVec _hist1DVec{};
106  Hist2DVec _hist2DVec{};
107 #endif
108 
109 } ;
110 
111 #endif
======= 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