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/METObjects/interface/CommonMETData.h
"
16
17
#include <vector>
18
#include <cstring>
19
20
class
BaseMETv0
21
{
22
public
:
23
BaseMETv0
();
24
// Setters
25
//void setLabel(const char *Label) { strcpy( data.label, Label ); }
26
void
setMET
(
double
MET
) {
data
.
met
=
MET
; }
//derived quantity
27
void
setMEx
(
double
MEx
) {
data
.
mex
=
MEx
; }
28
void
setMEy
(
double
MEy
) {
data
.
mey
=
MEy
; }
29
void
setMEz
(
double
MEz
) {
data
.
mez
=
MEz
; }
30
void
setSumET
(
double
SumET
) {
data
.
sumet
=
SumET
; }
31
void
setPhi
(
double
Phi
) {
data
.
phi
=
Phi
; }
//derived quantity
32
void
pushDelta
() {
corr
.push_back(
data
); }
33
// Getters
34
//char *getLabel() { return data.label; }
35
double
MET
()
const
{
return
data
.
met
; }
36
double
MEx
()
const
{
return
data
.
mex
; }
37
double
MEy
()
const
{
return
data
.
mey
; }
38
double
MEz
()
const
{
return
data
.
mez
; }
39
double
SumET
()
const
{
return
data
.
sumet
; }
40
double
phi
()
const
{
return
data
.
phi
; }
41
std::vector<CommonMETv0Data>
getAllCorr
()
const
{
return
corr
;}
42
// Methods
43
void
clearMET
();
44
private
:
45
CommonMETv0Data
data
;
46
std::vector<CommonMETv0Data>
corr
;
47
};
48
49
#endif // METOBJECTS_MET_H
BaseMETv0::setMEz
void setMEz(double MEz)
Definition:
BaseMET.h:29
BaseMETv0::phi
double phi() const
Definition:
BaseMET.h:40
BaseMETv0::setMEy
void setMEy(double MEy)
Definition:
BaseMET.h:28
BaseMETv0::data
CommonMETv0Data data
Definition:
BaseMET.h:45
BaseMETv0::pushDelta
void pushDelta()
Definition:
BaseMET.h:32
CommonMETData.h
BaseMETv0::setMEx
void setMEx(double MEx)
Definition:
BaseMET.h:27
CommonMETv0Data::mey
double mey
Definition:
CommonMETData.h:28
BaseMETv0::setPhi
void setPhi(double Phi)
Definition:
BaseMET.h:31
CommonMETv0Data::mez
double mez
Definition:
CommonMETData.h:29
CommonMETv0Data::mex
double mex
Definition:
CommonMETData.h:27
BaseMETv0::MEx
double MEx() const
Definition:
BaseMET.h:36
BaseMETv0
Definition:
BaseMET.h:20
BaseMETv0::setSumET
void setSumET(double SumET)
Definition:
BaseMET.h:30
CommonMETv0Data::met
double met
Definition:
CommonMETData.h:26
colinearityKinematic::Phi
Definition:
ColinearityKinematicConstraintT.h:20
BaseMETv0::setMET
void setMET(double MET)
Definition:
BaseMET.h:26
BaseMETv0::MEz
double MEz() const
Definition:
BaseMET.h:38
BaseMETv0::SumET
double SumET() const
Definition:
BaseMET.h:39
MET
BaseMETv0::corr
std::vector< CommonMETv0Data > corr
Definition:
BaseMET.h:46
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:41
BaseMETv0::MET
double MET() const
Definition:
BaseMET.h:35
BaseMETv0::clearMET
void clearMET()
Definition:
BaseMET.cc:15
BaseMETv0::MEy
double MEy() const
Definition:
BaseMET.h:37
CommonMETv0Data::phi
double phi
Definition:
CommonMETData.h:31
CommonMETv0Data
Definition:
CommonMETData.h:22
Generated for CMSSW Reference Manual by
1.8.5