ATLAS Offline Software
Loading...
Searching...
No Matches
CMMEtSums_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: CMMEtSums_v1.h 631127 2014-11-26 09:54:48Z gwatts $
8#ifndef XAODTRIGL1CALO_VERSIONS_CMMETSUMS_V1_H
9#define XAODTRIGL1CALO_VERSIONS_CMMETSUMS_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 dataID() const;
36 void setDataID(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 const std::vector<int>& etErrorVec() const;
64 void setEtErrorVec(const std::vector<int>&);
65
67 const std::vector<int>& exErrorVec() const;
69 void setExErrorVec(const std::vector<int>&);
70
72 const std::vector<int>& eyErrorVec() const;
74 void setEyErrorVec(const std::vector<int>&);
75
76 // add et. Internally calls setEtVec(Et); setEtErrorVec(EtError);
77 void addEt(const std::vector<unsigned int>& Et,const std::vector<int>& EtError);
78 // add ex. Internally calls setExVec(Ex); setExErrorVec(ExError);
79 void addEx(const std::vector<unsigned int>& Ex,const std::vector<int>& ExError);
80 // add ey. Internally calls setEyVec(Ey); setEyErrorVec(EyError);
81 void addEy(const std::vector<unsigned int>& Ey,const std::vector<int>& EyError);
82
83 // get et for etVec[peak] - time slice that (hopefully) contains the collision
84 unsigned int et() const;
85 // get ex for exVec[peak] - time slice that (hopefully) contains the collision
86 unsigned int ex() const;
87 // get ey for eyVec[peak] - time slice that (hopefully) contains the collision
88 unsigned int ey() const;
89 // get etError for etErrorVec[peak] - time slice that (hopefully) contains the collision
90 int etError() const;
91 // get exError for exErrorVec[peak] - time slice that (hopefully) contains the collision
92 int exError() const;
93 // get eyError for eyErrorVec[peak] - time slice that (hopefully) contains the collision
94 int eyError() const;
95
99 inline const std::vector<unsigned int>& EtVec() const {return this->etVec();}
100 inline const std::vector<unsigned int>& ExVec() const {return this->exVec();}
101 inline const std::vector<unsigned int>& EyVec() const {return this->eyVec();}
102 inline const std::vector<int>& EtErrorVec() const {return this->etErrorVec();}
103 inline const std::vector<int>& ExErrorVec() const {return this->exErrorVec();}
104 inline const std::vector<int>& EyErrorVec() const {return this->eyErrorVec();}
105 inline unsigned int Et() const {return this->et();}
106 inline unsigned int Ex() const {return this->ex();}
107 inline unsigned int Ey() const {return this->ey();}
108 inline int EtError() const {return this->etError();}
109 inline int ExError() const {return this->exError();}
110 inline int EyError() const {return this->eyError();}
111
112 };
113} // namespace xAOD
114
115#endif // XAODTRIGL1CALO_VERSIONS_CMMEtSums_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
const std::vector< int > & EyErrorVec() const
int EtError() const
void addEy(const std::vector< unsigned int > &Ey, const std::vector< int > &EyError)
void setExErrorVec(const std::vector< int > &)
set exErrorVec - ex Error for all time slices
const std::vector< int > & exErrorVec() const
get exErrorVec - ex Error for all time slices
unsigned int Ey() const
unsigned int ey() const
const std::vector< unsigned int > & etVec() const
Please note that in the context of CMMEtSums, et is total energy, not transverse energy For transvers...
const std::vector< unsigned int > & exVec() const
get exVec - ex for all time slices
int ExError() const
const std::vector< unsigned int > & EyVec() const
unsigned int ex() const
const std::vector< int > & ExErrorVec() const
int crate() const
get crate number
void setEtVec(const std::vector< unsigned int > &)
set etVec - et for all time slices
const std::vector< int > & eyErrorVec() const
get eyErrorVec - ey Error for all time slices
unsigned int Ex() const
const std::vector< int > & EtErrorVec() const
int dataID() const
get dataID
int peak() const
get peak
const std::vector< unsigned int > & EtVec() const
Backwards Compatibility with Trigger/TrigT1/TrigT1CaloEvent Run1 EDM did not strictly follow camelCas...
void setEyErrorVec(const std::vector< int > &)
set eyErrorVec - ey Error for all time slices
unsigned int et() const
unsigned int Et() const
void setCrate(int)
set crate number
const std::vector< int > & etErrorVec() const
get etErrorVec - et Error for all time slices
int EyError() const
void setEtErrorVec(const std::vector< int > &)
set etErrorVec - et Error for all time slices
void addEx(const std::vector< unsigned int > &Ex, const std::vector< int > &ExError)
void setEyVec(const std::vector< unsigned int > &)
set eyVec - ey for all time slices
void setDataID(int)
set dataID
void setPeak(int)
set peak
void addEt(const std::vector< unsigned int > &Et, const std::vector< int > &EtError)
const std::vector< unsigned int > & ExVec() const
void setExVec(const std::vector< unsigned int > &)
set exVec - ex for all time slices
const std::vector< unsigned int > & eyVec() const
get eyVec - ey for all time slices
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.