"MarlinReco"  1.32.0
KIT.h
1 #ifndef KIT_h
2 #define KIT_h 1
3 #include <iostream>
4 #ifdef MARLIN_USE_AIDA
5 #include <marlin/AIDAProcessor.h>
6 #include <AIDA/IHistogramFactory.h>
7 #include <AIDA/ICloud1D.h>
8 #endif
9 #include "marlin/Processor.h"
10 #include "lcio.h"
11 #include <string>
12 #include <stdio.h>
13 #include <vector>
14 #include <map>
15 #include <set>
16 #include <stack>
17 #include <sstream>
18 #include <bitset>
19 #include <queue>
20 #include <utility>
21 #include <algorithm>
22 #include <EVENT/LCCollection.h>
23 #include <EVENT/MCParticle.h>
24 #include <EVENT/ReconstructedParticle.h>
25 #include <EVENT/Cluster.h>
26 #include <IMPL/MCParticleImpl.h>
27 #include <IMPL/ClusterImpl.h>
28 #include <IMPL/LCCollectionVec.h>
29 #include <EVENT/SimCalorimeterHit.h>
30 #include <EVENT/CalorimeterHit.h>
31 #include <UTIL/LCTOOLS.h>
32 #include <iomanip>
33 #include "math.h"
34 #include "KITutil.h"
35 #include "Phys_Geom_Database.h"
36 
37 using namespace lcio ;
38 using namespace marlin ;
39 using namespace std;
40 using namespace IMPL;
41 using namespace EVENT;
42 
43 
44 
48 class KIT : public Processor {
49 
50  public:
51 
52  virtual Processor* newProcessor() { return new KIT ; }
53 
54 
55  KIT() ;
56 
60  virtual void init() ;
61 
64  virtual void processRunHeader( LCRunHeader* run ) ;
65 
68  virtual void processEvent( LCEvent * evt ) ;
69 
70 
71  virtual void check( LCEvent * evt ) ;
72 
73 
76  virtual void end();
77 
78  protected:
79 
80  int _options{};
81  int _nRun{};
82  int _nEvt{};
83 
84  std::string _Ecal_col{};
85  std::string _CoreCollection{};
86 
87  string _ToClean{};
88  int _CleanCut{};
89 
90  int _N{};
91  vector<float> _miipstep{};
92 
93  int _MinHit0{};
94  int _MinHitSplit{};
95  double _Rcut{};
96  double _Distcut{};
97  double _Coscut{};
98 } ;
99 
100 #endif
101 
102 
103 
Example processor for marlin.
Definition: KIT.h:48