Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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