CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HcalTrigPrimDigiProducer Class Reference

#include <HcalTrigPrimDigiProducer.h>

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

Public Member Functions

 HcalTrigPrimDigiProducer (const edm::ParameterSet &ps)
 
void produce (edm::Event &e, const edm::EventSetup &c) override
 
 ~HcalTrigPrimDigiProducer () 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
 

Private Attributes

bool HFEMB_
 
std::vector< edm::InputTaginputLabel_
 input tags for HCAL digis More...
 
edm::InputTag inputTagFEDRaw_
 input tag for FEDRawDataCollection More...
 
std::vector< edm::InputTaginputUpgradeLabel_
 
bool legacy_
 
edm::ParameterSet LongShortCut_
 
double LongShortOffset_
 
double LongShortSlope_
 
double MinLongEnergy_
 
double MinShortEnergy_
 
bool runFrontEndFormatError_
 
bool runZS_
 
HcalTriggerPrimitiveAlgo theAlgo_
 
edm::ESGetToken< HcalDbService, HcalDbRecordtok_dbService_
 
edm::EDGetTokenT< HBHEDigiCollectiontok_hbhe_
 
edm::EDGetTokenT< QIE11DigiCollectiontok_hbhe_up_
 
edm::EDGetTokenT< HFDigiCollectiontok_hf_
 
edm::EDGetTokenT< QIE10DigiCollectiontok_hf_up_
 
edm::ESGetToken< HcalLutMetadata, HcalLutMetadataRcdtok_lutMetadata_
 
edm::EDGetTokenT< FEDRawDataCollectiontok_raw_
 
edm::ESGetToken< HcalTPGCoder, HcalTPGRecordtok_tpgCoder_
 
edm::ESGetToken< CaloTPGTranscoder, CaloTPGRecordtok_tpgTranscoder_
 
edm::ESGetToken< HcalTrigTowerGeometry, CaloGeometryRecordtok_trigTowerGeom_
 
bool upgrade_
 

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

Definition at line 23 of file HcalTrigPrimDigiProducer.h.

Constructor & Destructor Documentation

◆ HcalTrigPrimDigiProducer()

HcalTrigPrimDigiProducer::HcalTrigPrimDigiProducer ( const edm::ParameterSet ps)
explicit

Definition at line 17 of file HcalTrigPrimDigiProducer.cc.

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  if (ps.exists("parameters")) {
44  auto pset = ps.getUntrackedParameter<edm::ParameterSet>("parameters");
46  }
47  theAlgo_.setUpgradeFlags(upgrades[0], upgrades[1], upgrades[2]);
49 
50  HFEMB_ = false;
51  if (ps.exists("LSConfig")) {
53  HFEMB_ = LongShortCut_.getParameter<bool>("HcalFeatureHFEMBit");
54  MinLongEnergy_ = LongShortCut_.getParameter<double>("Min_Long_Energy"); //minimum long energy
55  MinShortEnergy_ = LongShortCut_.getParameter<double>("Min_Short_Energy"); //minimum short energy
57  LongShortCut_.getParameter<double>("Long_vrs_Short_Slope"); //slope of the line that cuts are based on
58  LongShortOffset_ = LongShortCut_.getParameter<double>("Long_Short_Offset"); //offset of line
59  }
60  tok_tpgCoder_ = esConsumes<HcalTPGCoder, HcalTPGRecord>();
61  tok_tpgTranscoder_ = esConsumes<CaloTPGTranscoder, CaloTPGRecord>();
62  tok_lutMetadata_ = esConsumes<HcalLutMetadata, HcalLutMetadataRcd>();
63  tok_trigTowerGeom_ = esConsumes<HcalTrigTowerGeometry, CaloGeometryRecord>();
64  // register for data access
66  tok_raw_ = consumes<FEDRawDataCollection>(inputTagFEDRaw_);
67  }
68 
69  if (legacy_) {
70  tok_hbhe_ = consumes<HBHEDigiCollection>(inputLabel_[0]);
71  tok_hf_ = consumes<HFDigiCollection>(inputLabel_[1]);
72  }
73 
74  if (upgrade_) {
75  tok_hbhe_up_ = consumes<QIE11DigiCollection>(inputUpgradeLabel_[0]);
76  tok_hf_up_ = consumes<QIE10DigiCollection>(inputUpgradeLabel_[1]);
77  }
78  tok_dbService_ = esConsumes<HcalDbService, HcalDbRecord>();
79  produces<HcalTrigPrimDigiCollection>();
80  theAlgo_.setPeakFinderAlgorithm(ps.getParameter<int>("PeakFinderAlgorithm"));
81 
82  edm::ParameterSet hfSS = ps.getParameter<edm::ParameterSet>("tpScales").getParameter<edm::ParameterSet>("HF");
83 
84  theAlgo_.setNCTScaleShift(hfSS.getParameter<int>("NCTShift"));
85  theAlgo_.setRCTScaleShift(hfSS.getParameter<int>("RCTShift"));
86 }

References a, mps_fire::end, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HFEMB_, inputLabel_, inputTagFEDRaw_, inputUpgradeLabel_, legacy_, LongShortCut_, LongShortOffset_, LongShortSlope_, MinLongEnergy_, MinShortEnergy_, HcalTriggerPrimitiveAlgo::overrideParameters(), muonDTDigis_cfi::pset, runFrontEndFormatError_, HcalTriggerPrimitiveAlgo::setNCTScaleShift(), HcalTriggerPrimitiveAlgo::setPeakFinderAlgorithm(), HcalTriggerPrimitiveAlgo::setRCTScaleShift(), HcalTriggerPrimitiveAlgo::setUpgradeFlags(), HcalTriggerPrimitiveAlgo::setWeightsQIE11(), theAlgo_, tok_dbService_, tok_hbhe_, tok_hbhe_up_, tok_hf_, tok_hf_up_, tok_lutMetadata_, tok_raw_, tok_tpgCoder_, tok_tpgTranscoder_, tok_trigTowerGeom_, and upgrade_.

◆ ~HcalTrigPrimDigiProducer()

HcalTrigPrimDigiProducer::~HcalTrigPrimDigiProducer ( )
inlineoverride

Definition at line 26 of file HcalTrigPrimDigiProducer.h.

26 {}

Member Function Documentation

◆ produce()

void HcalTrigPrimDigiProducer::produce ( edm::Event e,
const edm::EventSetup c 
)
override

Produces the EDM products,

Definition at line 88 of file HcalTrigPrimDigiProducer.cc.

88  {
89  // Step A: get the conditions, for the decoding
90  edm::ESHandle<HcalTPGCoder> inputCoder = eventSetup.getHandle(tok_tpgCoder_);
91 
92  edm::ESHandle<CaloTPGTranscoder> outTranscoder = eventSetup.getHandle(tok_tpgTranscoder_);
93 
94  edm::ESHandle<HcalLutMetadata> lutMetadata = eventSetup.getHandle(tok_lutMetadata_);
95  float rctlsb = lutMetadata->getRctLsb();
96 
98 
99  // Step B: Create empty output
100  std::unique_ptr<HcalTrigPrimDigiCollection> result(new HcalTrigPrimDigiCollection());
101 
104 
107 
108  if (legacy_) {
109  iEvent.getByToken(tok_hbhe_, hbheDigis);
110  iEvent.getByToken(tok_hf_, hfDigis);
111 
112  // protect here against missing input collections
113  // there is no protection in HcalTriggerPrimitiveAlgo
114 
115  if (!hbheDigis.isValid() and legacy_) {
116  edm::LogInfo("HcalTrigPrimDigiProducer") << "\nWarning: HBHEDigiCollection with input tag " << inputLabel_[0]
117  << "\nrequested in configuration, but not found in the event."
118  << "\nQuit returning empty product." << std::endl;
119 
120  // put empty HcalTrigPrimDigiCollection in the event
121  iEvent.put(std::move(result));
122 
123  return;
124  }
125 
126  if (!hfDigis.isValid() and legacy_) {
127  edm::LogInfo("HcalTrigPrimDigiProducer") << "\nWarning: HFDigiCollection with input tag " << inputLabel_[1]
128  << "\nrequested in configuration, but not found in the event."
129  << "\nQuit returning empty product." << std::endl;
130 
131  // put empty HcalTrigPrimDigiCollection in the event
132  iEvent.put(std::move(result));
133 
134  return;
135  }
136  }
137 
138  if (upgrade_) {
139  iEvent.getByToken(tok_hbhe_up_, hbheUpDigis);
140  iEvent.getByToken(tok_hf_up_, hfUpDigis);
141 
142  if (!hbheUpDigis.isValid() and upgrade_) {
143  edm::LogInfo("HcalTrigPrimDigiProducer")
144  << "\nWarning: Upgrade HBHEDigiCollection with input tag " << inputUpgradeLabel_[0]
145  << "\nrequested in configuration, but not found in the event."
146  << "\nQuit returning empty product." << std::endl;
147 
148  // put empty HcalTrigPrimDigiCollection in the event
149  iEvent.put(std::move(result));
150 
151  return;
152  }
153 
154  if (!hfUpDigis.isValid() and upgrade_) {
155  edm::LogInfo("HcalTrigPrimDigiProducer") << "\nWarning: HFDigiCollection with input tag " << inputUpgradeLabel_[1]
156  << "\nrequested in configuration, but not found in the event."
157  << "\nQuit returning empty product." << std::endl;
158 
159  // put empty HcalTrigPrimDigiCollection in the event
160  iEvent.put(std::move(result));
161 
162  return;
163  }
164  }
165 
166  edm::ESHandle<HcalDbService> pSetup = eventSetup.getHandle(tok_dbService_);
167 
168  HcalFeatureBit* hfembit = nullptr;
169 
170  if (HFEMB_) {
171  hfembit = new HcalFeatureHFEMBit(MinShortEnergy_,
175  *pSetup); //inputs values that cut will be based on
176  }
177 
178  // Step C: Invoke the algorithm, passing in inputs and getting back outputs.
179  if (legacy_ and not upgrade_) {
180  theAlgo_.run(inputCoder.product(),
181  outTranscoder->getHcalCompressor().get(),
182  pSetup.product(),
183  *result,
184  &(*pG),
185  rctlsb,
186  hfembit,
187  *hbheDigis,
188  *hfDigis);
189  } else if (legacy_ and upgrade_) {
190  theAlgo_.run(inputCoder.product(),
191  outTranscoder->getHcalCompressor().get(),
192  pSetup.product(),
193  *result,
194  &(*pG),
195  rctlsb,
196  hfembit,
197  *hbheDigis,
198  *hfDigis,
199  *hbheUpDigis,
200  *hfUpDigis);
201  } else {
202  theAlgo_.run(inputCoder.product(),
203  outTranscoder->getHcalCompressor().get(),
204  pSetup.product(),
205  *result,
206  &(*pG),
207  rctlsb,
208  hfembit,
209  *hbheUpDigis,
210  *hfUpDigis);
211  }
212 
213  // Step C.1: Run FE Format Error / ZS for real data.
215  const HcalElectronicsMap* emap = pSetup->getHcalMapping();
216 
218  iEvent.getByToken(tok_raw_, fedHandle);
219 
220  if (fedHandle.isValid() && emap != nullptr) {
221  theAlgo_.runFEFormatError(fedHandle.product(), emap, *result);
222  } else {
223  edm::LogInfo("HcalTrigPrimDigiProducer") << "\nWarning: FEDRawDataCollection with input tag " << inputTagFEDRaw_
224  << "\nrequested in configuration, but not found in the event."
225  << "\nQuit returning empty product." << std::endl;
226 
227  // produce empty HcalTrigPrimDigiCollection and put it in the event
228  std::unique_ptr<HcalTrigPrimDigiCollection> emptyResult(new HcalTrigPrimDigiCollection());
229 
230  iEvent.put(std::move(emptyResult));
231 
232  return;
233  }
234  }
235 
236  if (runZS_)
238 
239  // edm::LogInfo("HcalTrigPrimDigiProducer") << "HcalTrigPrims: " << result->size();
240 
241  // Step D: Put outputs into event
242  iEvent.put(std::move(result));
243 }

References edm::EventSetup::getHandle(), CaloTPGTranscoder::getHcalCompressor(), HcalDbService::getHcalMapping(), HcalLutMetadata::getRctLsb(), hcaltpdigi_cfi::HcalFeatureHFEMBit, HFEMB_, iEvent, inputLabel_, inputTagFEDRaw_, inputUpgradeLabel_, edm::HandleBase::isValid(), legacy_, LongShortOffset_, LongShortSlope_, MinLongEnergy_, MinShortEnergy_, eostools::move(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), mps_fire::result, HcalTriggerPrimitiveAlgo::run(), HcalTriggerPrimitiveAlgo::runFEFormatError(), runFrontEndFormatError_, HcalTriggerPrimitiveAlgo::runZS(), runZS_, theAlgo_, tok_dbService_, tok_hbhe_, tok_hbhe_up_, tok_hf_, tok_hf_up_, tok_lutMetadata_, tok_raw_, tok_tpgCoder_, tok_tpgTranscoder_, tok_trigTowerGeom_, and upgrade_.

Member Data Documentation

◆ HFEMB_

bool HcalTrigPrimDigiProducer::HFEMB_
private

Definition at line 56 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ inputLabel_

std::vector<edm::InputTag> HcalTrigPrimDigiProducer::inputLabel_
private

input tags for HCAL digis

Definition at line 35 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ inputTagFEDRaw_

edm::InputTag HcalTrigPrimDigiProducer::inputTagFEDRaw_
private

input tag for FEDRawDataCollection

Definition at line 45 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ inputUpgradeLabel_

std::vector<edm::InputTag> HcalTrigPrimDigiProducer::inputUpgradeLabel_
private

Definition at line 36 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ legacy_

bool HcalTrigPrimDigiProducer::legacy_
private

Definition at line 54 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ LongShortCut_

edm::ParameterSet HcalTrigPrimDigiProducer::LongShortCut_
private

Definition at line 57 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer().

◆ LongShortOffset_

double HcalTrigPrimDigiProducer::LongShortOffset_
private

Definition at line 47 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ LongShortSlope_

double HcalTrigPrimDigiProducer::LongShortSlope_
private

Definition at line 47 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ MinLongEnergy_

double HcalTrigPrimDigiProducer::MinLongEnergy_
private

Definition at line 47 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ MinShortEnergy_

double HcalTrigPrimDigiProducer::MinShortEnergy_
private

Definition at line 47 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ runFrontEndFormatError_

bool HcalTrigPrimDigiProducer::runFrontEndFormatError_
private

Definition at line 51 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ runZS_

bool HcalTrigPrimDigiProducer::runZS_
private

Definition at line 49 of file HcalTrigPrimDigiProducer.h.

Referenced by produce().

◆ theAlgo_

HcalTriggerPrimitiveAlgo HcalTrigPrimDigiProducer::theAlgo_
private

Definition at line 32 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_dbService_

edm::ESGetToken<HcalDbService, HcalDbRecord> HcalTrigPrimDigiProducer::tok_dbService_
private

Definition at line 62 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_hbhe_

edm::EDGetTokenT<HBHEDigiCollection> HcalTrigPrimDigiProducer::tok_hbhe_
private

Definition at line 41 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_hbhe_up_

edm::EDGetTokenT<QIE11DigiCollection> HcalTrigPrimDigiProducer::tok_hbhe_up_
private

Definition at line 38 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_hf_

edm::EDGetTokenT<HFDigiCollection> HcalTrigPrimDigiProducer::tok_hf_
private

Definition at line 42 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_hf_up_

edm::EDGetTokenT<QIE10DigiCollection> HcalTrigPrimDigiProducer::tok_hf_up_
private

Definition at line 39 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_lutMetadata_

edm::ESGetToken<HcalLutMetadata, HcalLutMetadataRcd> HcalTrigPrimDigiProducer::tok_lutMetadata_
private

Definition at line 60 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_raw_

edm::EDGetTokenT<FEDRawDataCollection> HcalTrigPrimDigiProducer::tok_raw_
private

Definition at line 46 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_tpgCoder_

edm::ESGetToken<HcalTPGCoder, HcalTPGRecord> HcalTrigPrimDigiProducer::tok_tpgCoder_
private

Definition at line 58 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_tpgTranscoder_

edm::ESGetToken<CaloTPGTranscoder, CaloTPGRecord> HcalTrigPrimDigiProducer::tok_tpgTranscoder_
private

Definition at line 59 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_trigTowerGeom_

edm::ESGetToken<HcalTrigTowerGeometry, CaloGeometryRecord> HcalTrigPrimDigiProducer::tok_trigTowerGeom_
private

Definition at line 61 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ upgrade_

bool HcalTrigPrimDigiProducer::upgrade_
private

Definition at line 53 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

HcalTrigPrimDigiProducer::runZS_
bool runZS_
Definition: HcalTrigPrimDigiProducer.h:49
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
HcalTrigPrimDigiProducer::theAlgo_
HcalTriggerPrimitiveAlgo theAlgo_
Definition: HcalTrigPrimDigiProducer.h:32
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HcalTriggerPrimitiveAlgo::overrideParameters
void overrideParameters(const edm::ParameterSet &ps)
Definition: HcalTriggerPrimitiveAlgo.cc:79
HcalTrigPrimDigiProducer::tok_hf_up_
edm::EDGetTokenT< QIE10DigiCollection > tok_hf_up_
Definition: HcalTrigPrimDigiProducer.h:39
hcaltpdigi_cfi.HcalFeatureHFEMBit
HcalFeatureHFEMBit
Definition: hcaltpdigi_cfi.py:9
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:231
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:38
HcalTrigPrimDigiProducer::MinLongEnergy_
double MinLongEnergy_
Definition: HcalTrigPrimDigiProducer.h:47
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HcalTriggerPrimitiveAlgo::setNCTScaleShift
void setNCTScaleShift(int)
Definition: HcalTriggerPrimitiveAlgo.cc:875
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
HcalTrigPrimDigiProducer::LongShortSlope_
double LongShortSlope_
Definition: HcalTrigPrimDigiProducer.h:47
edm::Handle
Definition: AssociativeIterator.h:50
HcalDbService::getHcalMapping
const HcalElectronicsMap * getHcalMapping() const
Definition: HcalDbService.cc:343
CaloTPGTranscoder::getHcalCompressor
std::shared_ptr< const HcalTPGCompressor > getHcalCompressor() const
Definition: CaloTPGTranscoder.h:55
HcalTriggerPrimitiveAlgo::setRCTScaleShift
void setRCTScaleShift(int)
Definition: HcalTriggerPrimitiveAlgo.cc:877
HcalLutMetadata::getRctLsb
float getRctLsb() const
Definition: HcalLutMetadata.h:25
HcalTrigPrimDigiProducer::tok_hbhe_
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
Definition: HcalTrigPrimDigiProducer.h:41
mps_fire.end
end
Definition: mps_fire.py:242
HcalTrigPrimDigiProducer::tok_raw_
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
Definition: HcalTrigPrimDigiProducer.h:46
edm::ESHandle
Definition: DTSurvey.h:22
HcalTrigPrimDigiProducer::MinShortEnergy_
double MinShortEnergy_
Definition: HcalTrigPrimDigiProducer.h:47
HcalTriggerPrimitiveAlgo::runZS
void runZS(HcalTrigPrimDigiCollection &tp)
Definition: HcalTriggerPrimitiveAlgo.cc:714
HcalTrigPrimDigiProducer::runFrontEndFormatError_
bool runFrontEndFormatError_
Definition: HcalTrigPrimDigiProducer.h:51
HcalTrigPrimDigiProducer::inputTagFEDRaw_
edm::InputTag inputTagFEDRaw_
input tag for FEDRawDataCollection
Definition: HcalTrigPrimDigiProducer.h:45
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:62
edm::ParameterSet
Definition: ParameterSet.h:47
a
double a
Definition: hdecay.h:119
HcalTrigPrimDigiProducer::LongShortCut_
edm::ParameterSet LongShortCut_
Definition: HcalTrigPrimDigiProducer.h:57
HcalTrigPrimDigiProducer::tok_trigTowerGeom_
edm::ESGetToken< HcalTrigTowerGeometry, CaloGeometryRecord > tok_trigTowerGeom_
Definition: HcalTrigPrimDigiProducer.h:61
HcalTrigPrimDigiProducer::inputUpgradeLabel_
std::vector< edm::InputTag > inputUpgradeLabel_
Definition: HcalTrigPrimDigiProducer.h:36
iEvent
int iEvent
Definition: GenABIO.cc:224
HcalFeatureBit
Definition: HcalFeatureBit.h:8
HcalTrigPrimDigiProducer::legacy_
bool legacy_
Definition: HcalTrigPrimDigiProducer.h:54
HcalTrigPrimDigiProducer::inputLabel_
std::vector< edm::InputTag > inputLabel_
input tags for HCAL digis
Definition: HcalTrigPrimDigiProducer.h:35
HcalTrigPrimDigiProducer::LongShortOffset_
double LongShortOffset_
Definition: HcalTrigPrimDigiProducer.h:47
HcalTrigPrimDigiProducer::HFEMB_
bool HFEMB_
Definition: HcalTrigPrimDigiProducer.h:56
HcalElectronicsMap
Definition: HcalElectronicsMap.h:31
HcalTrigPrimDigiProducer::tok_tpgTranscoder_
edm::ESGetToken< CaloTPGTranscoder, CaloTPGRecord > tok_tpgTranscoder_
Definition: HcalTrigPrimDigiProducer.h:59
HcalTrigPrimDigiProducer::upgrade_
bool upgrade_
Definition: HcalTrigPrimDigiProducer.h:53
eostools.move
def move(src, dest)
Definition: eostools.py:511
HcalTriggerPrimitiveAlgo::setPeakFinderAlgorithm
void setPeakFinderAlgorithm(int algo)
Definition: HcalTriggerPrimitiveAlgo.cc:869
HcalTrigPrimDigiProducer::tok_tpgCoder_
edm::ESGetToken< HcalTPGCoder, HcalTPGRecord > tok_tpgCoder_
Definition: HcalTrigPrimDigiProducer.h:58
HcalTrigPrimDigiProducer::tok_hf_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
Definition: HcalTrigPrimDigiProducer.h:42
HcalTrigPrimDigiProducer::tok_lutMetadata_
edm::ESGetToken< HcalLutMetadata, HcalLutMetadataRcd > tok_lutMetadata_
Definition: HcalTrigPrimDigiProducer.h:60
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
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::InputTag
Definition: InputTag.h:15
HcalTrigPrimDigiCollection
edm::SortedCollection< HcalTriggerPrimitiveDigi > HcalTrigPrimDigiCollection
Definition: HcalDigiCollections.h:24
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27