ATLAS Offline Software
Loading...
Searching...
No Matches
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"
13
14namespace xAOD {
15
22
24 public:
25 // Default constructor
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
Base class for elements of a container that can have aux data.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
int peak() const
get peak
const std::vector< unsigned int > & EtVec() const
unsigned int et() const
get et for etVec[peak] - time slice that (hopefully) contains the collision
void setPeak(int)
set peak
const std::vector< unsigned int > & EyVec() const
void setModule(int)
set module
void addEy(const std::vector< unsigned int > &Ey)
void addEx(const std::vector< unsigned int > &Ex)
int crate() const
get crate number
unsigned int ey() const
get ey for eyVec[peak] - time slice that (hopefully) contains the collision
unsigned int Et() const
unsigned int forward() const
Is this JEMEtSums forward?
const std::vector< unsigned int > & ExVec() const
const std::vector< unsigned int > & etVec() const
Please note that in the context of JEMEtSums, et is total energy, not transverse energy For transvers...
void setEyVec(const std::vector< unsigned int > &)
set eyVec - ey for all time slices
void setEtVec(const std::vector< unsigned int > &)
set etVec - et for all time slices
void setCrate(int)
set crate number
int module() const
get module
unsigned int ex() const
get ex for exVec[peak] - time slice that (hopefully) contains the collision
unsigned int Ey() const
void setExVec(const std::vector< unsigned int > &)
set exVec - ex for all time slices
void addEt(const std::vector< unsigned int > &Et)
Backwards Compatibility with Trigger/TrigT1/TrigT1CaloEvent Run1 EDM did not strictly follow camelCas...
unsigned int Ex() const
const std::vector< unsigned int > & eyVec() const
get eyVec - ey for all time slices
const std::vector< unsigned int > & exVec() const
get exVec - ex for all time slices
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.