CMS 3D CMS Logo

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
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

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<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache 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.

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 }

References fedRawDataLabel.

◆ ~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.

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 }

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

◆ makeECalTPGs()

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

Definition at line 201 of file L1TCaloLayer1RawToDigi.cc.

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 }

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(), simplePhotonAnalyzer_cfi::sample, EcalTriggerPrimitiveDigi::setSample(), and EcalTriggerPrimitiveDigi::setSize().

Referenced by produce().

◆ makeHCalTPGs()

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

Definition at line 254 of file L1TCaloLayer1RawToDigi.cc.

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 }

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(), simplePhotonAnalyzer_cfi::sample, HcalTriggerPrimitiveDigi::setSample(), and HcalTriggerPrimitiveDigi::setSize().

Referenced by produce().

◆ makeHFTPGs()

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

Definition at line 309 of file L1TCaloLayer1RawToDigi.cc.

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 }

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

Referenced by produce().

◆ makeRegions()

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

Definition at line 364 of file L1TCaloLayer1RawToDigi.cc.

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 }

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

Referenced by produce().

◆ produce()

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

Definition at line 132 of file L1TCaloLayer1RawToDigi.cc.

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 }

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.

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
L1TCaloLayer1RawToDigi::makeHFTPGs
void makeHFTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< HcalTrigPrimDigiCollection > &hcalTPGs)
Definition: L1TCaloLayer1RawToDigi.cc:309
UCTCTP7RawData::HBHE
Definition: UCTCTP7RawData.h:9
L1TCaloLayer1RawToDigi::fedRawDataLabel
InputTag fedRawDataLabel
Definition: L1TCaloLayer1RawToDigi.cc:94
mps_fire.i
i
Definition: mps_fire.py:428
UCTCTP7RawData::getRegionSummary
uint32_t getRegionSummary(bool negativeEta, uint32_t region)
Definition: UCTCTP7RawData.h:274
L1CaloRegion
A calorimeter trigger region (sum of 4x4 trigger towers)
Definition: L1CaloRegion.h:21
simplePhotonAnalyzer_cfi.sample
sample
Definition: simplePhotonAnalyzer_cfi.py:12
UCTCTP7RawData::EBEE
Definition: UCTCTP7RawData.h:9
L1TCaloLayer1RawToDigi::makeECalTPGs
void makeECalTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< EcalTrigPrimDigiCollection > &ecalTPGs)
Definition: L1TCaloLayer1RawToDigi.cc:201
HcalTriggerPrimitiveSample
Definition: HcalTriggerPrimitiveSample.h:11
edm
HLT enums.
Definition: AlignableModifier.h:19
UCTCTP7RawData
Definition: UCTCTP7RawData.h:7
UCTCTP7RawData::CaloType
CaloType
Definition: UCTCTP7RawData.h:9
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::SortedCollection
Definition: SortedCollection.h:49
EcalSubdetector
EcalSubdetector
Definition: EcalSubdetector.h:10
EcalTrigTowerDetId
Definition: EcalTrigTowerDetId.h:14
edm::Handle< FEDRawDataCollection >
EcalBarrel
Definition: EcalSubdetector.h:10
L1TCaloLayer1RawToDigi::makeHCalTPGs
void makeHCalTPGs(uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< HcalTrigPrimDigiCollection > &hcalTPGs)
Definition: L1TCaloLayer1RawToDigi.cc:254
UCTCTP7RawData::isLinkMasked
bool isLinkMasked(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Definition: UCTCTP7RawData.h:327
FEDRawData
Definition: FEDRawData.h:19
l1t_dqm_sourceclient-live_cfg.fedRawData
fedRawData
Definition: l1t_dqm_sourceclient-live_cfg.py:188
L1TCaloLayer1RawToDigi::event
uint32_t event
Definition: L1TCaloLayer1RawToDigi.cc:97
UCTCTP7RawData::isLinkDown
bool isLinkDown(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Definition: UCTCTP7RawData.h:319
L1TCaloLayer1RawToDigi::fedIDs
std::vector< int > fedIDs
Definition: L1TCaloLayer1RawToDigi.cc:95
UCTCTP7RawData::isTowerMasked
bool isTowerMasked(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Definition: UCTCTP7RawData.h:290
UCTCTP7RawData::isLinkInError
bool isLinkInError(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Definition: UCTCTP7RawData.h:311
FEDRawDataCollection::FEDData
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Definition: FEDRawDataCollection.cc:19
EcalEndcap
Definition: EcalSubdetector.h:10
HcalTriggerPrimitiveDigi
Definition: HcalTriggerPrimitiveDigi.h:13
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88271
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
UCTCTP7RawData::isLinkMisaligned
bool isLinkMisaligned(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Definition: UCTCTP7RawData.h:303
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
UCTCTP7RawData::getET
uint32_t getET(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Definition: UCTCTP7RawData.h:166
UCTAMCRawData
Definition: UCTAMCRawData.h:4
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
L1CaloRegionCollection
std::vector< L1CaloRegion > L1CaloRegionCollection
Definition: L1CaloCollections.h:11
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
EcalTriggerPrimitiveDigi
Definition: EcalTriggerPrimitiveDigi.h:16
UCTCTP7RawData::getFB
uint32_t getFB(CaloType cType, bool negativeEta, uint32_t cEta, uint32_t iPhi)
Definition: UCTCTP7RawData.h:203
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
UCTCTP7RawData::print
void print()
Definition: UCTCTP7RawData.h:253
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
L1TowerCalibrationProducer_cfi.iEta
iEta
Definition: L1TowerCalibrationProducer_cfi.py:60
EcalTriggerPrimitiveSample
Definition: EcalTriggerPrimitiveSample.h:12
AlignmentPI::regions
regions
Definition: AlignmentPayloadInspectorHelper.h:76
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
UCTDAQRawData
Definition: UCTDAQRawData.h:11
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
event
Definition: event.py:1
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
L1TCaloLayer1RawToDigi::verbose
bool verbose
Definition: L1TCaloLayer1RawToDigi.cc:99
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
L1TCaloLayer1RawToDigi::makeRegions
void makeRegions(uint32_t lPhi, UCTCTP7RawData &ctp7Data, std::unique_ptr< L1CaloRegionCollection > &regions)
Definition: L1TCaloLayer1RawToDigi.cc:364
edm::InputTag
Definition: InputTag.h:15
UCTCTP7RawData::HF
Definition: UCTCTP7RawData.h:9
HcalTrigTowerDetId
Definition: HcalTrigTowerDetId.h:14