ATLAS Offline Software
JEMEtSums_v2.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_v2.h 652807 2015-03-09 21:52:07Z morrisj $
8 #ifndef XAODTRIGL1CALO_VERSIONS_JEMETSUMS_V2_H
9 #define XAODTRIGL1CALO_VERSIONS_JEMETSUMS_V2_H
10 
11 #include "AthLinks/ElementLink.h"
13 
14 // System include(s):
15 #include <stdint.h>
16 
17 namespace xAOD {
18 
25 
26  class JEMEtSums_v2 : public SG::AuxElement{
27  public:
29  JEMEtSums_v2();
31  virtual ~JEMEtSums_v2(){}
32 
34  virtual void initialize(const uint8_t crate,const uint8_t module);
35 
37  virtual void initialize(const uint8_t crate,const uint8_t module,
38  const std::vector<uint16_t>& etVec,
39  const std::vector<uint16_t>& exVec,
40  const std::vector<uint16_t>& eyVec,
41  const uint8_t peak);
42 
44  uint8_t crate() const;
47 
49  uint8_t module() const;
52 
54  uint8_t peak() const;
56  void setPeak(uint8_t);
57 
60 
62  const std::vector<uint16_t>& etVec() const;
64  void setEtVec(const std::vector<uint16_t>&);
65 
67  const std::vector<uint16_t>& exVec() const;
69  void setExVec(const std::vector<uint16_t>&);
70 
72  const std::vector<uint16_t>& eyVec() const;
74  void setEyVec(const std::vector<uint16_t>&);
75 
77  uint8_t forward() const;
78 
80  uint16_t et() const;
82  uint16_t ex() const;
84  uint16_t ey() const;
85  };
86 } // namespace xAOD
87 
88 #endif // XAODTRIGL1CALO_VERSIONS_JEMETSUMS_V2_H
xAOD::JEMEtSums_v2::setExVec
void setExVec(const std::vector< uint16_t > &)
set exVec - ex for all time slices
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
xAOD::JEMEtSums_v2::initialize
virtual void initialize(const uint8_t crate, const uint8_t module)
initialize
Definition: JEMEtSums_v2.cxx:24
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:483
xAOD::JEMEtSums_v2::setCrate
void setCrate(uint8_t)
set crate number
xAOD::JEMEtSums_v2::exVec
const std::vector< uint16_t > & exVec() const
get exVec - ex for all time slices
xAOD::JEMEtSums_v2::~JEMEtSums_v2
virtual ~JEMEtSums_v2()
Default desturctor.
Definition: JEMEtSums_v2.h:31
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::JEMEtSums_v2::peak
uint8_t peak() const
get peak
xAOD::JEMEtSums_v2::crate
uint8_t crate() const
get crate number
xAOD::JEMEtSums_v2::ey
uint16_t ey() const
get ey for eyVec[peak] - time slice that (hopefully) contains the collision
Definition: JEMEtSums_v2.cxx:73
xAOD::JEMEtSums_v2::eyVec
const std::vector< uint16_t > & eyVec() const
get eyVec - ey for all time slices
xAOD::JEMEtSums_v2::setEtVec
void setEtVec(const std::vector< uint16_t > &)
set etVec - et for all time slices
xAOD::JEMEtSums_v2::et
uint16_t et() const
get et for etVec[peak] - time slice that (hopefully) contains the collision
Definition: JEMEtSums_v2.cxx:63
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
xAOD::JEMEtSums_v2
Description of JEMEtSums_v2.
Definition: JEMEtSums_v2.h:26
xAOD::JEMEtSums_v2::etVec
const std::vector< uint16_t > & etVec() const
Please note that in the context of JEMEtSums, et is total energy, not transverse energy For transvers...
xAOD::JEMEtSums_v2::setPeak
void setPeak(uint8_t)
set peak
xAOD::JEMEtSums_v2::JEMEtSums_v2
JEMEtSums_v2()
Default constructor.
Definition: JEMEtSums_v2.cxx:18
xAOD::JEMEtSums_v2::ex
uint16_t ex() const
get ex for exVec[peak] - time slice that (hopefully) contains the collision
Definition: JEMEtSums_v2.cxx:68
xAOD::JEMEtSums_v2::module
uint8_t module() const
get module
xAOD::JEMEtSums_v2::forward
uint8_t forward() const
Is this JEMEtSums forward?
Definition: JEMEtSums_v2.cxx:53
xAOD::JEMEtSums_v2::setModule
void setModule(uint8_t)
set module
xAOD::JEMEtSums_v2::setEyVec
void setEyVec(const std::vector< uint16_t > &)
set eyVec - ey for all time slices
AuxElement.h
Base class for elements of a container that can have aux data.