Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:41

0001 #ifndef HLTmumutktkFilter_h
0002 #define HLTmumutktkFilter_h
0003 
0004 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0005 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h"
0006 #include "DataFormats/VertexReco/interface/VertexFwd.h"
0007 #include "DataFormats/BeamSpot/interface/BeamSpot.h"
0008 namespace edm {
0009   class ConfigurationDescriptions;
0010 }
0011 
0012 // ----------------------------------------------------------------------
0013 
0014 class HLTmumutktkFilter : public HLTFilter {
0015 public:
0016   explicit HLTmumutktkFilter(const edm::ParameterSet &);
0017   ~HLTmumutktkFilter() override;
0018   static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
0019   bool hltFilter(edm::Event &,
0020                  const edm::EventSetup &,
0021                  trigger::TriggerFilterObjectWithRefs &filterproduct) const override;
0022 
0023 private:
0024   edm::InputTag muCandTag_;
0025   edm::EDGetTokenT<reco::RecoChargedCandidateCollection> muCandToken_;
0026   edm::InputTag trkCandTag_;
0027   edm::EDGetTokenT<reco::RecoChargedCandidateCollection> trkCandToken_;
0028   edm::InputTag MuMuTkVertexTag_;
0029   edm::EDGetTokenT<reco::VertexCollection> MuMuTkVertexToken_;
0030   edm::InputTag beamSpotTag_;
0031   edm::EDGetTokenT<reco::BeamSpot> beamSpotToken_;
0032 
0033   const double maxEta_;
0034   const double minPt_;
0035   const double maxNormalisedChi2_;
0036   const double minVtxProbability_;
0037   const double minLxySignificance_;
0038   const double minCosinePointingAngle_;
0039 
0040   static bool triggerdByPreviousLevel(const reco::RecoChargedCandidateRef &,
0041                                       const std::vector<reco::RecoChargedCandidateRef> &);
0042 };
0043 #endif