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
57 
58 #include "TrigConfData/L1Menu.h"
59 
60 // EDM include(s)
63 
64 // forward decl(s)
65 class CaloLVL1_ID;
67 class L1CaloPprChanCalib;
71 
72 class IAthRNGSvc;
73 namespace ATHRNG {
74  class RNGWrapper;
75 }
76 
77 namespace CLHEP { class HepRandomEngine; }
78 
79 namespace LVL1BS {
80  class ITrigT1CaloDataAccessV2;
81 }
82 
83 namespace LVL1
84 {
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  SG::ReadCondHandleKey<L1CaloPprChanCalibContainer> m_chanCalibKey{this,"ChanCalibFolderKey","/TRIGGER/L1Calo/V2/Calibration/Physics/PprChanCalib","PprChanCalib key"};
143  SG::ReadCondHandleKey<L1CaloPprChanDefaultsContainer> m_chanDefaultsKey{this,"ChanDefaultsFolderKey","/TRIGGER/L1Calo/V2/Configuration/PprChanDefaults","PprChanDefaults key"};
144  SG::ReadCondHandleKey<L1CaloDisabledTowersContainer> m_disabledTowersKey{this,"DisabledTowersFolderKey","/TRIGGER/L1Calo/V2/Conditions/DisabledTowers","DisabledTowers key"};
145  SG::ReadCondHandleKey<L1CaloPpmDeadChannelsContainer> m_deadChannelsKey{this,"DeadChannelsFolderKey","/TRIGGER/L1Calo/V2/Calibration/PpmDeadChannels","PpmDeadChannels key"};
150 
151  // Tools/Services
153  ATHRNG::RNGWrapper* m_rndmADCs; // non owning ptr
154 
155  ToolHandle<IL1TriggerTowerTool> m_TTtool{this,"TTTool","LVL1::L1TriggerTowerTool/L1TriggerTowerTool", "The trigger tower tool"};
156  ToolHandle<IL1CaloMappingTool> m_mappingTool;
157  ToolHandle<LVL1BS::ITrigT1CaloDataAccessV2> m_bstowertool;
158 
159  const CaloLVL1_ID* m_caloId; //non-owning ptr
160 
161  // Global LUT scales
162  double m_cpLutScale;
164  // conversion factor from tile amplitude to MeV
165  double m_TileToMeV;
166  // TileTTL1 may come with a pedestal - need to subtract if so
168 
169  // flag whether we reprocess data
170  // if yes, special treatment of the pedestal correction is necessary
172  // Do overlay?
174  bool m_isReco;
175 
176  // non-owning pointers
185 
186  std::unique_ptr<xAOD::TriggerTowerContainer> m_xaodTowers;
187  std::unique_ptr<xAOD::TriggerTowerAuxContainer> m_xaodTowersAux;
188  std::vector<std::vector<double>> m_xaodTowersAmps; // stores the Amps (vector<double>) for each xaodTower
189  std::size_t m_curIndex = 0u;
190 
197  std::array<double, m_maxIetaBins> m_sinThetaHash;
198 
200  L1CaloCoolChannelId channelId(double eta, double phi, int layer);
201 
202 
207 
209  void digitize(const EventContext& ctx);
210 
212  StatusCode preProcess(int bcid,float mu);
214 
216  virtual StatusCode addOverlay(int bcid,float mu);
217  virtual StatusCode addOverlay(int bcid,float mu,xAOD::TriggerTower* sigTT,xAOD::TriggerTower* ovTT);
218 
220  StatusCode preProcessTower_getLutIn(int bcid,float mu,xAOD::TriggerTower* tower,const L1CaloPprChanCalib* db,const std::vector<int>& digits,std::vector<int>& output);
221 
223  StatusCode calcLutOutCP(const std::vector<int>& sigLutIn,const L1CaloPprChanCalib* sigDB,const std::vector<int>& ovLutIn,const L1CaloPprChanCalib* ovDB,std::vector<int>& output);
224  StatusCode calcLutOutJEP(const std::vector<int>& sigLutIn,const L1CaloPprChanCalib* sigDB,const std::vector<int>& ovLutIn,const L1CaloPprChanCalib* ovDB,std::vector<int>& output);
225  void calcCombinedLUT(const std::vector<int>& sigIN,const int sigSlope,const int sigOffset,
226  const std::vector<int>& ovIN,const int ovSlope,const int ovOffset,const int ovNoiseCut,std::vector<int>& output);
227 
229  bool IsDeadChannel(const L1CaloPpmDeadChannels* db) const;
230  bool IsDisabledChannel(const L1CaloDisabledTowers* db) const;
232 
233 
235  void normaliseDigits(const std::vector<int>& sigDigits,const std::vector<int>& ovDigits,std::vector<int>& normDigits);
236 
240  StatusCode store();
241 
243  void processLArTowers(const LArTTL1Container * );
244  void processTileTowers(const TileTTL1Container *);
245 
247  double IDeta(const Identifier& id, const CaloLVL1_ID* caloId);
248  double IDphi(const Identifier& id, const CaloLVL1_ID* caloId);
249 
251  std::vector<int> ADC(CLHEP::HepRandomEngine* rndmADCs,
252  L1CaloCoolChannelId channel, const std::vector<double>& amps) const;
253  int EtRange(int et, unsigned short bcidEnergyRangeLow, unsigned short bcidEnergyRangeHigh) const;
254 
255  // void preProcessLayer(int layer, int eventBCID, InternalTriggerTower* tower, std::vector<int>& etResultVector, std::vector<int>& bcidResultVector);
256 
257  int etaToElement(float feta, int layer) const;
258 
259  // non-linear LUT
260  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);
261 
262  // --------------------------------------------------------------------------
263  // Read and Write Handlers
264  // --------------------------------------------------------------------------
266  SG::ReadDecorHandleKey<xAOD::EventInfo> m_actMuKey { this, "actualInteractionsPerCrossingKey", "EventInfo.actualInteractionsPerCrossing", "Decoration for actual interactions per crossing" };
267 
268  // location of input TriggerTowers (for reprocessing)
270  // locations within StoreGate to store collections of Trigger Towers
272  // locations within StoreGate to store collections of Trigger Towers for reprocessing
274 
275  // location of LAr TTL1 data
279 
280  SG::ReadHandleKey<TrigConf::L1Menu> m_L1MenuKey{ this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu", "L1 Menu" };
281 };
282 
283 } // namespace LVL1
284 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
L1CaloCoolChannelId.h
LVL1::Run2TriggerTowerMaker::m_deadChannelsContainer
const L1CaloPpmDeadChannelsContainer * m_deadChannelsContainer
Definition: Run2TriggerTowerMaker.h:179
LVL1::Run2TriggerTowerMaker::m_curIndex
std::size_t m_curIndex
Definition: Run2TriggerTowerMaker.h:189
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:515
LVL1::Run2TriggerTowerMaker::store
StatusCode store()
Stores Trigger Towers in the TES, at a location defined in m_outputLocation.
Definition: Run2TriggerTowerMaker.cxx:905
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:678
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:276
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
LVL1::Run2TriggerTowerMaker::processLArTowers
void processLArTowers(const LArTTL1Container *)
extract amplitudes from TTL1
Definition: Run2TriggerTowerMaker.cxx:1023
LVL1::Run2TriggerTowerMaker::m_chanDefaultsKeyoverlay
std::string m_chanDefaultsKeyoverlay
Definition: Run2TriggerTowerMaker.h:147
ATHRNG
Definition: IAthRNGSvc.h:23
L1CaloDisabledTowersContainer
Definition: L1CaloDisabledTowersContainer.h:27
LVL1::Run2TriggerTowerMaker::m_chanDefaultsoverlay
L1CaloPprChanDefaults m_chanDefaultsoverlay
Definition: Run2TriggerTowerMaker.h:184
LVL1::Run2TriggerTowerMaker::addOverlay
virtual StatusCode addOverlay(int bcid, float mu)
Add overlay data.
Definition: Run2TriggerTowerMaker.cxx:392
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:1144
LVL1::Run2TriggerTowerMaker::~Run2TriggerTowerMaker
virtual ~Run2TriggerTowerMaker()
Definition: Run2TriggerTowerMaker.cxx:152
LVL1::Run2TriggerTowerMaker::initialize
StatusCode initialize()
Definition: Run2TriggerTowerMaker.cxx:154
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:642
TriggerTowerContainer.h
LVL1::Run2TriggerTowerMaker::m_doOverlay
bool m_doOverlay
Definition: Run2TriggerTowerMaker.h:173
LVL1::Run2TriggerTowerMaker::preProcessTower
StatusCode preProcessTower(int bcid, float mu, xAOD::TriggerTower *tower)
Definition: Run2TriggerTowerMaker.cxx:687
L1CaloDisabledTowersContainer.h
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:536
LVL1::Run2TriggerTowerMaker::m_rndmADCs
ATHRNG::RNGWrapper * m_rndmADCs
Definition: Run2TriggerTowerMaker.h:153
LVL1::Run2TriggerTowerMaker::Run2TriggerTowerMaker
Run2TriggerTowerMaker(const Run2TriggerTowerMaker &)=delete
LVL1::Run2TriggerTowerMaker::m_xaodTowersAmps
std::vector< std::vector< double > > m_xaodTowersAmps
Definition: Run2TriggerTowerMaker.h:188
SG::ReadHandleKey< xAOD::EventInfo >
LVL1::Run2TriggerTowerMaker::m_jepLutScale
double m_jepLutScale
Definition: Run2TriggerTowerMaker.h:163
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:278
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:295
LVL1::Run2TriggerTowerMaker::m_TileTTL1Ped
double m_TileTTL1Ped
Definition: Run2TriggerTowerMaker.h:167
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77
LVL1::Run2TriggerTowerMaker::EtRange
int EtRange(int et, unsigned short bcidEnergyRangeLow, unsigned short bcidEnergyRangeHigh) const
Definition: Run2TriggerTowerMaker.cxx:1169
LArTTL1Container.h
LVL1::Run2TriggerTowerMaker::TRIGGERTOWERS
@ TRIGGERTOWERS
Definition: Run2TriggerTowerMaker.h:118
L1CaloPprChanCalibContainer.h
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:592
LVL1::Run2TriggerTowerMaker::m_TTtool
ToolHandle< IL1TriggerTowerTool > m_TTtool
Definition: Run2TriggerTowerMaker.h:155
LVL1::Run2TriggerTowerMaker::channelId
L1CaloCoolChannelId channelId(double eta, double phi, int layer)
Compute L1CaloCoolChannelId (including support for old geometries)
Definition: Run2TriggerTowerMaker.cxx:1212
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:280
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:377
LVL1::Run2TriggerTowerMaker::m_xaodTowersAux
std::unique_ptr< xAOD::TriggerTowerAuxContainer > m_xaodTowersAux
Definition: Run2TriggerTowerMaker.h:187
LVL1::Run2TriggerTowerMaker::s_MEV
constexpr static int s_MEV
Definition: Run2TriggerTowerMaker.h:114
LVL1::Run2TriggerTowerMaker::m_chanDefaults
L1CaloPprChanDefaults m_chanDefaults
Definition: Run2TriggerTowerMaker.h:180
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
LVL1::Run2TriggerTowerMaker::m_chanCalibKey
SG::ReadCondHandleKey< L1CaloPprChanCalibContainer > m_chanCalibKey
Definition: Run2TriggerTowerMaker.h:142
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:1176
LVL1::Run2TriggerTowerMaker::m_isDataReprocessing
bool m_isDataReprocessing
Definition: Run2TriggerTowerMaker.h:171
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:265
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:370
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_actMuKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_actMuKey
Definition: Run2TriggerTowerMaker.h:266
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:303
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:162
TrigConf::name
Definition: HLTChainList.h:35
LVL1::Run2TriggerTowerMaker::IDphi
double IDphi(const Identifier &id, const CaloLVL1_ID *caloId)
Definition: Run2TriggerTowerMaker.cxx:1197
LVL1::Run2TriggerTowerMaker::etaToElement
int etaToElement(float feta, int layer) const
Definition: Run2TriggerTowerMaker.cxx:1222
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:165
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:1261
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:934
LVL1::Run2TriggerTowerMaker::m_xaodTowers
std::unique_ptr< xAOD::TriggerTowerContainer > m_xaodTowers
Definition: Run2TriggerTowerMaker.h:186
LVL1::Run2TriggerTowerMaker::m_mappingTool
ToolHandle< IL1CaloMappingTool > m_mappingTool
Definition: Run2TriggerTowerMaker.h:156
LVL1::Run2TriggerTowerMaker::m_caloId
const CaloLVL1_ID * m_caloId
Definition: Run2TriggerTowerMaker.h:159
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:1068
LVL1::Run2TriggerTowerMaker::m_disabledTowersContaineroverlay
L1CaloDisabledTowersContainer * m_disabledTowersContaineroverlay
Definition: Run2TriggerTowerMaker.h:182
SG::ReadCondHandleKey< L1CaloPprChanCalibContainer >
IL1TriggerTowerTool.h
LVL1::Run2TriggerTowerMaker::m_sinThetaHash
std::array< double, m_maxIetaBins > m_sinThetaHash
instead of calculating the expression: double theta =2.
Definition: Run2TriggerTowerMaker.h:197
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:271
L1CaloPpmDeadChannelsContainer.h
LVL1::Run2TriggerTowerMaker::m_isReco
bool m_isReco
Definition: Run2TriggerTowerMaker.h:174
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:557
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
LVL1::Run2TriggerTowerMaker::m_disabledTowersContainer
const L1CaloDisabledTowersContainer * m_disabledTowersContainer
Definition: Run2TriggerTowerMaker.h:178
LVL1::Run2TriggerTowerMaker::m_decorateFIR
bool m_decorateFIR
Definition: Run2TriggerTowerMaker.h:133
LVL1::Run2TriggerTowerMaker::getCaloTowers
StatusCode getCaloTowers()
fetch Calorimeter Towers
Definition: Run2TriggerTowerMaker.cxx:961
LVL1::Run2TriggerTowerMaker::m_adcVar
double m_adcVar
Definition: Run2TriggerTowerMaker.h:128
LVL1::Run2TriggerTowerMaker::m_chanCalibContaineroverlay
L1CaloPprChanCalibContainer * m_chanCalibContaineroverlay
Definition: Run2TriggerTowerMaker.h:181
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1::Run2TriggerTowerMaker::m_deadChannelsKey
SG::ReadCondHandleKey< L1CaloPpmDeadChannelsContainer > m_deadChannelsKey
Definition: Run2TriggerTowerMaker.h:145
LVL1::Run2TriggerTowerMaker::m_disabledTowersKey
SG::ReadCondHandleKey< L1CaloDisabledTowersContainer > m_disabledTowersKey
Definition: Run2TriggerTowerMaker.h:144
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_chanCalibContainer
const L1CaloPprChanCalibContainer * m_chanCalibContainer
Definition: Run2TriggerTowerMaker.h:177
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:157
LVL1::Run2TriggerTowerMaker::digitize
void digitize(const EventContext &ctx)
Convert analogue pulses to digits.
Definition: Run2TriggerTowerMaker.cxx:1130
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
LVL1::Run2TriggerTowerMaker::m_HadTTL1ContainerName
SG::ReadHandleKey< LArTTL1Container > m_HadTTL1ContainerName
Definition: Run2TriggerTowerMaker.h:277
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:384
LVL1::Run2TriggerTowerMaker::m_deadChannelsContaineroverlay
L1CaloPpmDeadChannelsContainer * m_deadChannelsContaineroverlay
Definition: Run2TriggerTowerMaker.h:183
LVL1::Run2TriggerTowerMaker::m_inputTTLocation
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_inputTTLocation
Definition: Run2TriggerTowerMaker.h:269
LVL1::Run2TriggerTowerMaker::m_gainCorr
double m_gainCorr
Definition: Run2TriggerTowerMaker.h:132
L1CaloPprChanDefaultsContainer.h
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:273
LVL1::Run2TriggerTowerMaker::m_chanDefaultsKey
SG::ReadCondHandleKey< L1CaloPprChanDefaultsContainer > m_chanDefaultsKey
Definition: Run2TriggerTowerMaker.h:143
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:214
TriggerTowerAuxContainer.h
Identifier
Definition: IdentifierFieldParser.cxx:14