CMS 3D CMS Logo

HcalTriggerPrimitiveAlgo.h
Go to the documentation of this file.
1 #ifndef HcalSimAlgos_HcalTriggerPrimitiveAlgo_h
2 #define HcalSimAlgos_HcalTriggerPrimitiveAlgo_h
3 
6 
11 
13 
15 
18 
19 #include <map>
20 #include <vector>
21 
22 class CaloGeometry;
23 class IntegerCaloSamples;
24 
26 public:
28  const std::vector<double>& w,
29  int latency,
30  uint32_t FG_threshold,
31  const std::vector<uint32_t>& FG_HF_thresholds,
32  uint32_t ZS_threshold,
33  int numberOfSamples,
40  uint32_t minSignalThreshold = 0,
41  uint32_t PMT_NoiseThreshold = 0);
43 
44  template <typename... Digis>
45  void run(const HcalTPGCoder* incoder,
46  const HcalTPGCompressor* outcoder,
49  const HcalTrigTowerGeometry* trigTowerGeometry,
50  float rctlsb,
52  const Digis&... digis);
53 
54  template <typename T, typename... Args>
55  void addDigis(const T& collection, const Args&... digis) {
57  addDigis(digis...);
58  };
59 
60  template <typename T>
61  void addDigis(const T& collection) {
62  for (const auto& digi : collection) {
63  addSignal(digi);
64  }
65  };
66 
67  template <typename D>
69  for (auto i = collection.begin(); i != collection.end(); ++i) {
70  D digi(*i);
71  addSignal(digi);
72  }
73  };
74 
76  void runFEFormatError(const FEDRawDataCollection* rawraw,
77  const HcalElectronicsMap* emap,
79  void setPeakFinderAlgorithm(int algo);
81  void setNCTScaleShift(int);
82  void setRCTScaleShift(int);
83 
84  void setUpgradeFlags(bool hb, bool he, bool hf);
85  void overrideParameters(const edm::ParameterSet& ps);
86 
87 private:
89  void addSignal(const HBHEDataFrame& frame);
90  void addSignal(const HFDataFrame& frame);
91  void addSignal(const QIE10DataFrame& frame);
92  void addSignal(const QIE11DataFrame& frame);
94  void addFG(const HcalTrigTowerDetId& id, std::vector<bool>& msb);
95  void addUpgradeFG(const HcalTrigTowerDetId& id, int depth, const std::vector<std::bitset<2>>& bits);
96 
97  bool passTDC(const QIE10DataFrame& digi, int ts) const;
98  bool validUpgradeFG(const HcalTrigTowerDetId& id, int depth) const;
99  bool validChannel(const QIE10DataFrame& digi, int ts) const;
100  bool needLegacyFG(const HcalTrigTowerDetId& id) const;
101  bool needUpgradeID(const HcalTrigTowerDetId& id, int depth) const;
102 
105  // 2017 and later: QIE11
107  // Version 0: RCT
108  void analyzeHF(IntegerCaloSamples& samples, HcalTriggerPrimitiveDigi& result, const int hf_lumi_shift);
109  // Version 1: 1x1
110  void analyzeHF2016(const IntegerCaloSamples& SAMPLES,
112  const int HF_LUMI_SHIFT,
113  const HcalFeatureBit* HCALFEM);
114  // With dual anode readout
115  void analyzeHFQIE10(const IntegerCaloSamples& SAMPLES,
117  const int HF_LUMI_SHIFT,
118  const HcalFeatureBit* HCALFEM);
119 
120  // Member initialized by constructor
124  double theThreshold;
125  bool peakfind_;
126  std::vector<double> weights_;
127  std::array<std::array<double, 2>, 29> weightsQIE11_;
128  int latency_;
129  uint32_t FG_threshold_;
130  std::vector<uint32_t> FG_HF_thresholds_;
131  uint32_t ZS_threshold_;
144 
145  // Algo1: isPeak = TS[i-1] < TS[i] && TS[i] >= TS[i+1]
146  // Algo2: isPeak = TSS[i-1] < TSS[i] && TSS[i] >= TSS[i+1],
147  // TSS[i] = TS[i] + TS[i+1]
148  // Default: Algo2
150 
151  // Member not initialzed
152  //std::vector<HcalTrigTowerDetId> towerIds(const HcalDetId & id) const;
153 
155 
156  typedef std::map<HcalTrigTowerDetId, IntegerCaloSamples> SumMap;
158 
159  struct HFDetails {
164  };
165  typedef std::map<HcalTrigTowerDetId, std::map<uint32_t, HFDetails>> HFDetailMap;
167 
171  std::vector<bool> validity;
172  std::vector<std::bitset<2>> fgbits;
173  std::vector<bool> passTDC;
174  };
175  typedef std::map<HcalTrigTowerDetId, std::map<uint32_t, std::array<HFUpgradeDetails, 4>>> HFUpgradeDetailMap;
177 
178  typedef std::vector<IntegerCaloSamples> SumFGContainer;
179  typedef std::map<HcalTrigTowerDetId, SumFGContainer> TowerMapFGSum;
181 
182  // ==============================
183  // = HF Veto
184  // ==============================
185  // Sum = Long + Short;" // intermediate calculation.
186  // if ((Short < MinSignalThresholdET OR Long < MinSignalThresholdET)
187  // AND Sum > PMTNoiseThresholdET) VetoedSum = 0;
188  // else VetoedSum = Sum;
189  // ==============================
190  // Map from FG id to veto booleans
192  typedef std::map<uint32_t, std::vector<bool>> TowerMapVeto;
194 
195  typedef std::map<HcalTrigTowerDetId, std::vector<bool>> FGbitMap;
197 
198  typedef std::vector<HcalFinegrainBit::Tower> FGUpgradeContainer;
199  typedef std::map<HcalTrigTowerDetId, FGUpgradeContainer> FGUpgradeMap;
201 
202  bool upgrade_hb_ = false;
203  bool upgrade_he_ = false;
204  bool upgrade_hf_ = false;
205 
207 
208  bool override_adc_hf_ = false;
210  bool override_tdc_hf_ = false;
211  unsigned long long override_tdc_hf_value_;
212 
213  // HE constants
214  static const int HBHE_OVERLAP_TOWER = 16;
215  static const int FIRST_DEPTH7_TOWER = 26;
216  static const int LAST_FINEGRAIN_DEPTH = 6;
217  static const int LAST_FINEGRAIN_TOWER = 28;
218 
219  // Fine-grain in HF ignores tower 29, and starts with 30
220  static const int FIRST_FINEGRAIN_TOWER = 30;
221 
225  // Consider CaloTPGTranscoderULUT.h for values
226  static const int QIE10_MAX_LINEARIZATION_ET = 0x7FF;
227  static const int QIE11_MAX_LINEARIZATION_ET = 0x7FF;
228 };
229 
230 template <typename... Digis>
232  const HcalTPGCompressor* outcoder,
233  const HcalDbService* conditions,
235  const HcalTrigTowerGeometry* trigTowerGeometry,
236  float rctlsb,
237  const HcalFeatureBit* LongvrsShortCut,
238  const Digis&... digis) {
239  theTrigTowerGeometry = trigTowerGeometry;
240 
241  incoder_ = dynamic_cast<const HcaluLUTTPGCoder*>(incoder);
242  outcoder_ = outcoder;
244 
245  theSumMap.clear();
246  theTowerMapFGSum.clear();
247  HF_Veto.clear();
248  fgMap_.clear();
249  fgUpgradeMap_.clear();
250  theHFDetailMap.clear();
251  theHFUpgradeDetailMap.clear();
252 
253  // Add all digi collections
254  addDigis(digis...);
255 
256  // Prepare the fine-grain calculation algorithm for HB/HE
257  int version = 0;
260  if (override_parameters_.exists("FGVersionHBHE"))
261  version = override_parameters_.getParameter<uint32_t>("FGVersionHBHE");
262  HcalFinegrainBit fg_algo(version);
263 
264  // VME produces additional bits on the front used by lumi but not the
265  // trigger, this shift corrects those out by right shifting over them.
266  for (auto& item : theSumMap) {
267  result.push_back(HcalTriggerPrimitiveDigi(item.first));
268  HcalTrigTowerDetId detId(item.second.id());
269  if (detId.ietaAbs() >= theTrigTowerGeometry->firstHFTower(detId.version())) {
270  if (detId.version() == 0) {
271  analyzeHF(item.second, result.back(), RCTScaleShift);
272  } else if (detId.version() == 1) {
273  if (upgrade_hf_)
275  else
277  } else {
278  // Things are going to go poorly
279  }
280  } else {
281  // Determine which energy reconstruction path to take based on the
282  // fine-grain availability:
283  // * QIE8 TP add entries into fgMap_
284  // * QIE11 TP add entries into fgUpgradeMap_
285  // (not for tower 16 unless HB is upgraded, too)
286  if (fgMap_.find(item.first) != fgMap_.end()) {
287  analyze(item.second, result.back());
288  } else if (fgUpgradeMap_.find(item.first) != fgUpgradeMap_.end()) {
289  analyzeQIE11(item.second, result.back(), fg_algo);
290  }
291  }
292  }
293 
294  // Free up some memory
295  theSumMap.clear();
296  theTowerMapFGSum.clear();
297  HF_Veto.clear();
298  fgMap_.clear();
299  fgUpgradeMap_.clear();
300  theHFDetailMap.clear();
301  theHFUpgradeDetailMap.clear();
302 
303  return;
304 }
305 
306 #endif
HcalElectronicsMap.h
HcalTriggerPrimitiveAlgo::numberOfSamplesHF_
int numberOfSamplesHF_
Definition: HcalTriggerPrimitiveAlgo.h:137
hcaltpdigi_cfi.numberOfSamplesHF
numberOfSamplesHF
Definition: hcaltpdigi_cfi.py:56
HcalTriggerPrimitiveAlgo::addFG
void addFG(const HcalTrigTowerDetId &id, std::vector< bool > &msb)
Definition: HcalTriggerPrimitiveAlgo.cc:786
mps_fire.i
i
Definition: mps_fire.py:428
HcalTriggerPrimitiveAlgo::HFUpgradeDetails
Definition: HcalTriggerPrimitiveAlgo.h:168
HcalDataFrameContainer
Definition: HcalDigiCollections.h:35
HcalTriggerPrimitiveAlgo::weightsQIE11_
std::array< std::array< double, 2 >, 29 > weightsQIE11_
Definition: HcalTriggerPrimitiveAlgo.h:127
HcalTriggerPrimitiveAlgo::HFUpgradeDetails::fgbits
std::vector< std::bitset< 2 > > fgbits
Definition: HcalTriggerPrimitiveAlgo.h:172
config_102169_raw_cff.latency
latency
Definition: config_102169_raw_cff.py:29
HcalTriggerPrimitiveAlgo::overrideParameters
void overrideParameters(const edm::ParameterSet &ps)
Definition: HcalTriggerPrimitiveAlgo.cc:79
HcalTriggerPrimitiveAlgo::addDigis
void addDigis(const T &collection)
Definition: HcalTriggerPrimitiveAlgo.h:61
HcalTriggerPrimitiveAlgo::HFDetails::LongDigi
HFDataFrame LongDigi
Definition: HcalTriggerPrimitiveAlgo.h:163
HcalTriggerPrimitiveAlgo::override_adc_hf_value_
uint32_t override_adc_hf_value_
Definition: HcalTriggerPrimitiveAlgo.h:209
HcalTriggerPrimitiveAlgo::HF_Veto
TowerMapVeto HF_Veto
Definition: HcalTriggerPrimitiveAlgo.h:193
HcaluLUTTPGCoder::QIE8_LUT_BITMASK
static const int QIE8_LUT_BITMASK
Definition: HcaluLUTTPGCoder.h:80
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
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
HcaluLUTTPGCoder::QIE10_LUT_BITMASK
static const int QIE10_LUT_BITMASK
Definition: HcaluLUTTPGCoder.h:81
HcalTriggerPrimitiveAlgo::setUpgradeFlags
void setUpgradeFlags(bool hb, bool he, bool hf)
Definition: HcalTriggerPrimitiveAlgo.cc:73
HcalTriggerPrimitiveAlgo::upgrade_he_
bool upgrade_he_
Definition: HcalTriggerPrimitiveAlgo.h:203
HcalTriggerPrimitiveAlgo::setWeightsQIE11
void setWeightsQIE11(const edm::ParameterSet &weightsQIE11)
Definition: HcalTriggerPrimitiveAlgo.cc:859
HcalTriggerPrimitiveAlgo::addDigis
void addDigis(const T &collection, const Args &... digis)
Definition: HcalTriggerPrimitiveAlgo.h:55
HcalTriggerPrimitiveAlgo::FIRST_FINEGRAIN_TOWER
static const int FIRST_FINEGRAIN_TOWER
Definition: HcalTriggerPrimitiveAlgo.h:220
HcalTriggerPrimitiveAlgo::addUpgradeFG
void addUpgradeFG(const HcalTrigTowerDetId &id, int depth, const std::vector< std::bitset< 2 >> &bits)
Definition: HcalTriggerPrimitiveAlgo.cc:825
HcalTriggerPrimitiveAlgo::ZS_threshold_
uint32_t ZS_threshold_
Definition: HcalTriggerPrimitiveAlgo.h:131
HcalTriggerPrimitiveAlgo::numberOfPresamples_
int numberOfPresamples_
Definition: HcalTriggerPrimitiveAlgo.h:134
HcalTriggerPrimitiveAlgo::conditions_
const HcalDbService * conditions_
Definition: HcalTriggerPrimitiveAlgo.h:123
edm::SortedCollection
Definition: SortedCollection.h:49
HcalTriggerPrimitiveAlgo::FGUpgradeContainer
std::vector< HcalFinegrainBit::Tower > FGUpgradeContainer
Definition: HcalTriggerPrimitiveAlgo.h:198
HcalTriggerPrimitiveAlgo::setNCTScaleShift
void setNCTScaleShift(int)
Definition: HcalTriggerPrimitiveAlgo.cc:875
HcalTriggerPrimitiveAlgo::TowerMapFGSum
std::map< HcalTrigTowerDetId, SumFGContainer > TowerMapFGSum
Definition: HcalTriggerPrimitiveAlgo.h:179
hcaltpdigi_cfi.numberOfPresamples
numberOfPresamples
Definition: hcaltpdigi_cfi.py:55
HcalTPGCompressor.h
HcalTriggerPrimitiveAlgo::TowerMapVeto
std::map< uint32_t, std::vector< bool > > TowerMapVeto
Definition: HcalTriggerPrimitiveAlgo.h:192
HcalTriggerPrimitiveAlgo::override_tdc_hf_value_
unsigned long long override_tdc_hf_value_
Definition: HcalTriggerPrimitiveAlgo.h:211
HcalTriggerPrimitiveAlgo::QIE11_MAX_LINEARIZATION_ET
static const int QIE11_MAX_LINEARIZATION_ET
Definition: HcalTriggerPrimitiveAlgo.h:227
IntegerCaloSamples
Definition: IntegerCaloSamples.h:16
HcalTPGCompressor
Definition: HcalTPGCompressor.h:12
HcalTPGCoder
Definition: HcalTPGCoder.h:26
EgammaValidation_cff.samples
samples
Definition: EgammaValidation_cff.py:19
HcalFinegrainBit
Definition: HcalFinegrainBit.h:7
HcalTriggerPrimitiveAlgo::HFDetails::long_fiber
IntegerCaloSamples long_fiber
Definition: HcalTriggerPrimitiveAlgo.h:160
HcalTriggerPrimitiveAlgo::setRCTScaleShift
void setRCTScaleShift(int)
Definition: HcalTriggerPrimitiveAlgo.cc:877
HcalTriggerPrimitiveAlgo::HFDetails
Definition: HcalTriggerPrimitiveAlgo.h:159
cmsdt::algo
algo
Definition: constants.h:164
hcaltpdigi_cfi.weightsQIE11
weightsQIE11
hardware algo
Definition: hcaltpdigi_cfi.py:19
HcaluLUTTPGCoder.h
HcalTriggerPrimitiveAlgo::QIE10_MAX_LINEARIZATION_ET
static const int QIE10_MAX_LINEARIZATION_ET
Definition: HcalTriggerPrimitiveAlgo.h:226
CaloGeometry
Definition: CaloGeometry.h:21
HcalTPParameters::getFGVersionHBHE
int getFGVersionHBHE() const
get FineGrain Algorithm Version for HBHE
Definition: HcalTPParameters.h:19
HcalFinegrainBit.h
HcalTriggerPrimitiveAlgo::LAST_FINEGRAIN_TOWER
static const int LAST_FINEGRAIN_TOWER
Definition: HcalTriggerPrimitiveAlgo.h:217
HcalTriggerPrimitiveAlgo::passTDC
bool passTDC(const QIE10DataFrame &digi, int ts) const
Definition: HcalTriggerPrimitiveAlgo.cc:576
photonIsolationHIProducer_cfi.hf
hf
Definition: photonIsolationHIProducer_cfi.py:9
HcalTriggerPrimitiveAlgo::addSignal
void addSignal(const HBHEDataFrame &frame)
adds the signal to the map
Definition: HcalTriggerPrimitiveAlgo.cc:92
HcalTriggerPrimitiveAlgo::HFUpgradeDetails::digi
QIE10DataFrame digi
Definition: HcalTriggerPrimitiveAlgo.h:170
HcalDigiCollections.h
w
const double w
Definition: UKUtility.cc:23
HcalTriggerPrimitiveAlgo::numberOfFilterPresamplesHEQIE11_
int numberOfFilterPresamplesHEQIE11_
Definition: HcalTriggerPrimitiveAlgo.h:136
HcalTriggerPrimitiveAlgo::FG_threshold_
uint32_t FG_threshold_
Definition: HcalTriggerPrimitiveAlgo.h:129
HcalTriggerPrimitiveAlgo::QIE10_LINEARIZATION_ET
static const int QIE10_LINEARIZATION_ET
Definition: HcalTriggerPrimitiveAlgo.h:223
hcal_dqm_sourceclient-live_cfg.FG_threshold
FG_threshold
Definition: hcal_dqm_sourceclient-live_cfg.py:104
HcalTriggerPrimitiveAlgo::fgUpgradeMap_
FGUpgradeMap fgUpgradeMap_
Definition: HcalTriggerPrimitiveAlgo.h:200
HcalTriggerPrimitiveAlgo::runZS
void runZS(HcalTrigPrimDigiCollection &tp)
Definition: HcalTriggerPrimitiveAlgo.cc:714
HcalTriggerPrimitiveAlgo::addDigis
void addDigis(const HcalDataFrameContainer< D > &collection)
Definition: HcalTriggerPrimitiveAlgo.h:68
HcalFeatureHFEMBit.h
HcalTriggerPrimitiveAlgo::HFUpgradeDetails::passTDC
std::vector< bool > passTDC
Definition: HcalTriggerPrimitiveAlgo.h:173
HcalDbService::getHcalTPParameters
const HcalTPParameters * getHcalTPParameters() const
Definition: HcalDbService.cc:412
HcalTriggerPrimitiveAlgo::~HcalTriggerPrimitiveAlgo
~HcalTriggerPrimitiveAlgo()
Definition: HcalTriggerPrimitiveAlgo.cc:71
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
cmsswSequenceInfo.tp
tp
Definition: cmsswSequenceInfo.py:17
HcalTriggerPrimitiveAlgo::validUpgradeFG
bool validUpgradeFG(const HcalTrigTowerDetId &id, int depth) const
Definition: HcalTriggerPrimitiveAlgo.cc:796
HcalTriggerPrimitiveAlgo::override_parameters_
edm::ParameterSet override_parameters_
Definition: HcalTriggerPrimitiveAlgo.h:206
HcalTrigTowerDetId.h
HcalTriggerPrimitiveAlgo::numberOfFilterPresamplesHBQIE11_
int numberOfFilterPresamplesHBQIE11_
Definition: HcalTriggerPrimitiveAlgo.h:135
HcalTriggerPrimitiveAlgo::minSignalThreshold_
uint32_t minSignalThreshold_
Definition: HcalTriggerPrimitiveAlgo.h:140
HcalTriggerPrimitiveAlgo::HBHE_OVERLAP_TOWER
static const int HBHE_OVERLAP_TOWER
Definition: HcalTriggerPrimitiveAlgo.h:214
HBHEDataFrame
Definition: HBHEDataFrame.h:14
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
HcalTriggerPrimitiveAlgo::PMT_NoiseThreshold_
uint32_t PMT_NoiseThreshold_
Definition: HcalTriggerPrimitiveAlgo.h:141
HcalTriggerPrimitiveDigi
Definition: HcalTriggerPrimitiveDigi.h:13
edm::ParameterSet
Definition: ParameterSet.h:47
HcalTriggerPrimitiveAlgo::theHFUpgradeDetailMap
HFUpgradeDetailMap theHFUpgradeDetailMap
Definition: HcalTriggerPrimitiveAlgo.h:176
HcalTriggerPrimitiveAlgo::theTrigTowerGeometry
const HcalTrigTowerGeometry * theTrigTowerGeometry
Definition: HcalTriggerPrimitiveAlgo.h:154
hcal_dqm_sourceclient-live_cfg.ZS_threshold
ZS_threshold
Definition: hcal_dqm_sourceclient-live_cfg.py:113
HcalTriggerPrimitiveAlgo::theSumMap
SumMap theSumMap
Definition: HcalTriggerPrimitiveAlgo.h:157
HcalTriggerPrimitiveAlgo::peakfind_
bool peakfind_
Definition: HcalTriggerPrimitiveAlgo.h:125
HcaluLUTTPGCoder
Definition: HcaluLUTTPGCoder.h:32
HcalTriggerPrimitiveAlgo::HcalTriggerPrimitiveAlgo
HcalTriggerPrimitiveAlgo(bool pf, const std::vector< double > &w, int latency, uint32_t FG_threshold, const std::vector< uint32_t > &FG_HF_thresholds, uint32_t ZS_threshold, int numberOfSamples, int numberOfPresamples, int numberOfFilterPresamplesHBQIE11, int numberOfFilterPresamplesHEQIE11, int numberOfSamplesHF, int numberOfPresamplesHF, bool useTDCInMinBiasBits, uint32_t minSignalThreshold=0, uint32_t PMT_NoiseThreshold=0)
Definition: HcalTriggerPrimitiveAlgo.cc:23
hcaltpdigi_cff.FG_HF_thresholds
FG_HF_thresholds
Definition: hcaltpdigi_cff.py:24
HcalTriggerPrimitiveAlgo::analyzeHF
void analyzeHF(IntegerCaloSamples &samples, HcalTriggerPrimitiveDigi &result, const int hf_lumi_shift)
Definition: HcalTriggerPrimitiveAlgo.cc:461
HcalTriggerPrimitiveAlgo::override_adc_hf_
bool override_adc_hf_
Definition: HcalTriggerPrimitiveAlgo.h:208
HFDataFrame
Definition: HFDataFrame.h:14
HcalTrigTowerGeometry::firstHFTower
int firstHFTower(int version) const
Definition: HcalTrigTowerGeometry.h:18
hcaltpdigi_cfi.numberOfFilterPresamplesHBQIE11
numberOfFilterPresamplesHBQIE11
Definition: hcaltpdigi_cfi.py:58
HcalTriggerPrimitiveAlgo::analyzeHFQIE10
void analyzeHFQIE10(const IntegerCaloSamples &SAMPLES, HcalTriggerPrimitiveDigi &result, const int HF_LUMI_SHIFT, const HcalFeatureBit *HCALFEM)
Definition: HcalTriggerPrimitiveAlgo.cc:604
universalConfigTemplate.collection
collection
Definition: universalConfigTemplate.py:81
FEDRawDataCollection.h
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
HcalTriggerPrimitiveAlgo::needLegacyFG
bool needLegacyFG(const HcalTrigTowerDetId &id) const
Definition: HcalTriggerPrimitiveAlgo.cc:806
HcalTriggerPrimitiveAlgo::needUpgradeID
bool needUpgradeID(const HcalTrigTowerDetId &id, int depth) const
Definition: HcalTriggerPrimitiveAlgo.cc:815
HcalFeatureBit
Definition: HcalFeatureBit.h:8
HcalTriggerPrimitiveAlgo::FIRST_DEPTH7_TOWER
static const int FIRST_DEPTH7_TOWER
Definition: HcalTriggerPrimitiveAlgo.h:215
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
HcalTrigTowerGeometry.h
HcalTriggerPrimitiveAlgo::theHFDetailMap
HFDetailMap theHFDetailMap
Definition: HcalTriggerPrimitiveAlgo.h:166
HcalTriggerPrimitiveAlgo::fgMap_
FGbitMap fgMap_
Definition: HcalTriggerPrimitiveAlgo.h:196
hcaltpdigi_cfi.numberOfFilterPresamplesHEQIE11
numberOfFilterPresamplesHEQIE11
Definition: hcaltpdigi_cfi.py:59
HcalTrigTowerGeometry
Definition: HcalTrigTowerGeometry.h:10
HcalTriggerPrimitiveAlgo::HFUpgradeDetails::samples
IntegerCaloSamples samples
Definition: HcalTriggerPrimitiveAlgo.h:169
HcalTriggerPrimitiveAlgo::validChannel
bool validChannel(const QIE10DataFrame &digi, int ts) const
Definition: HcalTriggerPrimitiveAlgo.cc:592
HcalTriggerPrimitiveAlgo::NCTScaleShift
int NCTScaleShift
Definition: HcalTriggerPrimitiveAlgo.h:142
HcalTriggerPrimitiveAlgo::RCTScaleShift
int RCTScaleShift
Definition: HcalTriggerPrimitiveAlgo.h:143
hcalSimParameters_cfi.hb
hb
Definition: hcalSimParameters_cfi.py:60
HcalTriggerPrimitiveAlgo::theThreshold
double theThreshold
Definition: HcalTriggerPrimitiveAlgo.h:124
HcalElectronicsMap
Definition: HcalElectronicsMap.h:31
HcalTriggerPrimitiveAlgo::LAST_FINEGRAIN_DEPTH
static const int LAST_FINEGRAIN_DEPTH
Definition: HcalTriggerPrimitiveAlgo.h:216
HcalTriggerPrimitiveAlgo::numberOfPresamplesHF_
int numberOfPresamplesHF_
Definition: HcalTriggerPrimitiveAlgo.h:138
HcalTriggerPrimitiveAlgo::upgrade_hf_
bool upgrade_hf_
Definition: HcalTriggerPrimitiveAlgo.h:204
HcaluLUTTPGCoder::QIE11_LUT_BITMASK
static const int QIE11_LUT_BITMASK
Definition: HcaluLUTTPGCoder.h:82
HcalTriggerPrimitiveAlgo::analyzeQIE11
void analyzeQIE11(IntegerCaloSamples &samples, HcalTriggerPrimitiveDigi &result, const HcalFinegrainBit &fg_algo)
Definition: HcalTriggerPrimitiveAlgo.cc:373
funct::D
DecomposeProduct< arg, typename Div::arg > D
Definition: Factorize.h:141
HcalDbService
Definition: HcalDbService.h:26
submitPVValidationJobs.conditions
list conditions
Definition: submitPVValidationJobs.py:674
HcalTriggerPrimitiveAlgo::peak_finder_algorithm_
int peak_finder_algorithm_
Definition: HcalTriggerPrimitiveAlgo.h:149
HcalTriggerPrimitiveAlgo::setPeakFinderAlgorithm
void setPeakFinderAlgorithm(int algo)
Definition: HcalTriggerPrimitiveAlgo.cc:869
QIE10DataFrame
Definition: QIE10DataFrame.h:11
hcalSimParameters_cfi.he
he
Definition: hcalSimParameters_cfi.py:79
packedPFCandidateRefMixer_cfi.pf
pf
Definition: packedPFCandidateRefMixer_cfi.py:4
HcalTriggerPrimitiveAlgo::HFDetailMap
std::map< HcalTrigTowerDetId, std::map< uint32_t, HFDetails > > HFDetailMap
Definition: HcalTriggerPrimitiveAlgo.h:165
T
long double T
Definition: Basic3DVectorLD.h:48
amptDefault_cfi.frame
frame
Definition: amptDefault_cfi.py:12
QIE11DataFrame
Definition: QIE11DataFrame.h:11
HcalTriggerPrimitiveAlgo::outcoder_
const HcalTPGCompressor * outcoder_
Definition: HcalTriggerPrimitiveAlgo.h:122
HcalTriggerPrimitiveAlgo::FGbitMap
std::map< HcalTrigTowerDetId, std::vector< bool > > FGbitMap
Definition: HcalTriggerPrimitiveAlgo.h:195
HcalTriggerPrimitiveAlgo::HFDetails::ShortDigi
HFDataFrame ShortDigi
Definition: HcalTriggerPrimitiveAlgo.h:162
HcalTriggerPrimitiveAlgo::ZS_threshold_I_
int ZS_threshold_I_
Definition: HcalTriggerPrimitiveAlgo.h:132
HcalTriggerPrimitiveAlgo::latency_
int latency_
Definition: HcalTriggerPrimitiveAlgo.h:128
HcalTriggerPrimitiveAlgo::FGUpgradeMap
std::map< HcalTrigTowerDetId, FGUpgradeContainer > FGUpgradeMap
Definition: HcalTriggerPrimitiveAlgo.h:199
HcalTriggerPrimitiveAlgo::HFDetails::short_fiber
IntegerCaloSamples short_fiber
Definition: HcalTriggerPrimitiveAlgo.h:161
HcalTriggerPrimitiveAlgo::override_tdc_hf_
bool override_tdc_hf_
Definition: HcalTriggerPrimitiveAlgo.h:210
HcalTriggerPrimitiveAlgo
Definition: HcalTriggerPrimitiveAlgo.h:25
hcaltpdigi_cfi.numberOfPresamplesHF
numberOfPresamplesHF
Definition: hcaltpdigi_cfi.py:57
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
HcalTriggerPrimitiveAlgo::HFUpgradeDetails::validity
std::vector< bool > validity
Definition: HcalTriggerPrimitiveAlgo.h:171
hcaltpdigi_cfi.useTDCInMinBiasBits
useTDCInMinBiasBits
Definition: hcaltpdigi_cfi.py:60
HcalDbService.h
HcalTriggerPrimitiveAlgo::analyze
void analyze(IntegerCaloSamples &samples, HcalTriggerPrimitiveDigi &result)
adds the actual digis
Definition: HcalTriggerPrimitiveAlgo.cc:291
mps_fire.result
result
Definition: mps_fire.py:311
HcalTriggerPrimitiveAlgo::SumMap
std::map< HcalTrigTowerDetId, IntegerCaloSamples > SumMap
Definition: HcalTriggerPrimitiveAlgo.h:156
HcalTriggerPrimitiveAlgo::theTowerMapFGSum
TowerMapFGSum theTowerMapFGSum
Definition: HcalTriggerPrimitiveAlgo.h:180
HcalTriggerPrimitiveAlgo::useTDCInMinBiasBits_
bool useTDCInMinBiasBits_
Definition: HcalTriggerPrimitiveAlgo.h:139
HcalTriggerPrimitiveAlgo::upgrade_hb_
bool upgrade_hb_
Definition: HcalTriggerPrimitiveAlgo.h:202
HcalTriggerPrimitiveAlgo::FG_HF_thresholds_
std::vector< uint32_t > FG_HF_thresholds_
Definition: HcalTriggerPrimitiveAlgo.h:130
HcalTriggerPrimitiveAlgo::numberOfSamples_
int numberOfSamples_
Definition: HcalTriggerPrimitiveAlgo.h:133
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
HcalTriggerPrimitiveAlgo::analyzeHF2016
void analyzeHF2016(const IntegerCaloSamples &SAMPLES, HcalTriggerPrimitiveDigi &result, const int HF_LUMI_SHIFT, const HcalFeatureBit *HCALFEM)
Definition: HcalTriggerPrimitiveAlgo.cc:515
HcalTriggerPrimitiveAlgo::SumFGContainer
std::vector< IntegerCaloSamples > SumFGContainer
Definition: HcalTriggerPrimitiveAlgo.h:178
numberOfSamples
Definition: TotemSampicFrame.h:53
HcalTriggerPrimitiveAlgo::QIE11_LINEARIZATION_ET
static const int QIE11_LINEARIZATION_ET
Definition: HcalTriggerPrimitiveAlgo.h:224
HcalTriggerPrimitiveAlgo::LongvrsShortCut
HcalFeatureBit * LongvrsShortCut
Definition: HcalTriggerPrimitiveAlgo.h:191
HcalTriggerPrimitiveAlgo::QIE8_LINEARIZATION_ET
static const int QIE8_LINEARIZATION_ET
Definition: HcalTriggerPrimitiveAlgo.h:222
HcalTriggerPrimitiveAlgo::HFUpgradeDetailMap
std::map< HcalTrigTowerDetId, std::map< uint32_t, std::array< HFUpgradeDetails, 4 > > > HFUpgradeDetailMap
Definition: HcalTriggerPrimitiveAlgo.h:175
HcalTriggerPrimitiveAlgo::weights_
std::vector< double > weights_
Definition: HcalTriggerPrimitiveAlgo.h:126
HcalTriggerPrimitiveAlgo::incoder_
const HcaluLUTTPGCoder * incoder_
Definition: HcalTriggerPrimitiveAlgo.h:121
HcalTrigTowerDetId
Definition: HcalTrigTowerDetId.h:14