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 hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () 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::EDGetTokenT< HBHEDigiCollectiontok_hbhe_
 
edm::EDGetTokenT< QIE11DigiCollectiontok_hbhe_up_
 
edm::EDGetTokenT< HFDigiCollectiontok_hf_
 
edm::EDGetTokenT< QIE10DigiCollectiontok_hf_up_
 
edm::EDGetTokenT< FEDRawDataCollectiontok_raw_
 
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 12 of file HcalTrigPrimDigiProducer.h.

Constructor & Destructor Documentation

◆ HcalTrigPrimDigiProducer()

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

Definition at line 25 of file HcalTrigPrimDigiProducer.cc.

26  : theAlgo_(ps.getParameter<bool>("peakFilter"),
27  ps.getParameter<std::vector<double> >("weights"),
28  ps.getParameter<int>("latency"),
29  ps.getParameter<uint32_t>("FG_threshold"),
30  ps.getParameter<std::vector<uint32_t> >("FG_HF_thresholds"),
31  ps.getParameter<uint32_t>("ZS_threshold"),
32  ps.getParameter<int>("numberOfSamples"),
33  ps.getParameter<int>("numberOfPresamples"),
34  ps.getParameter<int>("numberOfSamplesHF"),
35  ps.getParameter<int>("numberOfPresamplesHF"),
36  ps.getParameter<bool>("useTDCInMinBiasBits"),
37  ps.getParameter<uint32_t>("MinSignalThreshold"),
38  ps.getParameter<uint32_t>("PMTNoiseThreshold")),
39  inputLabel_(ps.getParameter<std::vector<edm::InputTag> >("inputLabel")),
40  inputUpgradeLabel_(ps.getParameter<std::vector<edm::InputTag> >("inputUpgradeLabel")),
41  inputTagFEDRaw_(ps.getParameter<edm::InputTag>("InputTagFEDRaw")),
42  runZS_(ps.getParameter<bool>("RunZS")),
43  runFrontEndFormatError_(ps.getParameter<bool>("FrontEndFormatError")) {
44  std::vector<bool> upgrades = {
45  ps.getParameter<bool>("upgradeHB"), ps.getParameter<bool>("upgradeHE"), ps.getParameter<bool>("upgradeHF")};
46  upgrade_ = std::any_of(std::begin(upgrades), std::end(upgrades), [](bool a) { return a; });
47  legacy_ = std::any_of(std::begin(upgrades), std::end(upgrades), [](bool a) { return !a; });
48 
49  if (ps.exists("parameters")) {
50  auto pset = ps.getUntrackedParameter<edm::ParameterSet>("parameters");
52  }
53  theAlgo_.setUpgradeFlags(upgrades[0], upgrades[1], upgrades[2]);
54 
55  HFEMB_ = false;
56  if (ps.exists("LSConfig")) {
58  HFEMB_ = LongShortCut_.getParameter<bool>("HcalFeatureHFEMBit");
59  MinLongEnergy_ = LongShortCut_.getParameter<double>("Min_Long_Energy"); //minimum long energy
60  MinShortEnergy_ = LongShortCut_.getParameter<double>("Min_Short_Energy"); //minimum short energy
62  LongShortCut_.getParameter<double>("Long_vrs_Short_Slope"); //slope of the line that cuts are based on
63  LongShortOffset_ = LongShortCut_.getParameter<double>("Long_Short_Offset"); //offset of line
64  }
65  // register for data access
67  tok_raw_ = consumes<FEDRawDataCollection>(inputTagFEDRaw_);
68  }
69 
70  if (legacy_) {
71  tok_hbhe_ = consumes<HBHEDigiCollection>(inputLabel_[0]);
72  tok_hf_ = consumes<HFDigiCollection>(inputLabel_[1]);
73  }
74 
75  if (upgrade_) {
76  tok_hbhe_up_ = consumes<QIE11DigiCollection>(inputUpgradeLabel_[0]);
77  tok_hf_up_ = consumes<QIE10DigiCollection>(inputUpgradeLabel_[1]);
78  }
79 
80  produces<HcalTrigPrimDigiCollection>();
81  theAlgo_.setPeakFinderAlgorithm(ps.getParameter<int>("PeakFinderAlgorithm"));
82 
83  edm::ParameterSet hfSS = ps.getParameter<edm::ParameterSet>("tpScales").getParameter<edm::ParameterSet>("HF");
84 
85  theAlgo_.setNCTScaleShift(hfSS.getParameter<int>("NCTShift"));
86  theAlgo_.setRCTScaleShift(hfSS.getParameter<int>("RCTShift"));
87 }

References a, begin, 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(), theAlgo_, tok_hbhe_, tok_hbhe_up_, tok_hf_, tok_hf_up_, tok_raw_, and upgrade_.

◆ ~HcalTrigPrimDigiProducer()

HcalTrigPrimDigiProducer::~HcalTrigPrimDigiProducer ( )
inlineoverride

Definition at line 15 of file HcalTrigPrimDigiProducer.h.

15 {}

Member Function Documentation

◆ produce()

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

Produces the EDM products,

Definition at line 89 of file HcalTrigPrimDigiProducer.cc.

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

References edm::EventSetup::get(), get, 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_hbhe_, tok_hbhe_up_, tok_hf_, tok_hf_up_, tok_raw_, and upgrade_.

Member Data Documentation

◆ HFEMB_

bool HcalTrigPrimDigiProducer::HFEMB_
private

Definition at line 45 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 24 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ inputTagFEDRaw_

edm::InputTag HcalTrigPrimDigiProducer::inputTagFEDRaw_
private

input tag for FEDRawDataCollection

Definition at line 34 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ inputUpgradeLabel_

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

Definition at line 25 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ legacy_

bool HcalTrigPrimDigiProducer::legacy_
private

Definition at line 43 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ LongShortCut_

edm::ParameterSet HcalTrigPrimDigiProducer::LongShortCut_
private

Definition at line 46 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer().

◆ LongShortOffset_

double HcalTrigPrimDigiProducer::LongShortOffset_
private

Definition at line 36 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ LongShortSlope_

double HcalTrigPrimDigiProducer::LongShortSlope_
private

Definition at line 36 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ MinLongEnergy_

double HcalTrigPrimDigiProducer::MinLongEnergy_
private

Definition at line 36 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ MinShortEnergy_

double HcalTrigPrimDigiProducer::MinShortEnergy_
private

Definition at line 36 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ runFrontEndFormatError_

bool HcalTrigPrimDigiProducer::runFrontEndFormatError_
private

Definition at line 40 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ runZS_

bool HcalTrigPrimDigiProducer::runZS_
private

Definition at line 38 of file HcalTrigPrimDigiProducer.h.

Referenced by produce().

◆ theAlgo_

HcalTriggerPrimitiveAlgo HcalTrigPrimDigiProducer::theAlgo_
private

Definition at line 21 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_hbhe_

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

Definition at line 30 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_hbhe_up_

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

Definition at line 27 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_hf_

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

Definition at line 31 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_hf_up_

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

Definition at line 28 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ tok_raw_

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

Definition at line 35 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

◆ upgrade_

bool HcalTrigPrimDigiProducer::upgrade_
private

Definition at line 42 of file HcalTrigPrimDigiProducer.h.

Referenced by HcalTrigPrimDigiProducer(), and produce().

HcalTrigPrimDigiProducer::runZS_
bool runZS_
Definition: HcalTrigPrimDigiProducer.h:38
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
HcalTrigPrimDigiProducer::theAlgo_
HcalTriggerPrimitiveAlgo theAlgo_
Definition: HcalTrigPrimDigiProducer.h:21
HcalLutMetadataRcd
Definition: HcalLutMetadataRcd.h:25
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HcalTriggerPrimitiveAlgo::overrideParameters
void overrideParameters(const edm::ParameterSet &ps)
Definition: HcalTriggerPrimitiveAlgo.cc:75
HcalTrigPrimDigiProducer::tok_hf_up_
edm::EDGetTokenT< QIE10DigiCollection > tok_hf_up_
Definition: HcalTrigPrimDigiProducer.h:28
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:225
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
HcalTPGRecord
Definition: HcalTPGRecord.h:25
HcalTriggerPrimitiveAlgo::setUpgradeFlags
void setUpgradeFlags(bool hb, bool he, bool hf)
Definition: HcalTriggerPrimitiveAlgo.cc:69
HcalTrigPrimDigiProducer::tok_hbhe_up_
edm::EDGetTokenT< QIE11DigiCollection > tok_hbhe_up_
Definition: HcalTrigPrimDigiProducer.h:27
edm::LogInfo
Definition: MessageLogger.h:254
HcalTrigPrimDigiProducer::MinLongEnergy_
double MinLongEnergy_
Definition: HcalTrigPrimDigiProducer.h:36
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HcalTriggerPrimitiveAlgo::setNCTScaleShift
void setNCTScaleShift(int)
Definition: HcalTriggerPrimitiveAlgo.cc:841
HcalTrigPrimDigiProducer::LongShortSlope_
double LongShortSlope_
Definition: HcalTrigPrimDigiProducer.h:36
edm::Handle
Definition: AssociativeIterator.h:50
HcalDbService::getHcalMapping
const HcalElectronicsMap * getHcalMapping() const
Definition: HcalDbService.cc:343
end
#define end
Definition: vmac.h:39
CaloTPGTranscoder::getHcalCompressor
std::shared_ptr< const HcalTPGCompressor > getHcalCompressor() const
Definition: CaloTPGTranscoder.h:55
HcalTriggerPrimitiveAlgo::setRCTScaleShift
void setRCTScaleShift(int)
Definition: HcalTriggerPrimitiveAlgo.cc:843
HcalLutMetadata::getRctLsb
float getRctLsb() const
Definition: HcalLutMetadata.h:25
HcalTrigPrimDigiProducer::tok_hbhe_
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
Definition: HcalTrigPrimDigiProducer.h:30
HcalTrigPrimDigiProducer::tok_raw_
edm::EDGetTokenT< FEDRawDataCollection > tok_raw_
Definition: HcalTrigPrimDigiProducer.h:35
edm::ESHandle
Definition: DTSurvey.h:22
HcalTrigPrimDigiProducer::MinShortEnergy_
double MinShortEnergy_
Definition: HcalTrigPrimDigiProducer.h:36
HcalTriggerPrimitiveAlgo::runZS
void runZS(HcalTrigPrimDigiCollection &tp)
Definition: HcalTriggerPrimitiveAlgo.cc:690
HcalTrigPrimDigiProducer::runFrontEndFormatError_
bool runFrontEndFormatError_
Definition: HcalTrigPrimDigiProducer.h:40
HcalTrigPrimDigiProducer::inputTagFEDRaw_
edm::InputTag inputTagFEDRaw_
input tag for FEDRawDataCollection
Definition: HcalTrigPrimDigiProducer.h:34
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:674
edm::ParameterSet
Definition: ParameterSet.h:36
a
double a
Definition: hdecay.h:119
CaloTPGRecord
Definition: CaloTPGRecord.h:26
HcalTrigPrimDigiProducer::LongShortCut_
edm::ParameterSet LongShortCut_
Definition: HcalTrigPrimDigiProducer.h:46
HcalTrigPrimDigiProducer::inputUpgradeLabel_
std::vector< edm::InputTag > inputUpgradeLabel_
Definition: HcalTrigPrimDigiProducer.h:25
iEvent
int iEvent
Definition: GenABIO.cc:224
HcalFeatureBit
Definition: HcalFeatureBit.h:8
get
#define get
HcalTrigPrimDigiProducer::legacy_
bool legacy_
Definition: HcalTrigPrimDigiProducer.h:43
HcalTrigPrimDigiProducer::inputLabel_
std::vector< edm::InputTag > inputLabel_
input tags for HCAL digis
Definition: HcalTrigPrimDigiProducer.h:24
HcalTrigPrimDigiProducer::LongShortOffset_
double LongShortOffset_
Definition: HcalTrigPrimDigiProducer.h:36
HcalTrigPrimDigiProducer::HFEMB_
bool HFEMB_
Definition: HcalTrigPrimDigiProducer.h:45
HcalElectronicsMap
Definition: HcalElectronicsMap.h:31
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
HcalTrigPrimDigiProducer::upgrade_
bool upgrade_
Definition: HcalTrigPrimDigiProducer.h:42
eostools.move
def move(src, dest)
Definition: eostools.py:511
HcalTriggerPrimitiveAlgo::setPeakFinderAlgorithm
void setPeakFinderAlgorithm(int algo)
Definition: HcalTriggerPrimitiveAlgo.cc:835
HcalTrigPrimDigiProducer::tok_hf_
edm::EDGetTokenT< HFDigiCollection > tok_hf_
Definition: HcalTrigPrimDigiProducer.h:31
HcalTriggerPrimitiveAlgo::runFEFormatError
void runFEFormatError(const FEDRawDataCollection *rawraw, const HcalElectronicsMap *emap, HcalTrigPrimDigiCollection &result)
Definition: HcalTriggerPrimitiveAlgo.cc:706
mps_fire.result
result
Definition: mps_fire.py:303
HcalDbRecord
Definition: HcalDbRecord.h:30
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::InputTag
Definition: InputTag.h:15
begin
#define begin
Definition: vmac.h:32
HcalTrigPrimDigiCollection
edm::SortedCollection< HcalTriggerPrimitiveDigi > HcalTrigPrimDigiCollection
Definition: HcalDigiCollections.h:24
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27