ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTrigL1Calo
xAODTrigL1Calo
versions
JEMEtSums_v1.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: JEMEtSums_v1.h 631127 2014-11-26 09:54:48Z gwatts $
8
#ifndef XAODTRIGL1CALO_VERSIONS_JEMETSUMS_V1_H
9
#define XAODTRIGL1CALO_VERSIONS_JEMETSUMS_V1_H
10
11
#include "AthLinks/ElementLink.h"
12
#include "
AthContainers/AuxElement.h
"
13
14
namespace
xAOD
{
15
22
23
class
JEMEtSums_v1
:
public
SG::AuxElement
{
24
public
:
25
// Default constructor
26
JEMEtSums_v1
();
27
29
int
crate
()
const
;
31
void
setCrate
(
int
);
32
34
int
module
()
const
;
36
void
setModule
(
int
);
37
39
int
peak
()
const
;
41
void
setPeak
(
int
);
42
45
47
const
std::vector<unsigned int>&
etVec
()
const
;
49
void
setEtVec
(
const
std::vector<unsigned int>&);
50
52
const
std::vector<unsigned int>&
exVec
()
const
;
54
void
setExVec
(
const
std::vector<unsigned int>&);
55
57
const
std::vector<unsigned int>&
eyVec
()
const
;
59
void
setEyVec
(
const
std::vector<unsigned int>&);
60
62
unsigned
int
forward
()
const
;
63
65
unsigned
int
et
()
const
;
67
unsigned
int
ex
()
const
;
69
unsigned
int
ey
()
const
;
70
74
inline
void
addEt
(
const
std::vector<unsigned int>&
Et
) {this->
setEtVec
( Et );}
75
inline
void
addEx
(
const
std::vector<unsigned int>&
Ex
) {this->
setExVec
( Ex );}
76
inline
void
addEy
(
const
std::vector<unsigned int>&
Ey
) {this->
setEyVec
( Ey );}
77
inline
unsigned
int
Et
()
const
{
return
this->
et
();}
78
inline
unsigned
int
Ex
()
const
{
return
this->
ex
();}
79
inline
unsigned
int
Ey
()
const
{
return
this->
ey
();}
80
inline
const
std::vector<unsigned int>&
EtVec
()
const
{
return
this->
etVec
();}
81
inline
const
std::vector<unsigned int>&
ExVec
()
const
{
return
this->
exVec
();}
82
inline
const
std::vector<unsigned int>&
EyVec
()
const
{
return
this->
eyVec
();}
83
84
};
85
}
// namespace xAOD
86
87
#endif
// XAODTRIGL1CALO_VERSIONS_JEMETSUMS_V1_H
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::JEMEtSums_v1::peak
int peak() const
get peak
xAOD::JEMEtSums_v1::EtVec
const std::vector< unsigned int > & EtVec() const
Definition
JEMEtSums_v1.h:80
xAOD::JEMEtSums_v1::et
unsigned int et() const
get et for etVec[peak] - time slice that (hopefully) contains the collision
Definition
JEMEtSums_v1.cxx:40
xAOD::JEMEtSums_v1::setPeak
void setPeak(int)
set peak
xAOD::JEMEtSums_v1::EyVec
const std::vector< unsigned int > & EyVec() const
Definition
JEMEtSums_v1.h:82
xAOD::JEMEtSums_v1::setModule
void setModule(int)
set module
xAOD::JEMEtSums_v1::addEy
void addEy(const std::vector< unsigned int > &Ey)
Definition
JEMEtSums_v1.h:76
xAOD::JEMEtSums_v1::addEx
void addEx(const std::vector< unsigned int > &Ex)
Definition
JEMEtSums_v1.h:75
xAOD::JEMEtSums_v1::crate
int crate() const
get crate number
xAOD::JEMEtSums_v1::ey
unsigned int ey() const
get ey for eyVec[peak] - time slice that (hopefully) contains the collision
Definition
JEMEtSums_v1.cxx:50
xAOD::JEMEtSums_v1::Et
unsigned int Et() const
Definition
JEMEtSums_v1.h:77
xAOD::JEMEtSums_v1::forward
unsigned int forward() const
Is this JEMEtSums forward?
Definition
JEMEtSums_v1.cxx:30
xAOD::JEMEtSums_v1::ExVec
const std::vector< unsigned int > & ExVec() const
Definition
JEMEtSums_v1.h:81
xAOD::JEMEtSums_v1::etVec
const std::vector< unsigned int > & etVec() const
Please note that in the context of JEMEtSums, et is total energy, not transverse energy For transvers...
xAOD::JEMEtSums_v1::setEyVec
void setEyVec(const std::vector< unsigned int > &)
set eyVec - ey for all time slices
xAOD::JEMEtSums_v1::setEtVec
void setEtVec(const std::vector< unsigned int > &)
set etVec - et for all time slices
xAOD::JEMEtSums_v1::setCrate
void setCrate(int)
set crate number
xAOD::JEMEtSums_v1::module
int module() const
get module
xAOD::JEMEtSums_v1::JEMEtSums_v1
JEMEtSums_v1()
Definition
JEMEtSums_v1.cxx:18
xAOD::JEMEtSums_v1::ex
unsigned int ex() const
get ex for exVec[peak] - time slice that (hopefully) contains the collision
Definition
JEMEtSums_v1.cxx:45
xAOD::JEMEtSums_v1::Ey
unsigned int Ey() const
Definition
JEMEtSums_v1.h:79
xAOD::JEMEtSums_v1::setExVec
void setExVec(const std::vector< unsigned int > &)
set exVec - ex for all time slices
xAOD::JEMEtSums_v1::addEt
void addEt(const std::vector< unsigned int > &Et)
Backwards Compatibility with Trigger/TrigT1/TrigT1CaloEvent Run1 EDM did not strictly follow camelCas...
Definition
JEMEtSums_v1.h:74
xAOD::JEMEtSums_v1::Ex
unsigned int Ex() const
Definition
JEMEtSums_v1.h:78
xAOD::JEMEtSums_v1::eyVec
const std::vector< unsigned int > & eyVec() const
get eyVec - ey for all time slices
xAOD::JEMEtSums_v1::exVec
const std::vector< unsigned int > & exVec() const
get exVec - ex for all time slices
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
Generated on
for ATLAS Offline Software by
1.17.0