CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
L1TCaloLayer1RawToDigi Class Reference

#include <EventFilter/L1TCaloLayer1RawToDigi/plugins/L1TCaloLayer1RawToDigi.cc>

Inheritance diagram for L1TCaloLayer1RawToDigi:
edm::stream::EDProducer<>

Public Member Functions

 L1TCaloLayer1RawToDigi (const ParameterSet &)
 
 ~L1TCaloLayer1RawToDigi () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void beginStream (StreamID) override
 
void endStream () override
 
void makeECalTPGs (uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< EcalTrigPrimDigiCollection > &ecalTPGs)
 
void makeHCalTPGs (uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< HcalTrigPrimDigiCollection > &hcalTPGs)
 
void makeHFTPGs (uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< HcalTrigPrimDigiCollection > &hcalTPGs)
 
void makeRegions (uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< L1CaloRegionCollection > &regions)
 
void produce (Event &, const EventSetup &) override
 

Private Attributes

uint32_t event
 
std::vector< int > fedIDs
 
InputTag fedRawDataLabel
 
bool verbose
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 

Detailed Description

Description: Raw data unpacker for Layer-1 of Level-1 Calorimeter Trigger

Implementation: This is meant to be simple and straight-forward.
Potential complications due to any changes in firmware are not foreseen. It is assumed that if there are major changes, which is unlikely, there will be a new unpacker written to deal with that.

Definition at line 67 of file L1TCaloLayer1RawToDigi.cc.

Constructor & Destructor Documentation

◆ L1TCaloLayer1RawToDigi()

L1TCaloLayer1RawToDigi::L1TCaloLayer1RawToDigi ( const ParameterSet iConfig)
explicit

Definition at line 113 of file L1TCaloLayer1RawToDigi.cc.

References fedRawDataLabel.

114  : fedRawDataLabel(iConfig.getParameter<InputTag>("fedRawDataLabel")),
115  fedIDs(iConfig.getParameter<std::vector<int> >("FEDIDs")),
116  event(0),
117  verbose(iConfig.getParameter<bool>("verbose")) {
118  produces<EcalTrigPrimDigiCollection>();
119  produces<HcalTrigPrimDigiCollection>();
120  produces<L1CaloRegionCollection>();
121 
122  consumes<FEDRawDataCollection>(fedRawDataLabel);
123 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303

◆ ~L1TCaloLayer1RawToDigi()

L1TCaloLayer1RawToDigi::~L1TCaloLayer1RawToDigi ( )
override

Definition at line 125 of file L1TCaloLayer1RawToDigi.cc.

125 {}

Member Function Documentation

◆ beginStream()

void L1TCaloLayer1RawToDigi::beginStream ( StreamID  )
overrideprivate

Definition at line 382 of file L1TCaloLayer1RawToDigi.cc.

382 {}

◆ endStream()

void L1TCaloLayer1RawToDigi::endStream ( )
overrideprivate

Definition at line 385 of file L1TCaloLayer1RawToDigi.cc.

385 {}

◆ fillDescriptions()

void L1TCaloLayer1RawToDigi::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 420 of file L1TCaloLayer1RawToDigi.cc.

References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.

420  {
421  //The following says we do not know what parameters are allowed so do no validation
422  // Please change this to state exactly what you do use, even if it is no parameters
424  desc.setUnknown();
425  descriptions.addDefault(desc);
426 }
void addDefault(ParameterSetDescription const &psetDescription)

◆ makeECalTPGs()

void L1TCaloLayer1RawToDigi::makeECalTPGs ( uint32_t  lPhi,
UCTCTP7RawData ctp7Data,
std::unique_ptr< EcalTrigPrimDigiCollection > &  ecalTPGs 
)
private

Definition at line 201 of file L1TCaloLayer1RawToDigi.cc.

References funct::abs(), UCTCTP7RawData::EBEE, EcalBarrel, EcalEndcap, UCTCTP7RawData::getET(), UCTCTP7RawData::getFB(), triggerObjects_cff::id, L1TowerCalibrationProducer_cfi::iEta, createfilelist::int, UCTCTP7RawData::isLinkDown(), UCTCTP7RawData::isLinkInError(), UCTCTP7RawData::isLinkMasked(), UCTCTP7RawData::isLinkMisaligned(), UCTCTP7RawData::isTowerMasked(), ecalGpuTask_cfi::sample, EcalTriggerPrimitiveDigi::setSample(), and EcalTriggerPrimitiveDigi::setSize().

Referenced by produce().

203  {
205  for (uint32_t iPhi = 0; iPhi < 4; iPhi++) { // Loop over all four phi divisions on card
206  int cPhi = -1 + lPhi * 4 + iPhi; // Calorimeter phi index
207  if (cPhi == 0)
208  cPhi = 72;
209  else if (cPhi == -1)
210  cPhi = 71;
211  else if (cPhi < -1) {
212  LogError("L1TCaloLayer1RawToDigi") << "L1TCaloLayer1RawToDigi: Major error in makeECalTPGs" << std::endl;
213  return;
214  }
215  for (int cEta = -28; cEta <= 28; cEta++) { // Calorimeter Eta indices (HB/HE for now)
216  if (cEta != 0) { // Calorimeter eta = 0 is invalid
217  bool negativeEta = false;
218  if (cEta < 0)
219  negativeEta = true;
220  uint32_t iEta = abs(cEta);
221  // This code is fragile! Note that towerDatum is packed as is done in EcalTriggerPrimitiveSample
222  // Bottom 8-bits are ET
223  // Then finegrain feature bit
224  // Then three bits have ttBits, which I have no clue about (not available on ECAL links so not set)
225  // Then there is a spare FG Veto bit, which is used for L1 spike detection (not available on ECAL links so not set)
226  // Top three bits seem to be unused. So, we steal those to set the tower masking, link masking and link status information
227  // To decode these custom three bits use ((EcalTriggerPrimitiveSample::raw() >> 13) & 0x7)
228  uint32_t towerDatum = ctp7Data.getET(cType, negativeEta, iEta, iPhi);
229  if (ctp7Data.getFB(cType, negativeEta, iEta, iPhi) != 0)
230  towerDatum |= 0x0100;
231  if (ctp7Data.isTowerMasked(cType, negativeEta, iEta, iPhi))
232  towerDatum |= 0x2000;
233  if (ctp7Data.isLinkMasked(cType, negativeEta, iEta, iPhi))
234  towerDatum |= 0x4000;
235  if (ctp7Data.isLinkMisaligned(cType, negativeEta, iEta, iPhi) ||
236  ctp7Data.isLinkInError(cType, negativeEta, iEta, iPhi) ||
237  ctp7Data.isLinkDown(cType, negativeEta, iEta, iPhi))
238  towerDatum |= 0x8000;
240  int zSide = cEta / ((int)iEta);
241  // As far as I can tell, the ECal unpacker only uses barrel and endcap IDs, never EcalTriggerTower
242  const EcalSubdetector ecalTriggerTower =
244  EcalTrigTowerDetId id(zSide, ecalTriggerTower, iEta, cPhi);
245  EcalTriggerPrimitiveDigi tpg(id);
246  tpg.setSize(1);
247  tpg.setSample(0, sample);
248  ecalTPGs->push_back(tpg);
249  }
250  }
251  }
252 }
uint32_t getFB(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isLinkMasked(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Log< level::Error, false > LogError
bool isLinkDown(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isLinkInError(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isTowerMasked(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
uint32_t getET(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
EcalSubdetector
bool isLinkMisaligned(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)

◆ makeHCalTPGs()

void L1TCaloLayer1RawToDigi::makeHCalTPGs ( uint32_t  lPhi,
UCTCTP7RawData ctp7Data,
std::unique_ptr< HcalTrigPrimDigiCollection > &  hcalTPGs 
)
private

Definition at line 254 of file L1TCaloLayer1RawToDigi.cc.

References funct::abs(), UCTCTP7RawData::getET(), UCTCTP7RawData::getFB(), UCTCTP7RawData::HBHE, triggerObjects_cff::id, L1TowerCalibrationProducer_cfi::iEta, UCTCTP7RawData::isLinkDown(), UCTCTP7RawData::isLinkInError(), UCTCTP7RawData::isLinkMasked(), UCTCTP7RawData::isLinkMisaligned(), UCTCTP7RawData::isTowerMasked(), ecalGpuTask_cfi::sample, HcalTriggerPrimitiveDigi::setSample(), and HcalTriggerPrimitiveDigi::setSize().

Referenced by produce().

256  {
258  for (uint32_t iPhi = 0; iPhi < 4; iPhi++) { // Loop over all four phi divisions on card
259  int cPhi = -1 + lPhi * 4 + iPhi; // Calorimeter phi index
260  if (cPhi == 0)
261  cPhi = 72;
262  else if (cPhi == -1)
263  cPhi = 71;
264  else if (cPhi < -1) {
265  LogError("L1TCaloLayer1RawToDigi") << "L1TCaloLayer1RawToDigi: Major error in makeHCalTPGs" << std::endl;
266  return;
267  }
268  for (int cEta = -28; cEta <= 28; cEta++) { // Calorimeter Eta indices (HB/HE for now)
269  if (cEta != 0) { // Calorimeter eta = 0 is invalid
270  bool negativeEta = false;
271  if (cEta < 0)
272  negativeEta = true;
273  uint32_t iEta = abs(cEta);
274  // This code is fragile! Note that towerDatum is packed as is done in HcalTriggerPrimitiveSample
275  // Bottom 8-bits are ET
276  // Then feature bit
277  // The remaining bits are undefined presently
278  // We use next three bits for link details, which we did not have room in EcalTriggerPrimitiveSample case
279  // We use next three bits to set the tower masking, link masking and link status information as done for Ecal
280  // To decode these custom six bits use ((EcalTriggerPrimitiveSample::raw() >> 9) & 0x77)
281  uint32_t towerDatum = ctp7Data.getET(cType, negativeEta, iEta, iPhi);
282  if (ctp7Data.getFB(cType, negativeEta, iEta, iPhi) != 0)
283  towerDatum |= 0x0100;
284  if (ctp7Data.isLinkMisaligned(cType, negativeEta, iEta, iPhi))
285  towerDatum |= 0x0200;
286  if (ctp7Data.isLinkInError(cType, negativeEta, iEta, iPhi))
287  towerDatum |= 0x0400;
288  if (ctp7Data.isLinkDown(cType, negativeEta, iEta, iPhi))
289  towerDatum |= 0x0800;
290  if (ctp7Data.isTowerMasked(cType, negativeEta, iEta, iPhi))
291  towerDatum |= 0x2000;
292  if (ctp7Data.isLinkMasked(cType, negativeEta, iEta, iPhi))
293  towerDatum |= 0x4000;
294  if (ctp7Data.isLinkMisaligned(cType, negativeEta, iEta, iPhi) ||
295  ctp7Data.isLinkInError(cType, negativeEta, iEta, iPhi) ||
296  ctp7Data.isLinkDown(cType, negativeEta, iEta, iPhi))
297  towerDatum |= 0x8000;
299  HcalTrigTowerDetId id(cEta, cPhi);
300  HcalTriggerPrimitiveDigi tpg(id);
301  tpg.setSize(1);
302  tpg.setSample(0, sample);
303  hcalTPGs->push_back(tpg);
304  }
305  }
306  }
307 }
uint32_t getFB(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isLinkMasked(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Log< level::Error, false > LogError
bool isLinkDown(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isLinkInError(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isTowerMasked(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
uint32_t getET(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isLinkMisaligned(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)

◆ makeHFTPGs()

void L1TCaloLayer1RawToDigi::makeHFTPGs ( uint32_t  lPhi,
UCTCTP7RawData ctp7Data,
std::unique_ptr< HcalTrigPrimDigiCollection > &  hcalTPGs 
)
private

Definition at line 309 of file L1TCaloLayer1RawToDigi.cc.

References UCTCTP7RawData::getET(), UCTCTP7RawData::getFB(), UCTCTP7RawData::HF, triggerObjects_cff::id, L1TowerCalibrationProducer_cfi::iEta, UCTCTP7RawData::isLinkDown(), UCTCTP7RawData::isLinkInError(), UCTCTP7RawData::isLinkMasked(), UCTCTP7RawData::isLinkMisaligned(), UCTCTP7RawData::isTowerMasked(), ecalGpuTask_cfi::sample, HcalTriggerPrimitiveDigi::setSample(), and HcalTriggerPrimitiveDigi::setSize().

Referenced by produce().

311  {
313  for (uint32_t side = 0; side <= 1; side++) {
314  bool negativeEta = false;
315  if (side == 0)
316  negativeEta = true;
317  for (uint32_t iEta = 30; iEta <= 40; iEta++) {
318  for (uint32_t iPhi = 0; iPhi < 2; iPhi++) {
319  if (iPhi == 1 && iEta == 40)
320  iEta = 41;
321  int cPhi = 1 + lPhi * 4 + iPhi * 2; // Calorimeter phi index: 1, 3, 5, ... 71
322  if (iEta == 41)
323  cPhi -= 2; // Last two HF are 3, 7, 11, ...
324  cPhi = (cPhi + 69) % 72 + 1; // cPhi -= 2 mod 72
325  int cEta = iEta;
326  if (negativeEta)
327  cEta = -iEta;
328  // This code is fragile! Note that towerDatum is packed as is done in HcalTriggerPrimitiveSample
329  // Bottom 8-bits are ET
330  // Then feature bit
331  // Then minBias ADC count bit
332  // The remaining bits are undefined presently
333  // We use next three bits for link details, which we did not have room in EcalTriggerPrimitiveSample case
334  // We use next three bits to set the tower masking, link masking and link status information as done for Ecal
335  // To decode these custom six bits use ((EcalTriggerPrimitiveSample::raw() >> 9) & 0x77)
336  uint32_t towerDatum = ctp7Data.getET(cType, negativeEta, iEta, iPhi);
337  towerDatum |= ctp7Data.getFB(cType, negativeEta, iEta, iPhi) << 8;
338  if (ctp7Data.isLinkMisaligned(cType, negativeEta, iEta, iPhi))
339  towerDatum |= 0x0400;
340  if (ctp7Data.isLinkInError(cType, negativeEta, iEta, iPhi))
341  towerDatum |= 0x0800;
342  if (ctp7Data.isLinkDown(cType, negativeEta, iEta, iPhi))
343  towerDatum |= 0x1000;
344  if (ctp7Data.isTowerMasked(cType, negativeEta, iEta, iPhi))
345  towerDatum |= 0x2000;
346  if (ctp7Data.isLinkMasked(cType, negativeEta, iEta, iPhi))
347  towerDatum |= 0x4000;
348  if (ctp7Data.isLinkMisaligned(cType, negativeEta, iEta, iPhi) ||
349  ctp7Data.isLinkInError(cType, negativeEta, iEta, iPhi) ||
350  ctp7Data.isLinkDown(cType, negativeEta, iEta, iPhi))
351  towerDatum |= 0x8000;
353  HcalTrigTowerDetId id(cEta, cPhi);
354  id.setVersion(1); // To not process these 1x1 HF TPGs with RCT
355  HcalTriggerPrimitiveDigi tpg(id);
356  tpg.setSize(1);
357  tpg.setSample(0, sample);
358  hcalTPGs->push_back(tpg);
359  }
360  }
361  }
362 }
uint32_t getFB(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isLinkMasked(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isLinkDown(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isLinkInError(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isTowerMasked(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
uint32_t getET(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
bool isLinkMisaligned(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)

◆ makeRegions()

void L1TCaloLayer1RawToDigi::makeRegions ( uint32_t  lPhi,
UCTCTP7RawData ctp7Data,
std::unique_ptr< L1CaloRegionCollection > &  regions 
)
private

Definition at line 364 of file L1TCaloLayer1RawToDigi.cc.

References UCTCTP7RawData::getRegionSummary(), and HLT_2022v12_cff::region.

Referenced by produce().

366  {
367  for (uint32_t side = 0; side <= 1; side++) {
368  bool negativeEta = false;
369  if (side == 0)
370  negativeEta = true;
371  for (uint32_t region = 0; region <= 6; region++) {
372  uint32_t regionData = ctp7Data.getRegionSummary(negativeEta, region);
373  uint32_t lEta = 10 - region; // GCT eta goes 0-21, 0-3 -HF, 4-10 -B/E, 11-17 +B/E, 18-21 +HF
374  if (!negativeEta)
375  lEta = region + 11;
376  regions->push_back(L1CaloRegion((uint16_t)regionData, (unsigned)lEta, (unsigned)lPhi, (int16_t)0));
377  }
378  }
379 }
A calorimeter trigger region (sum of 4x4 trigger towers)
Definition: L1CaloRegion.h:21
uint32_t getRegionSummary(bool negativeEta, uint32_t region)

◆ produce()

void L1TCaloLayer1RawToDigi::produce ( Event iEvent,
const EventSetup iSetup 
)
overrideprivate

Definition at line 132 of file L1TCaloLayer1RawToDigi.cc.

References UCTDAQRawData::amcPayload(), TauDecayModes::dec, FEDRawDataCollection::FEDData(), fedIDs, l1t_dqm_sourceclient-live_cfg::fedRawData, fedRawDataLabel, mps_fire::i, iEvent, edm::HandleBase::isValid(), LogDebug, makeECalTPGs(), makeHCalTPGs(), makeHFTPGs(), makeRegions(), eostools::move(), UCTDAQRawData::nAMCs(), UCTDAQRawData::print(), UCTCTP7RawData::print(), and verbose.

132  {
133  using namespace edm;
134  using namespace std;
135 
136  Handle<FEDRawDataCollection> fedRawDataCollection;
137  iEvent.getByLabel(fedRawDataLabel, fedRawDataCollection);
138 
139  std::unique_ptr<EcalTrigPrimDigiCollection> ecalTPGs(new EcalTrigPrimDigiCollection);
140  std::unique_ptr<HcalTrigPrimDigiCollection> hcalTPGs(new HcalTrigPrimDigiCollection);
141  std::unique_ptr<L1CaloRegionCollection> regions(new L1CaloRegionCollection);
142 
143  // if raw data collection is present, check the headers and do the unpacking
144  if (fedRawDataCollection.isValid()) {
145  for (uint32_t i = 0; i < fedIDs.size(); i++) {
146  uint32_t fed = fedIDs[i];
147 
148  const FEDRawData& fedRawData = fedRawDataCollection->FEDData(fed);
149 
150  //Check FED size
151  if (verbose)
152  LogDebug("L1TCaloLayer1RawToDigi")
153  << "Upacking FEDRawData for fed " << std::dec << fed << " of size " << fedRawData.size();
154 
155  const uint64_t* fedRawDataArray = (const uint64_t*)fedRawData.data();
156 
157  if (fedRawData.size() == 0 || fedRawDataArray == nullptr) {
158  LogDebug("L1TCaloLayer1RawToDigi") << "Could not load FED data for " << fed << ", putting empty collections!";
159  continue;
160  }
161 
162  UCTDAQRawData daqData(fedRawDataArray);
163  if (verbose && event < 5)
164  daqData.print();
165  for (uint32_t i = 0; i < daqData.nAMCs(); i++) {
166  UCTAMCRawData amcData(daqData.amcPayload(i));
167  if (verbose && event < 5) {
168  LogDebug("L1TCaloLayer1") << endl;
169  amcData.print();
170  LogDebug("L1TCaloLayer1") << endl;
171  }
172  uint32_t lPhi = amcData.layer1Phi();
173  UCTCTP7RawData ctp7Data(amcData.payload());
174  if (verbose && event < 5)
175  ctp7Data.print();
176  if (verbose && event < 5)
177  LogDebug("L1TCaloLayer1") << endl;
178  makeECalTPGs(lPhi, ctp7Data, ecalTPGs);
179  makeHCalTPGs(lPhi, ctp7Data, hcalTPGs);
180  // Note: HF TPGs are added at the tail of other TPGs
181  makeHFTPGs(lPhi, ctp7Data, hcalTPGs);
182  makeRegions(lPhi, ctp7Data, regions);
183  }
184  }
185 
186  } else {
187  LogError("L1T") << "Cannot unpack: no collection found";
188 
189  return;
190  }
191 
192  iEvent.put(std::move(ecalTPGs));
193  iEvent.put(std::move(hcalTPGs));
194  iEvent.put(std::move(regions));
195 
196  event++;
197  if (verbose && event == 5)
198  LogDebug("L1TCaloLayer1") << "L1TCaloLayer1RawToDigi: Goodbye! Tired of printing junk" << endl;
199 }
void makeHCalTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< HcalTrigPrimDigiCollection > &hcalTPGs)
void makeRegions(uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< L1CaloRegionCollection > &regions)
Log< level::Error, false > LogError
int iEvent
Definition: GenABIO.cc:224
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void makeHFTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< HcalTrigPrimDigiCollection > &hcalTPGs)
unsigned long long uint64_t
Definition: Time.h:13
void makeECalTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< EcalTrigPrimDigiCollection > &ecalTPGs)
bool isValid() const
Definition: HandleBase.h:70
HLT enums.
std::vector< L1CaloRegion > L1CaloRegionCollection
def move(src, dest)
Definition: eostools.py:511
Definition: event.py:1
#define LogDebug(id)

Member Data Documentation

◆ event

uint32_t L1TCaloLayer1RawToDigi::event
private

◆ fedIDs

std::vector<int> L1TCaloLayer1RawToDigi::fedIDs
private

Definition at line 95 of file L1TCaloLayer1RawToDigi.cc.

Referenced by produce().

◆ fedRawDataLabel

InputTag L1TCaloLayer1RawToDigi::fedRawDataLabel
private

Definition at line 94 of file L1TCaloLayer1RawToDigi.cc.

Referenced by L1TCaloLayer1RawToDigi(), and produce().

◆ verbose

bool L1TCaloLayer1RawToDigi::verbose
private