ForwardTracking  1.10.0
FTDBackgroundProcessor.h
1 #ifndef FTDBackgroundProcessor_h
2 #define FTDBackgroundProcessor_h 1
3 
4 #include <string>
5 #include <vector>
6 
7 #include <CLHEP/Vector/ThreeVector.h>
8 
9 #include "marlin/Processor.h"
10 #include "lcio.h"
11 
12 
13 using namespace lcio ;
14 using namespace marlin ;
15 
16 
50 class FTDBackgroundProcessor : public Processor {
51 
52  public:
53 
54  virtual Processor* newProcessor() { return new FTDBackgroundProcessor ; }
55 
56 
58 
62  virtual void init() ;
63 
66  virtual void processRunHeader( LCRunHeader* run ) ;
67 
70  virtual void processEvent( LCEvent * evt ) ;
71 
72 
73  virtual void check( LCEvent * evt ) ;
74 
75 
78  virtual void end() ;
79 
80 
81  protected:
82 
83 
84  CLHEP::Hep3Vector getRandPosition( double rMin, double lengthMin, double lengthMax, double width, double phi, double z );
85 
86 
87  std::string _colNameFTDStripTrackerHit;
88  std::string _colNameFTDPixelTrackerHit;
89 
90  float _resU ;
91  float _resV ;
92 
93  int _nRun ;
94  int _nEvt ;
95 
96 
97  float _densityRegulator;
98 
99  std::vector < float > _backgroundDensity;
100  std::vector < float > _backgroundDensitySigma;
101  std::vector < int > _integratedBX;
102 
103 
104 } ;
105 
106 #endif
107 
108 
109 
Generates background hits in the FTD detector.
Definition: FTDBackgroundProcessor.h:50