Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTElectronMuonInvMassFilter_h
0002 #define HLTElectronMuonInvMassFilter_h
0003 
0004 /** \class HLTElectronMuonInvMassFilter
0005  *
0006  *  Original Author: Massimiliano Chiorboli
0007  *  Institution: INFN, Italy
0008  *  Contact: Massimiliano.Chiorboli@cern.ch
0009  *  Date: July 6, 2011
0010  */
0011 
0012 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0013 
0014 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0015 #include "FWCore/Framework/interface/EventSetup.h"
0016 #include "FWCore/Framework/interface/ESHandle.h"
0017 #include "DataFormats/Common/interface/Handle.h"
0018 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0019 
0020 #include "DataFormats/EgammaCandidates/interface/Electron.h"
0021 #include "DataFormats/EgammaCandidates/interface/ElectronFwd.h"
0022 
0023 #include "DataFormats/TrackReco/interface/Track.h"
0024 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidate.h"
0025 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h"
0026 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0027 
0028 #include "TLorentzVector.h"
0029 #include "TVector3.h"
0030 
0031 namespace edm {
0032   class ConfigurationDescriptions;
0033 }
0034 
0035 //
0036 // class declaration
0037 //
0038 
0039 class HLTElectronMuonInvMassFilter : public HLTFilter {
0040 public:
0041   explicit HLTElectronMuonInvMassFilter(const edm::ParameterSet&);
0042   ~HLTElectronMuonInvMassFilter() override;
0043   bool hltFilter(edm::Event&,
0044                  const edm::EventSetup&,
0045                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0046   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0047 
0048 private:
0049   edm::InputTag eleCandTag_;
0050   edm::InputTag muonCandTag_;
0051   edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> eleCandToken_;
0052   edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> muonCandToken_;
0053 
0054   double lowerMassCut_;
0055   double upperMassCut_;
0056   int ncandcut_;
0057   bool relaxed_;
0058   edm::InputTag L1IsoCollTag_;
0059   edm::InputTag L1NonIsoCollTag_;
0060   edm::InputTag MuonCollTag_;
0061 };
0062 
0063 #endif  //HLTElectronMuonInvMassFilter_h