test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DuplicateTrackMerger.h
Go to the documentation of this file.
1 #ifndef RecoTracker_DuplicateTrackMerger_h
2 #define RecoTracker_DuplicateTrackMerger_h
3 
25 #include <vector>
26 #include <algorithm>
27 #include <string>
28 #include <iostream>
29 #include <map>
30 
32 
33 namespace reco { namespace modules {
35  public:
37  explicit DuplicateTrackMerger(const edm::ParameterSet& iPara);
39  virtual ~DuplicateTrackMerger();
40 
41  typedef std::vector<std::pair<TrackCandidate,std::pair<reco::TrackRef,reco::TrackRef> > > CandidateToDuplicate;
42 
43  protected:
45  void produce( edm::Event &, const edm::EventSetup &) override;
46 
47  private:
50 
52  float tmva_ddsz_;
53  float tmva_ddxy_;
54  float tmva_dphi_;
57  float tmva_d3dr_;
58  float tmva_d3dz_;
61 
62  float* gbrVals_;
63 
71  double minDeltaR3d_;
73  double minBDTG_;
75  double minpT_;
77  double minP_;
79  double maxDCA_;
81  double maxDPhi_;
83  double maxDLambda_;
85  double maxDdxy_;
87  double maxDdsz_;
89  double maxDQoP_;
90 
92 
95  };
96  }
97 }
98 #endif
double maxDQoP_
max difference in q/p between two tracks
void produce(edm::Event &, const edm::EventSetup &) override
produce one event
double maxDCA_
max distance between two tracks at closest approach
std::vector< std::pair< TrackCandidate, std::pair< reco::TrackRef, reco::TrackRef > > > CandidateToDuplicate
std::string dbFileName_
MVA weights file.
edm::ESHandle< MagneticField > magfield_
GBRForest * forest_
MVA discriminator.
float tmva_ddsz_
MVA input variables.
DuplicateTrackMerger(const edm::ParameterSet &iPara)
constructor
double maxDLambda_
max difference in Lambda between two tracks
double maxDdxy_
max difference in transverse impact parameter between two tracks
double minDeltaR3d_
minDeltaR3d cut value
double maxDdsz_
max difference in longitudinal impact parameter between two tracks
double maxDPhi_
max difference in phi between two tracks
edm::EDGetTokenT< reco::TrackCollection > trackSource_
track input collection