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 //____________________________________________________________________________||
28 
29 namespace metsig {
30  class SignAlgoResolutions;
31 }
32 
33 //____________________________________________________________________________||
35 
36 public:
37 
40 
41  void usePreviousSignif(const std::vector<double> &values);
43  double getSignificance(){return significance_;}
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_;
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)
void usePreviousSignif(const reco::METCovMatrix &matrix)
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:40
reco::METCovMatrix matrix_
void usePreviousSignif(const std::vector< double > &values)
Structure containing data common to all types of MET.
Definition: CommonMETData.h:12
void calculateBaseCaloMET(edm::Handle< edm::View< reco::Candidate > > towers, const CommonMETData &met, const metsig::SignAlgoResolutions &resolutions, bool noHF, double globalthreshold)
reco::METCovMatrix getSignificanceMatrix() const