Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoMET
METAlgorithms
interface
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
// $Id: SignCaloSpecificAlgo.h,v 1.7 2012/09/17 17:54:30 veelken Exp $
17
//
18
//
19
#ifndef METProducers_SignCaloMETAlgo_h
20
#define METProducers_SignCaloMETAlgo_h
21
22
//____________________________________________________________________________||
23
#include "
DataFormats/METReco/interface/CommonMETData.h
"
24
#include "
DataFormats/Common/interface/Handle.h
"
25
#include "
DataFormats/Common/interface/View.h
"
26
#include "
DataFormats/Candidate/interface/Candidate.h
"
27
#include "
DataFormats/METReco/interface/SigInputObj.h
"
28
#include "TMatrixD.h"
29
30
namespace
metsig {
31
class
SignAlgoResolutions;
32
}
33
34
//____________________________________________________________________________||
35
class
SignCaloSpecificAlgo
{
36
37
public
:
38
39
SignCaloSpecificAlgo
();
40
~SignCaloSpecificAlgo
();
41
42
void
usePreviousSignif
(
const
std::vector<double> &
values
);
43
void
usePreviousSignif
(
const
TMatrixD &
matrix
) {
matrix_
=
matrix
; }
44
double
getSignificance
(){
return
significance_
;}
45
TMatrixD
getSignificanceMatrix
()
const
{
return
matrix_
;}
46
47
void
calculateBaseCaloMET
(
edm::Handle
<
edm::View<reco::Candidate>
> towers,
CommonMETData
met
,
const
metsig::SignAlgoResolutions
& resolutions,
bool
noHF,
double
globalthreshold);
48
49
private
:
50
51
std::vector<metsig::SigInputObj>
makeVectorOutOfCaloTowers
(
edm::Handle
<
edm::View<reco::Candidate>
> towers,
const
metsig::SignAlgoResolutions
& resolutions,
bool
noHF,
double
globalthreshold);
52
53
double
significance_
;
54
TMatrixD
matrix_
;
55
};
56
57
58
//____________________________________________________________________________||
59
#endif // METProducers_SignCaloMETAlgo_h
makeMuonMisalignmentScenario.matrix
list matrix
Definition:
makeMuonMisalignmentScenario.py:139
SignCaloSpecificAlgo::makeVectorOutOfCaloTowers
std::vector< metsig::SigInputObj > makeVectorOutOfCaloTowers(edm::Handle< edm::View< reco::Candidate > > towers, const metsig::SignAlgoResolutions &resolutions, bool noHF, double globalthreshold)
Definition:
SignCaloSpecificAlgo.cc:51
CaloMET_cfi.met
tuple met
Definition:
CaloMET_cfi.py:18
SignCaloSpecificAlgo::usePreviousSignif
void usePreviousSignif(const TMatrixD &matrix)
Definition:
SignCaloSpecificAlgo.h:43
edm::View
Definition:
AssociativeIterator.h:47
SigInputObj.h
Handle.h
edm::Handle
Definition:
AssociativeIterator.h:48
SignCaloSpecificAlgo::usePreviousSignif
void usePreviousSignif(const std::vector< double > &values)
Definition:
SignCaloSpecificAlgo.cc:36
makeHLTPrescaleTable.values
list values
Definition:
makeHLTPrescaleTable.py:236
SignCaloSpecificAlgo::matrix_
TMatrixD matrix_
Definition:
SignCaloSpecificAlgo.h:54
Candidate.h
CommonMETData.h
SignCaloSpecificAlgo::calculateBaseCaloMET
void calculateBaseCaloMET(edm::Handle< edm::View< reco::Candidate > > towers, CommonMETData met, const metsig::SignAlgoResolutions &resolutions, bool noHF, double globalthreshold)
Definition:
SignCaloSpecificAlgo.cc:152
SignCaloSpecificAlgo::~SignCaloSpecificAlgo
~SignCaloSpecificAlgo()
Definition:
SignCaloSpecificAlgo.cc:32
SignCaloSpecificAlgo::SignCaloSpecificAlgo
SignCaloSpecificAlgo()
Definition:
SignCaloSpecificAlgo.cc:26
SignCaloSpecificAlgo
Definition:
SignCaloSpecificAlgo.h:35
SignCaloSpecificAlgo::getSignificance
double getSignificance()
Definition:
SignCaloSpecificAlgo.h:44
View.h
CommonMETData
Structure containing data common to all types of MET.
Definition:
CommonMETData.h:22
metsig::SignAlgoResolutions
Definition:
SignAlgoResolutions.h:44
SignCaloSpecificAlgo::getSignificanceMatrix
TMatrixD getSignificanceMatrix() const
Definition:
SignCaloSpecificAlgo.h:45
SignCaloSpecificAlgo::significance_
double significance_
Definition:
SignCaloSpecificAlgo.h:53
Generated for CMSSW Reference Manual by
1.8.5