"MarlinReco"  1.16.0
MaterialDB.h
1 #ifndef MaterialDB_h
2 #define MaterialDB_h 1
3 
4 #include "marlin/Processor.h"
5 #include "lcio.h"
6 #include <iostream>
7 #include <string>
8 #include <marlin/Global.h>
9 
10 
11 using namespace lcio ;
12 using namespace marlin ;
13 
14 
42 class MaterialDB : public Processor {
43 
44  public:
45 
46  virtual Processor* newProcessor() { return new MaterialDB ; }
47 
48 
49  MaterialDB() ;
50 
54  virtual void init() ;
55 
58  virtual void processRunHeader( LCRunHeader* run ) ;
59 
62  virtual void processEvent( LCEvent * evt ) ;
63 
64 
65  virtual void check( LCEvent * evt ) ;
66 
67 
70  virtual void end() ;
71 
72 
73  protected:
74 
77  std::string _colName ;
78 
79  int _nRun ;
80  int _nEvt ;
81 
82  std::stringstream _errorMsg;
83 
84  std::vector<float> _zFTD;
85  std::vector<float> _rInFTD;
86  std::vector<float> _rOutFTD;
87  std::vector<float> _dzSiFTD;
88  std::vector<float> _dzSupportFTD;
89 
90  std::vector<float> _rSIT;
91  std::vector<float> _halfZSIT;
92  std::vector<float> _rSITSupport;
93  std::vector<float> _halfZSITSupport;
94 
95  float _ladder_phi0, _ladder_distance, _ladder_thickness, _ladder_width, _ladder_length;
96  float _ladder_offset, _ladder_radLength;
97  float _sensitive_distance, _sensitive_thickness, _sensitive_width, _sensitive_length;
98  float _sensitive_offset, _sensitive_radLength;
99 
100  float _stripLine_final_z;
101  float _halfLadderGaps;
102 
103  float _support_thickness, _si_thickness;
104  float _radlen_ber, _radlen_si, _radlen_si872,_radlen_kapton;
105  float _dedx_si,_dedx_ber,_dedx_si872,_dedx_kapton;
106  float _dedx_copper;
107  float _radlen_copper;
108  float _electronicEnd_thickness;
109  float _electronicEnd_length;
110  float _shell_thickness;
111  float _stripLine_thickness;
112  float _stripLine_beampipe_r;
113  float _FTDdisk_thickness;
114  float _FTD_outerSupport_dR;
115  float _FTD_innerSupport_dR;
116  float _FTD_outerSupport_thickness;
117  float _FTD_innerSupport_thickness;
118  float _zFTDOuterCyllinderStart;
119  float _zFTDOuterCyllinderEnd;
120  float _zFTDInnerConeStart;
121  float _zFTDInnerConeEnd;
122  float _FTD_copper_thickness;
123  float _FTD_kaptonCyl_thickness;
124 
125  float _VTXShell_Radius,_VTXShell_thickness,_VTXShell_HalfZ,_VTXShell_radLength;
126  float _VTXEndPlate_innerRadius;
127 
128  float _bField;
129 
130  float _beamPipeRadius,_beamPipeHalfZ,_beamPipe_thickness,_beamPipe_radLength,_beamPipe_dedx;
131  // float _SITLayer_thickness, _SITLayerSupport_thickness;
132  std::vector<double> _SITLayer_thickness ;
133  std::vector<double> _SITLayerSupport_thickness ;
134 
135 
136  int _useExtrapolations;
137  int _useMaterials;
138 
139  int _buildSET;
140 
141 } ;
142 
143 #endif
144 
145 
146 
======= MaterialDB ============ Processor builds material database used by DELPHI fitting package ...
Definition: MaterialDB.h:42
std::string _colName
Input collection name.
Definition: MaterialDB.h:77