CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GenSpecificAlgo.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: METAlgorithms
4 // Class: GenSpecificAlgo
5 //
13 //
14 // Original Authors: R. Cavanaugh (taken from F.Ratnikov, UMd)
15 // Created: June 6, 2006
16 // $Id: GenSpecificAlgo.h,v 1.6 2013/05/03 18:52:47 salee Exp $
17 //
18 //
19 #ifndef METProducers_GenMETInfo_h
20 #define METProducers_GenMETInfo_h
21 
22 //____________________________________________________________________________||
28 
29 //____________________________________________________________________________||
31 {
32 
33 public:
34  reco::GenMET addInfo(edm::Handle<edm::View<reco::Candidate> > particles, CommonMETData *met, double globalThreshold = 0, bool onlyFiducial = false,bool applyFiducialThresholdForFractions = false, bool usePt = false);
35 
36 private:
39 
40  void fillCommonMETData(CommonMETData *met, edm::Handle<edm::View<reco::Candidate> >& particles, double globalThreshold, bool onlyFiducial, bool usePt);
41  SpecificGenMETData mkSpecificGenMETData(edm::Handle<edm::View<reco::Candidate> >& particles,double globalThreshold, bool onlyFiducial,bool applyFiducialThresholdForFractions, bool usePt);
42 
43 };
44 
45 //____________________________________________________________________________||
46 #endif // METProducers_GenMETInfo_h
reco::GenMET addInfo(edm::Handle< edm::View< reco::Candidate > > particles, CommonMETData *met, double globalThreshold=0, bool onlyFiducial=false, bool applyFiducialThresholdForFractions=false, bool usePt=false)
math::XYZPoint Point
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:30
void fillCommonMETData(CommonMETData *met, edm::Handle< edm::View< reco::Candidate > > &particles, double globalThreshold, bool onlyFiducial, bool usePt)
MET made from CaloTowers.
Structure containing data common to all types of MET.
Definition: CommonMETData.h:22
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:13
SpecificGenMETData mkSpecificGenMETData(edm::Handle< edm::View< reco::Candidate > > &particles, double globalThreshold, bool onlyFiducial, bool applyFiducialThresholdForFractions, bool usePt)
math::XYZTLorentzVector LorentzVector