ATLAS Offline Software
CMXEtSums_v1.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: CMXEtSums_v1.h 687949 2015-08-06 15:48:49Z amazurov $
8 #ifndef XAODTRIGL1CALO_VERSIONS_CMXETSUMS_V1_H
9 #define XAODTRIGL1CALO_VERSIONS_CMXETSUMS_V1_H
10 
11 // EDM include(s):
12 #include "AthLinks/ElementLink.h"
14 
15 // System include(s):
16 #include <stdint.h>
17 #include <ostream>
18 
19 namespace xAOD {
20 
27 
28 class CMXEtSums_v1 : public SG::AuxElement {
29 public:
36  };
37 public:
39  CMXEtSums_v1();
41  virtual ~CMXEtSums_v1() {}
42 
44  virtual void initialize(const uint8_t crate, const uint8_t source);
45 
47  virtual void initialize(const uint8_t crate, const uint8_t source,
48  const std::vector<uint16_t>& etVec,
49  const std::vector<uint16_t>& exVec,
50  const std::vector<uint16_t>& eyVec,
51  const std::vector<uint32_t>& etErrorVec,
52  const std::vector<uint32_t>& exErrorVec,
53  const std::vector<uint32_t>& eyErrorVec,
54  const uint8_t peak);
55 
58  void addEt(const std::vector<uint16_t>& etVec, const std::vector<uint32_t>& etErrorVec);
60  void addEx(const std::vector<uint16_t>& exVec, const std::vector<uint32_t>& exErrorVec);
62  void addEy(const std::vector<uint16_t>& eyVec, const std::vector<uint32_t>& eyErrorVec);
63 
65  uint8_t crate() const;
68 
73 
75  uint8_t peak() const;
78 
80  const std::vector<uint16_t>& etVec() const;
82  void setEtVec(const std::vector<uint16_t>&);
83 
85  const std::vector<uint16_t>& exVec() const;
87  void setExVec(const std::vector<uint16_t>&);
88 
90  const std::vector<uint16_t>& eyVec() const;
92  void setEyVec(const std::vector<uint16_t>&);
93 
95  const std::vector<uint32_t>& etErrorVec() const;
97  void setEtErrorVec(const std::vector<uint32_t>&);
98 
100  const std::vector<uint32_t>& exErrorVec() const;
102  void setExErrorVec(const std::vector<uint32_t>&);
103 
105  const std::vector<uint32_t>& eyErrorVec() const;
107  void setEyErrorVec(const std::vector<uint32_t>&);
108 
112 
114  uint16_t et() const;
115 
117  uint16_t ex() const;
118 
120  uint16_t ey() const;
121 
123  uint32_t etError() const;
124 
126  uint32_t exError() const;
127 
129  uint32_t eyError() const;
130 
131 }; // class CMXEtSums_v1
132 
133 
134 std::ostream &operator<<(std::ostream &os, const xAOD::CMXEtSums_v1 &el);
135 
136 } // namespace xAOD
137 #endif
138 
xAOD::CMXEtSums_v1::LOCAL_RESTRICTED
@ LOCAL_RESTRICTED
Definition: CMXEtSums_v1.h:31
xAOD::CMXEtSums_v1::setEyErrorVec
void setEyErrorVec(const std::vector< uint32_t > &)
set eyErrorVec
xAOD::CMXEtSums_v1::MAX_SOURCE
@ MAX_SOURCE
Definition: CMXEtSums_v1.h:35
xAOD::CMXEtSums_v1::setEtVec
void setEtVec(const std::vector< uint16_t > &)
set etVec
xAOD::CMXEtSums_v1::addEy
void addEy(const std::vector< uint16_t > &eyVec, const std::vector< uint32_t > &eyErrorVec)
add Ey
Definition: CMXEtSums_v1.cxx:103
xAOD::CMXEtSums_v1::exError
uint32_t exError() const
get exErrorVec at peak bunch crossing
Definition: CMXEtSums_v1.cxx:148
xAOD::CMXEtSums_v1::exVec
const std::vector< uint16_t > & exVec() const
get exVec
xAOD::CMXEtSums_v1::MISSING_ET_RESTRICTED
@ MISSING_ET_RESTRICTED
Definition: CMXEtSums_v1.h:34
xAOD::CMXEtSums_v1::eyError
uint32_t eyError() const
get eyErrorVec at peak bunch crossing
Definition: CMXEtSums_v1.cxx:154
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
xAOD::CMXEtSums_v1::ey
uint16_t ey() const
get eyVec at peak bunch crossing
Definition: CMXEtSums_v1.cxx:136
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:483
xAOD::CMXEtSums_v1::TOTAL_RESTRICTED
@ TOTAL_RESTRICTED
Definition: CMXEtSums_v1.h:32
xAOD::CMXEtSums_v1::etError
uint32_t etError() const
get etErrorVec at peak bunch crossing
Definition: CMXEtSums_v1.cxx:142
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::CMXEtSums_v1::etVec
const std::vector< uint16_t > & etVec() const
get etVec
xAOD::CMXEtSums_v1::setEtErrorVec
void setEtErrorVec(const std::vector< uint32_t > &)
set etErrorVec
xAOD::CMXEtSums_v1::peak
uint8_t peak() const
get peak
xAOD::CMXEtSums_v1::REMOTE_STANDARD
@ REMOTE_STANDARD
Definition: CMXEtSums_v1.h:30
xAOD::CMXEtSums_v1::ex
uint16_t ex() const
get exVec at peak bunch crossing
Definition: CMXEtSums_v1.cxx:130
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
xAOD::CMXEtSums_v1
Description of CMXEtSums_v1.
Definition: CMXEtSums_v1.h:28
xAOD::CMXEtSums_v1::MISSING_ET_STANDARD
@ MISSING_ET_STANDARD
Definition: CMXEtSums_v1.h:34
xAOD::CMXEtSums_v1::crate
uint8_t crate() const
get crate
xAOD::CMXEtSums_v1::addEt
void addEt(const std::vector< uint16_t > &etVec, const std::vector< uint32_t > &etErrorVec)
add data to existing object add Et
Definition: CMXEtSums_v1.cxx:89
xAOD::CMXEtSums_v1::TOTAL_STANDARD
@ TOTAL_STANDARD
Definition: CMXEtSums_v1.h:32
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
xAOD::CMXEtSums_v1::MISSING_ET_SIG_STANDARD
@ MISSING_ET_SIG_STANDARD
Definition: CMXEtSums_v1.h:35
xAOD::CMXEtSums_v1::setExVec
void setExVec(const std::vector< uint16_t > &)
set exVec
xAOD::CMXEtSums_v1::eyErrorVec
const std::vector< uint32_t > & eyErrorVec() const
get eyErrorVec
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
xAOD::CMXEtSums_v1::CMXEtSums_v1
CMXEtSums_v1()
Default constructor.
Definition: CMXEtSums_v1.cxx:53
xAOD::CMXEtSums_v1::Sources
Sources
Definition: CMXEtSums_v1.h:30
xAOD::CMXEtSums_v1::REMOTE_RESTRICTED
@ REMOTE_RESTRICTED
Definition: CMXEtSums_v1.h:30
xAOD::CMXEtSums_v1::setCrate
void setCrate(uint8_t)
set crate
xAOD::CMXEtSums_v1::SUM_ET_STANDARD
@ SUM_ET_STANDARD
Definition: CMXEtSums_v1.h:33
xAOD::CMXEtSums_v1::~CMXEtSums_v1
virtual ~CMXEtSums_v1()
Default desturctor.
Definition: CMXEtSums_v1.h:41
xAOD::CMXEtSums_v1::addEx
void addEx(const std::vector< uint16_t > &exVec, const std::vector< uint32_t > &exErrorVec)
add Ex
Definition: CMXEtSums_v1.cxx:96
xAOD::CMXEtSums_v1::setPeak
void setPeak(uint8_t)
set peak
xAOD::CMXEtSums_v1::setSourceComponent
void setSourceComponent(uint8_t)
set source
copySelective.source
string source
Definition: copySelective.py:32
xAOD::CMXEtSums_v1::LOCAL_STANDARD
@ LOCAL_STANDARD
Definition: CMXEtSums_v1.h:31
xAOD::CMXEtSums_v1::etErrorVec
const std::vector< uint32_t > & etErrorVec() const
get etErrorVec
xAOD::CMXEtSums_v1::setEyVec
void setEyVec(const std::vector< uint16_t > &)
set eyVec
xAOD::CMXEtSums_v1::sourceComponent
uint8_t sourceComponent() const
get source
xAOD::CMXEtSums_v1::SUM_ET_RESTRICTED
@ SUM_ET_RESTRICTED
Definition: CMXEtSums_v1.h:33
xAOD::CMXEtSums_v1::initialize
virtual void initialize(const uint8_t crate, const uint8_t source)
initialize
Definition: CMXEtSums_v1.cxx:59
xAOD::CMXEtSums_v1::setExErrorVec
void setExErrorVec(const std::vector< uint32_t > &)
set exErrorVec
xAOD::CMXEtSums_v1::et
uint16_t et() const
Peak functions - return value of peak bunch crossing Assuming we have got the timing calibration corr...
Definition: CMXEtSums_v1.cxx:124
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::operator<<
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.
Definition: RDataSource.cxx:53
xAOD::CMXEtSums_v1::exErrorVec
const std::vector< uint32_t > & exErrorVec() const
get exErrorVec
xAOD::CMXEtSums_v1::eyVec
const std::vector< uint16_t > & eyVec() const
get eyVec