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 
36 public:
37 
40 
41  void usePreviousSignif(const std::vector<double> &values);
42  void usePreviousSignif(const reco::METCovMatrix &matrix) { matrix_ = matrix; }
43  double getSignificance(){return significance_;}
44  reco::METCovMatrix 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_;
54 };
55 
56 
57 //____________________________________________________________________________||
58 #endif // METProducers_SignCaloMETAlgo_h
void usePreviousSignif(const reco::METCovMatrix &matrix)
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition: MET.h:40
reco::METCovMatrix matrix_
Structure containing data common to all types of MET.
Definition: CommonMETData.h:12
met
===> hadronic RAZOR
reco::METCovMatrix getSignificanceMatrix() const