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 //
17 //
18 #ifndef METProducers_SignCaloMETAlgo_h
19 #define METProducers_SignCaloMETAlgo_h
20 
21 //____________________________________________________________________________||
27 #include "TMatrixD.h"
28 
29 namespace metsig {
30  class SignAlgoResolutions;
31 }
32 
33 //____________________________________________________________________________||
35 
36 public:
37 
40 
41  void usePreviousSignif(const std::vector<double> &values);
42  void usePreviousSignif(const TMatrixD &matrix) { matrix_ = matrix; }
43  double getSignificance(){return significance_;}
44  TMatrixD getSignificanceMatrix()const {return matrix_;}
45 
46  void calculateBaseCaloMET(edm::Handle<edm::View<reco::Candidate> > towers, const CommonMETData& met, const metsig::SignAlgoResolutions & resolutions, bool noHF, double globalthreshold);
47 
48  private:
49 
50  std::vector<metsig::SigInputObj> makeVectorOutOfCaloTowers(edm::Handle<edm::View<reco::Candidate> > towers, const metsig::SignAlgoResolutions& resolutions, bool noHF, double globalthreshold);
51 
52  double significance_;
53  TMatrixD matrix_;
54 };
55 
56 
57 //____________________________________________________________________________||
58 #endif // METProducers_SignCaloMETAlgo_h
std::vector< metsig::SigInputObj > makeVectorOutOfCaloTowers(edm::Handle< edm::View< reco::Candidate > > towers, const metsig::SignAlgoResolutions &resolutions, bool noHF, double globalthreshold)
tuple met
____________________________________________________________________________||
Definition: CaloMET_cfi.py:4
void usePreviousSignif(const TMatrixD &matrix)
void usePreviousSignif(const std::vector< double > &values)
Structure containing data common to all types of MET.
Definition: CommonMETData.h:12
TMatrixD getSignificanceMatrix() const
void calculateBaseCaloMET(edm::Handle< edm::View< reco::Candidate > > towers, const CommonMETData &met, const metsig::SignAlgoResolutions &resolutions, bool noHF, double globalthreshold)