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 // $Id: METProducer.h,v 1.32 2013/05/03 18:47:56 salee Exp $
17 //
18 //
19 
20 #ifndef METProducer_h
21 #define METProducer_h
22 
23 #include <string.h>
27 
28 namespace edm {
29  class ParameterSet;
30  class Event;
31  class EventSetup;
32 }
33 
34 class TCMETAlgo;
35 
36 namespace metsig {
37  class SignAlgoResolutions;
38 }
39 
40 namespace cms
41 {
43  {
44  public:
45  explicit METProducer(const edm::ParameterSet&);
46  virtual ~METProducer() { }
47  virtual void produce(edm::Event&, const edm::EventSetup&) override;
48 
49  private:
50 
57 
58 
63 
64  //Calculate MET Significance (not necessary at HLT)
67  edm::InputTag jetsLabel_; //used for jet-based significance calculation
68 
69  //Use HF in CaloMET calculation?
70  bool noHF;
71 
72  //Use an Et threshold on all of the objects in the CaloMET calculation?
74 
75  //Use only fiducial GenParticles in GenMET calculation?
77 
78  //Use only fiducial GenParticles and apply thresholdin GenMET fraction calculation?
80 
81  //Use Pt instaed of Et
82  bool usePt;
83 
85  };
86 }
87 
88 #endif // METProducer_h
void produce_CaloMET(edm::Event &event)
Definition: METProducer.cc:154
edm::InputTag inputLabel
Definition: METProducer.h:59
bool calculateSignificance_
Definition: METProducer.h:65
virtual ~METProducer()
Definition: METProducer.h:46
std::string alias
Definition: METProducer.h:62
void produce_else(edm::Event &event)
Definition: METProducer.cc:240
void produce_TCMET(edm::Event &event, const edm::EventSetup &setup)
Definition: METProducer.cc:179
bool applyFiducialThresholdForFractions
Definition: METProducer.h:79
void produce_GenMET(edm::Event &event)
Definition: METProducer.cc:226
std::string inputType
Definition: METProducer.h:60
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:84
double globalThreshold
Definition: METProducer.h:73
edm::InputTag jetsLabel_
Definition: METProducer.h:67
void produce_PFClusterMET(edm::Event &event)
Definition: METProducer.cc:210
metsig::SignAlgoResolutions * resolutions_
Definition: METProducer.h:66
void produce_PFMET(edm::Event &event)
Definition: METProducer.cc:187
METProducer(const edm::ParameterSet &)
Definition: METProducer.cc:55
std::string METtype
Definition: METProducer.h:61
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
virtual void produce(edm::Event &, const edm::EventSetup &) override
Definition: METProducer.cc:119