LCFIVertex  0.7.2
ZVTOPZVRESProcessor.h
1 #ifndef ZVTOPZVRESProcessor_h
2 #define ZVTOPZVRESProcessor_h 1
3 
4 #include "marlin/Processor.h"
5 #include "lcio.h"
6 #include <string>
7 #include <map>
8 #include <fstream>
9 
10 #include "inc/algo.h"
11 #include "inc/decaychain.h"
12 #include "inc/jet.h"
13 using namespace lcio ;
14 using namespace marlin ;
16 using vertex_lcfi::Jet;
17 
19 
64 class ZVTOPZVRESProcessor : public Processor {
65 
66  public:
67 
68  //The usual Marlin processor methods
69  virtual Processor* newProcessor() { return new ZVTOPZVRESProcessor ; }
71  virtual void init() ;
72  virtual void processRunHeader( LCRunHeader* run ) ;
73  virtual void processEvent( LCEvent * evt ) ;
74  virtual void check( LCEvent * evt ) ;
75  virtual void end() ;
76 
77  protected:
78 
79  std::string _JetRPCollectionName ;
80  std::string _DecayChainRPTracksCollectionName;
81  std::string _VertexCollectionName ;
82  std::string _IPVertexCollectionName ;
83  std::string _DecayChainCollectionName;
84  //std::string _RelationCollectionName;
86  bool _ManualPrimaryVertex;
87  FloatVec _ManualPrimaryVertexPos;
88  FloatVec _ManualPrimaryVertexErr;
89  double _IPWeighting;
90  double _JetWeightingEnergyScaling;
91  double _TwoTrackCut;
92  double _TrackTrimCut;
93  double _ResolverCut;
94  bool _OutputTrackChi2;
95  int _nRun ;
96  int _nEvt ;
97 } ;
98 
99 #endif
100 
101 
102 
Find vertices in a jet using topological ZVTOP-ZVRES algorithm.