CMS 3D CMS Logo

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 public:
38 
39  void usePreviousSignif(const std::vector<double>& values);
40  void usePreviousSignif(const reco::METCovMatrix& matrix) { matrix_ = matrix; }
41  double getSignificance() { return significance_; }
42  reco::METCovMatrix getSignificanceMatrix() const { return matrix_; }
43 
44  void calculateBaseCaloMET(edm::Handle<edm::View<reco::Candidate> > towers,
45  const CommonMETData& met,
47  bool noHF,
48  double globalthreshold);
49 
50 private:
51  std::vector<metsig::SigInputObj> makeVectorOutOfCaloTowers(edm::Handle<edm::View<reco::Candidate> > towers,
52  const metsig::SignAlgoResolutions& resolutions,
53  bool noHF,
54  double globalthreshold);
55 
56  double significance_;
58 };
59 
60 //____________________________________________________________________________||
61 #endif // METProducers_SignCaloMETAlgo_h
void usePreviousSignif(const reco::METCovMatrix &matrix)
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:39
reco::METCovMatrix matrix_
Structure containing data common to all types of MET.
Definition: CommonMETData.h:12
reco::METCovMatrix getSignificanceMatrix() const