Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:39

0001 // -*- C++ -*-
0002 //
0003 // Package:    METAlgorithms
0004 // Class:      METAlgo
0005 //
0006 /**\class METAlgo METAlgo.h RecoMET/METAlgorithms/interface/METAlgo.h
0007 
0008  Description: Calculates MET for given input
0009 
0010  Implementation:
0011      [Notes on implementation]
0012 */
0013 //
0014 // Original Authors:  Michael Schmitt, Richard Cavanaugh The University of Florida
0015 //          Created:  May 14, 2005
0016 //
0017 //
0018 
0019 //____________________________________________________________________________||
0020 #ifndef METAlgo_h
0021 #define METAlgo_h
0022 
0023 //____________________________________________________________________________||
0024 #include "DataFormats/Common/interface/ValueMap.h"
0025 #include "DataFormats/Candidate/interface/CandidateFwd.h"
0026 #include "DataFormats/METReco/interface/CommonMETData.h"
0027 
0028 //____________________________________________________________________________||
0029 class METAlgo {
0030 public:
0031   METAlgo() {}
0032   virtual ~METAlgo() {}
0033   CommonMETData run(const edm::View<reco::Candidate>& candidates,
0034                     double globalThreshold = 0.0,
0035                     edm::ValueMap<float> const* weights = nullptr);
0036 };
0037 
0038 //____________________________________________________________________________||
0039 #endif  // METAlgo_h