CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
METProducer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: METProducers
4 // Class: METProducer
5 //
13 //
14 // Original Author: Rick Cavanaugh
15 // Created: May 14, 2005
16 //
17 //
18 
19 #ifndef METProducer_h
20 #define METProducer_h
21 
22 #include <string.h>
28 
31 
32 namespace edm {
33  class ParameterSet;
34  class Event;
35  class EventSetup;
36 }
37 
38 class TCMETAlgo;
39 
40 namespace metsig {
41  class SignAlgoResolutions;
42 }
43 
44 namespace cms
45 {
47  {
48  public:
49  explicit METProducer(const edm::ParameterSet&);
50  virtual ~METProducer() { }
51  virtual void produce(edm::Event&, const edm::EventSetup&) override;
52 
53  private:
54 
61 
62 
67 
69 
70  //Calculate MET Significance (not necessary at HLT)
73  edm::InputTag jetsLabel_; //used for jet-based significance calculation
74 
75  //Use HF in CaloMET calculation?
76  bool noHF;
77 
78  //Use an Et threshold on all of the objects in the CaloMET calculation?
80 
81  //Use only fiducial GenParticles in GenMET calculation?
83 
84  //Use only fiducial GenParticles and apply thresholdin GenMET fraction calculation?
86 
87  //Use Pt instaed of Et
88  bool usePt;
89 
90  // for pfMET
92 
93 
95 
96  };
97 }
98 
99 #endif // METProducer_h
void produce_CaloMET(edm::Event &event)
Definition: METProducer.cc:147
edm::EDGetTokenT< edm::View< reco::Candidate > > inputToken_
Definition: METProducer.h:68
edm::InputTag inputLabel
Definition: METProducer.h:63
bool calculateSignificance_
Definition: METProducer.h:71
virtual ~METProducer()
Definition: METProducer.h:50
std::string alias
Definition: METProducer.h:66
void produce_else(edm::Event &event)
Definition: METProducer.cc:244
void produce_TCMET(edm::Event &event, const edm::EventSetup &setup)
Definition: METProducer.cc:172
edm::EDGetTokenT< edm::View< reco::PFJet > > jetToken_
Definition: METProducer.h:91
bool applyFiducialThresholdForFractions
Definition: METProducer.h:85
void produce_GenMET(edm::Event &event)
Definition: METProducer.cc:230
std::string inputType
Definition: METProducer.h:64
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
TCMETAlgo tcMetAlgo_
Definition: METProducer.h:94
double globalThreshold
Definition: METProducer.h:79
edm::InputTag jetsLabel_
Definition: METProducer.h:73
void produce_PFClusterMET(edm::Event &event)
Definition: METProducer.cc:214
metsig::SignAlgoResolutions * resolutions_
Definition: METProducer.h:72
void produce_PFMET(edm::Event &event)
Definition: METProducer.cc:180
METProducer(const edm::ParameterSet &)
Definition: METProducer.cc:55
std::string METtype
Definition: METProducer.h:65
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
virtual void produce(edm::Event &, const edm::EventSetup &) override
Definition: METProducer.cc:112