MarlinTPC  1.2.0
XrayCutApplicationProcessor.h
1 #ifndef XrayCutApplicationProcessor_h
2 #define XrayCutApplicationProcessor_h 1
3 
4 #include "GridPixXrayObject.h"
5 #include "XrayGeometryService.h"
6 
7 //c++
8 #include <string>
9 
10 //lcio
11 #include <lcio.h>
12 #include <EVENT/TrackerHit.h>
13 #include <EVENT/LCRelation.h>
14 #include <EVENT/LCCollection.h>
15 #include <IMPL/LCCollectionVec.h>
16 
17 //marlin
18 #include <marlin/Processor.h>
19 
20 namespace marlintpc{
21 
22  class XrayCutApplicationProcessor;
23 
24  class XrayCutApplicationProcessor : public marlin::Processor{
25 
26  public:
27 
28  virtual Processor* newProcessor() { return new XrayCutApplicationProcessor; }
29 
31 
32  virtual void init();
33 
34  virtual void processRunHeader( lcio::LCRunHeader* run );
35 
36  virtual void processEvent( lcio::LCEvent * evt );
37 
38  virtual void end();
39 
40  protected:
41 
42  std::string _inputCol;
43  //std::string _inputHits;
44 
45  std::string _outputCol;
46  //std::string _outputHits;
47 
48  int _outputIsTransient;
49 
50  double _centerX;
51  double _centerY;
52  double _cutRadius;
53 
54  double _lowCutX;
55  double _highCutX;
56 
57  double _lowCutY;
58  double _highCutY;
59 
60  double _lowCutExcentricity;
61  double _highCutExcentricity;
62 
63  double _lowCutSkewnessT;
64  double _highCutSkewnessT;
65 
66  double _lowCutKurtosisT;
67  double _highCutKurtosisT;
68 
69  double _lowCutKurtosisL;
70  double _highCutKurtosisL;
71 
72  double _lowCutRmsY;
73  double _highCutRmsY;
74 
75  double _lowCutLength;
76  double _highCutLength;
77 
78  int _lowCutPixels;
79  int _highCutPixels;
80 
81  int _lowCutCharge;
82  int _highCutCharge;
83 
84  double _lowCutEnergy;
85  double _highCutEnergy;
86 
87  double _lowCutLikelihood;
88  double _highCutLikelihood;
89 
90  int _highCutNumberXrays;
91 
92  XrayGeometryService* _geoService;
93 
94  int _numberBefore;
95  int _numberAfter;
96 
97  };//class XrayCutApplicationProcessor
98 
99 }//namespace marlintpc
100 
101 #endif
Definition: XrayCutApplicationProcessor.h:24
Definition: XrayGeometryService.h:22