File indexing completed on 2024-04-06 12:18:27
0001 #ifndef HLTFiltCand_h
0002 #define HLTFiltCand_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0017 #include "DataFormats/RecoCandidate/interface/RecoEcalCandidate.h"
0018 #include "DataFormats/RecoCandidate/interface/RecoEcalCandidateFwd.h"
0019 #include "DataFormats/EgammaCandidates/interface/Electron.h"
0020 #include "DataFormats/EgammaCandidates/interface/ElectronFwd.h"
0021 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidate.h"
0022 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h"
0023 #include "DataFormats/JetReco/interface/CaloJet.h"
0024 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0025 #include "DataFormats/Candidate/interface/CompositeCandidate.h"
0026 #include "DataFormats/Candidate/interface/CompositeCandidateFwd.h"
0027 #include "DataFormats/METReco/interface/CaloMET.h"
0028 #include "DataFormats/METReco/interface/CaloMETFwd.h"
0029 #include "DataFormats/METReco/interface/MET.h"
0030 #include "DataFormats/METReco/interface/METFwd.h"
0031
0032
0033
0034
0035
0036 class HLTFiltCand : public HLTFilter {
0037 public:
0038 explicit HLTFiltCand(const edm::ParameterSet&);
0039 ~HLTFiltCand() override;
0040 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0041 bool hltFilter(edm::Event&,
0042 const edm::EventSetup&,
0043 trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0044
0045 private:
0046 edm::InputTag photTag_;
0047 edm::InputTag elecTag_;
0048 edm::InputTag muonTag_;
0049 edm::InputTag tausTag_;
0050 edm::InputTag jetsTag_;
0051 edm::InputTag metsTag_;
0052 edm::InputTag mhtsTag_;
0053 edm::InputTag trckTag_;
0054 edm::InputTag ecalTag_;
0055
0056 edm::EDGetTokenT<reco::RecoEcalCandidateCollection> photToken_;
0057 edm::EDGetTokenT<reco::ElectronCollection> elecToken_;
0058 edm::EDGetTokenT<reco::RecoChargedCandidateCollection> muonToken_;
0059 edm::EDGetTokenT<reco::CaloJetCollection> tausToken_;
0060 edm::EDGetTokenT<reco::CaloJetCollection> jetsToken_;
0061 edm::EDGetTokenT<reco::CaloMETCollection> metsToken_;
0062 edm::EDGetTokenT<reco::METCollection> mhtsToken_;
0063 edm::EDGetTokenT<reco::RecoChargedCandidateCollection> trckToken_;
0064 edm::EDGetTokenT<reco::RecoEcalCandidateCollection> ecalToken_;
0065
0066 double min_Pt_;
0067 };
0068
0069 #endif