ATLAS Offline Software
Run2TriggerTowerMaker.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // ================================================
8 // Run2TriggerTowerMaker class description
9 // ================================================
10 //
11 // THIS TEXT TO BE REPLACED BY ATLAS STANDARD FORMAT
12 //
13 //
14 // class: Run2TriggerTowerMaker
15 //
16 // Description:
17 //
18 //The Run2TriggerTowerMaker class takes calorimeter cells from the TES and
19 // forms Trigger Towers, which it then places back into the TES The calorimeter
20 // cells can be produced either by GEANT or other fast simulation packages
21 // - this is defined by setting a parameter
22 // CellType to 1 for CaloCells, 2 to reprocess TriggerTowers and 3 for LAr/Tile TTL1 input (a simulation of analogue towers);
23 //
24 // ................................................................ //
25 
26 #ifndef TRIGT1CALOSIM_RUN2TRIGGERTOWERMAKER_H
27 #define TRIGT1CALOSIM_RUN2TRIGGERTOWERMAKER_H
28 
29 // STL
30 #include <array>
31 #include <map>
32 #include <string>
33 #include <utility> // for std::pair, std::make_pair
34 #include <vector>
35 
36 // Athena/Gaudi
38 #include "GaudiKernel/ServiceHandle.h"
39 #include "GaudiKernel/ToolHandle.h"
44 
45 //Calorimeter tower includes
48 
49 //LVL1 Calo trigger includes
52 
53 #include "TrigConfData/L1Menu.h"
54 
55 // EDM include(s)
58 
59 // forward decl(s)
60 class CaloLVL1_ID;
62 class L1CaloCondSvc;
64 class L1CaloPprChanCalib;
70 
71 class IAthRNGSvc;
72 namespace ATHRNG {
73  class RNGWrapper;
74 }
75 
76 namespace CLHEP { class HepRandomEngine; }
77 
78 namespace LVL1BS {
79  class ITrigT1CaloDataAccessV2;
80 }
81 
82 namespace LVL1
83 {
84 class IL1TriggerTowerTool;
85 class IL1CaloMappingTool;
86 class InternalTriggerTower;
87 class TriggerTower;
88 
89 class Run2TriggerTowerMaker : public AthAlgorithm, virtual public IIncidentListener
90 {
91 public:
92  //-------------------------
93  // Constructors/Destructors
94  //-------------------------
95  Run2TriggerTowerMaker(const std::string& name, ISvcLocator* pSvcLocator);
96  virtual ~Run2TriggerTowerMaker();
97 
98  // These are disallowed
101 
102  //------------------------------------------------------
103  // Methods used by Athena to run the algorithm
104  //------------------------------------------------------
108 
109  void handle(const Incident&);
110 
111 private:
112  // constants
113  constexpr static int s_FIRLENGTH = 5; // number of FIR coefficients
114  constexpr static int s_MEV = 1000; // scale for converting ET -> counts
115  constexpr static unsigned int m_maxIetaBins = 51; // max numbers of eta regions if we choose a granularity of 0.1 in eta
116 
117  // enums -- SIZE must be the last entry in each enum
119 
120  // properties
121  // user-defined names for random number engines - keep streams distinct
122  std::string m_digiEngine;
123 
124  // Input for this Algorithm, meaning in enum CellTypes
126 
127  // pedestal uncertainty and ADC noise
128  double m_adcVar;
129 
130  // digitisation, FIR, LUT calibration parameters
131  double m_adcStep;
132  double m_gainCorr;
134 
135  //Flag to enable zero suppression (makes algorithm simulation much faster
137 
138  // require all calorimeters, or allow running with some missing?
140 
141  // database keys for the variousfolders
142  std::string m_chanCalibKey;
143  std::string m_chanDefaultsKey;
144  std::string m_disabledTowersKey;
145  std::string m_deadChannelsKey;
150 
151  // Tools/Services
154  ATHRNG::RNGWrapper* m_rndmADCs; // non owning ptr
155 
156  ToolHandle<IL1TriggerTowerTool> m_TTtool;
157  ToolHandle<IL1CaloMappingTool> m_mappingTool;
158  ToolHandle<LVL1BS::ITrigT1CaloDataAccessV2> m_bstowertool;
159 
160  const CaloLVL1_ID* m_caloId; //non-owning ptr
161 
162  // Global LUT scales
163  double m_cpLutScale;
165  // conversion factor from tile amplitude to MeV
166  double m_TileToMeV;
167  // TileTTL1 may come with a pedestal - need to subtract if so
169 
170  // flag whether we reprocess data
171  // if yes, special treatment of the pedestal correction is necessary
173  // Do overlay?
175  bool m_isReco;
176 
177  // non-owning pointers
186 
187  std::unique_ptr<xAOD::TriggerTowerContainer> m_xaodTowers;
188  std::unique_ptr<xAOD::TriggerTowerAuxContainer> m_xaodTowersAux;
189  std::vector<std::vector<double>> m_xaodTowersAmps; // stores the Amps (vector<double>) for each xaodTower
190  std::size_t m_curIndex = 0u;
191 
198  std::array<double, m_maxIetaBins> m_sinThetaHash;
199 
201  L1CaloCoolChannelId channelId(double eta, double phi, int layer);
202 
203 
208 
210  void digitize(const EventContext& ctx);
211 
213  StatusCode preProcess(int bcid,float mu);
215 
217  virtual StatusCode addOverlay(int bcid,float mu);
218  virtual StatusCode addOverlay(int bcid,float mu,xAOD::TriggerTower* sigTT,xAOD::TriggerTower* ovTT);
219 
221  StatusCode preProcessTower_getLutIn(int bcid,float mu,xAOD::TriggerTower* tower,const L1CaloPprChanCalib* db,const std::vector<int>& digits,std::vector<int>& output);
222 
224  StatusCode calcLutOutCP(const std::vector<int>& sigLutIn,const L1CaloPprChanCalib* sigDB,const std::vector<int>& ovLutIn,const L1CaloPprChanCalib* ovDB,std::vector<int>& output);
225  StatusCode calcLutOutJEP(const std::vector<int>& sigLutIn,const L1CaloPprChanCalib* sigDB,const std::vector<int>& ovLutIn,const L1CaloPprChanCalib* ovDB,std::vector<int>& output);
226  void calcCombinedLUT(const std::vector<int>& sigIN,const int sigSlope,const int sigOffset,
227  const std::vector<int>& ovIN,const int ovSlope,const int ovOffset,const int ovNoiseCut,std::vector<int>& output);
228 
230  bool IsDeadChannel(const L1CaloPpmDeadChannels* db) const;
231  bool IsDisabledChannel(const L1CaloDisabledTowers* db) const;
233 
234 
236  void normaliseDigits(const std::vector<int>& sigDigits,const std::vector<int>& ovDigits,std::vector<int>& normDigits);
237 
241  StatusCode store();
242 
244  void processLArTowers(const LArTTL1Container * );
245  void processTileTowers(const TileTTL1Container *);
246 
248  double IDeta(const Identifier& id, const CaloLVL1_ID* caloId);
249  double IDphi(const Identifier& id, const CaloLVL1_ID* caloId);
250 
252  std::vector<int> ADC(CLHEP::HepRandomEngine* rndmADCs,
253  L1CaloCoolChannelId channel, const std::vector<double>& amps) const;
254  int EtRange(int et, unsigned short bcidEnergyRangeLow, unsigned short bcidEnergyRangeHigh) const;
255 
256  // void preProcessLayer(int layer, int eventBCID, InternalTriggerTower* tower, std::vector<int>& etResultVector, std::vector<int>& bcidResultVector);
257 
258  int etaToElement(float feta, int layer) const;
259 
260  // non-linear LUT
261  int non_linear_lut(int lutin, unsigned short offset, unsigned short slope, unsigned short noiseCut, unsigned short scale, short par1, short par2, short par3, short par4);
262 
263  // --------------------------------------------------------------------------
264  // Read and Write Handlers
265  // --------------------------------------------------------------------------
267  SG::ReadDecorHandleKey<xAOD::EventInfo> m_actMuKey { this, "actualInteractionsPerCrossingKey", "EventInfo.actualInteractionsPerCrossing", "Decoration for actual interactions per crossing" };
268 
269  // location of input TriggerTowers (for reprocessing)
271  // locations within StoreGate to store collections of Trigger Towers
273  // locations within StoreGate to store collections of Trigger Towers for reprocessing
275 
276  // location of LAr TTL1 data
280 
281  SG::ReadHandleKey<TrigConf::L1Menu> m_L1MenuKey{ this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu", "L1 Menu" };
282 };
283 
284 } // namespace LVL1
285 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
L1CaloCoolChannelId.h
LVL1::Run2TriggerTowerMaker::m_curIndex
std::size_t m_curIndex
Definition: Run2TriggerTowerMaker.h:190
LVL1::Run2TriggerTowerMaker::m_deadChannelsContainer
L1CaloPpmDeadChannelsContainer * m_deadChannelsContainer
Definition: Run2TriggerTowerMaker.h:180
LVL1::Run2TriggerTowerMaker::calcLutOutCP
StatusCode calcLutOutCP(const std::vector< int > &sigLutIn, const L1CaloPprChanCalib *sigDB, const std::vector< int > &ovLutIn, const L1CaloPprChanCalib *ovDB, std::vector< int > &output)
calculate LUT out
Definition: Run2TriggerTowerMaker.cxx:513
LVL1::Run2TriggerTowerMaker::store
StatusCode store()
Stores Trigger Towers in the TES, at a location defined in m_outputLocation.
Definition: Run2TriggerTowerMaker.cxx:903
LVL1::Run2TriggerTowerMaker::m_adcStep
double m_adcStep
Definition: Run2TriggerTowerMaker.h:131
LVL1::Run2TriggerTowerMaker::preProcess
StatusCode preProcess(int bcid, float mu)
Simulate PreProcessing on analogue amplitudes.
Definition: Run2TriggerTowerMaker.cxx:676
et
Extra patterns decribing particle interation process.
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
L1CaloPpmDeadChannels
Folder <-> Object mapping for /TRIGGER/L1Calo/V1/Calibration/PpmDeadChannels .
Definition: L1CaloPpmDeadChannels.h:17
LVL1::Run2TriggerTowerMaker::m_EmTTL1ContainerName
SG::ReadHandleKey< LArTTL1Container > m_EmTTL1ContainerName
Definition: Run2TriggerTowerMaker.h:277
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:28
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
LVL1::Run2TriggerTowerMaker::m_disabledTowersKey
std::string m_disabledTowersKey
Definition: Run2TriggerTowerMaker.h:144
LVL1::Run2TriggerTowerMaker::processLArTowers
void processLArTowers(const LArTTL1Container *)
extract amplitudes from TTL1
Definition: Run2TriggerTowerMaker.cxx:1021
LVL1::Run2TriggerTowerMaker::m_chanDefaultsKeyoverlay
std::string m_chanDefaultsKeyoverlay
Definition: Run2TriggerTowerMaker.h:147
ATHRNG
Definition: IAthRNGSvc.h:23
L1CaloDisabledTowersContainer
Definition: L1CaloDisabledTowersContainer.h:27
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
LVL1::Run2TriggerTowerMaker::m_chanDefaultsoverlay
L1CaloPprChanDefaults m_chanDefaultsoverlay
Definition: Run2TriggerTowerMaker.h:185
LVL1::Run2TriggerTowerMaker::addOverlay
virtual StatusCode addOverlay(int bcid, float mu)
Add overlay data.
Definition: Run2TriggerTowerMaker.cxx:390
CaloCondBlobAlgs_fillNoiseFromASCII.db
db
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:43
CaloTriggerTowerService
Tool providing the mapping of the online and offline TriggerTower identifiers as well as the TT-cells...
Definition: CaloTriggerTowerService.h:50
LVL1::Run2TriggerTowerMaker::ADC
std::vector< int > ADC(CLHEP::HepRandomEngine *rndmADCs, L1CaloCoolChannelId channel, const std::vector< double > &amps) const
Functions to simulate processing of tower signals.
Definition: Run2TriggerTowerMaker.cxx:1142
LVL1::Run2TriggerTowerMaker::~Run2TriggerTowerMaker
virtual ~Run2TriggerTowerMaker()
Definition: Run2TriggerTowerMaker.cxx:160
LVL1::Run2TriggerTowerMaker::initialize
StatusCode initialize()
Definition: Run2TriggerTowerMaker.cxx:162
LVL1::Run2TriggerTowerMaker::normaliseDigits
void normaliseDigits(const std::vector< int > &sigDigits, const std::vector< int > &ovDigits, std::vector< int > &normDigits)
normalise the number of ADC digits for overlay
Definition: Run2TriggerTowerMaker.cxx:640
TriggerTowerContainer.h
LVL1::Run2TriggerTowerMaker::m_chanDefaultsKey
std::string m_chanDefaultsKey
Definition: Run2TriggerTowerMaker.h:143
LVL1::Run2TriggerTowerMaker::m_doOverlay
bool m_doOverlay
Definition: Run2TriggerTowerMaker.h:174
LVL1::Run2TriggerTowerMaker::preProcessTower
StatusCode preProcessTower(int bcid, float mu, xAOD::TriggerTower *tower)
Definition: Run2TriggerTowerMaker.cxx:685
LVL1::Run2TriggerTowerMaker::m_condSvc
ServiceHandle< L1CaloCondSvc > m_condSvc
Definition: Run2TriggerTowerMaker.h:153
LVL1::Run2TriggerTowerMaker::calcLutOutJEP
StatusCode calcLutOutJEP(const std::vector< int > &sigLutIn, const L1CaloPprChanCalib *sigDB, const std::vector< int > &ovLutIn, const L1CaloPprChanCalib *ovDB, std::vector< int > &output)
Definition: Run2TriggerTowerMaker.cxx:534
LVL1::Run2TriggerTowerMaker::m_rndmADCs
ATHRNG::RNGWrapper * m_rndmADCs
Definition: Run2TriggerTowerMaker.h:154
LVL1::Run2TriggerTowerMaker::Run2TriggerTowerMaker
Run2TriggerTowerMaker(const Run2TriggerTowerMaker &)=delete
LVL1::Run2TriggerTowerMaker::m_xaodTowersAmps
std::vector< std::vector< double > > m_xaodTowersAmps
Definition: Run2TriggerTowerMaker.h:189
SG::ReadHandleKey< xAOD::EventInfo >
LVL1::Run2TriggerTowerMaker::m_jepLutScale
double m_jepLutScale
Definition: Run2TriggerTowerMaker.h:164
LVL1::Run2TriggerTowerMaker::s_FIRLENGTH
constexpr static int s_FIRLENGTH
Definition: Run2TriggerTowerMaker.h:113
LVL1::Run2TriggerTowerMaker::m_TileTTL1ContainerName
SG::ReadHandleKey< TileTTL1Container > m_TileTTL1ContainerName
Definition: Run2TriggerTowerMaker.h:279
yodamerge_tmp.scale
scale
Definition: yodamerge_tmp.py:138
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::Run2TriggerTowerMaker::finalize
StatusCode finalize()
Definition: Run2TriggerTowerMaker.cxx:313
LVL1::Run2TriggerTowerMaker::m_deadChannelsKey
std::string m_deadChannelsKey
Definition: Run2TriggerTowerMaker.h:145
LVL1::Run2TriggerTowerMaker::m_TileTTL1Ped
double m_TileTTL1Ped
Definition: Run2TriggerTowerMaker.h:168
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:83
LVL1::Run2TriggerTowerMaker::EtRange
int EtRange(int et, unsigned short bcidEnergyRangeLow, unsigned short bcidEnergyRangeHigh) const
Definition: Run2TriggerTowerMaker.cxx:1167
LArTTL1Container.h
LVL1::Run2TriggerTowerMaker::TRIGGERTOWERS
@ TRIGGERTOWERS
Definition: Run2TriggerTowerMaker.h:118
LVL1::Run2TriggerTowerMaker::m_chanCalibKey
std::string m_chanCalibKey
Definition: Run2TriggerTowerMaker.h:142
LVL1::Run2TriggerTowerMaker::preProcessTower_getLutIn
StatusCode preProcessTower_getLutIn(int bcid, float mu, xAOD::TriggerTower *tower, const L1CaloPprChanCalib *db, const std::vector< int > &digits, std::vector< int > &output)
PreProcess up to LUT in.
Definition: Run2TriggerTowerMaker.cxx:590
LVL1::Run2TriggerTowerMaker::m_TTtool
ToolHandle< IL1TriggerTowerTool > m_TTtool
Definition: Run2TriggerTowerMaker.h:156
LVL1::Run2TriggerTowerMaker::channelId
L1CaloCoolChannelId channelId(double eta, double phi, int layer)
Compute L1CaloCoolChannelId (including support for old geometries)
Definition: Run2TriggerTowerMaker.cxx:1210
AthAlgorithm.h
L1CaloPprChanCalibContainer
Definition: L1CaloPprChanCalibContainer.h:27
LVL1::Run2TriggerTowerMaker::m_disabledTowersKeyoverlay
std::string m_disabledTowersKeyoverlay
Definition: Run2TriggerTowerMaker.h:148
CellTypes
Definition: CaloGPUClusterAndCellDataMonitor.cxx:1460
LVL1::Run2TriggerTowerMaker::m_L1MenuKey
SG::ReadHandleKey< TrigConf::L1Menu > m_L1MenuKey
Definition: Run2TriggerTowerMaker.h:281
LVL1::Run2TriggerTowerMaker::Run2TriggerTowerMaker
Run2TriggerTowerMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition: Run2TriggerTowerMaker.cxx:81
LVL1::Run2TriggerTowerMaker::IsDisabledChannel
bool IsDisabledChannel(const L1CaloDisabledTowers *db) const
Definition: Run2TriggerTowerMaker.cxx:375
LVL1::Run2TriggerTowerMaker::m_xaodTowersAux
std::unique_ptr< xAOD::TriggerTowerAuxContainer > m_xaodTowersAux
Definition: Run2TriggerTowerMaker.h:188
LVL1::Run2TriggerTowerMaker::s_MEV
constexpr static int s_MEV
Definition: Run2TriggerTowerMaker.h:114
LVL1::Run2TriggerTowerMaker::m_chanDefaults
L1CaloPprChanDefaults m_chanDefaults
Definition: Run2TriggerTowerMaker.h:181
LVL1::Run2TriggerTowerMaker::m_chanCalibContainer
L1CaloPprChanCalibContainer * m_chanCalibContainer
Definition: Run2TriggerTowerMaker.h:178
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
LVL1::Run2TriggerTowerMaker::IDeta
double IDeta(const Identifier &id, const CaloLVL1_ID *caloId)
functions to extract eta, phi coordinates from calo tower identifiers
Definition: Run2TriggerTowerMaker.cxx:1174
LVL1::Run2TriggerTowerMaker::m_isDataReprocessing
bool m_isDataReprocessing
Definition: Run2TriggerTowerMaker.h:172
LVL1::Run2TriggerTowerMaker::m_deadChannelsKeyoverlay
std::string m_deadChannelsKeyoverlay
Definition: Run2TriggerTowerMaker.h:149
LVL1::Run2TriggerTowerMaker::m_xaodevtKey
SG::ReadHandleKey< xAOD::EventInfo > m_xaodevtKey
Definition: Run2TriggerTowerMaker.h:266
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::Run2TriggerTowerMaker::IsDeadChannel
bool IsDeadChannel(const L1CaloPpmDeadChannels *db) const
Database helper functions for dead and disabled towers.
Definition: Run2TriggerTowerMaker.cxx:368
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
CLHEP
STD'S.
Definition: IAtRndmGenSvc.h:19
xAOD::TriggerTower_v2
Description of TriggerTower_v2.
Definition: TriggerTower_v2.h:49
LVL1::Run2TriggerTowerMaker::m_digiEngine
std::string m_digiEngine
Definition: Run2TriggerTowerMaker.h:122
LVL1::Run2TriggerTowerMaker::m_disabledTowersContainer
L1CaloDisabledTowersContainer * m_disabledTowersContainer
Definition: Run2TriggerTowerMaker.h:179
LVL1::Run2TriggerTowerMaker::m_actMuKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_actMuKey
Definition: Run2TriggerTowerMaker.h:267
SCT_Monitoring::disabled
@ disabled
Definition: SCT_MonitoringNumbers.h:60
LVL1::Run2TriggerTowerMaker::execute
StatusCode execute()
Checks that the Cell Type is supported (terminates with errors if not) and calls relevant routine to ...
Definition: Run2TriggerTowerMaker.cxx:321
TileTTL1Container.h
LVL1::Run2TriggerTowerMaker::TTL1
@ TTL1
Definition: Run2TriggerTowerMaker.h:118
L1CaloPprChanCalib
Folder <-> Object mapping for /TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib .
Definition: L1CaloPprChanCalib.h:17
LVL1::Run2TriggerTowerMaker::SIZE
@ SIZE
Definition: Run2TriggerTowerMaker.h:118
LArTTL1Container
Container class for LArTTL1.
Definition: LArTTL1Container.h:24
AthAlgorithm
Definition: AthAlgorithm.h:47
LVL1::Run2TriggerTowerMaker::m_cpLutScale
double m_cpLutScale
Definition: Run2TriggerTowerMaker.h:163
TrigConf::name
Definition: HLTChainList.h:35
LVL1::Run2TriggerTowerMaker::IDphi
double IDphi(const Identifier &id, const CaloLVL1_ID *caloId)
Definition: Run2TriggerTowerMaker.cxx:1195
LVL1::Run2TriggerTowerMaker::etaToElement
int etaToElement(float feta, int layer) const
Definition: Run2TriggerTowerMaker.cxx:1220
merge.output
output
Definition: merge.py:17
LVL1::Run2TriggerTowerMaker::operator=
Run2TriggerTowerMaker & operator=(const Run2TriggerTowerMaker &)=delete
L1CaloPprChanDefaults.h
LVL1::Run2TriggerTowerMaker::m_TileToMeV
double m_TileToMeV
Definition: Run2TriggerTowerMaker.h:166
CaloLVL1_ID
Helper class for offline TT identifiers.
Definition: CaloLVL1_ID.h:66
ATHRNG::RNGWrapper
A wrapper class for event-slot-local random engines.
Definition: RNGWrapper.h:56
LVL1::Run2TriggerTowerMaker::non_linear_lut
int non_linear_lut(int lutin, unsigned short offset, unsigned short slope, unsigned short noiseCut, unsigned short scale, short par1, short par2, short par3, short par4)
Definition: Run2TriggerTowerMaker.cxx:1259
LVL1::Run2TriggerTowerMaker::m_rngSvc
ServiceHandle< IAthRNGSvc > m_rngSvc
Definition: Run2TriggerTowerMaker.h:152
LVL1::Run2TriggerTowerMaker::getTriggerTowers
StatusCode getTriggerTowers()
gets collection of input TriggerTowers for reprocessing
Definition: Run2TriggerTowerMaker.cxx:932
LVL1::Run2TriggerTowerMaker::m_xaodTowers
std::unique_ptr< xAOD::TriggerTowerContainer > m_xaodTowers
Definition: Run2TriggerTowerMaker.h:187
LVL1::Run2TriggerTowerMaker::m_mappingTool
ToolHandle< IL1CaloMappingTool > m_mappingTool
Definition: Run2TriggerTowerMaker.h:157
LVL1::Run2TriggerTowerMaker::m_caloId
const CaloLVL1_ID * m_caloId
Definition: Run2TriggerTowerMaker.h:160
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
L1CaloPpmDeadChannelsContainer
Definition: L1CaloPpmDeadChannelsContainer.h:27
EventInfo.h
LVL1::Run2TriggerTowerMaker::processTileTowers
void processTileTowers(const TileTTL1Container *)
Definition: Run2TriggerTowerMaker.cxx:1066
LVL1::Run2TriggerTowerMaker::m_disabledTowersContaineroverlay
L1CaloDisabledTowersContainer * m_disabledTowersContaineroverlay
Definition: Run2TriggerTowerMaker.h:183
LVL1::Run2TriggerTowerMaker::m_sinThetaHash
std::array< double, m_maxIetaBins > m_sinThetaHash
instead of calculating the expression: double theta =2.
Definition: Run2TriggerTowerMaker.h:198
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10
L1CaloDisabledTowers
Folder <-> Object mapping for /TRIGGER/L1Calo/V1/Conditions/DisabledTowers .
Definition: L1CaloDisabledTowers.h:17
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
LVL1::Run2TriggerTowerMaker::m_outputLocation
SG::WriteHandleKey< xAOD::TriggerTowerContainer > m_outputLocation
Definition: Run2TriggerTowerMaker.h:272
LVL1::Run2TriggerTowerMaker::m_isReco
bool m_isReco
Definition: Run2TriggerTowerMaker.h:175
LVL1::Run2TriggerTowerMaker::calcCombinedLUT
void calcCombinedLUT(const std::vector< int > &sigIN, const int sigSlope, const int sigOffset, const std::vector< int > &ovIN, const int ovSlope, const int ovOffset, const int ovNoiseCut, std::vector< int > &output)
Definition: Run2TriggerTowerMaker.cxx:555
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
LVL1::Run2TriggerTowerMaker::m_decorateFIR
bool m_decorateFIR
Definition: Run2TriggerTowerMaker.h:133
LVL1::Run2TriggerTowerMaker::getCaloTowers
StatusCode getCaloTowers()
fetch Calorimeter Towers
Definition: Run2TriggerTowerMaker.cxx:959
LVL1::Run2TriggerTowerMaker::m_adcVar
double m_adcVar
Definition: Run2TriggerTowerMaker.h:128
LVL1::Run2TriggerTowerMaker::m_chanCalibContaineroverlay
L1CaloPprChanCalibContainer * m_chanCalibContaineroverlay
Definition: Run2TriggerTowerMaker.h:182
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
IAthRNGSvc
manage multiple RandomEngines in thread-safe way.
Definition: IAthRNGSvc.h:28
convertTimingResiduals.offset
offset
Definition: convertTimingResiduals.py:71
LVL1::Run2TriggerTowerMaker::m_chanCalibKeyoverlay
std::string m_chanCalibKeyoverlay
Definition: Run2TriggerTowerMaker.h:146
LVL1::Run2TriggerTowerMaker::m_cellType
int m_cellType
Definition: Run2TriggerTowerMaker.h:125
LVL1::Run2TriggerTowerMaker::m_requireAllCalos
bool m_requireAllCalos
Definition: Run2TriggerTowerMaker.h:139
LVL1::Run2TriggerTowerMaker::m_maxIetaBins
constexpr static unsigned int m_maxIetaBins
Definition: Run2TriggerTowerMaker.h:115
L1Menu.h
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
L1CaloPprChanDefaults
Folder <-> Object mapping for /TRIGGER/L1Calo/V2/Configuration/PprChanDefaults .
Definition: L1CaloPprChanDefaults.h:17
LVL1::Run2TriggerTowerMaker::m_bstowertool
ToolHandle< LVL1BS::ITrigT1CaloDataAccessV2 > m_bstowertool
Definition: Run2TriggerTowerMaker.h:158
LVL1::Run2TriggerTowerMaker::digitize
void digitize(const EventContext &ctx)
Convert analogue pulses to digits.
Definition: Run2TriggerTowerMaker.cxx:1128
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
LVL1::Run2TriggerTowerMaker::m_HadTTL1ContainerName
SG::ReadHandleKey< LArTTL1Container > m_HadTTL1ContainerName
Definition: Run2TriggerTowerMaker.h:278
TileContainer
Definition: TileContainer.h:38
TileDCSDataPlotter.tt
tt
Definition: TileDCSDataPlotter.py:874
LVL1::Run2TriggerTowerMaker::m_ZeroSuppress
bool m_ZeroSuppress
Definition: Run2TriggerTowerMaker.h:136
LVL1::Run2TriggerTowerMaker::IsGoodTower
bool IsGoodTower(const xAOD::TriggerTower *tt, const L1CaloPpmDeadChannelsContainer *dead, const L1CaloDisabledTowersContainer *disabled) const
Definition: Run2TriggerTowerMaker.cxx:382
LVL1::Run2TriggerTowerMaker::m_deadChannelsContaineroverlay
L1CaloPpmDeadChannelsContainer * m_deadChannelsContaineroverlay
Definition: Run2TriggerTowerMaker.h:184
LVL1::Run2TriggerTowerMaker::m_inputTTLocation
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_inputTTLocation
Definition: Run2TriggerTowerMaker.h:270
L1CaloCondSvc
L1CaloCondSvc class.
Definition: L1CaloCondSvc.h:39
LVL1::Run2TriggerTowerMaker::m_gainCorr
double m_gainCorr
Definition: Run2TriggerTowerMaker.h:132
xAOD::TriggerTower
TriggerTower_v2 TriggerTower
Define the latest version of the TriggerTower class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/TriggerTower.h:16
LVL1::Run2TriggerTowerMaker::m_outputLocationRerun
SG::WriteHandleKey< xAOD::TriggerTowerContainer > m_outputLocationRerun
Definition: Run2TriggerTowerMaker.h:274
LVL1::Run2TriggerTowerMaker
Definition: Run2TriggerTowerMaker.h:90
ServiceHandle< IAthRNGSvc >
LVL1::Run2TriggerTowerMaker::handle
void handle(const Incident &)
Best if initialisation which uses COOL-derived values is done here rather than in initialize()
Definition: Run2TriggerTowerMaker.cxx:219
TriggerTowerAuxContainer.h