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 #ifndef METProducers_SignCaloMETAlgo_h
2 #define METProducers_SignCaloMETAlgo_h
3 // -*- C++ -*-
4 //
5 // Package: METAlgorithms
6 // Class: SignCaloSpecificAlgo
7 //
15 //
16 // Original Author: Kyle Story, Freya Blekman (Cornell University)
17 // Created: Fri Apr 18 11:58:33 CEST 2008
18 // $Id: SignCaloSpecificAlgo.h,v 1.4 2009/10/22 16:50:45 fblekman Exp $
19 //
20 //
21 //
31 #include "TF1.h"
32 #include "TMatrixD.h"
33 
34 
36 {
37  public:
38 
41 
42 
45  typedef std::vector <const reco::Candidate*> TowerCollection;
46  void usePreviousSignif(const std::vector<double> &values);
47  void usePreviousSignif(const TMatrixD &matrix){matrix_=matrix;}
48  double getSignificance(){return significance_;}
49  TMatrixD getSignificanceMatrix()const {return matrix_;}
50 
51  void calculateBaseCaloMET(edm::Handle<edm::View<reco::Candidate> > towers, CommonMETData met, const metsig::SignAlgoResolutions & resolutions, bool noHF, double globalthreshold);
52 
53  private:
54 
55  std::vector<metsig::SigInputObj> makeVectorOutOfCaloTowers(edm::Handle<edm::View<reco::Candidate> > towers, const metsig::SignAlgoResolutions& resolutions, bool noHF, double globalthreshold);
56 
57  double significance_;
58  TMatrixD matrix_;
59 };
60 
61 #endif
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)
std::vector< const reco::Candidate * > TowerCollection
void usePreviousSignif(const std::vector< double > &values)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:30
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
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:13
math::XYZTLorentzVector LorentzVector