Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
METObjects
interface
BaseMET.h
Go to the documentation of this file.
1
#ifndef METOBJECTS_BASE_MET_H
2
#define METOBJECTS_BASE_MET_H
3
15
#include "
DataFormats/Common/interface/EDProduct.h
"
16
#include "
DataFormats/METObjects/interface/CommonMETData.h
"
17
18
#include <vector>
19
#include <cstring>
20
21
class
BaseMETv0
22
{
23
public
:
24
BaseMETv0
();
25
// Setters
26
//void setLabel(const char *Label) { strcpy( data.label, Label ); }
27
void
setMET
(
double
MET
) {
data
.
met
=
MET
; }
//derived quantity
28
void
setMEx
(
double
MEx
) {
data
.
mex
=
MEx
; }
29
void
setMEy
(
double
MEy
) {
data
.
mey
=
MEy
; }
30
void
setMEz
(
double
MEz
) {
data
.
mez
=
MEz
; }
31
void
setSumET
(
double
SumET
) {
data
.
sumet
=
SumET
; }
32
void
setPhi
(
double
Phi
) {
data
.
phi
=
Phi
; }
//derived quantity
33
void
pushDelta
() {
corr
.push_back(
data
); }
34
// Getters
35
//char *getLabel() { return data.label; }
36
double
MET
()
const
{
return
data
.
met
; }
37
double
MEx
()
const
{
return
data
.
mex
; }
38
double
MEy
()
const
{
return
data
.
mey
; }
39
double
MEz
()
const
{
return
data
.
mez
; }
40
double
SumET
()
const
{
return
data
.
sumet
; }
41
double
phi
()
const
{
return
data
.
phi
; }
42
std::vector<CommonMETv0Data>
getAllCorr
()
const
{
return
corr
;}
43
// Methods
44
void
clearMET
();
45
private
:
46
CommonMETv0Data
data
;
47
std::vector<CommonMETv0Data>
corr
;
48
};
49
50
#endif // METOBJECTS_MET_H
BaseMETv0::setMEz
void setMEz(double MEz)
Definition:
BaseMET.h:30
BaseMETv0::phi
double phi() const
Definition:
BaseMET.h:41
BaseMETv0::setMEy
void setMEy(double MEy)
Definition:
BaseMET.h:29
BaseMETv0::data
CommonMETv0Data data
Definition:
BaseMET.h:46
BaseMETv0::pushDelta
void pushDelta()
Definition:
BaseMET.h:33
EDProduct.h
CommonMETData.h
BaseMETv0::setMEx
void setMEx(double MEx)
Definition:
BaseMET.h:28
CommonMETv0Data::mey
double mey
Definition:
CommonMETData.h:28
BaseMETv0::setPhi
void setPhi(double Phi)
Definition:
BaseMET.h:32
CommonMETv0Data::mez
double mez
Definition:
CommonMETData.h:29
CommonMETv0Data::mex
double mex
Definition:
CommonMETData.h:27
BaseMETv0::MEx
double MEx() const
Definition:
BaseMET.h:37
BaseMETv0
Definition:
BaseMET.h:21
BaseMETv0::setSumET
void setSumET(double SumET)
Definition:
BaseMET.h:31
CommonMETv0Data::met
double met
Definition:
CommonMETData.h:26
colinearityKinematic::Phi
Definition:
ColinearityKinematicConstraintT.h:20
BaseMETv0::setMET
void setMET(double MET)
Definition:
BaseMET.h:27
BaseMETv0::MEz
double MEz() const
Definition:
BaseMET.h:39
BaseMETv0::SumET
double SumET() const
Definition:
BaseMET.h:40
MET
BaseMETv0::corr
std::vector< CommonMETv0Data > corr
Definition:
BaseMET.h:47
BaseMETv0::BaseMETv0
BaseMETv0()
Definition:
BaseMET.cc:10
CommonMETv0Data::sumet
double sumet
Definition:
CommonMETData.h:30
BaseMETv0::getAllCorr
std::vector< CommonMETv0Data > getAllCorr() const
Definition:
BaseMET.h:42
BaseMETv0::MET
double MET() const
Definition:
BaseMET.h:36
BaseMETv0::clearMET
void clearMET()
Definition:
BaseMET.cc:15
BaseMETv0::MEy
double MEy() const
Definition:
BaseMET.h:38
CommonMETv0Data::phi
double phi
Definition:
CommonMETData.h:31
CommonMETv0Data
Definition:
CommonMETData.h:22
Generated for CMSSW Reference Manual by
1.8.5