CMS 3D CMS Logo

EcalTrigPrimProducer.cc
Go to the documentation of this file.
1 
18 
26 
31 
69 
72 
73 #include <memory>
74 
76 
78 public:
79  explicit EcalTrigPrimProducer(const edm::ParameterSet &conf);
80 
81  ~EcalTrigPrimProducer() override;
82 
83  void beginRun(const edm::Run &run, const edm::EventSetup &es) override;
84  void endRun(const edm::Run &, const edm::EventSetup &) override;
85  void produce(edm::Event &e, const edm::EventSetup &c) override;
86 
87  static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
88 
89 private:
90  std::unique_ptr<EcalTrigPrimFunctionalAlgo> algo_;
92  bool tcpFormat_;
93  bool debug_;
94  bool famos_;
98 
100  //these are only used if we also handle the endcap
103 
104  // for EcalFenixStrip...
105  // get parameter records for xtals
109 
110  // for strips
118 
119  // .. and for EcalFenixTcp
120  // get parameter records for towers
128  // TPG TP mode
130 
133 
134  // method to get EventSetupRecords
135  unsigned long long getRecords(edm::EventSetup const &setup);
136  unsigned long long cacheID_;
137 };
138 
140  : barrelOnly_(iConfig.getParameter<bool>("BarrelOnly")),
141  tcpFormat_(iConfig.getParameter<bool>("TcpOutput")),
142  debug_(iConfig.getParameter<bool>("Debug")),
143  famos_(iConfig.getParameter<bool>("Famos")),
144  tpInfoPrintout_(iConfig.getParameter<bool>("TPinfoPrintout")),
145  tokenEB_(consumes<EBDigiCollection>(
146  edm::InputTag(iConfig.getParameter<std::string>("Label"), iConfig.getParameter<std::string>("InstanceEB")))),
147  tokenEE_(consumes<EEDigiCollection>(
148  edm::InputTag(iConfig.getParameter<std::string>("Label"), iConfig.getParameter<std::string>("InstanceEE")))),
149  tokenEcalMapping_(esConsumes<edm::Transition::BeginRun>()),
150  tokenEcalTPGLinearization_(esConsumes()),
151  tokenEcalTPGPedestals_(esConsumes()),
152  tokenEcalTPGCrystalStatus_(esConsumes()),
153  tokenEcalTPGSlidingWindow_(esConsumes()),
154  tokenEcalTPGWeightIdMap_(esConsumes()),
155  tokenEcalTPGWeightGroup_(esConsumes()),
156  tokenEcalTPGOddWeightIdMap_(esConsumes()),
157  tokenEcalTPGOddWeightGroup_(esConsumes()),
158  tokenEcalTPGFineGrainStripEE_(esConsumes()),
159  tokenEcalTPGStripStatus_(esConsumes()),
160  tokenEcalTPGFineGrainEBGroup_(esConsumes()),
161  tokenEcalTPGLutGroup_(esConsumes()),
162  tokenEcalTPGLutIdMap_(esConsumes()),
163  tokenEcalTPGFineGrainEBIdMap_(esConsumes()),
164  tokenEcalTPGFineGrainTowerEE_(esConsumes()),
165  tokenEcalTPGTowerStatus_(esConsumes()),
166  tokenEcalTPGSpike_(esConsumes()),
167  tokenEcalTPGTPMode_(esConsumes()),
168  binOfMaximum_(iConfig.getParameter<int>("binOfMaximum")),
169  fillBinOfMaximumFromHistory_(-1 == binOfMaximum_),
170  cacheID_(0) {
171  // register your products
172  produces<EcalTrigPrimDigiCollection>();
173  if (tcpFormat_)
174  produces<EcalTrigPrimDigiCollection>("formatTCP");
175  if (not barrelOnly_) {
176  tokenEndcapGeom_ = esConsumes<edm::Transition::BeginRun>(edm::ESInputTag("", "EcalEndcap"));
177  tokenETTMap_ = esConsumes<edm::Transition::BeginRun>();
178  }
179 }
180 
181 static int findBinOfMaximum(bool iFillFromHistory, int iPSetValue, edm::ProcessHistory const &iHistory) {
182  // get binOfMax
183  // try first in cfg, then in ProcessHistory
184  // =6 is default (1-10 possible values)
185  int binOfMaximum = 0; // starts at 1!
186  if (not iFillFromHistory) {
187  binOfMaximum = iPSetValue;
188  edm::LogInfo("EcalTPG") << "EcalTrigPrimProducer is using binOfMaximum found in cfg file : " << binOfMaximum;
189  }
190 
191  // search backwards in history looking for the particular module
192  const std::string kModuleName{"ecalUnsuppressedDigis"};
193  for (auto it = iHistory.rbegin(), itEnd = iHistory.rend(); it != itEnd; ++it) {
194  auto const &topLevelPSet = getParameterSet(it->parameterSetID());
195  if (topLevelPSet.exists(kModuleName)) {
196  int psetBinOfMax = topLevelPSet.getParameter<edm::ParameterSet>(kModuleName).getParameter<int>("binOfMaximum");
197 
198  if (not iFillFromHistory) {
199  if (psetBinOfMax != binOfMaximum)
200  edm::LogWarning("EcalTPG") << "binofMaximum given in configuration (=" << binOfMaximum
201  << ") is different from the one found in ProductRegistration(=" << psetBinOfMax
202  << ")!!!";
203  } else {
204  binOfMaximum = psetBinOfMax;
205  edm::LogInfo("EcalTPG") << "EcalTrigPrimProducer is using binOfMaximum "
206  "found in ProductRegistry : "
207  << binOfMaximum;
208  }
209  break;
210  }
211  }
212  if (binOfMaximum == 0) {
213  binOfMaximum = 6;
214  edm::LogWarning("EcalTPG") << "Could not find product registry of EBDigiCollection (label "
215  "ecalUnsuppressedDigis), had to set the following parameters by "
216  "Hand: binOfMaximum="
217  << binOfMaximum;
218  }
219  return binOfMaximum;
220 }
221 
223  // ProcessHistory is guaranteed to be constant for an entire Run
225 
226  auto const &ecalmapping = setup.getData(tokenEcalMapping_);
227  if (barrelOnly_) {
228  algo_ = std::make_unique<EcalTrigPrimFunctionalAlgo>(
230  } else {
231  auto const &endcapGeometry = setup.getData(tokenEndcapGeom_);
232  auto const &eTTmap = setup.getData(tokenETTMap_);
233  algo_ = std::make_unique<EcalTrigPrimFunctionalAlgo>(
234  &eTTmap, &endcapGeometry, &ecalmapping, binOfMaximum_, tcpFormat_, debug_, famos_, tpInfoPrintout_);
235  }
236 }
237 
239  algo_.reset();
240  cacheID_ = 0;
241 }
242 
244  // get Eventsetup records
245 
246  // for EcalFenixStrip...
247  // get parameter records for xtals
248  const EcalTPGLinearizationConst *ecaltpLin = &setup.getData(tokenEcalTPGLinearization_);
249  const EcalTPGPedestals *ecaltpPed = &setup.getData(tokenEcalTPGPedestals_);
250  const EcalTPGCrystalStatus *ecaltpgBadX = &setup.getData(tokenEcalTPGCrystalStatus_);
251 
252  // for strips
253  const EcalTPGSlidingWindow *ecaltpgSlidW = &setup.getData(tokenEcalTPGSlidingWindow_);
254  const EcalTPGWeightIdMap *ecaltpgWeightMap = &setup.getData(tokenEcalTPGWeightIdMap_);
255  const EcalTPGWeightGroup *ecaltpgWeightGroup = &setup.getData(tokenEcalTPGWeightGroup_);
256  const EcalTPGOddWeightIdMap *ecaltpgOddWeightMap = &setup.getData(tokenEcalTPGOddWeightIdMap_);
257  const EcalTPGOddWeightGroup *ecaltpgOddWeightGroup = &setup.getData(tokenEcalTPGOddWeightGroup_);
258  const EcalTPGFineGrainStripEE *ecaltpgFgStripEE = &setup.getData(tokenEcalTPGFineGrainStripEE_);
259  const EcalTPGStripStatus *ecaltpgStripStatus = &setup.getData(tokenEcalTPGStripStatus_);
260  const EcalTPGTPMode *ecaltpgTPMode = &setup.getData(tokenEcalTPGTPMode_);
261 
262  algo_->setPointers(ecaltpLin,
263  ecaltpPed,
264  ecaltpgSlidW,
265  ecaltpgWeightMap,
266  ecaltpgWeightGroup,
267  ecaltpgOddWeightMap,
268  ecaltpgOddWeightGroup,
269  ecaltpgFgStripEE,
270  ecaltpgBadX,
271  ecaltpgStripStatus,
272  ecaltpgTPMode);
273 
274  // .. and for EcalFenixTcp
275  // get parameter records for towers
276  const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup = &setup.getData(tokenEcalTPGFineGrainEBGroup_);
277  const EcalTPGLutGroup *ecaltpgLutGroup = &setup.getData(tokenEcalTPGLutGroup_);
278  const EcalTPGLutIdMap *ecaltpgLut = &setup.getData(tokenEcalTPGLutIdMap_);
279  const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB = &setup.getData(tokenEcalTPGFineGrainEBIdMap_);
280  const EcalTPGFineGrainTowerEE *ecaltpgFineGrainTowerEE = &setup.getData(tokenEcalTPGFineGrainTowerEE_);
281  const EcalTPGTowerStatus *ecaltpgBadTT = &setup.getData(tokenEcalTPGTowerStatus_);
282  const EcalTPGSpike *ecaltpgSpike = &setup.getData(tokenEcalTPGSpike_);
283 
284  algo_->setPointers2(ecaltpgFgEBGroup,
285  ecaltpgLutGroup,
286  ecaltpgLut,
287  ecaltpgFineGrainEB,
288  ecaltpgFineGrainTowerEE,
289  ecaltpgBadTT,
290  ecaltpgSpike,
291  ecaltpgTPMode);
292 
293  // we will suppose that everything is to be updated if the
294  // EcalTPGLinearizationConstRcd has changed
295  return setup.get<EcalTPGLinearizationConstRcd>().cacheIdentifier();
296 }
297 
299 
300 // ------------ method called to produce the data ------------
302  // update constants if necessary
304  cacheID_ = this->getRecords(iSetup);
305 
306  // get input collections
307 
310  bool barrel = true;
311  bool endcap = true;
312  if (barrelOnly_)
313  endcap = false;
314 
315  if (!e.getByToken(tokenEB_, ebDigis)) {
316  barrel = false;
318  labelsForToken(tokenEB_, labels);
319  edm::LogWarning("EcalTPG") << " Couldnt find Barrel dataframes with producer " << labels.module << " and label "
320  << labels.productInstance << "!!!";
321  }
322  if (!barrelOnly_) {
323  if (!e.getByToken(tokenEE_, eeDigis)) {
324  endcap = false;
326  labelsForToken(tokenEE_, labels);
327  edm::LogWarning("EcalTPG") << " Couldnt find Endcap dataframes with producer " << labels.module << " and label "
328  << labels.productInstance << "!!!";
329  }
330  }
331  if (!barrel && !endcap) {
333  labelsForToken(tokenEB_, labels);
334  throw cms::Exception(" ProductNotFound") << "No EBDataFrames(EEDataFrames) with producer " << labels.module
335  << " and label " << labels.productInstance << " found in input!!\n";
336  }
337 
338  if (!barrelOnly_)
339  LogDebug("EcalTPG") << " =================> Treating event " << e.id() << ", Number of EBDataFrames "
340  << ebDigis.product()->size() << ", Number of EEDataFrames " << eeDigis.product()->size();
341  else
342  LogDebug("EcalTPG") << " =================> Treating event " << e.id() << ", Number of EBDataFrames "
343  << ebDigis.product()->size();
344 
345  auto pOut = std::make_unique<EcalTrigPrimDigiCollection>();
346  auto pOutTcp = std::make_unique<EcalTrigPrimDigiCollection>();
347 
348  // invoke algorithm
349 
350  const EBDigiCollection *ebdc = nullptr;
351  const EEDigiCollection *eedc = nullptr;
352  if (barrel) {
353  ebdc = ebDigis.product();
354  algo_->run(ebdc, *pOut, *pOutTcp);
355  }
356 
357  if (endcap) {
358  eedc = eeDigis.product();
359  algo_->run(eedc, *pOut, *pOutTcp);
360  }
361 
362  edm::LogInfo("produce") << "For Barrel + Endcap, " << pOut->size() << " TP Digis were produced";
363 
364  // debug prints if TP >0
365 
366  for (unsigned int i = 0; i < pOut->size(); ++i) {
367  bool print = false;
368  for (int isam = 0; isam < (*pOut)[i].size(); ++isam) {
369  if ((*pOut)[i][isam].raw())
370  print = true;
371  }
372  if (print)
373  LogDebug("EcalTPG") << " For tower " << (((*pOut)[i])).id() << ", TP is " << (*pOut)[i];
374  }
375  if (barrelOnly_)
376  LogDebug("EcalTPG") << "\n =================> For Barrel , " << pOut->size()
377  << " TP Digis were produced (including zero ones)";
378  else
379  LogDebug("EcalTPG") << "\n =================> For Barrel + Endcap, " << pOut->size()
380  << " TP Digis were produced (including zero ones)";
381 
382  // put result into the Event
383 
384  e.put(std::move(pOut));
385  if (tcpFormat_)
386  e.put(std::move(pOutTcp), "formatTCP");
387 }
388 
391  desc.add<bool>("BarrelOnly", false);
392  desc.add<bool>("TcpOutput", false);
393  desc.add<bool>("Debug", false);
394  desc.add<bool>("Famos", false);
395  desc.add<std::string>("Label", "simEcalUnsuppressedDigis");
396  desc.add<std::string>("InstanceEB", "");
397  desc.add<std::string>("InstanceEE", "");
398  const std::string kComment(
399  "A value of -1 will make the module lookup the value of 'binOfMaximum' "
400  "from the module 'ecalUnsuppressedDigis' from the process history. "
401  "Allowed values are -1 and from 1-10.");
402  // The code before the existence of fillDescriptions did something special if
403  // 'binOfMaximum' was missing. This replicates that behavior.
404  desc.add<int>("binOfMaximum", -1)->setComment(kComment);
405  desc.add<bool>("TPinfoPrintout", false);
406  descriptions.addDefault(desc);
407 }
408 
EcalTrigPrimProducer::tokenEE_
edm::EDGetTokenT< EEDigiCollection > tokenEE_
Definition: EcalTrigPrimProducer.cc:97
EcalTrigPrimProducer::tokenEcalTPGStripStatus_
edm::ESGetToken< EcalTPGStripStatus, EcalTPGStripStatusRcd > tokenEcalTPGStripStatus_
Definition: EcalTrigPrimProducer.cc:117
SummaryClient_cfi.labels
labels
Definition: SummaryClient_cfi.py:61
EcalTPGLutGroupRcd.h
EcalTrigPrimProducer::barrelOnly_
bool barrelOnly_
Definition: EcalTrigPrimProducer.cc:91
EcalTrigPrimProducer::tokenEcalTPGCrystalStatus_
edm::ESGetToken< EcalTPGCrystalStatus, EcalTPGCrystalStatusRcd > tokenEcalTPGCrystalStatus_
Definition: EcalTrigPrimProducer.cc:108
EcalTPGWeightIdMap
Definition: EcalTPGWeightIdMap.h:10
electrons_cff.bool
bool
Definition: electrons_cff.py:366
edm::ProcessHistory::rend
const_reverse_iterator rend() const
Definition: ProcessHistory.h:66
mps_fire.i
i
Definition: mps_fire.py:428
edm::ESInputTag
Definition: ESInputTag.h:87
EcalTPGTPMode
Definition: EcalTPGTPMode.h:12
Reference_intrackfit_cff.barrel
list barrel
Definition: Reference_intrackfit_cff.py:37
MessageLogger.h
findBinOfMaximum
static int findBinOfMaximum(bool iFillFromHistory, int iPSetValue, edm::ProcessHistory const &iHistory)
Definition: EcalTrigPrimProducer.cc:181
edm::Handle::product
T const * product() const
Definition: Handle.h:70
EcalTPGStripStatusRcd.h
EcalTPGLinearizationConstRcd.h
EcalTrigPrimProducer::tokenEcalTPGPedestals_
edm::ESGetToken< EcalTPGPedestals, EcalTPGPedestalsRcd > tokenEcalTPGPedestals_
Definition: EcalTrigPrimProducer.cc:107
EcalTrigPrimProducer::tokenEcalTPGFineGrainStripEE_
edm::ESGetToken< EcalTPGFineGrainStripEE, EcalTPGFineGrainStripEERcd > tokenEcalTPGFineGrainStripEE_
Definition: EcalTrigPrimProducer.cc:116
edm::Run
Definition: Run.h:45
EcalTPGSpikeRcd.h
EcalTPGSpike
Definition: EcalTPGSpike.h:9
edm::EDGetTokenT< EBDigiCollection >
edm
HLT enums.
Definition: AlignableModifier.h:19
EcalTPGFineGrainStripEE
Definition: EcalTPGFineGrainStripEE.h:9
edm::ProcessHistory::rbegin
const_reverse_iterator rbegin() const
Definition: ProcessHistory.h:65
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
EcalTPGFineGrainEBIdMap.h
EcalTPGFineGrainEBIdMap
Definition: EcalTPGFineGrainEBIdMap.h:10
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
EcalTrigPrimProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: EcalTrigPrimProducer.cc:389
EDProducer.h
L1TrackObjectNtupleMaker_cfg.pOut
pOut
Definition: L1TrackObjectNtupleMaker_cfg.py:172
EcalTrigPrimProducer::tokenEB_
edm::EDGetTokenT< EBDigiCollection > tokenEB_
Definition: EcalTrigPrimProducer.cc:96
EcalTPGCrystalStatusRcd.h
EcalTPGTPModeRcd.h
EcalTrigPrimProducer::tokenEcalTPGLutIdMap_
edm::ESGetToken< EcalTPGLutIdMap, EcalTPGLutIdMapRcd > tokenEcalTPGLutIdMap_
Definition: EcalTrigPrimProducer.cc:123
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
EcalTPGOddWeightIdMapRcd.h
makeMuonMisalignmentScenario.endcap
endcap
Definition: makeMuonMisalignmentScenario.py:320
EcalTPGWeightGroup
Definition: EcalTPGWeightGroup.h:8
EcalCondObjectContainer
Definition: EcalCondObjectContainer.h:13
edm::Handle< EBDigiCollection >
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
EcalTrigPrimProducer::tokenEcalTPGSpike_
edm::ESGetToken< EcalTPGSpike, EcalTPGSpikeRcd > tokenEcalTPGSpike_
Definition: EcalTrigPrimProducer.cc:127
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
EcalTPGLutGroup
Definition: EcalTPGLutGroup.h:13
EcalTPGFineGrainTowerEE.h
EcalTrigPrimProducer::tpInfoPrintout_
bool tpInfoPrintout_
Definition: EcalTrigPrimProducer.cc:95
EcalTPGFineGrainStripEE.h
EcalTrigPrimProducer::tokenEcalTPGLutGroup_
edm::ESGetToken< EcalTPGLutGroup, EcalTPGLutGroupRcd > tokenEcalTPGLutGroup_
Definition: EcalTrigPrimProducer.cc:122
EcalTrigPrimProducer::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition: EcalTrigPrimProducer.cc:222
MakerMacros.h
EcalTPGSlidingWindow
Definition: EcalTPGSlidingWindow.h:9
EcalTPGFineGrainTowerEE
Definition: EcalTPGFineGrainTowerEE.h:9
EcalTPGSpike.h
EcalTrigPrimProducer::algo_
std::unique_ptr< EcalTrigPrimFunctionalAlgo > algo_
Definition: EcalTrigPrimProducer.cc:90
EcalTPGLutIdMap.h
EcalTPGOddWeightIdMap.h
edm::EventSetup::get
T get() const
Definition: EventSetup.h:87
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
EcalTPGOddWeightIdMap
Definition: EcalTPGOddWeightIdMap.h:10
EcalTrigPrimProducer::cacheID_
unsigned long long cacheID_
Definition: EcalTrigPrimProducer.cc:136
EcalTrigPrimProducer::debug_
bool debug_
Definition: EcalTrigPrimProducer.cc:93
EcalTrigPrimProducer::tokenEcalTPGLinearization_
edm::ESGetToken< EcalTPGLinearizationConst, EcalTPGLinearizationConstRcd > tokenEcalTPGLinearization_
Definition: EcalTrigPrimProducer.cc:106
EcalTPGTPMode.h
EcalMappingRcd.h
EcalTrigPrimProducer::tokenEcalTPGWeightGroup_
edm::ESGetToken< EcalTPGWeightGroup, EcalTPGWeightGroupRcd > tokenEcalTPGWeightGroup_
Definition: EcalTrigPrimProducer.cc:113
Provenance.h
EcalTrigPrimProducer::tokenEcalTPGFineGrainTowerEE_
edm::ESGetToken< EcalTPGFineGrainTowerEE, EcalTPGFineGrainTowerEERcd > tokenEcalTPGFineGrainTowerEE_
Definition: EcalTrigPrimProducer.cc:125
EcalDigiCollections.h
ProductID.h
EcalTPGWeightIdMapRcd.h
EcalTrigPrimProducer::tcpFormat_
bool tcpFormat_
Definition: EcalTrigPrimProducer.cc:92
EcalTPGSlidingWindowRcd.h
EcalTrigPrimProducer::fillBinOfMaximumFromHistory_
bool fillBinOfMaximumFromHistory_
Definition: EcalTrigPrimProducer.cc:132
EDGetToken.h
EcalTPGFineGrainEBGroupRcd.h
CaloGeometryRecord.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
EcalTPGLutIdMap
Definition: EcalTPGLutIdMap.h:10
EcalTPGWeightGroup.h
EcalTrigPrimProducer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: EcalTrigPrimProducer.cc:238
EcalTPGLutGroup.h
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
edm::ParameterSet
Definition: ParameterSet.h:47
edm::Transition
Transition
Definition: Transition.h:12
Event.h
EcalTPGLinearizationConst.h
print
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:46
EcalTPGFineGrainEBGroup
Definition: EcalTPGFineGrainEBGroup.h:13
EBDigiCollection
Definition: EcalDigiCollections.h:56
EcalTrigPrimProducer::tokenEcalTPGTPMode_
edm::ESGetToken< EcalTPGTPMode, EcalTPGTPModeRcd > tokenEcalTPGTPMode_
Definition: EcalTrigPrimProducer.cc:129
EEDigiCollection
Definition: EcalDigiCollections.h:69
EcalTrigPrimProducer::tokenEcalTPGSlidingWindow_
edm::ESGetToken< EcalTPGSlidingWindow, EcalTPGSlidingWindowRcd > tokenEcalTPGSlidingWindow_
Definition: EcalTrigPrimProducer.cc:111
topLevelPSet
static std::string topLevelPSet(std::string const &iName, edm::ParameterSet const &iProcessConfig, std::string const &iProcessName)
Definition: EdmProvDump.cc:266
createfilelist.int
int
Definition: createfilelist.py:10
EcalTPGFineGrainEBGroup.h
EcalTrigPrimProducer::tokenEcalTPGFineGrainEBIdMap_
edm::ESGetToken< EcalTPGFineGrainEBIdMap, EcalTPGFineGrainEBIdMapRcd > tokenEcalTPGFineGrainEBIdMap_
Definition: EcalTrigPrimProducer.cc:124
kComment
static const char *const kComment
Definition: edmodule_mightGet_config.cc:29
edm::stream::EDProducer
Definition: EDProducer.h:36
EcalTPGPedestals.h
EcalTPGOddWeightGroupRcd.h
edm::EventSetup
Definition: EventSetup.h:58
EcalTPGStripStatus.h
EcalTrigPrimProducer::tokenEcalTPGWeightIdMap_
edm::ESGetToken< EcalTPGWeightIdMap, EcalTPGWeightIdMapRcd > tokenEcalTPGWeightIdMap_
Definition: EcalTrigPrimProducer.cc:112
EcalTrigPrimProducer::binOfMaximum_
int binOfMaximum_
Definition: EcalTrigPrimProducer.cc:131
EcalTPGTowerStatus.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd >
ecalEBTriggerPrimitiveDigis_cfi.binOfMaximum
binOfMaximum
Definition: ecalEBTriggerPrimitiveDigis_cfi.py:9
EcalTPGFineGrainEBIdMapRcd.h
EcalTPGFineGrainTowerEERcd.h
InputTag.h
edm::getParameterSet
ParameterSet const & getParameterSet(ParameterSetID const &id)
Definition: ParameterSet.cc:862
EcalTPGTowerStatus
Definition: EcalTPGTowerStatus.h:9
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
EcalTrigPrimFunctionalAlgo.h
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
writedatasetfile.run
run
Definition: writedatasetfile.py:27
EcalTPGSlidingWindow.h
EcalTrigPrimProducer::tokenEndcapGeom_
edm::ESGetToken< CaloSubdetectorGeometry, EcalEndcapGeometryRecord > tokenEndcapGeom_
Definition: EcalTrigPrimProducer.cc:101
EcalTrigPrimProducer::tokenEcalTPGOddWeightIdMap_
edm::ESGetToken< EcalTPGOddWeightIdMap, EcalTPGOddWeightIdMapRcd > tokenEcalTPGOddWeightIdMap_
Definition: EcalTrigPrimProducer.cc:114
Frameworkfwd.h
EcalTrigPrimProducer::famos_
bool famos_
Definition: EcalTrigPrimProducer.cc:94
Exception
Definition: hltDiff.cc:245
EcalTPGLutIdMapRcd.h
EcalTPGCrystalStatus.h
EcalTPGTowerStatusRcd.h
EcalTPGWeightGroupRcd.h
EcalTPGStripStatus
Definition: EcalTPGStripStatus.h:9
ParameterSetID.h
EcalTPGPedestalsRcd.h
EcalTrigPrimProducer::tokenETTMap_
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > tokenETTMap_
Definition: EcalTrigPrimProducer.cc:102
EcalTrigPrimProducer::tokenEcalTPGTowerStatus_
edm::ESGetToken< EcalTPGTowerStatus, EcalTPGTowerStatusRcd > tokenEcalTPGTowerStatus_
Definition: EcalTrigPrimProducer.cc:126
EcalTrigPrimProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: EcalTrigPrimProducer.cc:301
edm::eventsetup::EventSetupRecord::cacheIdentifier
unsigned long long cacheIdentifier() const
Definition: EventSetupRecord.h:187
edm::ProcessHistory
Definition: ProcessHistory.h:13
EcalTrigPrimProducer::~EcalTrigPrimProducer
~EcalTrigPrimProducer() override
Definition: EcalTrigPrimProducer.cc:298
EcalTrigPrimProducer::EcalTrigPrimProducer
EcalTrigPrimProducer(const edm::ParameterSet &conf)
Definition: EcalTrigPrimProducer.cc:139
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
EcalTrigPrimProducer::tokenEcalMapping_
const edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > tokenEcalMapping_
Definition: EcalTrigPrimProducer.cc:99
EcalTrigPrimProducer::tokenEcalTPGOddWeightGroup_
edm::ESGetToken< EcalTPGOddWeightGroup, EcalTPGOddWeightGroupRcd > tokenEcalTPGOddWeightGroup_
Definition: EcalTrigPrimProducer.cc:115
EcalTrigPrimProducer
Definition: EcalTrigPrimProducer.cc:77
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
edm::Event
Definition: Event.h:73
EcalTPGOddWeightGroup.h
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
EcalTPGLinearizationConstRcd
Definition: EcalTPGLinearizationConstRcd.h:5
SimL1EmulatorDM_cff.eeDigis
eeDigis
Definition: SimL1EmulatorDM_cff.py:18
EcalTPGWeightIdMap.h
EcalTPGOddWeightGroup
Definition: EcalTPGOddWeightGroup.h:13
EcalTPGFineGrainStripEERcd.h
edm::ProductLabels
Definition: ProductLabels.h:4
edm::DataFrameContainer::size
size_type size() const
Definition: DataFrameContainer.h:162
EcalTrigPrimProducer::getRecords
unsigned long long getRecords(edm::EventSetup const &setup)
Definition: EcalTrigPrimProducer.cc:243
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
EcalTrigPrimProducer::tokenEcalTPGFineGrainEBGroup_
edm::ESGetToken< EcalTPGFineGrainEBGroup, EcalTPGFineGrainEBGroupRcd > tokenEcalTPGFineGrainEBGroup_
Definition: EcalTrigPrimProducer.cc:121