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/Utilities/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 bool m_computeGhostTrack; 00029 double m_ghostTrackPriorDeltaR; 00030 std::auto_ptr<HistogramProbabilityEstimator> m_probabilityEstimator; 00031 unsigned long long m_calibrationCacheId2D; 00032 unsigned long long m_calibrationCacheId3D; 00033 bool m_useDB; 00034 00035 int m_cutPixelHits; 00036 int m_cutTotalHits; 00037 double m_cutMaxTIP; 00038 double m_cutMinPt; 00039 double m_cutMaxChiSquared; 00040 double m_cutMaxLIP; 00041 bool m_directionWithTracks; 00042 bool m_directionWithGhostTrack; 00043 bool m_useTrackQuality; 00044 }; 00045 #endif 00046