00001 #ifndef RecoBTag_TrackIPProducer 00002 #define RecoBTag_TrackIPProducer 00003 00004 // system include files 00005 #include <memory> 00006 00007 // user include files 00008 #include "FWCore/Framework/interface/Frameworkfwd.h" 00009 #include "FWCore/Framework/interface/EDProducer.h" 00010 #include "FWCore/ParameterSet/interface/InputTag.h" 00011 00012 class HistogramProbabilityEstimator; 00013 00014 class TrackIPProducer : public edm::EDProducer { 00015 public: 00016 explicit TrackIPProducer(const edm::ParameterSet&); 00017 ~TrackIPProducer(); 00018 00019 00020 virtual void produce(edm::Event&, const edm::EventSetup&); 00021 private: 00022 void checkEventSetup(const edm::EventSetup & iSetup); 00023 00024 const edm::ParameterSet& m_config; 00025 edm::InputTag m_associator; 00026 edm::InputTag m_primaryVertexProducer; 00027 bool m_computeProbabilities; 00028 HistogramProbabilityEstimator * m_probabilityEstimator; 00029 unsigned long long m_calibrationCacheId2D; 00030 unsigned long long m_calibrationCacheId3D; 00031 bool m_useDB; 00032 00033 int m_cutPixelHits; 00034 int m_cutTotalHits; 00035 double m_cutMaxTIP; 00036 double m_cutMinPt; 00037 double m_cutMaxChiSquared; 00038 double m_cutMaxLIP; 00039 bool m_directionWithTracks; 00040 bool m_useTrackQuality; 00041 }; 00042 #endif 00043