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 #ifndef METProducer_h
2 #define METProducer_h
3 
15 #include <vector>
16 #include <cstdlib>
17 #include <string.h>
35 #include "TH2F.h"
36 
37 class TCMETAlgo;
38 
39 namespace metsig{
40  class SignAlgoResolutions;
41 }
42 
43 namespace cms
44 {
46  {
47  public:
51  explicit METProducer(const edm::ParameterSet&);
52  explicit METProducer();
53  virtual ~METProducer();
54  //const CandidateCollection* convert( const reco::CaloJetCollection* );
55  virtual void produce(edm::Event&, const edm::EventSetup&);
56 
57  private:
60  std::string inputType;
61  std::string METtype;
62  std::string alias;
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 Pt instaed of Et
79  bool usePt;
80 
83 
84  };
85 }
86 
87 #endif // METProducer_h
edm::InputTag inputLabel
Definition: METProducer.h:59
bool calculateSignificance_
Definition: METProducer.h:65
std::string alias
Definition: METProducer.h:62
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:30
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition: METProducer.cc:141
edm::OwnVector< reco::Candidate > CandidateCollection
Definition: METProducer.h:50
math::XYZPoint Point
Definition: METProducer.h:49
std::string inputType
Definition: METProducer.h:60
TCMETAlgo * tcmetalgorithm
Definition: METProducer.h:81
int myResponseFunctionType
Definition: METProducer.h:82
double globalThreshold
Definition: METProducer.h:73
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:13
edm::InputTag jetsLabel_
Definition: METProducer.h:67
metsig::SignAlgoResolutions * resolutions_
Definition: METProducer.h:66
math::XYZTLorentzVector LorentzVector
Definition: METProducer.h:48
virtual ~METProducer()
Definition: METProducer.cc:135
std::string METtype
Definition: METProducer.h:61