File indexing completed on 2025-02-05 23:51:44
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef CaloMETProducer_h
0019 #define CaloMETProducer_h
0020
0021
0022 #include "FWCore/Framework/interface/Frameworkfwd.h"
0023 #include "FWCore/Framework/interface/stream/EDProducer.h"
0024
0025 #include "FWCore/Framework/interface/Event.h"
0026 #include "FWCore/Framework/interface/MakerMacros.h"
0027
0028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0029 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0030
0031 #include "DataFormats/Common/interface/View.h"
0032 #include "DataFormats/Candidate/interface/Candidate.h"
0033
0034
0035 namespace metsig {
0036 class SignAlgoResolutions;
0037 }
0038
0039
0040 namespace cms {
0041 class CaloMETProducer : public edm::stream::EDProducer<> {
0042 public:
0043 explicit CaloMETProducer(const edm::ParameterSet &);
0044 ~CaloMETProducer() override;
0045 void produce(edm::Event &, const edm::EventSetup &) override;
0046
0047 static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
0048
0049 private:
0050 edm::EDGetTokenT<edm::View<reco::Candidate> > inputToken_;
0051
0052 bool calculateSignificance_;
0053 metsig::SignAlgoResolutions *resolutions_;
0054
0055 bool noHF_;
0056
0057 double globalThreshold_;
0058 };
0059 }
0060
0061
0062 #endif