ATLAS Offline Software
Loading...
Searching...
No Matches
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
17namespace xAOD {
18
25
27 public:
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;
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
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
void setPeak(uint8_t)
set peak
void setCrate(uint8_t)
set crate number
uint16_t et() const
get et for etVec[peak] - time slice that (hopefully) contains the collision
uint16_t ey() const
get ey for eyVec[peak] - time slice that (hopefully) contains the collision
virtual ~JEMEtSums_v2()
Default desturctor.
uint8_t module() const
get module
const std::vector< uint16_t > & eyVec() const
get eyVec - ey for all time slices
uint16_t ex() const
get ex for exVec[peak] - time slice that (hopefully) contains the collision
void setExVec(const std::vector< uint16_t > &)
set exVec - ex for all time slices
void setEyVec(const std::vector< uint16_t > &)
set eyVec - ey for all time slices
uint8_t crate() const
get crate number
uint8_t forward() const
Is this JEMEtSums forward?
void setEtVec(const std::vector< uint16_t > &)
set etVec - et for all time slices
const std::vector< uint16_t > & etVec() const
Please note that in the context of JEMEtSums, et is total energy, not transverse energy For transvers...
uint8_t peak() const
get peak
const std::vector< uint16_t > & exVec() const
get exVec - ex for all time slices
JEMEtSums_v2()
Default constructor.
void setModule(uint8_t)
set module
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setWord1 uint16_t
void initialize()