ATLAS Offline Software
Loading...
Searching...
No Matches
EnergySumRoI_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: EnergySumRoI_v1.h 631149 2014-11-26 12:26:18Z krasznaa $
8#ifndef XAODTRIGGER_VERSIONS_ENERGYSUMROI_V1_H
9#define XAODTRIGGER_VERSIONS_ENERGYSUMROI_V1_H
10
11// System include(s):
12extern "C" {
13# include <stdint.h>
14}
15#include <vector>
16#include <string>
17
18// xAOD include(s):
20
21namespace xAOD {
22
36
37 public:
40
42 void initialize( uint32_t roiword0, uint32_t roiword1, uint32_t roiword2,
43 float energyX, float energyY, float energyT );
44
47
51 void setRoIWord0( uint32_t value );
52
56 void setRoIWord1( uint32_t value );
57
61 void setRoIWord2( uint32_t value );
62
64
67
75
77
80
82 bool overflowX() const;
84 bool overflowY() const;
86 bool overflowT() const;
87
89
92
94 void addThreshold( const std::string& name );
96 void clearThresholds();
97
99 const std::vector< std::string >& thrNames() const;
100
102
105
107 float energyX() const;
109 void setEnergyX( float value );
111 float exMiss() const { return -energyX(); }
112
114 float energyY() const;
116 void setEnergyY( float value );
118 float eyMiss() const { return -energyY(); }
119
121 float energyT() const;
123 void setEnergyT( float value );
124
126
127 }; // class EnergySumRoI_v1
128
129} // namespace xAOD
130
131// Declare the inheritace of the class:
132#include "xAODCore/BaseInfo.h"
134
135#endif // XAODTRIGGER_VERSIONS_ENERGYSUMROI_V1_H
Base class for elements of a container that can have aux data.
#define SG_BASE(D, B)
Declare that class D derives from class B.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
Class describing a LVL1 energy-sum "RoI".
void clearThresholds()
Remove all the passed thresholds.
bool overflowT() const
The overflow flag for the ET calculation.
bool overflowY() const
The overflow flag for the EY calculation.
void setEnergyY(float value)
Set the total energy deposited in the Y direction.
float energyX() const
The total energy deposited in the X direction.
void setEnergyT(float value)
Set the deposited total transverse energy.
void setRoIWord1(uint32_t value)
Set the second "raw" RoI word describing the energy-sum RoI.
void setEnergyX(float value)
Set the total energy deposited in the X direction.
void setRoIWord0(uint32_t value)
Set the first "raw" RoI word describing the energy-sum RoI.
uint32_t roiWord2() const
The third RoI word produced by the L1Calo hardware.
void setRoIWord2(uint32_t value)
Set the third "raw" RoI word describing the energy-sum RoI.
float energyY() const
The total energy deposited in the Y direction.
uint32_t thrPatSumET() const
The bit-pattern describing the passed sum-ET thresholds.
float exMiss() const
The missing energy in the X direction.
uint32_t roiWord1() const
The second RoI word produced by the L1Calo hardware.
float energyT() const
The deposited total transverse energy.
uint32_t thrPatMET() const
The bit-pattern describing the passed missing-ET thresholds.
const std::vector< std::string > & thrNames() const
The names of the thresholds passed.
void addThreshold(const std::string &name)
Add a new threshold that was passed.
float eyMiss() const
The missing energy in the Y direction.
bool overflowX() const
The overflow flag for the EX calculation.
uint32_t roiWord0() const
The first RoI word produced by the L1Calo hardware.
uint32_t thrPatMETSig() const
The bit-pattern describing the passed missing-ET significance thresholds.
EnergySumRoI_v1()
Default constructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setEventNumber uint32_t
void initialize()