CMS 3D CMS Logo

HcalTrigPrimDigiProducer.cc
Go to the documentation of this file.
14 
15 #include <algorithm>
16 
18  : theAlgo_(ps.getParameter<bool>("peakFilter"),
19  ps.getParameter<std::vector<double> >("weights"),
20  ps.getParameter<int>("latency"),
21  ps.getParameter<uint32_t>("FG_threshold"),
22  ps.getParameter<std::vector<uint32_t> >("FG_HF_thresholds"),
23  ps.getParameter<uint32_t>("ZS_threshold"),
24  ps.getParameter<int>("numberOfSamples"),
25  ps.getParameter<int>("numberOfPresamples"),
26  ps.getParameter<int>("numberOfFilterPresamplesHBQIE11"),
27  ps.getParameter<int>("numberOfFilterPresamplesHEQIE11"),
28  ps.getParameter<int>("numberOfSamplesHF"),
29  ps.getParameter<int>("numberOfPresamplesHF"),
30  ps.getParameter<bool>("useTDCInMinBiasBits"),
31  ps.getParameter<uint32_t>("MinSignalThreshold"),
32  ps.getParameter<uint32_t>("PMTNoiseThreshold")),
33  inputLabel_(ps.getParameter<std::vector<edm::InputTag> >("inputLabel")),
34  inputUpgradeLabel_(ps.getParameter<std::vector<edm::InputTag> >("inputUpgradeLabel")),
35  inputTagFEDRaw_(ps.getParameter<edm::InputTag>("InputTagFEDRaw")),
36  runZS_(ps.getParameter<bool>("RunZS")),
37  runFrontEndFormatError_(ps.getParameter<bool>("FrontEndFormatError")) {
38  std::vector<bool> upgrades = {
39  ps.getParameter<bool>("upgradeHB"), ps.getParameter<bool>("upgradeHE"), ps.getParameter<bool>("upgradeHF")};
40  upgrade_ = std::any_of(std::begin(upgrades), std::end(upgrades), [](bool a) { return a; });
41  legacy_ = std::any_of(std::begin(upgrades), std::end(upgrades), [](bool a) { return !a; });
42 
43  overrideDBweightsAndFilterHE_ = ps.getParameter<bool>("overrideDBweightsAndFilterHE");
44  overrideDBweightsAndFilterHB_ = ps.getParameter<bool>("overrideDBweightsAndFilterHB");
45 
47 
48  if (ps.exists("parameters")) {
49  auto pset = ps.getUntrackedParameter<edm::ParameterSet>("parameters");
51  }
52  theAlgo_.setUpgradeFlags(upgrades[0], upgrades[1], upgrades[2]);
53 
54  HFEMB_ = false;
55  if (ps.exists("LSConfig")) {
57  HFEMB_ = LongShortCut_.getParameter<bool>("HcalFeatureHFEMBit");
58  MinLongEnergy_ = LongShortCut_.getParameter<double>("Min_Long_Energy"); //minimum long energy
59  MinShortEnergy_ = LongShortCut_.getParameter<double>("Min_Short_Energy"); //minimum short energy
61  LongShortCut_.getParameter<double>("Long_vrs_Short_Slope"); //slope of the line that cuts are based on
62  LongShortOffset_ = LongShortCut_.getParameter<double>("Long_Short_Offset"); //offset of line
63  }
64  tok_tpgCoder_ = esConsumes<HcalTPGCoder, HcalTPGRecord>();
65  tok_tpgTranscoder_ = esConsumes<CaloTPGTranscoder, CaloTPGRecord>();
66  tok_lutMetadata_ = esConsumes<HcalLutMetadata, HcalLutMetadataRcd>();
67  tok_trigTowerGeom_ = esConsumes<HcalTrigTowerGeometry, CaloGeometryRecord>();
68  tok_hcalTopo_ = esConsumes<HcalTopology, HcalRecNumberingRecord, edm::Transition::BeginRun>();
69 
70  // register for data access
72  tok_raw_ = consumes<FEDRawDataCollection>(inputTagFEDRaw_);
73  }
74 
75  if (legacy_) {
76  tok_hbhe_ = consumes<HBHEDigiCollection>(inputLabel_[0]);
77  tok_hf_ = consumes<HFDigiCollection>(inputLabel_[1]);
78  }
79 
80  if (upgrade_) {
81  tok_hbhe_up_ = consumes<QIE11DigiCollection>(inputUpgradeLabel_[0]);
82  tok_hf_up_ = consumes<QIE10DigiCollection>(inputUpgradeLabel_[1]);
83  }
84  tok_dbService_ = esConsumes<HcalDbService, HcalDbRecord>();
85  tok_dbService_beginRun_ = esConsumes<HcalDbService, HcalDbRecord, edm::Transition::BeginRun>();
86  produces<HcalTrigPrimDigiCollection>();
87  theAlgo_.setPeakFinderAlgorithm(ps.getParameter<int>("PeakFinderAlgorithm"));
88 
89  edm::ParameterSet hfSS = ps.getParameter<edm::ParameterSet>("tpScales").getParameter<edm::ParameterSet>("HF");
90 
91  theAlgo_.setNCTScaleShift(hfSS.getParameter<int>("NCTShift"));
92  theAlgo_.setRCTScaleShift(hfSS.getParameter<int>("RCTShift"));
93 }
94 
97  const HcalTopology* topo = &eventSetup.getData(tok_hcalTopo_);
98 
99  const HcalElectronicsMap* emap = db->getHcalMapping();
100 
101  int lastHERing = topo->lastHERing();
102  int lastHBRing = topo->lastHBRing();
103 
104  // First, determine if we should configure for the filter scheme
105  // Check the tp version to make this determination
106  bool foundHB = false;
107  bool foundHE = false;
108  bool newHBtp = false;
109  bool newHEtp = false;
110  std::vector<HcalElectronicsId> vIds = emap->allElectronicsIdTrigger();
111  for (std::vector<HcalElectronicsId>::const_iterator eId = vIds.begin(); eId != vIds.end(); eId++) {
112  // The first HB or HE id is enough to tell whether to use new scheme in HB or HE
113  if (foundHB and foundHE)
114  break;
115 
116  HcalTrigTowerDetId hcalTTDetId(emap->lookupTrigger(*eId));
117  if (hcalTTDetId.null())
118  continue;
119 
120  int aieta = abs(hcalTTDetId.ieta());
121  int tp_version = hcalTTDetId.version();
122 
123  if (aieta <= lastHBRing) {
124  foundHB = true;
125  if (tp_version > 1)
126  newHBtp = true;
127  } else if (aieta > lastHBRing and aieta < lastHERing) {
128  foundHE = true;
129  if (tp_version > 1)
130  newHEtp = true;
131  }
132  }
133 
134  std::vector<HcalElectronicsId> eIds = emap->allElectronicsIdPrecision();
135  for (std::vector<HcalElectronicsId>::const_iterator eId = eIds.begin(); eId != eIds.end(); eId++) {
136  HcalGenericDetId gid(emap->lookup(*eId));
137  if (gid.null() or (gid.genericSubdet() != HcalGenericDetId::HcalGenBarrel and
138  gid.genericSubdet() != HcalGenericDetId::HcalGenEndcap))
139  continue;
140 
141  HcalDetId hcalDetId(emap->lookup(*eId));
142  if (hcalDetId.null())
143  continue;
144 
145  int aieta = abs(hcalDetId.ieta());
146 
147  // Do not let ieta 29 in the map
148  // If the aieta already has a weight in the map, then move on
149  if (aieta < lastHERing) {
150  // Filter weight represented in fixed point 8 bit
151  int fixedPointWeight = db->getHcalTPChannelParameter(hcalDetId)->getauxi1();
152 
153  if (aieta <= lastHBRing) {
154  // Fix number of filter presamples to one if we are using DB weights
155  // Size of filter is already known when using DB weights
156  // Weight from DB represented as 8-bit integer
158  if (newHBtp) {
160  theAlgo_.setWeightQIE11(aieta, -static_cast<double>(fixedPointWeight) / 256.0);
161  } else {
163  theAlgo_.setWeightQIE11(aieta, 1.0);
164  }
165  }
166  } else if (aieta > lastHBRing) {
168  if (newHEtp) {
170  theAlgo_.setWeightQIE11(aieta, -static_cast<double>(fixedPointWeight) / 256.0);
171  } else {
173  theAlgo_.setWeightQIE11(aieta, 1.0);
174  }
175  }
176  }
177  }
178  }
179 }
180 
182  // Step A: get the conditions, for the decoding
183  edm::ESHandle<HcalTPGCoder> inputCoder = eventSetup.getHandle(tok_tpgCoder_);
184 
186 
188  float rctlsb = lutMetadata->getRctLsb();
189 
191 
192  // Step B: Create empty output
193  std::unique_ptr<HcalTrigPrimDigiCollection> result(new HcalTrigPrimDigiCollection());
194 
197 
200 
201  if (legacy_) {
202  iEvent.getByToken(tok_hbhe_, hbheDigis);
203  iEvent.getByToken(tok_hf_, hfDigis);
204 
205  // protect here against missing input collections
206  // there is no protection in HcalTriggerPrimitiveAlgo
207 
208  if (!hbheDigis.isValid() and legacy_) {
209  edm::LogInfo("HcalTrigPrimDigiProducer") << "\nWarning: HBHEDigiCollection with input tag " << inputLabel_[0]
210  << "\nrequested in configuration, but not found in the event."
211  << "\nQuit returning empty product." << std::endl;
212 
213  // put empty HcalTrigPrimDigiCollection in the event
214  iEvent.put(std::move(result));
215 
216  return;
217  }
218 
219  if (!hfDigis.isValid() and legacy_) {
220  edm::LogInfo("HcalTrigPrimDigiProducer") << "\nWarning: HFDigiCollection with input tag " << inputLabel_[1]
221  << "\nrequested in configuration, but not found in the event."
222  << "\nQuit returning empty product." << std::endl;
223 
224  // put empty HcalTrigPrimDigiCollection in the event
225  iEvent.put(std::move(result));
226 
227  return;
228  }
229  }
230 
231  if (upgrade_) {
232  iEvent.getByToken(tok_hbhe_up_, hbheUpDigis);
233  iEvent.getByToken(tok_hf_up_, hfUpDigis);
234 
235  if (!hbheUpDigis.isValid() and upgrade_) {
236  edm::LogInfo("HcalTrigPrimDigiProducer")
237  << "\nWarning: Upgrade HBHEDigiCollection with input tag " << inputUpgradeLabel_[0]
238  << "\nrequested in configuration, but not found in the event."
239  << "\nQuit returning empty product." << std::endl;
240 
241  // put empty HcalTrigPrimDigiCollection in the event
242  iEvent.put(std::move(result));
243 
244  return;
245  }
246 
247  if (!hfUpDigis.isValid() and upgrade_) {
248  edm::LogInfo("HcalTrigPrimDigiProducer") << "\nWarning: HFDigiCollection with input tag " << inputUpgradeLabel_[1]
249  << "\nrequested in configuration, but not found in the event."
250  << "\nQuit returning empty product." << std::endl;
251 
252  // put empty HcalTrigPrimDigiCollection in the event
253  iEvent.put(std::move(result));
254 
255  return;
256  }
257  }
258 
260 
261  HcalFeatureBit* hfembit = nullptr;
262 
263  if (HFEMB_) {
264  hfembit = new HcalFeatureHFEMBit(MinShortEnergy_,
268  *pSetup); //inputs values that cut will be based on
269  }
270 
271  // Step C: Invoke the algorithm, passing in inputs and getting back outputs.
272  if (legacy_ and not upgrade_) {
273  theAlgo_.run(inputCoder.product(),
274  outTranscoder->getHcalCompressor().get(),
275  pSetup.product(),
276  *result,
277  &(*pG),
278  rctlsb,
279  hfembit,
280  *hbheDigis,
281  *hfDigis);
282  } else if (legacy_ and upgrade_) {
283  theAlgo_.run(inputCoder.product(),
284  outTranscoder->getHcalCompressor().get(),
285  pSetup.product(),
286  *result,
287  &(*pG),
288  rctlsb,
289  hfembit,
290  *hbheDigis,
291  *hfDigis,
292  *hbheUpDigis,
293  *hfUpDigis);
294  } else {
295  theAlgo_.run(inputCoder.product(),
296  outTranscoder->getHcalCompressor().get(),
297  pSetup.product(),
298  *result,
299  &(*pG),
300  rctlsb,
301  hfembit,
302  *hbheUpDigis,
303  *hfUpDigis);
304  }
305 
306  // Step C.1: Run FE Format Error / ZS for real data.
308  const HcalElectronicsMap* emap = pSetup->getHcalMapping();
309 
311  iEvent.getByToken(tok_raw_, fedHandle);
312 
313  if (fedHandle.isValid() && emap != nullptr) {
314  theAlgo_.runFEFormatError(fedHandle.product(), emap, *result);
315  } else {
316  edm::LogInfo("HcalTrigPrimDigiProducer") << "\nWarning: FEDRawDataCollection with input tag " << inputTagFEDRaw_
317  << "\nrequested in configuration, but not found in the event."
318  << "\nQuit returning empty product." << std::endl;
319 
320  // produce empty HcalTrigPrimDigiCollection and put it in the event
321  std::unique_ptr<HcalTrigPrimDigiCollection> emptyResult(new HcalTrigPrimDigiCollection());
322 
323  iEvent.put(std::move(emptyResult));
324 
325  return;
326  }
327  }
328 
329  if (runZS_)
331 
332  // edm::LogInfo("HcalTrigPrimDigiProducer") << "HcalTrigPrims: " << result->size();
333 
334  // Step D: Put outputs into event
335  iEvent.put(std::move(result));
336 }
HcalTrigPrimDigiProducer::runZS_
bool runZS_
Definition: HcalTrigPrimDigiProducer.h:57
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
HFDataFrame.h
Handle.h
electrons_cff.bool
bool
Definition: electrons_cff.py:366
MessageLogger.h
HcalTrigPrimDigiProducer::theAlgo_
HcalTriggerPrimitiveAlgo theAlgo_
Definition: HcalTrigPrimDigiProducer.h:37
edm::Handle::product
T const * product() const
Definition: Handle.h:70
ESHandle.h
HcalTriggerPrimitiveAlgo::overrideParameters
void overrideParameters(const edm::ParameterSet &ps)
Definition: HcalTriggerPrimitiveAlgo.cc:79
HcalTrigPrimDigiProducer::tok_hcalTopo_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_hcalTopo_
Definition: HcalTrigPrimDigiProducer.h:70
HcalGenericDetId
Definition: HcalGenericDetId.h:15
HcalTrigPrimDigiProducer::tok_hf_up_
edm::EDGetTokenT< QIE10DigiCollection > tok_hf_up_
Definition: HcalTrigPrimDigiProducer.h:44
hcaltpdigi_cfi.HcalFeatureHFEMBit
HcalFeatureHFEMBit
Definition: hcaltpdigi_cfi.py:9
edm::Run
Definition: Run.h:45
HcalTrigPrimDigiProducer::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: HcalTrigPrimDigiProducer.cc:95
HcalTriggerPrimitiveAlgo::run
void run(const HcalTPGCoder *incoder, const HcalTPGCompressor *outcoder, const HcalDbService *conditions, HcalTrigPrimDigiCollection &result, const HcalTrigTowerGeometry *trigTowerGeometry, float rctlsb, const HcalFeatureBit *LongvrsShortCut, const Digis &... digis)
Definition: HcalTriggerPrimitiveAlgo.h:236
edm
HLT enums.
Definition: AlignableModifier.h:19
HcalTriggerPrimitiveAlgo::setUpgradeFlags
void setUpgradeFlags(bool hb, bool he, bool hf)
Definition: HcalTriggerPrimitiveAlgo.cc:73
HcalTriggerPrimitiveAlgo::setWeightsQIE11
void setWeightsQIE11(const edm::ParameterSet &weightsQIE11)
Definition: HcalTriggerPrimitiveAlgo.cc:859
HcalTrigPrimDigiProducer::tok_hbhe_up_
edm::EDGetTokenT< QIE11DigiCollection > tok_hbhe_up_
Definition: HcalTrigPrimDigiProducer.h:43
HcalTopology
Definition: HcalTopology.h:26
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89285
HcalTPChannelParameters.h
HcalGenericDetId::HcalGenEndcap
Definition: HcalGenericDetId.h:20
HcalTrigPrimDigiProducer::MinLongEnergy_
double MinLongEnergy_
Definition: HcalTrigPrimDigiProducer.h:55
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HcalTriggerPrimitiveAlgo::setNCTScaleShift
void setNCTScaleShift(int)
Definition: HcalTriggerPrimitiveAlgo.cc:881
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
HcalTPGCompressor.h
HcalTrigPrimDigiProducer::LongShortSlope_
double LongShortSlope_
Definition: HcalTrigPrimDigiProducer.h:55
edm::Handle
Definition: AssociativeIterator.h:50
HcalTriggerPrimitiveAlgo::setNumFilterPresamplesHEQIE11
void setNumFilterPresamplesHEQIE11(int presamples)
Definition: HcalTriggerPrimitiveAlgo.h:87
HcalTriggerPrimitiveAlgo::setWeightQIE11
void setWeightQIE11(int aieta, double weight)
Definition: HcalTriggerPrimitiveAlgo.cc:869
HcalDbService::getHcalMapping
const HcalElectronicsMap * getHcalMapping() const
Definition: HcalDbService.cc:343
HcalTriggerPrimitiveDigi.h
CaloTPGTranscoder::getHcalCompressor
std::shared_ptr< const HcalTPGCompressor > getHcalCompressor() const
Definition: CaloTPGTranscoder.h:55
HcalElectronicsMap::lookupTrigger
const DetId lookupTrigger(HcalElectronicsId fId) const
brief lookup the trigger logical detid associated with the given electronics id
Definition: HcalElectronicsMap.cc:80
dqmiodatasetharvest.db
db
Definition: dqmiodatasetharvest.py:119
HcalTrigPrimDigiProducer.h
HcalTriggerPrimitiveAlgo::setRCTScaleShift
void setRCTScaleShift(int)
Definition: HcalTriggerPrimitiveAlgo.cc:883
MakerMacros.h
HcalLutMetadata::getRctLsb
float getRctLsb() const
Definition: HcalLutMetadata.h:25
HcalTrigPrimDigiProducer::tok_hbhe_
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
Definition: HcalTrigPrimDigiProducer.h:46
mps_fire.end
end
Definition: mps_fire.py:242
HcalTrigPrimDigiProducer::tok_raw_
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
Definition: HcalTrigPrimDigiProducer.h:54
edm::ESHandle< HcalDbService >
HcalTrigPrimDigiProducer::MinShortEnergy_
double MinShortEnergy_
Definition: HcalTrigPrimDigiProducer.h:55
HcalElectronicsMap::allElectronicsIdTrigger
std::vector< HcalElectronicsId > allElectronicsIdTrigger() const
Definition: HcalElectronicsMap.cc:130
HcalTriggerPrimitiveAlgo::runZS
void runZS(HcalTrigPrimDigiCollection &tp)
Definition: HcalTriggerPrimitiveAlgo.cc:714
HcalTrigPrimDigiProducer::runFrontEndFormatError_
bool runFrontEndFormatError_
Definition: HcalTrigPrimDigiProducer.h:59
HcalTrigPrimDigiProducer::inputTagFEDRaw_
edm::InputTag inputTagFEDRaw_
input tag for FEDRawDataCollection
Definition: HcalTrigPrimDigiProducer.h:53
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
HcalTrigPrimDigiProducer::tok_dbService_
edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbService_
Definition: HcalTrigPrimDigiProducer.h:71
edm::ParameterSet
Definition: ParameterSet.h:47
a
double a
Definition: hdecay.h:119
HcalTrigPrimDigiProducer::HcalTrigPrimDigiProducer
HcalTrigPrimDigiProducer(const edm::ParameterSet &ps)
Definition: HcalTrigPrimDigiProducer.cc:17
Event.h
HcalTrigPrimDigiProducer::LongShortCut_
edm::ParameterSet LongShortCut_
Definition: HcalTrigPrimDigiProducer.h:65
HcalTriggerPrimitiveAlgo::setNumFilterPresamplesHBQIE11
void setNumFilterPresamplesHBQIE11(int presamples)
Definition: HcalTriggerPrimitiveAlgo.h:85
HcalTrigPrimDigiProducer::tok_trigTowerGeom_
edm::ESGetToken< HcalTrigTowerGeometry, CaloGeometryRecord > tok_trigTowerGeom_
Definition: HcalTrigPrimDigiProducer.h:69
HcalDetId
Definition: HcalDetId.h:12
createfilelist.int
int
Definition: createfilelist.py:10
HcalTrigPrimDigiProducer::inputUpgradeLabel_
std::vector< edm::InputTag > inputUpgradeLabel_
Definition: HcalTrigPrimDigiProducer.h:41
iEvent
int iEvent
Definition: GenABIO.cc:224
HcalTrigPrimDigiProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: HcalTrigPrimDigiProducer.cc:181
HcalTrigPrimDigiProducer::tok_dbService_beginRun_
edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbService_beginRun_
Definition: HcalTrigPrimDigiProducer.h:72
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:155
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
HcalFeatureBit
Definition: HcalFeatureBit.h:8
HcalGenericDetId::HcalGenBarrel
Definition: HcalGenericDetId.h:19
edm::EventSetup
Definition: EventSetup.h:58
HcalTopology::lastHERing
int lastHERing() const
Definition: HcalTopology.h:94
HcalElectronicsMap::allElectronicsIdPrecision
std::vector< HcalElectronicsId > allElectronicsIdPrecision() const
Definition: HcalElectronicsMap.cc:122
HcalTrigPrimDigiProducer::legacy_
bool legacy_
Definition: HcalTrigPrimDigiProducer.h:62
HcalTrigPrimDigiProducer::inputLabel_
std::vector< edm::InputTag > inputLabel_
input tags for HCAL digis
Definition: HcalTrigPrimDigiProducer.h:40
HcalTrigPrimDigiProducer::LongShortOffset_
double LongShortOffset_
Definition: HcalTrigPrimDigiProducer.h:55
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
HcalTrigPrimDigiProducer::HFEMB_
bool HFEMB_
Definition: HcalTrigPrimDigiProducer.h:64
HcalElectronicsMap
Definition: HcalElectronicsMap.h:31
HcalTrigPrimDigiProducer::tok_tpgTranscoder_
edm::ESGetToken< CaloTPGTranscoder, CaloTPGRecord > tok_tpgTranscoder_
Definition: HcalTrigPrimDigiProducer.h:67
HcalTrigPrimDigiProducer::upgrade_
bool upgrade_
Definition: HcalTrigPrimDigiProducer.h:61
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
writedatasetfile.run
run
Definition: writedatasetfile.py:27
HcalTriggerPrimitiveAlgo::setPeakFinderAlgorithm
void setPeakFinderAlgorithm(int algo)
Definition: HcalTriggerPrimitiveAlgo.cc:875
HcalElectronicsMap::lookup
const DetId lookup(HcalElectronicsId fId) const
lookup the logical detid associated with the given electronics id
Definition: HcalElectronicsMap.cc:70
HcalTrigPrimDigiProducer::tok_tpgCoder_
edm::ESGetToken< HcalTPGCoder, HcalTPGRecord > tok_tpgCoder_
Definition: HcalTrigPrimDigiProducer.h:66
HcalTrigPrimDigiProducer::tok_hf_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
Definition: HcalTrigPrimDigiProducer.h:47
HcalTrigPrimDigiProducer::tok_lutMetadata_
edm::ESGetToken< HcalLutMetadata, HcalLutMetadataRcd > tok_lutMetadata_
Definition: HcalTrigPrimDigiProducer.h:68
EventSetup.h
or
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HcalTriggerPrimitiveAlgo::runFEFormatError
void runFEFormatError(const FEDRawDataCollection *rawraw, const HcalElectronicsMap *emap, HcalTrigPrimDigiCollection &result)
Definition: HcalTriggerPrimitiveAlgo.cc:730
mps_fire.result
result
Definition: mps_fire.py:311
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
ParameterSet.h
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::Event
Definition: Event.h:73
HcalTrigPrimDigiProducer::overrideDBweightsAndFilterHB_
bool overrideDBweightsAndFilterHB_
Definition: HcalTrigPrimDigiProducer.h:50
HcalTrigPrimDigiCollection
edm::SortedCollection< HcalTriggerPrimitiveDigi > HcalTrigPrimDigiCollection
Definition: HcalDigiCollections.h:24
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
HcalTrigPrimDigiProducer::overrideDBweightsAndFilterHE_
bool overrideDBweightsAndFilterHE_
Definition: HcalTrigPrimDigiProducer.h:49
HBHEDataFrame.h
HcalTopology::lastHBRing
int lastHBRing() const
Definition: HcalTopology.h:92
HcalTrigTowerDetId
Definition: HcalTrigTowerDetId.h:14