CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SignCaloSpecificAlgo.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: METAlgorithms
4 // Class: SignCaloSpecificAlgo
5 //
13 //
14 // Original Authors: Kyle Story, Freya Blekman (Cornell University)
15 // Created: Fri Apr 18 11:58:33 CEST 2008
16 // $Id: SignCaloSpecificAlgo.h,v 1.7 2012/09/17 17:54:30 veelken Exp $
17 //
18 //
19 #ifndef METProducers_SignCaloMETAlgo_h
20 #define METProducers_SignCaloMETAlgo_h
21 
22 //____________________________________________________________________________||
28 #include "TMatrixD.h"
29 
30 namespace metsig {
31  class SignAlgoResolutions;
32 }
33 
34 //____________________________________________________________________________||
36 
37 public:
38 
41 
42  void usePreviousSignif(const std::vector<double> &values);
43  void usePreviousSignif(const TMatrixD &matrix) { matrix_ = matrix; }
44  double getSignificance(){return significance_;}
45  TMatrixD getSignificanceMatrix()const {return matrix_;}
46 
47  void calculateBaseCaloMET(edm::Handle<edm::View<reco::Candidate> > towers, CommonMETData met, const metsig::SignAlgoResolutions & resolutions, bool noHF, double globalthreshold);
48 
49  private:
50 
51  std::vector<metsig::SigInputObj> makeVectorOutOfCaloTowers(edm::Handle<edm::View<reco::Candidate> > towers, const metsig::SignAlgoResolutions& resolutions, bool noHF, double globalthreshold);
52 
53  double significance_;
54  TMatrixD matrix_;
55 };
56 
57 
58 //____________________________________________________________________________||
59 #endif // METProducers_SignCaloMETAlgo_h
std::vector< metsig::SigInputObj > makeVectorOutOfCaloTowers(edm::Handle< edm::View< reco::Candidate > > towers, const metsig::SignAlgoResolutions &resolutions, bool noHF, double globalthreshold)
void usePreviousSignif(const TMatrixD &matrix)
void usePreviousSignif(const std::vector< double > &values)
void calculateBaseCaloMET(edm::Handle< edm::View< reco::Candidate > > towers, CommonMETData met, const metsig::SignAlgoResolutions &resolutions, bool noHF, double globalthreshold)
Structure containing data common to all types of MET.
Definition: CommonMETData.h:22
TMatrixD getSignificanceMatrix() const