00001 #ifndef RecoBTag_SecondaryVertex_GhostTrackComputer_h 00002 #define RecoBTag_SecondaryVertex_GhostTrackComputer_h 00003 00004 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00005 00006 #include "DataFormats/GeometryVector/interface/GlobalPoint.h" 00007 #include "DataFormats/BTauReco/interface/TrackIPTagInfo.h" 00008 #include "DataFormats/BTauReco/interface/SecondaryVertexTagInfo.h" 00009 #include "DataFormats/BTauReco/interface/TaggingVariable.h" 00010 00011 #include "RecoBTag/SecondaryVertex/interface/TrackSelector.h" 00012 #include "RecoBTag/SecondaryVertex/interface/V0Filter.h" 00013 00014 class GhostTrackComputer { 00015 public: 00016 GhostTrackComputer(const edm::ParameterSet ¶ms); 00017 00018 reco::TaggingVariableList 00019 operator () (const reco::TrackIPTagInfo &ipInfo, 00020 const reco::SecondaryVertexTagInfo &svInfo) const; 00021 00022 private: 00023 const reco::TrackIPTagInfo::TrackIPData & 00024 threshTrack(const reco::TrackIPTagInfo &trackIPTagInfo, 00025 const reco::TrackIPTagInfo::SortCriteria sort, 00026 const reco::Jet &jet, 00027 const GlobalPoint &pv) const; 00028 00029 double charmCut; 00030 reco::TrackIPTagInfo::SortCriteria sortCriterium; 00031 reco::TrackSelector trackSelector; 00032 reco::TrackSelector trackNoDeltaRSelector; 00033 double minTrackWeight; 00034 bool vertexMassCorrection; 00035 reco::V0Filter trackPairV0Filter; 00036 }; 00037 00038 #endif // RecoBTag_SecondaryVertex_GhostTrackComputer_h