MarlinUtil  1.12.1
CutOnGEANT4Bug.h
1 #ifndef CutOnGEANT4Bug_h
2 #define CutOnGEANT4Bug_h 1
3 
4 #include <iostream>
5 
6 #include <vector>
7 
8 #include <marlin/Processor.h>
9 #include <lcio.h>
10 #include <EVENT/LCCollection.h>
11 #include <EVENT/MCParticle.h>
12 #include <EVENT/Track.h>
13 #include <EVENT/SimCalorimeterHit.h>
14 #include <EVENT/CalorimeterHit.h>
15 #include <UTIL/LCRelationNavigator.h>
16 
17 #include <MarlinUtil.h>
18 
19 
20 using namespace lcio ;
21 using namespace marlin ;
22 
23 class CutOnGEANT4Bug : public Processor {
24 
25  public:
26 
27  virtual Processor* newProcessor() { return new CutOnGEANT4Bug ; }
28 
30 
31  virtual void init() ;
32  virtual void processRunHeader( LCRunHeader* run ) ;
33  virtual void processEvent( LCEvent * evt ) ;
34  virtual void check( LCEvent * evt ) ;
35  virtual void end() ;
36 
37 
38  private:
39 
40 
41  protected:
42 
43  double _eMin;
44  double _k;
45 
46  std::string _colNameTracks;
47  std::string _colNameRelationTrackToMCP;
48  std::string _colNameRelationCaloHitToSimCaloHit;
49 
50  std::vector<float> _calibrCoeffECAL;
51  std::vector<float> _calibrCoeffHCAL;
52 
53  int _nRun;
54  int _nEvt;
55 
56 } ;
57 
58 #endif
Definition: CutOnGEANT4Bug.h:23