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
//
17
//
18
#ifndef METProducers_SignCaloMETAlgo_h
19
#define METProducers_SignCaloMETAlgo_h
20
21
//____________________________________________________________________________||
22
#include "
DataFormats/METReco/interface/MET.h
"
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
29
namespace
metsig
{
30
class
SignAlgoResolutions;
31
}
32
33
//____________________________________________________________________________||
34
class
SignCaloSpecificAlgo
{
35
public
:
36
SignCaloSpecificAlgo
();
37
~SignCaloSpecificAlgo
();
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
,
46
const
metsig::SignAlgoResolutions
&
resolutions
,
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_
;
57
reco::METCovMatrix
matrix_
;
58
};
59
60
//____________________________________________________________________________||
61
#endif // METProducers_SignCaloMETAlgo_h
HLT_FULL_cff.towers
towers
Definition:
HLT_FULL_cff.py:36362
Handle.h
makeMuonMisalignmentScenario.matrix
list matrix
Definition:
makeMuonMisalignmentScenario.py:141
SignCaloSpecificAlgo::calculateBaseCaloMET
void calculateBaseCaloMET(edm::Handle< edm::View< reco::Candidate > > towers, const CommonMETData &met, const metsig::SignAlgoResolutions &resolutions, bool noHF, double globalthreshold)
Definition:
SignCaloSpecificAlgo.cc:152
SignCaloSpecificAlgo::usePreviousSignif
void usePreviousSignif(const std::vector< double > &values)
Definition:
SignCaloSpecificAlgo.cc:30
SignCaloSpecificAlgo
Definition:
SignCaloSpecificAlgo.h:34
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:43
CommonMETData
Structure containing data common to all types of MET.
Definition:
CommonMETData.h:12
SignCaloSpecificAlgo::usePreviousSignif
void usePreviousSignif(const reco::METCovMatrix &matrix)
Definition:
SignCaloSpecificAlgo.h:40
edm::Handle
Definition:
AssociativeIterator.h:50
SignCaloSpecificAlgo::~SignCaloSpecificAlgo
~SignCaloSpecificAlgo()
Definition:
SignCaloSpecificAlgo.cc:28
BTaggingMonitor_cfi.met
met
Definition:
BTaggingMonitor_cfi.py:84
SigInputObj.h
contentValuesCheck.values
values
Definition:
contentValuesCheck.py:38
metsig
Definition:
SigInputObj.h:27
SignCaloSpecificAlgo::getSignificanceMatrix
reco::METCovMatrix getSignificanceMatrix() const
Definition:
SignCaloSpecificAlgo.h:42
edm::View
Definition:
CaloClusterFwd.h:14
SignCaloSpecificAlgo::getSignificance
double getSignificance()
Definition:
SignCaloSpecificAlgo.h:41
SignCaloSpecificAlgo::significance_
double significance_
Definition:
SignCaloSpecificAlgo.h:56
CommonMETData.h
electronProducer_cfi.resolutions
resolutions
Definition:
electronProducer_cfi.py:80
MET.h
metsig::SignAlgoResolutions
Definition:
SignAlgoResolutions.h:61
SignCaloSpecificAlgo::SignCaloSpecificAlgo
SignCaloSpecificAlgo()
Definition:
SignCaloSpecificAlgo.cc:25
HLT_FULL_cff.noHF
noHF
Definition:
HLT_FULL_cff.py:50222
Candidate.h
View.h
reco::METCovMatrix
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Definition:
MET.h:39
SignCaloSpecificAlgo::matrix_
reco::METCovMatrix matrix_
Definition:
SignCaloSpecificAlgo.h:57
Generated for CMSSW Reference Manual by
1.8.16