CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
L1RCTLookupTables Class Reference

#include <L1RCTLookupTables.h>

Public Member Functions

bool activityBit (float ecal, float hcal) const
 
unsigned int eGammaETCode (float ecal, float hcal, int iAbsEta) const
 
unsigned int emRank (unsigned short energy) const
 
bool hOeFGVetoBit (float ecal, float hcal, bool fgbit) const
 
unsigned int jetMETETCode (float ecal, float hcal, int iAbsEta) const
 
 L1RCTLookupTables ()
 
unsigned int lookup (unsigned short ecalInput, unsigned short hcalInput, unsigned short fgbit, unsigned short crtNo, unsigned short crdNo, unsigned short twrNo) const
 
unsigned int lookup (unsigned short hfInput, unsigned short crtNo, unsigned short crdNo, unsigned short twrNo) const
 
const L1RCTParametersrctParameters () const
 
void setChannelMask (const L1RCTChannelMask *channelMask)
 
void setEcalScale (const L1CaloEcalScale *ecalScale)
 
void setHcalScale (const L1CaloHcalScale *hcalScale)
 
void setL1CaloEtScale (const L1CaloEtScale *etScale)
 
void setNoisyChannelMask (const L1RCTNoisyChannelMask *channelMask)
 
void setRCTParameters (const L1RCTParameters *rctParameters)
 

Private Member Functions

float convertEcal (unsigned short ecal, unsigned short iAbsEta, short sign) const
 
float convertHcal (unsigned short hcal, unsigned short iAbsEta, short sign) const
 
unsigned long convertToInteger (float et, float lsb, int precision) const
 

Private Attributes

const L1RCTChannelMaskchannelMask_
 
const L1CaloEcalScaleecalScale_
 
const L1CaloEtScaleetScale_
 
const L1CaloHcalScalehcalScale_
 
const L1RCTNoisyChannelMasknoisyChannelMask_
 
const L1RCTParametersrctParameters_
 

Detailed Description

Definition at line 11 of file L1RCTLookupTables.h.

Constructor & Destructor Documentation

L1RCTLookupTables::L1RCTLookupTables ( )
inline

Definition at line 15 of file L1RCTLookupTables.h.

16  : rctParameters_(nullptr), channelMask_(nullptr), ecalScale_(nullptr), hcalScale_(nullptr), etScale_(nullptr) {}
const L1RCTChannelMask * channelMask_
const L1CaloEcalScale * ecalScale_
const L1RCTParameters * rctParameters_
const L1CaloHcalScale * hcalScale_
const L1CaloEtScale * etScale_

Member Function Documentation

bool L1RCTLookupTables::activityBit ( float  ecal,
float  hcal 
) const

Definition at line 198 of file L1RCTLookupTables.cc.

References L1RCTParameters::eActivityCut(), L1RCTParameters::eMaxForHoECut(), L1RCTParameters::eMinForHoECut(), Exception, L1RCTParameters::hActivityCut(), L1RCTParameters::hOeCut(), and rctParameters_.

Referenced by lookup().

198  {
199  // Redefined for upgrade as EM activity only
200  if (rctParameters_ == nullptr)
201  throw cms::Exception("L1RCTParameters Invalid") << "L1RCTParameters should be set every event" << rctParameters_;
202  bool aBit = false;
204  // For RCT operations HoE cut and tauVeto are used
206  } else {
207  // We redefine tauVeto() for upgrade as EM activity only --
208  // both EG and Tau make it through the EIC and JSC to CTP cards
209  // In the CTP card we want to rechannel EG/Tau candidates to EG and Tau
210  if (ecal > rctParameters_->eActivityCut()) {
211  if ((hcal / ecal) < rctParameters_->hOeCut()) {
212  aBit = true;
213  }
214  }
215  }
216  return aBit;
217 }
double eActivityCut() const
double hActivityCut() const
double eMinForHoECut() const
const L1RCTParameters * rctParameters_
double hOeCut() const
double eMaxForHoECut() const
float L1RCTLookupTables::convertEcal ( unsigned short  ecal,
unsigned short  iAbsEta,
short  sign 
) const
private

Definition at line 230 of file L1RCTLookupTables.cc.

References digitizers_cfi::ecal, ecalScale_, L1RCTParameters::eGammaLSB(), L1CaloEcalScale::et(), and rctParameters_.

Referenced by lookup().

230  {
231  if (ecalScale_) {
232  // std::cout << "[luts] energy " << ecal << " sign " << sign
233  //<< " iAbsEta " << iAbsEta << " iPhi " << iPhi << std::endl;
234  float dummy = 0;
235  dummy = float(ecalScale_->et(ecal, iAbsEta, sign));
236  /*
237  if (ecal > 0)
238  {
239  std::cout << "[luts] ecal converted from " << ecal << " to "
240  << dummy << " with iAbsEta " << iAbsEta << std::endl;
241  }
242  */
243  return dummy;
244  }
245  // else if(rctParameters_ == 0)
246  // {
247  // throw cms::Exception("L1RCTParameters Invalid")
248  // << "L1RCTParameters should be set every event" << rctParameters_;
249  // }
250  else {
251  return ((float)ecal) * rctParameters_->eGammaLSB();
252  }
253 }
double sign(double x)
double et(unsigned short rank, unsigned short eta, short etaSign) const
convert from rank to physically meaningful quantity
const L1CaloEcalScale * ecalScale_
const L1RCTParameters * rctParameters_
double eGammaLSB() const
float L1RCTLookupTables::convertHcal ( unsigned short  hcal,
unsigned short  iAbsEta,
short  sign 
) const
private

Definition at line 256 of file L1RCTLookupTables.cc.

References L1CaloHcalScale::et(), digitizers_cfi::hcal, hcalScale_, L1RCTParameters::jetMETLSB(), and rctParameters_.

Referenced by lookup().

256  {
257  if (hcalScale_ != nullptr) {
258  return (hcalScale_->et(hcal, iAbsEta, sign));
259  } else {
260  // edm::LogInfo("L1RegionalCaloTrigger")
261  // << "CaloTPGTranscoder was not used" << std::endl;
262  return ((float)hcal) * rctParameters_->jetMETLSB();
263  }
264 }
double sign(double x)
double et(unsigned short rank, unsigned short eta, short etaSign) const
convert from rank to physically meaningful quantity
double jetMETLSB() const
const L1RCTParameters * rctParameters_
const L1CaloHcalScale * hcalScale_
unsigned long L1RCTLookupTables::convertToInteger ( float  et,
float  lsb,
int  precision 
) const
private

Definition at line 267 of file L1RCTLookupTables.cc.

Referenced by eGammaETCode(), jetMETETCode(), and lookup().

267  {
268  unsigned long etBits = (unsigned long)(et / lsb);
269  unsigned long maxValue = (1 << precision) - 1;
270  if (etBits > maxValue)
271  return maxValue;
272  else
273  return etBits;
274 }
unsigned int L1RCTLookupTables::eGammaETCode ( float  ecal,
float  hcal,
int  iAbsEta 
) const

Definition at line 276 of file L1RCTLookupTables.cc.

References convertToInteger(), L1RCTParameters::eGammaLSB(), L1RCTParameters::EGammaTPGSum(), Exception, and rctParameters_.

Referenced by lookup().

276  {
277  if (rctParameters_ == nullptr)
278  throw cms::Exception("L1RCTParameters Invalid") << "L1RCTParameters should be set every event" << rctParameters_;
279  float etLinear = rctParameters_->EGammaTPGSum(ecal, hcal, iAbsEta);
280  return convertToInteger(etLinear, rctParameters_->eGammaLSB(), 7);
281 }
unsigned long convertToInteger(float et, float lsb, int precision) const
float EGammaTPGSum(const float &ecal, const float &hcal, const unsigned &iAbsEta) const
const L1RCTParameters * rctParameters_
double eGammaLSB() const
unsigned int L1RCTLookupTables::emRank ( unsigned short  energy) const

Definition at line 220 of file L1RCTLookupTables.cc.

References relval_parameters_module::energy, etScale_, and L1CaloEtScale::rank().

Referenced by L1RCTJetSummaryCard::asicCompare(), L1RCT::getIsolatedEGObjects(), L1RCT::getNonisolatedEGObjects(), and L1RCTLutWriter::writeEicLutFile().

220  {
221  if (etScale_) {
222  return etScale_->rank(energy);
223  } else
224  // edm::LogInfo("L1RegionalCaloTrigger")
225  // << "CaloEtScale was not used - energy instead of rank" << std::endl;
226  return energy;
227 }
uint16_t rank(const uint16_t linear) const
convert from linear Et scale to rank scale
const L1CaloEtScale * etScale_
bool L1RCTLookupTables::hOeFGVetoBit ( float  ecal,
float  hcal,
bool  fgbit 
) const

Definition at line 178 of file L1RCTLookupTables.cc.

References L1RCTParameters::eMaxForFGCut(), L1RCTParameters::eMaxForHoECut(), L1RCTParameters::eMinForFGCut(), L1RCTParameters::eMinForHoECut(), Exception, L1RCTParameters::hMinForHoECut(), L1RCTParameters::hOeCut(), rctParameters_, and relval_cleanedupgrade::veto.

Referenced by lookup().

178  {
179  if (rctParameters_ == nullptr)
180  throw cms::Exception("L1RCTParameters Invalid") << "L1RCTParameters should be set every event" << rctParameters_;
181  bool veto = false;
183  if (fgbit)
184  veto = true;
185  }
187  if ((hcal / ecal) > rctParameters_->hOeCut())
188  veto = true;
189  }
190  // else
191  if (ecal < rctParameters_->eMinForHoECut()) {
193  veto = true; // Changed from eMinForHoECut() - JLL 2008-Feb-13
194  }
195  return veto;
196 }
double eMaxForFGCut() const
double eMinForFGCut() const
double eMinForHoECut() const
const L1RCTParameters * rctParameters_
double hOeCut() const
double eMaxForHoECut() const
double hMinForHoECut() const
unsigned int L1RCTLookupTables::jetMETETCode ( float  ecal,
float  hcal,
int  iAbsEta 
) const

Definition at line 283 of file L1RCTLookupTables.cc.

References convertToInteger(), Exception, L1RCTParameters::jetMETLSB(), L1RCTParameters::JetMETTPGSum(), and rctParameters_.

Referenced by lookup().

283  {
284  if (rctParameters_ == nullptr)
285  throw cms::Exception("L1RCTParameters Invalid") << "L1RCTParameters should be set every event" << rctParameters_;
286  float etLinear = rctParameters_->JetMETTPGSum(ecal, hcal, iAbsEta);
287  return convertToInteger(etLinear, rctParameters_->jetMETLSB(), 9);
288 }
unsigned long convertToInteger(float et, float lsb, int precision) const
double jetMETLSB() const
const L1RCTParameters * rctParameters_
float JetMETTPGSum(const float &ecal, const float &hcal, const unsigned &iAbsEta) const
unsigned int L1RCTLookupTables::lookup ( unsigned short  ecalInput,
unsigned short  hcalInput,
unsigned short  fgbit,
unsigned short  crtNo,
unsigned short  crdNo,
unsigned short  twrNo 
) const

Definition at line 22 of file L1RCTLookupTables.cc.

References funct::abs(), activityBit(), L1RCTParameters::calcIEta(), L1RCTParameters::calcIPhi(), channelMask_, convertEcal(), convertHcal(), digitizers_cfi::ecal, L1RCTChannelMask::ecalMask, L1RCTNoisyChannelMask::ecalMask, L1RCTParameters::eGammaECalScaleFactors(), eGammaETCode(), L1RCTParameters::eGammaHCalScaleFactors(), Exception, digitizers_cfi::hcal, L1RCTChannelMask::hcalMask, L1RCTNoisyChannelMask::hcalMask, L1RCTNoisyChannelMask::hcalThreshold, hOeFGVetoBit(), L1RCTParameters::jetMETECalScaleFactors(), jetMETETCode(), L1RCTParameters::jetMETHCalScaleFactors(), L1RCTParameters::noiseVetoHB(), L1RCTParameters::noiseVetoHEminus(), L1RCTParameters::noiseVetoHEplus(), noisyChannelMask_, convertSQLitetoXML_cfg::output, rctParameters_, and jetcorrextractor::sign().

Referenced by L1RCTSaveInput::analyze(), L1RCTJetSummaryCard::fillHFRegionSums(), L1RCTReceiverCard::fillInput(), L1RCTInputProducer::produce(), L1RCTLutWriter::writeJscLutFile(), and L1RCTLutWriter::writeRcLutFile().

27  {
28  if (rctParameters_ == nullptr)
29  throw cms::Exception("L1RCTParameters Invalid") << "L1RCTParameters should be set every event" << rctParameters_;
30  if (channelMask_ == nullptr)
31  throw cms::Exception("L1RCTChannelMask Invalid") << "L1RCTChannelMask should be set every event" << channelMask_;
32  if (noisyChannelMask_ == nullptr)
33  throw cms::Exception("L1RCTNoisyChannelMask Invalid")
34  << "L1RCTNoisyChannelMask should be set every event" << noisyChannelMask_;
35  if (ecalInput > 0xFF)
36  throw cms::Exception("Invalid Data") << "ECAL compressedET should be less than 0xFF, is " << ecalInput;
37  if (hcalInput > 0xFF)
38  throw cms::Exception("Invalid Data") << "HCAL compressedET should be less than 0xFF, is " << hcalInput;
39  if (fgbit > 1)
40  throw cms::Exception("Invalid Data") << "ECAL finegrain should be a single bit, is " << fgbit;
41  short iEta = (short)rctParameters_->calcIEta(crtNo, crdNo, twrNo);
42  unsigned short iAbsEta = (unsigned short)abs(iEta);
43  short sign = iEta / iAbsEta;
44  unsigned short iPhi = rctParameters_->calcIPhi(crtNo, crdNo, twrNo);
45  unsigned short phiSide = (iPhi / 4) % 2;
46  if (iAbsEta < 1 || iAbsEta > 28)
47  throw cms::Exception("Invalid Data") << "1 <= |IEta| <= 28, is " << iAbsEta;
48 
49  // Pre Input bits
50  unsigned short ecalAfterMask = 0;
51  unsigned short hcalAfterMask = 0;
52 
53  // using channel mask to mask off ecal channels
54  // Mike: Introducing the hot channel mask
55  // If the Et is above the threshold then mask it as well
56 
57  float ecalBeforeMask = convertEcal(ecalInput, iAbsEta, sign);
58 
59  bool resetECAL = (channelMask_->ecalMask[crtNo][phiSide][iAbsEta - 1]) || // channel mask
60  (noisyChannelMask_->ecalMask[crtNo][phiSide][iAbsEta - 1] &&
61  ecalBeforeMask < noisyChannelMask_->ecalThreshold) || // hot mask
62  (rctParameters_->eGammaECalScaleFactors()[iAbsEta - 1] == 0. &&
63  rctParameters_->jetMETECalScaleFactors()[iAbsEta - 1] == 0.);
64 
65  if (resetECAL) {
66  ecalAfterMask = 0;
67  } else {
68  ecalAfterMask = ecalInput;
69  }
70 
71  float ecal = convertEcal(ecalAfterMask, iAbsEta, sign);
72 
73  // masking off hcal for channels in channel mask
74  float hcalBeforeMask = convertHcal(hcalInput, iAbsEta, sign);
75 
76  bool resetHCAL = channelMask_->hcalMask[crtNo][phiSide][iAbsEta - 1] ||
77  (noisyChannelMask_->hcalMask[crtNo][phiSide][iAbsEta - 1] &&
78  hcalBeforeMask < noisyChannelMask_->hcalThreshold) || // hot mask
79  (rctParameters_->eGammaHCalScaleFactors()[iAbsEta - 1] == 0. &&
80  rctParameters_->jetMETHCalScaleFactors()[iAbsEta - 1] == 0.);
81 
82  if (resetHCAL) {
83  hcalAfterMask = 0;
84  } else {
85  hcalAfterMask = hcalInput;
86  }
87 
88  float hcal = convertHcal(hcalAfterMask, iAbsEta, sign);
89 
90  unsigned long etIn7Bits;
91  unsigned long etIn9Bits;
92 
93  if ((ecalAfterMask == 0 && hcalAfterMask > 0) &&
94  ((rctParameters_->noiseVetoHB() && iAbsEta > 0 && iAbsEta < 18) ||
95  (rctParameters_->noiseVetoHEplus() && iAbsEta > 17 && crtNo > 8) ||
96  (rctParameters_->noiseVetoHEminus() && iAbsEta > 17 && crtNo < 9))) {
97  etIn7Bits = 0;
98  etIn9Bits = 0;
99  } else {
100  etIn7Bits = eGammaETCode(ecal, hcal, iAbsEta);
101  etIn9Bits = jetMETETCode(ecal, hcal, iAbsEta);
102  }
103  // Saturated input towers cause tower ET pegging at the highest value
104  if ((ecalAfterMask == 0xFF && rctParameters_->eGammaECalScaleFactors()[iAbsEta - 1] != 0.) ||
105  (hcalAfterMask == 0xFF && rctParameters_->eGammaHCalScaleFactors()[iAbsEta - 1] != 0.)) {
106  etIn7Bits = 0x7F; // egamma path
107  }
108  if ((ecalAfterMask == 0xFF && rctParameters_->jetMETECalScaleFactors()[iAbsEta - 1] != 0.) ||
109  (hcalAfterMask == 0xFF && rctParameters_->jetMETHCalScaleFactors()[iAbsEta - 1] != 0.)) {
110  etIn9Bits = 0x1FF; // sums path
111  }
112 
113  unsigned long shiftEtIn9Bits = etIn9Bits << 8;
114  unsigned long shiftHE_FGBit = hOeFGVetoBit(ecal, hcal, fgbit) << 7;
115  unsigned long shiftActivityBit = 0;
116  if (rctParameters_->jetMETECalScaleFactors()[iAbsEta - 1] == 0. &&
117  rctParameters_->jetMETHCalScaleFactors()[iAbsEta - 1] == 0.) {
118  // do nothing, it's already zero
119  } else if (rctParameters_->jetMETECalScaleFactors()[iAbsEta - 1] == 0.) {
120  shiftActivityBit = activityBit(0., hcal) << 17;
121  } else if (rctParameters_->jetMETHCalScaleFactors()[iAbsEta - 1] == 0.) {
122  shiftActivityBit = activityBit(ecal, 0.) << 17;
123  } else {
124  shiftActivityBit = activityBit(ecal, hcal) << 17;
125  }
126  unsigned long output = etIn7Bits + shiftHE_FGBit + shiftEtIn9Bits + shiftActivityBit;
127  return output;
128 }
bool hOeFGVetoBit(float ecal, float hcal, bool fgbit) const
const std::vector< double > & eGammaHCalScaleFactors() const
const std::vector< double > & jetMETHCalScaleFactors() const
const std::vector< double > & eGammaECalScaleFactors() const
short calcIEta(unsigned short iCrate, unsigned short iCard, unsigned short iTower) const
double sign(double x)
bool noiseVetoHEminus() const
bool ecalMask[18][2][28]
const L1RCTChannelMask * channelMask_
unsigned int eGammaETCode(float ecal, float hcal, int iAbsEta) const
unsigned int jetMETETCode(float ecal, float hcal, int iAbsEta) const
const L1RCTNoisyChannelMask * noisyChannelMask_
bool noiseVetoHEplus() const
const std::vector< double > & jetMETECalScaleFactors() const
float convertHcal(unsigned short hcal, unsigned short iAbsEta, short sign) const
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
bool noiseVetoHB() const
unsigned short calcIPhi(unsigned short iCrate, unsigned short iCard, unsigned short iTower) const
const L1RCTParameters * rctParameters_
bool activityBit(float ecal, float hcal) const
bool hcalMask[18][2][28]
float convertEcal(unsigned short ecal, unsigned short iAbsEta, short sign) const
unsigned int L1RCTLookupTables::lookup ( unsigned short  hfInput,
unsigned short  crtNo,
unsigned short  crdNo,
unsigned short  twrNo 
) const

Definition at line 130 of file L1RCTLookupTables.cc.

References funct::abs(), L1RCTParameters::calcIEta(), channelMask_, convertHcal(), convertToInteger(), Exception, HLT_FULL_cff::hfInput, L1RCTChannelMask::hfMask, L1RCTNoisyChannelMask::hfMask, L1RCTParameters::jetMETHCalScaleFactors(), L1RCTParameters::jetMETLSB(), noisyChannelMask_, rctParameters_, mps_fire::result, and jetcorrextractor::sign().

133  {
134  if (rctParameters_ == nullptr)
135  throw cms::Exception("L1RCTParameters Invalid") << "L1RCTParameters should be set every event" << rctParameters_;
136  if (channelMask_ == nullptr)
137  throw cms::Exception("L1RCTChannelMask Invalid") << "L1RCTChannelMask should be set every event" << channelMask_;
138  if (hfInput > 0xFF)
139  throw cms::Exception("Invalid Data") << "HF compressedET should be less than 0xFF, is " << hfInput;
140  short iEta = rctParameters_->calcIEta(crtNo, crdNo, twrNo);
141  unsigned short iAbsEta = abs(iEta);
142  short sign = (iEta / iAbsEta);
143  unsigned short phiSide = twrNo / 4;
144  if (iAbsEta < 29 || iAbsEta > 32)
145  throw cms::Exception("Invalid Data") << "29 <= |iEta| <= 32, is " << iAbsEta;
146 
147  float et = convertHcal(hfInput, iAbsEta, sign);
148  ;
149 
150  if (channelMask_->hfMask[crtNo][phiSide][iAbsEta - 29] ||
151  (noisyChannelMask_->hfMask[crtNo][phiSide][iAbsEta - 29] && et < noisyChannelMask_->hfThreshold)) {
152  et = 0;
153  }
154 
155  // cout << (int) rctParameters_->jetMETHCalScaleFactors()[iAbsEta-1] << endl;
156 
157  float scalehf = 1.;
158  if (rctParameters_->jetMETHCalScaleFactors().size() == 32) {
159  scalehf = (float)rctParameters_->jetMETHCalScaleFactors()[iAbsEta - 1];
160  } // The max eta for the various scale factors is 32, check to see if used.
161  else if (rctParameters_->jetMETHCalScaleFactors().size() == 32 * 10) {
162  int ht_bin = ((int)floor(et) / 5);
163  // lowest bin (1) is 0-10GeV
164  if (ht_bin < 1)
165  ht_bin = 1;
166  // highest bin (9) is 45GeV and up
167  if (ht_bin > 9)
168  ht_bin = 9;
169  scalehf = (float)rctParameters_->jetMETHCalScaleFactors()[32 * ht_bin + iAbsEta - 1];
170  } // et-dependent scale factors (optional, of course, if set to 1)
171 
172  et = scalehf * et; // Allow for scaling the HF as well e.g. zero out if needed
173 
174  unsigned int result = convertToInteger(et, rctParameters_->jetMETLSB(), 8);
175  return result;
176 }
const std::vector< double > & jetMETHCalScaleFactors() const
short calcIEta(unsigned short iCrate, unsigned short iCard, unsigned short iTower) const
double sign(double x)
const L1RCTChannelMask * channelMask_
unsigned long convertToInteger(float et, float lsb, int precision) const
const L1RCTNoisyChannelMask * noisyChannelMask_
tuple result
Definition: mps_fire.py:311
float convertHcal(unsigned short hcal, unsigned short iAbsEta, short sign) const
double jetMETLSB() const
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
const L1RCTParameters * rctParameters_
bool hfMask[18][2][4]
const L1RCTParameters* L1RCTLookupTables::rctParameters ( ) const
inline
void L1RCTLookupTables::setChannelMask ( const L1RCTChannelMask channelMask)
inline

Definition at line 23 of file L1RCTLookupTables.h.

References channelMask_.

Referenced by L1RCTSaveInput::analyze(), L1RCTLutWriter::analyze(), and L1RCTInputProducer::produce().

23 { channelMask_ = channelMask; }
const L1RCTChannelMask * channelMask_
void L1RCTLookupTables::setEcalScale ( const L1CaloEcalScale ecalScale)
inline

Definition at line 31 of file L1RCTLookupTables.h.

References ecalScale_.

Referenced by L1RCTSaveInput::analyze(), L1RCTLutWriter::analyze(), and L1RCTInputProducer::produce().

31 { ecalScale_ = ecalScale; }
const L1CaloEcalScale * ecalScale_
void L1RCTLookupTables::setHcalScale ( const L1CaloHcalScale hcalScale)
inline

Definition at line 27 of file L1RCTLookupTables.h.

References hcalScale_.

Referenced by L1RCTSaveInput::analyze(), L1RCTLutWriter::analyze(), and L1RCTInputProducer::produce().

27 { hcalScale_ = hcalScale; }
const L1CaloHcalScale * hcalScale_
void L1RCTLookupTables::setL1CaloEtScale ( const L1CaloEtScale etScale)
inline

Definition at line 29 of file L1RCTLookupTables.h.

References etScale_.

Referenced by L1RCTSaveInput::analyze(), L1RCTLutWriter::analyze(), and L1RCTInputProducer::produce().

29 { etScale_ = etScale; }
const L1CaloEtScale * etScale_
void L1RCTLookupTables::setNoisyChannelMask ( const L1RCTNoisyChannelMask channelMask)
inline

Definition at line 24 of file L1RCTLookupTables.h.

References noisyChannelMask_.

Referenced by L1RCTLutWriter::analyze().

24 { noisyChannelMask_ = channelMask; }
const L1RCTNoisyChannelMask * noisyChannelMask_
void L1RCTLookupTables::setRCTParameters ( const L1RCTParameters rctParameters)
inline

Definition at line 21 of file L1RCTLookupTables.h.

References rctParameters(), and rctParameters_.

Referenced by L1RCTSaveInput::analyze(), L1RCTLutWriter::analyze(), L1RCTInputProducer::produce(), and RctInputTextToDigi::produce().

const L1RCTParameters * rctParameters_
const L1RCTParameters * rctParameters() const

Member Data Documentation

const L1RCTChannelMask* L1RCTLookupTables::channelMask_
private

Definition at line 58 of file L1RCTLookupTables.h.

Referenced by lookup(), and setChannelMask().

const L1CaloEcalScale* L1RCTLookupTables::ecalScale_
private

Definition at line 60 of file L1RCTLookupTables.h.

Referenced by convertEcal(), and setEcalScale().

const L1CaloEtScale* L1RCTLookupTables::etScale_
private

Definition at line 62 of file L1RCTLookupTables.h.

Referenced by emRank(), and setL1CaloEtScale().

const L1CaloHcalScale* L1RCTLookupTables::hcalScale_
private

Definition at line 61 of file L1RCTLookupTables.h.

Referenced by convertHcal(), and setHcalScale().

const L1RCTNoisyChannelMask* L1RCTLookupTables::noisyChannelMask_
private

Definition at line 59 of file L1RCTLookupTables.h.

Referenced by lookup(), and setNoisyChannelMask().

const L1RCTParameters* L1RCTLookupTables::rctParameters_
private