CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes | Friends
l1t::CaloParamsHelper Class Reference

#include <CaloParamsHelper.h>

Inheritance diagram for l1t::CaloParamsHelper:
l1t::CaloParams

Public Types

enum  {
  regionPUS = 0, egTrimming = 1, egMaxHOverE = 2, egCompressShapes = 3,
  egShapeId = 4, egCalibration = 5, egPUS = 6, egIsolation = 7,
  tauCalibration = 8, tauPUS = 9, tauIsolation = 10, jetPUS = 11,
  jetCalibration = 12, hiCentrality = 13, hiQ2 = 14, tauEtToHFRingEt = 15,
  tauCompress = 16, layer1ECal = 17, layer1HCal = 18, layer1HF = 19,
  jetCompressEta = 20, jetCompressPt = 21, metCalibration = 22, metHFCalibration = 23,
  etSumEttCalibration = 24, etSumEcalSumCalibration = 25, tauIsolation2 = 26, egBypassEGVetosFlag = 27,
  jetBypassPUSFlag = 28, egHOverEBarrel = 29, egHOverEEndcap = 30, etSumMetPUS = 31,
  etSumBypassMetPUSFlag = 32, egBypassExtHoE = 33, egIsolation2 = 34, etSumEttPUS = 35,
  etSumBypassEttPUSFlag = 36, etSumEcalSumPUS = 37, etSumBypassEcalSumPUSFlag = 38, layer1HOverE = 39,
  PUTowerThreshold = 40, tauTrimmingShapeVeto = 41, egBypassShapeFlag = 42, egBypassECALFGFlag = 43,
  egBypassHoEFlag = 44, etSumCentralityLower = 45, etSumCentralityUpper = 46, jetPUSUsePhiRingFlag = 47,
  metPhiCalibration = 48, metHFPhiCalibration = 49, NUM_CALOPARAMNODES = 50
}
 
- Public Types inherited from l1t::CaloParams
enum  { Version = 2 }
 

Public Member Functions

 CaloParamsHelper ()
 
 CaloParamsHelper (const CaloParams)
 
l1t::LUTcentralityLUT ()
 
l1t::LUT const * centralityLUT () const
 
int centralityRegionMask () const
 
bool doTowerEncoding () const
 
unsigned egBypassECALFG () const
 
unsigned egBypassEGVetos () const
 
unsigned egBypassExtHOverE () const
 
unsigned egBypassHoE () const
 
unsigned egBypassShape () const
 
l1t::LUT const * egCalibrationLUT () const
 
l1t::LUTegCalibrationLUT ()
 
std::vector< double > const & egCalibrationParams () const
 
std::string const & egCalibrationType () const
 
unsigned egCalibrationVersion () const
 
l1t::LUTegCompressShapesLUT ()
 
l1t::LUT const * egCompressShapesLUT () const
 
int egEtaCut () const
 
double egHcalThreshold () const
 
int egHOverEcutBarrel () const
 
int egHOverEcutEndcap () const
 
unsigned egIsoAreaNrTowersEta () const
 
unsigned egIsoAreaNrTowersPhi () const
 
l1t::LUT const * egIsolationLUT () const
 
l1t::LUTegIsolationLUT ()
 
l1t::LUT const * egIsolationLUT2 () const
 
l1t::LUTegIsolationLUT2 ()
 
std::string const & egIsolationType () const
 
unsigned egIsoVetoNrTowersPhi () const
 
double egLsb () const
 
double egMaxHcalEt () const
 
l1t::LUTegMaxHOverELUT ()
 
l1t::LUT const * egMaxHOverELUT () const
 
double egMaxPtHOverE () const
 
int egMaxPtHOverEIsolation () const
 
int egMaxPtJetIsolation () const
 
int egMinPtHOverEIsolation () const
 
int egMinPtJetIsolation () const
 
double egNeighbourThreshold () const
 
double egPUSParam (int ipar) const
 
const std::vector< double > & egPUSParams () const
 
const std::string & egPUSType () const
 
double egSeedThreshold () const
 
l1t::LUTegShapeIdLUT ()
 
l1t::LUT const * egShapeIdLUT () const
 
std::string const & egShapeIdType () const
 
unsigned egShapeIdVersion () const
 
l1t::LUTegTrimmingLUT ()
 
l1t::LUT const * egTrimmingLUT () const
 
L1CaloEtScale emScale () const
 
unsigned etSumBypassEcalSumPUS () const
 
unsigned etSumBypassEttPUS () const
 
unsigned etSumBypassMetPUS () const
 
double etSumCentLower (unsigned centClass) const
 
double etSumCentUpper (unsigned centClass) const
 
l1t::LUTetSumEcalSumCalibrationLUT ()
 
l1t::LUT const * etSumEcalSumCalibrationLUT () const
 
std::string const & etSumEcalSumCalibrationType () const
 
l1t::LUTetSumEcalSumPUSLUT ()
 
l1t::LUT const * etSumEcalSumPUSLUT () const
 
std::string const & etSumEcalSumPUSType () const
 
int etSumEtaMax (unsigned isum) const
 
int etSumEtaMin (unsigned isum) const
 
l1t::LUTetSumEttCalibrationLUT ()
 
l1t::LUT const * etSumEttCalibrationLUT () const
 
std::string const & etSumEttCalibrationType () const
 
double etSumEtThreshold (unsigned isum) const
 
l1t::LUTetSumEttPUSLUT ()
 
l1t::LUT const * etSumEttPUSLUT () const
 
std::string const & etSumEttPUSType () const
 
double etSumLsb () const
 
l1t::LUTetSumMetPUSLUT ()
 
l1t::LUT const * etSumMetPUSLUT () const
 
std::string const & etSumMetPUSType () const
 
const std::vector< Node > & getNodes (void) const
 
L1CaloEtScale HfRingScale () const
 
L1CaloEtScale HtMissScale () const
 
int isoTauEtaMax () const
 
int isoTauEtaMin () const
 
bool isValidForStage1 () const
 
bool isValidForStage2 () const
 
unsigned jetBypassPUS () const
 
l1t::LUTjetCalibrationLUT ()
 
l1t::LUT const * jetCalibrationLUT () const
 
std::vector< double > const & jetCalibrationParams () const
 
std::string const & jetCalibrationType () const
 
l1t::LUTjetCompressEtaLUT ()
 
l1t::LUT const * jetCompressEtaLUT () const
 
l1t::LUTjetCompressPtLUT ()
 
l1t::LUT const * jetCompressPtLUT () const
 
double jetLsb () const
 
double jetNeighbourThreshold () const
 
std::vector< double > const & jetPUSParams () const
 
std::string jetPUSType () const
 
unsigned jetPUSUsePhiRing () const
 
int jetRegionMask () const
 
L1CaloEtScale jetScale () const
 
double jetSeedThreshold () const
 
std::vector< int > const & layer1ECalScaleETBins () const
 
std::vector< double > const & layer1ECalScaleFactors () const
 
std::vector< unsigned > const & layer1ECalScalePhiBins () const
 
std::vector< int > const & layer1HCalScaleETBins () const
 
std::vector< double > const & layer1HCalScaleFactors () const
 
std::vector< unsigned > const & layer1HCalScalePhiBins () const
 
std::vector< int > const & layer1HFScaleETBins () const
 
std::vector< double > const & layer1HFScaleFactors () const
 
std::vector< unsigned > const & layer1HFScalePhiBins () const
 
std::vector< unsigned > const & layer1SecondStageLUT () const
 
l1t::LUTmetCalibrationLUT ()
 
l1t::LUT const * metCalibrationLUT () const
 
std::string const & metCalibrationType () const
 
l1t::LUTmetHFCalibrationLUT ()
 
l1t::LUT const * metHFCalibrationLUT () const
 
std::string const & metHFCalibrationType () const
 
l1t::LUTmetHFPhiCalibrationLUT ()
 
l1t::LUT const * metHFPhiCalibrationLUT () const
 
l1t::LUTmetPhiCalibrationLUT ()
 
l1t::LUT const * metPhiCalibrationLUT () const
 
std::vector< int > minimumBiasThresholds () const
 
int pileUpTowerThreshold () const
 
l1t::LUTq2LUT ()
 
l1t::LUT const * q2LUT () const
 
double regionLsb () const
 
l1t::LUTregionPUSLUT ()
 
l1t::LUT const * regionPUSLUT () const
 
std::vector< double > const & regionPUSParams () const
 
std::string const & regionPUSType () const
 
int regionPUSValue (int PUM0, int eta) const
 
void setCentralityLUT (const l1t::LUT &lut)
 
void setCentralityRegionMask (int mask)
 
void setEgBypassECALFG (unsigned flag)
 
void setEgBypassEGVetos (unsigned flag)
 
void setEgBypassExtHOverE (unsigned flag)
 
void setEgBypassHoE (unsigned flag)
 
void setEgBypassShape (unsigned flag)
 
void setEgCalibrationLUT (const l1t::LUT &lut)
 
void setEgCalibrationParams (std::vector< double > params)
 
void setEgCalibrationType (std::string type)
 
void setEgCalibrationVersion (unsigned version)
 
void setEgCompressShapesLUT (const l1t::LUT &lut)
 
void setEgEtaCut (int mask)
 
void setEgHcalThreshold (double thresh)
 
void setEgHOverEcutBarrel (int cut)
 
void setEgHOverEcutEndcap (int cut)
 
void setEgIsoAreaNrTowersEta (unsigned iEgIsoAreaNrTowersEta)
 
void setEgIsoAreaNrTowersPhi (unsigned iEgIsoAreaNrTowersPhi)
 
void setEgIsolationLUT (const l1t::LUT &lut)
 
void setEgIsolationLUT2 (const l1t::LUT &lut)
 
void setEgIsolationType (std::string type)
 
void setEgIsoVetoNrTowersPhi (unsigned iEgIsoVetoNrTowersPhi)
 
void setEgLsb (double lsb)
 
void setEgMaxHcalEt (double cut)
 
void setEgMaxHOverELUT (const l1t::LUT &lut)
 
void setEgMaxPtHOverE (double thresh)
 
void setEgMaxPtHOverEIsolation (int cutValue)
 
void setEgMaxPtJetIsolation (int cutValue)
 
void setEgMinPtHOverEIsolation (int cutValue)
 
void setEgMinPtJetIsolation (int cutValue)
 
void setEgNeighbourThreshold (double thresh)
 
void setEgPUSParams (const std::vector< double > &params)
 
void setEgPUSType (std::string type)
 
void setEgSeedThreshold (double thresh)
 
void setEgShapeIdLUT (const l1t::LUT &lut)
 
void setEgShapeIdType (std::string type)
 
void setEgShapeIdVersion (unsigned version)
 
void setEgTrimmingLUT (const l1t::LUT &lut)
 
void setEmScale (L1CaloEtScale emScale)
 
void setEtSumBypassEcalSumPUS (unsigned flag)
 
void setEtSumBypassEttPUS (unsigned flag)
 
void setEtSumBypassMetPUS (unsigned flag)
 
void setEtSumCentLower (unsigned centClass, double loBound)
 
void setEtSumCentUpper (unsigned centClass, double upBound)
 
void setEtSumEcalSumCalibrationLUT (const l1t::LUT &lut)
 
void setEtSumEcalSumCalibrationType (std::string type)
 
void setEtSumEcalSumPUSLUT (const l1t::LUT &lut)
 
void setEtSumEcalSumPUSType (std::string type)
 
void setEtSumEtaMax (unsigned isum, int eta)
 
void setEtSumEtaMin (unsigned isum, int eta)
 
void setEtSumEttCalibrationLUT (const l1t::LUT &lut)
 
void setEtSumEttCalibrationType (std::string type)
 
void setEtSumEtThreshold (unsigned isum, double thresh)
 
void setEtSumEttPUSLUT (const l1t::LUT &lut)
 
void setEtSumEttPUSType (std::string type)
 
void setEtSumLsb (double lsb)
 
void setEtSumMetPUSLUT (const l1t::LUT &lut)
 
void setEtSumMetPUSType (std::string type)
 
void setHfRingScale (L1CaloEtScale HfRingScale)
 
void setHtMissScale (L1CaloEtScale HtMissScale)
 
void setIsoTauEtaMax (int value)
 
void setIsoTauEtaMin (int value)
 
void setJetBypassPUS (unsigned flag)
 
void setJetCalibrationLUT (const l1t::LUT &lut)
 
void setJetCalibrationParams (std::vector< double > params)
 
void setJetCalibrationType (std::string type)
 
void setJetCompressEtaLUT (const l1t::LUT &lut)
 
void setJetCompressPtLUT (const l1t::LUT &lut)
 
void setJetLsb (double lsb)
 
void setJetNeighbourThreshold (double thresh)
 
void setJetPUSParams (std::vector< double > params)
 
void setJetPUSType (std::string type)
 
void setJetPUSUsePhiRing (unsigned flag)
 
void setJetRegionMask (int mask)
 
void setJetScale (L1CaloEtScale jetScale)
 
void setJetSeedThreshold (double thresh)
 
void setLayer1ECalScaleETBins (std::vector< int > params)
 
void setLayer1ECalScaleFactors (std::vector< double > params)
 
void setLayer1ECalScalePhiBins (std::vector< unsigned > params)
 
void setLayer1HCalScaleETBins (std::vector< int > params)
 
void setLayer1HCalScaleFactors (std::vector< double > params)
 
void setLayer1HCalScalePhiBins (std::vector< unsigned > params)
 
void setLayer1HFScaleETBins (std::vector< int > params)
 
void setLayer1HFScaleFactors (std::vector< double > params)
 
void setLayer1HFScalePhiBins (std::vector< unsigned > params)
 
void setLayer1SecondStageLUT (const std::vector< unsigned > &lut)
 
void setMetCalibrationLUT (const l1t::LUT &lut)
 
void setMetCalibrationType (std::string type)
 
void setMetHFCalibrationLUT (const l1t::LUT &lut)
 
void setMetHFCalibrationType (std::string type)
 
void setMetHFPhiCalibrationLUT (const l1t::LUT &lut)
 
void setMetPhiCalibrationLUT (const l1t::LUT &lut)
 
void setMinimumBiasThresholds (std::vector< int > thresholds)
 
void setNode (int pos, const Node &n)
 
void setPileUpTowerThreshold (int thresh)
 
void setQ2LUT (const l1t::LUT &lut)
 
void setRegionLsb (double lsb)
 
void setRegionPUSLUT (const l1t::LUT &lut)
 
void setRegionPUSParams (const std::vector< double > &params)
 
void setRegionPUSType (std::string type)
 
void setTauCalibrationLUT (const l1t::LUT &lut)
 
void setTauCalibrationParams (std::vector< double > params)
 
void setTauCalibrationType (std::string type)
 
void setTauCompressLUT (const l1t::LUT &lut)
 
void setTauEtToHFRingEtLUT (const l1t::LUT &lut)
 
void setTauIsoAreaNrTowersEta (unsigned iTauIsoAreaNrTowersEta)
 
void setTauIsoAreaNrTowersPhi (unsigned iTauIsoAreaNrTowersPhi)
 
void setTauIsolationLUT (const l1t::LUT &lut)
 
void setTauIsolationLUT2 (const l1t::LUT &lut)
 
void setTauIsoVetoNrTowersPhi (unsigned iTauIsoVetoNrTowersPhi)
 
void setTauLsb (double lsb)
 
void setTauMaxJetIsolationA (double cutValue)
 
void setTauMaxJetIsolationB (double limit)
 
void setTauMaxPtTauVeto (double limit)
 
void setTauMinPtJetIsolationB (double limit)
 
void setTauNeighbourThreshold (double thresh)
 
void setTauPUSParams (const std::vector< double > &params)
 
void setTauPUSType (std::string type)
 
void setTauRegionMask (int mask)
 
void setTauSeedThreshold (double thresh)
 
void setTauTrimmingShapeVetoLUT (const l1t::LUT &lut)
 
void setTowerEncoding (bool doit)
 
void setTowerLsbE (double lsb)
 
void setTowerLsbH (double lsb)
 
void setTowerLsbSum (double lsb)
 
void setTowerNBitsE (int n)
 
void setTowerNBitsH (int n)
 
void setTowerNBitsRatio (int n)
 
void setTowerNBitsSum (int n)
 
l1t::LUTtauCalibrationLUT ()
 
l1t::LUT const * tauCalibrationLUT () const
 
std::vector< double > const & tauCalibrationParams () const
 
std::string const & tauCalibrationType () const
 
l1t::LUTtauCompressLUT ()
 
l1t::LUT const * tauCompressLUT () const
 
l1t::LUT const * tauEtToHFRingEtLUT () const
 
l1t::LUTtauEtToHFRingEtLUT ()
 
unsigned tauIsoAreaNrTowersEta () const
 
unsigned tauIsoAreaNrTowersPhi () const
 
l1t::LUTtauIsolationLUT ()
 
l1t::LUT const * tauIsolationLUT () const
 
l1t::LUTtauIsolationLUT2 ()
 
l1t::LUT const * tauIsolationLUT2 () const
 
unsigned tauIsoVetoNrTowersPhi () const
 
double tauLsb () const
 
double tauMaxJetIsolationA () const
 
double tauMaxJetIsolationB () const
 
double tauMaxPtTauVeto () const
 
double tauMinPtJetIsolationB () const
 
double tauNeighbourThreshold () const
 
double tauPUSParam (int ipar) const
 
const std::vector< double > & tauPUSParams () const
 
std::string tauPUSType () const
 
int tauRegionMask () const
 
double tauSeedThreshold () const
 
l1t::LUTtauTrimmingShapeVetoLUT ()
 
l1t::LUT const * tauTrimmingShapeVetoLUT () const
 
double towerLsbE () const
 
double towerLsbH () const
 
double towerLsbSum () const
 
int towerMaskE () const
 
int towerMaskH () const
 
int towerMaskRatio () const
 
int towerMaskSum () const
 
int towerNBitsE () const
 
int towerNBitsH () const
 
int towerNBitsRatio () const
 
int towerNBitsSum () const
 
 ~CaloParamsHelper ()
 
- Public Member Functions inherited from l1t::CaloParams
 CaloParams ()
 
 ~CaloParams ()
 

Private Attributes

L1CaloEtScale emScale_
 
L1CaloEtScale HfRingScale_
 
L1CaloEtScale HtMissScale_
 
L1CaloEtScale jetScale_
 

Friends

std::ostream & operator<< (std::ostream &os, const CaloParamsHelper &h)
 

Additional Inherited Members

- Protected Attributes inherited from l1t::CaloParams
EgParams egp_
 
std::vector< int > etSumEtaMax_
 
std::vector< int > etSumEtaMin_
 
std::vector< double > etSumEtThreshold_
 
double etSumLsb_
 
JetParams jetp_
 
std::vector< Nodepnode_
 
double regionLsb_
 
TauParams taup_
 
TowerParams towerp_
 
unsigned version_
 

Detailed Description

Definition at line 21 of file CaloParamsHelper.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
regionPUS 
egTrimming 
egMaxHOverE 
egCompressShapes 
egShapeId 
egCalibration 
egPUS 
egIsolation 
tauCalibration 
tauPUS 
tauIsolation 
jetPUS 
jetCalibration 
hiCentrality 
hiQ2 
tauEtToHFRingEt 
tauCompress 
layer1ECal 
layer1HCal 
layer1HF 
jetCompressEta 
jetCompressPt 
metCalibration 
metHFCalibration 
etSumEttCalibration 
etSumEcalSumCalibration 
tauIsolation2 
egBypassEGVetosFlag 
jetBypassPUSFlag 
egHOverEBarrel 
egHOverEEndcap 
etSumMetPUS 
etSumBypassMetPUSFlag 
egBypassExtHoE 
egIsolation2 
etSumEttPUS 
etSumBypassEttPUSFlag 
etSumEcalSumPUS 
etSumBypassEcalSumPUSFlag 
layer1HOverE 
PUTowerThreshold 
tauTrimmingShapeVeto 
egBypassShapeFlag 
egBypassECALFGFlag 
egBypassHoEFlag 
etSumCentralityLower 
etSumCentralityUpper 
jetPUSUsePhiRingFlag 
metPhiCalibration 
metHFPhiCalibration 
NUM_CALOPARAMNODES 

Definition at line 25 of file CaloParamsHelper.h.

25  {
26  regionPUS = 0,
27  egTrimming = 1,
28  egMaxHOverE = 2,
29  egCompressShapes = 3,
30  egShapeId = 4,
31  egCalibration = 5,
32  egPUS = 6,
33  egIsolation = 7,
34  tauCalibration = 8,
35  tauPUS = 9,
36  tauIsolation = 10,
37  jetPUS = 11,
38  jetCalibration = 12,
39  hiCentrality = 13,
40  hiQ2 = 14,
41  tauEtToHFRingEt = 15,
42  tauCompress = 16,
43  layer1ECal = 17,
44  layer1HCal = 18,
45  layer1HF = 19,
46  jetCompressEta = 20,
47  jetCompressPt = 21,
48  metCalibration = 22,
49  metHFCalibration = 23,
52  tauIsolation2 = 26,
54  jetBypassPUSFlag = 28,
55  egHOverEBarrel = 29,
56  egHOverEEndcap = 30,
57  etSumMetPUS = 31,
59  egBypassExtHoE = 33,
60  egIsolation2 = 34,
61  etSumEttPUS = 35,
63  etSumEcalSumPUS = 37,
65  layer1HOverE = 39,
66  PUTowerThreshold = 40,
68  egBypassShapeFlag = 42,
69  egBypassECALFGFlag = 43,
70  egBypassHoEFlag = 44,
74  metPhiCalibration = 48,
77  };

Constructor & Destructor Documentation

◆ CaloParamsHelper() [1/2]

l1t::CaloParamsHelper::CaloParamsHelper ( )
inline

◆ CaloParamsHelper() [2/2]

l1t::CaloParamsHelper::CaloParamsHelper ( const CaloParams  p)

Definition at line 9 of file CaloParamsHelper.cc.

References NUM_CALOPARAMNODES, and l1t::CaloParams::pnode_.

9  : CaloParams(p) {
10  if (pnode_.size() < NUM_CALOPARAMNODES) {
11  pnode_.resize(NUM_CALOPARAMNODES);
12  // at version 2, tauCompress was added, we can add a default version here if necessary...
13  }
14  };
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ ~CaloParamsHelper()

l1t::CaloParamsHelper::~CaloParamsHelper ( )
inline

Definition at line 81 of file CaloParamsHelper.h.

Referenced by L1TStage2Layer2Producer::beginRun(), and L1TStage2Layer1Producer::beginRun().

81 {}

Member Function Documentation

◆ centralityLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::centralityLUT ( )
inline

Definition at line 507 of file CaloParamsHelper.h.

References hiCentrality, and l1t::CaloParams::pnode_.

507 { return &pnode_[hiCentrality].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ centralityLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::centralityLUT ( ) const
inline

Definition at line 508 of file CaloParamsHelper.h.

References hiCentrality, and l1t::CaloParams::pnode_.

508 { return &pnode_[hiCentrality].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ centralityRegionMask()

int l1t::CaloParamsHelper::centralityRegionMask ( ) const
inline

Definition at line 488 of file CaloParamsHelper.h.

References hiCentrality, l1t::CaloParams::pnode_, and l1t::CaloParams::version_.

488  {
489  if (pnode_[hiCentrality].version_ == 1)
490  return pnode_[hiCentrality].iparams_[0];
491  else
492  return 0;
493  }
std::vector< Node > pnode_
Definition: CaloParams.h:236
unsigned version_
Definition: CaloParams.h:234

◆ doTowerEncoding()

bool l1t::CaloParamsHelper::doTowerEncoding ( ) const
inline

◆ egBypassECALFG()

unsigned l1t::CaloParamsHelper::egBypassECALFG ( ) const
inline

Definition at line 186 of file CaloParamsHelper.h.

References egBypassECALFGFlag, and l1t::CaloParams::pnode_.

186  {
187  if (pnode_[egBypassECALFGFlag].uparams_.empty())
188  return 0;
189  else
190  return pnode_[egBypassECALFGFlag].uparams_[0];
191  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egBypassEGVetos()

unsigned l1t::CaloParamsHelper::egBypassEGVetos ( ) const
inline

Definition at line 178 of file CaloParamsHelper.h.

References egBypassEGVetosFlag, and l1t::CaloParams::pnode_.

◆ egBypassExtHOverE()

unsigned l1t::CaloParamsHelper::egBypassExtHOverE ( ) const
inline

Definition at line 179 of file CaloParamsHelper.h.

References egBypassExtHoE, and l1t::CaloParams::pnode_.

179 { return pnode_[egBypassExtHoE].uparams_[0]; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egBypassHoE()

unsigned l1t::CaloParamsHelper::egBypassHoE ( ) const
inline

Definition at line 192 of file CaloParamsHelper.h.

References egBypassHoEFlag, and l1t::CaloParams::pnode_.

192  {
193  if (pnode_[egBypassHoEFlag].uparams_.empty())
194  return 0;
195  else
196  return pnode_[egBypassHoEFlag].uparams_[0];
197  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egBypassShape()

unsigned l1t::CaloParamsHelper::egBypassShape ( ) const
inline

Definition at line 180 of file CaloParamsHelper.h.

References egBypassShapeFlag, and l1t::CaloParams::pnode_.

180  {
181  if (pnode_[egBypassShapeFlag].uparams_.empty())
182  return 0;
183  else
184  return pnode_[egBypassShapeFlag].uparams_[0];
185  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egCalibrationLUT() [1/2]

l1t::LUT const* l1t::CaloParamsHelper::egCalibrationLUT ( ) const
inline

Definition at line 216 of file CaloParamsHelper.h.

References egCalibration, and l1t::CaloParams::pnode_.

216 { return &pnode_[egCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egCalibrationLUT() [2/2]

l1t::LUT* l1t::CaloParamsHelper::egCalibrationLUT ( )
inline

Definition at line 217 of file CaloParamsHelper.h.

References egCalibration, and l1t::CaloParams::pnode_.

217 { return &pnode_[egCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egCalibrationParams()

std::vector<double> const& l1t::CaloParamsHelper::egCalibrationParams ( ) const
inline

Definition at line 215 of file CaloParamsHelper.h.

References egCalibration, and l1t::CaloParams::pnode_.

215 { return pnode_[egCalibration].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egCalibrationType()

std::string const& l1t::CaloParamsHelper::egCalibrationType ( ) const
inline

Definition at line 214 of file CaloParamsHelper.h.

References egCalibration, and l1t::CaloParams::pnode_.

214 { return pnode_[egCalibration].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egCalibrationVersion()

unsigned l1t::CaloParamsHelper::egCalibrationVersion ( ) const
inline

Definition at line 283 of file CaloParamsHelper.h.

References egCalibration, and l1t::CaloParams::pnode_.

283 { return pnode_[egCalibration].version_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egCompressShapesLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::egCompressShapesLUT ( )
inline

Definition at line 170 of file CaloParamsHelper.h.

References egCompressShapes, and l1t::CaloParams::pnode_.

◆ egCompressShapesLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::egCompressShapesLUT ( ) const
inline

Definition at line 171 of file CaloParamsHelper.h.

References egCompressShapes, and l1t::CaloParams::pnode_.

◆ egEtaCut()

int l1t::CaloParamsHelper::egEtaCut ( ) const
inline

Definition at line 154 of file CaloParamsHelper.h.

References egPUS, l1t::CaloParams::pnode_, and l1t::CaloParams::version_.

154  {
155  if (pnode_[egPUS].version_ == 1)
156  return pnode_[egPUS].iparams_[0];
157  else
158  return 0;
159  }
std::vector< Node > pnode_
Definition: CaloParams.h:236
unsigned version_
Definition: CaloParams.h:234

◆ egHcalThreshold()

double l1t::CaloParamsHelper::egHcalThreshold ( ) const
inline

◆ egHOverEcutBarrel()

int l1t::CaloParamsHelper::egHOverEcutBarrel ( ) const
inline

Definition at line 199 of file CaloParamsHelper.h.

References egHOverEBarrel, and l1t::CaloParams::pnode_.

199 { return pnode_[egHOverEBarrel].iparams_[0]; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egHOverEcutEndcap()

int l1t::CaloParamsHelper::egHOverEcutEndcap ( ) const
inline

Definition at line 200 of file CaloParamsHelper.h.

References egHOverEEndcap, and l1t::CaloParams::pnode_.

200 { return pnode_[egHOverEEndcap].iparams_[0]; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egIsoAreaNrTowersEta()

unsigned l1t::CaloParamsHelper::egIsoAreaNrTowersEta ( ) const
inline

◆ egIsoAreaNrTowersPhi()

unsigned l1t::CaloParamsHelper::egIsoAreaNrTowersPhi ( ) const
inline

◆ egIsolationLUT() [1/2]

l1t::LUT const* l1t::CaloParamsHelper::egIsolationLUT ( ) const
inline

Definition at line 210 of file CaloParamsHelper.h.

References egIsolation, and l1t::CaloParams::pnode_.

210 { return &pnode_[egIsolation].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egIsolationLUT() [2/2]

l1t::LUT* l1t::CaloParamsHelper::egIsolationLUT ( )
inline

Definition at line 211 of file CaloParamsHelper.h.

References egIsolation, and l1t::CaloParams::pnode_.

211 { return &pnode_[egIsolation].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egIsolationLUT2() [1/2]

l1t::LUT const* l1t::CaloParamsHelper::egIsolationLUT2 ( ) const
inline

Definition at line 212 of file CaloParamsHelper.h.

References egIsolation2, and l1t::CaloParams::pnode_.

212 { return &pnode_[egIsolation2].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egIsolationLUT2() [2/2]

l1t::LUT* l1t::CaloParamsHelper::egIsolationLUT2 ( )
inline

Definition at line 213 of file CaloParamsHelper.h.

References egIsolation2, and l1t::CaloParams::pnode_.

213 { return &pnode_[egIsolation2].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egIsolationType()

std::string const& l1t::CaloParamsHelper::egIsolationType ( ) const
inline

Definition at line 209 of file CaloParamsHelper.h.

References egIsolation, and l1t::CaloParams::pnode_.

209 { return pnode_[egIsolation].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egIsoVetoNrTowersPhi()

unsigned l1t::CaloParamsHelper::egIsoVetoNrTowersPhi ( ) const
inline

◆ egLsb()

double l1t::CaloParamsHelper::egLsb ( ) const
inline

Definition at line 160 of file CaloParamsHelper.h.

References l1t::CaloParams::egp_, and l1t::CaloParams::EgParams::lsb_.

160 { return egp_.lsb_; }
EgParams egp_
Definition: CaloParams.h:243

◆ egMaxHcalEt()

double l1t::CaloParamsHelper::egMaxHcalEt ( ) const
inline

Definition at line 166 of file CaloParamsHelper.h.

References l1t::CaloParams::egp_, and l1t::CaloParams::EgParams::maxHcalEt_.

166 { return egp_.maxHcalEt_; }
EgParams egp_
Definition: CaloParams.h:243

◆ egMaxHOverELUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::egMaxHOverELUT ( )
inline

Definition at line 168 of file CaloParamsHelper.h.

References egMaxHOverE, and l1t::CaloParams::pnode_.

168 { return &pnode_[egMaxHOverE].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egMaxHOverELUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::egMaxHOverELUT ( ) const
inline

Definition at line 169 of file CaloParamsHelper.h.

References egMaxHOverE, and l1t::CaloParams::pnode_.

169 { return &pnode_[egMaxHOverE].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egMaxPtHOverE()

double l1t::CaloParamsHelper::egMaxPtHOverE ( ) const
inline

Definition at line 167 of file CaloParamsHelper.h.

References l1t::CaloParams::egp_, and l1t::CaloParams::EgParams::maxPtHOverE_.

167 { return egp_.maxPtHOverE_; }
EgParams egp_
Definition: CaloParams.h:243

◆ egMaxPtHOverEIsolation()

int l1t::CaloParamsHelper::egMaxPtHOverEIsolation ( ) const
inline

◆ egMaxPtJetIsolation()

int l1t::CaloParamsHelper::egMaxPtJetIsolation ( ) const
inline

◆ egMinPtHOverEIsolation()

int l1t::CaloParamsHelper::egMinPtHOverEIsolation ( ) const
inline

◆ egMinPtJetIsolation()

int l1t::CaloParamsHelper::egMinPtJetIsolation ( ) const
inline

◆ egNeighbourThreshold()

double l1t::CaloParamsHelper::egNeighbourThreshold ( ) const
inline

◆ egPUSParam()

double l1t::CaloParamsHelper::egPUSParam ( int  ipar) const
inline

Definition at line 207 of file CaloParamsHelper.h.

References egPUS, and l1t::CaloParams::pnode_.

207 { return pnode_[egPUS].dparams_.at(ipar); }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egPUSParams()

const std::vector<double>& l1t::CaloParamsHelper::egPUSParams ( ) const
inline

Definition at line 206 of file CaloParamsHelper.h.

References egPUS, and l1t::CaloParams::pnode_.

206 { return pnode_[egPUS].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egPUSType()

const std::string& l1t::CaloParamsHelper::egPUSType ( ) const
inline

Definition at line 205 of file CaloParamsHelper.h.

References egPUS, and l1t::CaloParams::pnode_.

205 { return pnode_[egPUS].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egSeedThreshold()

double l1t::CaloParamsHelper::egSeedThreshold ( ) const
inline

◆ egShapeIdLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::egShapeIdLUT ( )
inline

Definition at line 172 of file CaloParamsHelper.h.

References egShapeId, and l1t::CaloParams::pnode_.

172 { return &pnode_[egShapeId].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egShapeIdLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::egShapeIdLUT ( ) const
inline

Definition at line 173 of file CaloParamsHelper.h.

References egShapeId, and l1t::CaloParams::pnode_.

173 { return &pnode_[egShapeId].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egShapeIdType()

std::string const& l1t::CaloParamsHelper::egShapeIdType ( ) const
inline

Definition at line 279 of file CaloParamsHelper.h.

References egShapeId, and l1t::CaloParams::pnode_.

279 { return pnode_[egShapeId].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egShapeIdVersion()

unsigned l1t::CaloParamsHelper::egShapeIdVersion ( ) const
inline

Definition at line 281 of file CaloParamsHelper.h.

References egShapeId, and l1t::CaloParams::pnode_.

281 { return pnode_[egShapeId].version_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egTrimmingLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::egTrimmingLUT ( )
inline

Definition at line 164 of file CaloParamsHelper.h.

References egTrimming, and l1t::CaloParams::pnode_.

164 { return &pnode_[egTrimming].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ egTrimmingLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::egTrimmingLUT ( ) const
inline

Definition at line 165 of file CaloParamsHelper.h.

References egTrimming, and l1t::CaloParams::pnode_.

165 { return &pnode_[egTrimming].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ emScale()

L1CaloEtScale l1t::CaloParamsHelper::emScale ( ) const
inline

Definition at line 86 of file CaloParamsHelper.h.

References emScale_.

Referenced by setEmScale().

86 { return emScale_; }

◆ etSumBypassEcalSumPUS()

unsigned l1t::CaloParamsHelper::etSumBypassEcalSumPUS ( ) const
inline

◆ etSumBypassEttPUS()

unsigned l1t::CaloParamsHelper::etSumBypassEttPUS ( ) const
inline

Definition at line 424 of file CaloParamsHelper.h.

References etSumBypassEttPUSFlag, and l1t::CaloParams::pnode_.

◆ etSumBypassMetPUS()

unsigned l1t::CaloParamsHelper::etSumBypassMetPUS ( ) const
inline

Definition at line 423 of file CaloParamsHelper.h.

References etSumBypassMetPUSFlag, and l1t::CaloParams::pnode_.

◆ etSumCentLower()

double l1t::CaloParamsHelper::etSumCentLower ( unsigned  centClass) const
inline

Definition at line 527 of file CaloParamsHelper.h.

References etSumCentralityLower, and l1t::CaloParams::pnode_.

527  {
528  if (pnode_[etSumCentralityLower].dparams_.size() > centClass)
529  return pnode_[etSumCentralityLower].dparams_.at(centClass);
530  else
531  return 0.;
532  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ etSumCentUpper()

double l1t::CaloParamsHelper::etSumCentUpper ( unsigned  centClass) const
inline

Definition at line 533 of file CaloParamsHelper.h.

References etSumCentralityUpper, and l1t::CaloParams::pnode_.

533  {
534  if (pnode_[etSumCentralityUpper].dparams_.size() > centClass)
535  return pnode_[etSumCentralityUpper].dparams_.at(centClass);
536  else
537  return 0.;
538  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ etSumEcalSumCalibrationLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::etSumEcalSumCalibrationLUT ( )
inline

◆ etSumEcalSumCalibrationLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::etSumEcalSumCalibrationLUT ( ) const
inline

◆ etSumEcalSumCalibrationType()

std::string const& l1t::CaloParamsHelper::etSumEcalSumCalibrationType ( ) const
inline

◆ etSumEcalSumPUSLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::etSumEcalSumPUSLUT ( )
inline

Definition at line 438 of file CaloParamsHelper.h.

References etSumEcalSumPUS, and l1t::CaloParams::pnode_.

◆ etSumEcalSumPUSLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::etSumEcalSumPUSLUT ( ) const
inline

Definition at line 439 of file CaloParamsHelper.h.

References etSumEcalSumPUS, and l1t::CaloParams::pnode_.

◆ etSumEcalSumPUSType()

std::string const& l1t::CaloParamsHelper::etSumEcalSumPUSType ( ) const
inline

Definition at line 428 of file CaloParamsHelper.h.

References etSumEcalSumPUS, and l1t::CaloParams::pnode_.

◆ etSumEtaMax()

int l1t::CaloParamsHelper::etSumEtaMax ( unsigned  isum) const

Definition at line 25 of file CaloParamsHelper.cc.

References l1t::CaloParams::etSumEtaMax_, and isum.

Referenced by l1t::Stage2Layer2EtSumAlgorithmFirmwareImp1::Stage2Layer2EtSumAlgorithmFirmwareImp1().

25  {
26  if (etSumEtaMax_.size() > isum)
27  return etSumEtaMax_.at(isum);
28  else
29  return 0;
30  }
double isum
std::vector< int > etSumEtaMax_
Definition: CaloParams.h:256

◆ etSumEtaMin()

int l1t::CaloParamsHelper::etSumEtaMin ( unsigned  isum) const

Definition at line 18 of file CaloParamsHelper.cc.

References l1t::CaloParams::etSumEtaMin_, and isum.

18  {
19  if (etSumEtaMin_.size() > isum)
20  return etSumEtaMin_.at(isum);
21  else
22  return 0;
23  }
double isum
std::vector< int > etSumEtaMin_
Definition: CaloParams.h:253

◆ etSumEttCalibrationLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::etSumEttCalibrationLUT ( )
inline

Definition at line 444 of file CaloParamsHelper.h.

References etSumEttCalibration, and l1t::CaloParams::pnode_.

◆ etSumEttCalibrationLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::etSumEttCalibrationLUT ( ) const
inline

Definition at line 445 of file CaloParamsHelper.h.

References etSumEttCalibration, and l1t::CaloParams::pnode_.

◆ etSumEttCalibrationType()

std::string const& l1t::CaloParamsHelper::etSumEttCalibrationType ( ) const
inline

Definition at line 431 of file CaloParamsHelper.h.

References etSumEttCalibration, and l1t::CaloParams::pnode_.

◆ etSumEtThreshold()

double l1t::CaloParamsHelper::etSumEtThreshold ( unsigned  isum) const

Definition at line 32 of file CaloParamsHelper.cc.

References l1t::CaloParams::etSumEtThreshold_, and isum.

Referenced by l1t::Stage2Layer2EtSumAlgorithmFirmwareImp1::Stage2Layer2EtSumAlgorithmFirmwareImp1().

32  {
33  if (etSumEtThreshold_.size() > isum)
34  return etSumEtThreshold_.at(isum);
35  else
36  return 0.;
37  }
std::vector< double > etSumEtThreshold_
Definition: CaloParams.h:259
double isum

◆ etSumEttPUSLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::etSumEttPUSLUT ( )
inline

Definition at line 436 of file CaloParamsHelper.h.

References etSumEttPUS, and l1t::CaloParams::pnode_.

436 { return &pnode_[etSumEttPUS].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ etSumEttPUSLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::etSumEttPUSLUT ( ) const
inline

Definition at line 437 of file CaloParamsHelper.h.

References etSumEttPUS, and l1t::CaloParams::pnode_.

437 { return &pnode_[etSumEttPUS].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ etSumEttPUSType()

std::string const& l1t::CaloParamsHelper::etSumEttPUSType ( ) const
inline

Definition at line 427 of file CaloParamsHelper.h.

References etSumEttPUS, and l1t::CaloParams::pnode_.

427 { return pnode_[etSumEttPUS].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ etSumLsb()

double l1t::CaloParamsHelper::etSumLsb ( ) const
inline

Definition at line 419 of file CaloParamsHelper.h.

References l1t::CaloParams::etSumLsb_.

419 { return etSumLsb_; }
double etSumLsb_
Definition: CaloParams.h:250

◆ etSumMetPUSLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::etSumMetPUSLUT ( )
inline

Definition at line 434 of file CaloParamsHelper.h.

References etSumMetPUS, and l1t::CaloParams::pnode_.

434 { return &pnode_[etSumMetPUS].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ etSumMetPUSLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::etSumMetPUSLUT ( ) const
inline

Definition at line 435 of file CaloParamsHelper.h.

References etSumMetPUS, and l1t::CaloParams::pnode_.

435 { return &pnode_[etSumMetPUS].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ etSumMetPUSType()

std::string const& l1t::CaloParamsHelper::etSumMetPUSType ( ) const
inline

Definition at line 426 of file CaloParamsHelper.h.

References etSumMetPUS, and l1t::CaloParams::pnode_.

426 { return pnode_[etSumMetPUS].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ getNodes()

const std::vector<Node>& l1t::CaloParamsHelper::getNodes ( void  ) const
inline

Definition at line 574 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_.

574 { return pnode_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ HfRingScale()

L1CaloEtScale l1t::CaloParamsHelper::HfRingScale ( ) const
inline

Definition at line 91 of file CaloParamsHelper.h.

References HfRingScale_.

Referenced by setHfRingScale().

91 { return HfRingScale_; }
L1CaloEtScale HfRingScale_

◆ HtMissScale()

L1CaloEtScale l1t::CaloParamsHelper::HtMissScale ( ) const
inline

Definition at line 90 of file CaloParamsHelper.h.

References HtMissScale_.

Referenced by setHtMissScale().

90 { return HtMissScale_; }
L1CaloEtScale HtMissScale_

◆ isoTauEtaMax()

int l1t::CaloParamsHelper::isoTauEtaMax ( ) const
inline

◆ isoTauEtaMin()

int l1t::CaloParamsHelper::isoTauEtaMin ( ) const
inline

◆ isValidForStage1()

bool l1t::CaloParamsHelper::isValidForStage1 ( ) const
inline

Definition at line 83 of file CaloParamsHelper.h.

83 { return true; }

◆ isValidForStage2()

bool l1t::CaloParamsHelper::isValidForStage2 ( ) const
inline

Definition at line 84 of file CaloParamsHelper.h.

References l1t::CaloParams::version_.

84 { return (version_ >= 2); }
unsigned version_
Definition: CaloParams.h:234

◆ jetBypassPUS()

unsigned l1t::CaloParamsHelper::jetBypassPUS ( ) const
inline

Definition at line 374 of file CaloParamsHelper.h.

References jetBypassPUSFlag, and l1t::CaloParams::pnode_.

374 { return pnode_[jetBypassPUSFlag].uparams_[0]; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ jetCalibrationLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::jetCalibrationLUT ( )
inline

Definition at line 387 of file CaloParamsHelper.h.

References jetCalibration, and l1t::CaloParams::pnode_.

387 { return &pnode_[jetCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ jetCalibrationLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::jetCalibrationLUT ( ) const
inline

Definition at line 388 of file CaloParamsHelper.h.

References jetCalibration, and l1t::CaloParams::pnode_.

388 { return &pnode_[jetCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ jetCalibrationParams()

std::vector<double> const& l1t::CaloParamsHelper::jetCalibrationParams ( ) const
inline

◆ jetCalibrationType()

std::string const& l1t::CaloParamsHelper::jetCalibrationType ( ) const
inline

◆ jetCompressEtaLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::jetCompressEtaLUT ( )
inline

Definition at line 391 of file CaloParamsHelper.h.

References jetCompressEta, and l1t::CaloParams::pnode_.

391 { return &pnode_[jetCompressEta].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ jetCompressEtaLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::jetCompressEtaLUT ( ) const
inline

Definition at line 392 of file CaloParamsHelper.h.

References jetCompressEta, and l1t::CaloParams::pnode_.

392 { return &pnode_[jetCompressEta].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ jetCompressPtLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::jetCompressPtLUT ( )
inline

Definition at line 389 of file CaloParamsHelper.h.

References jetCompressPt, and l1t::CaloParams::pnode_.

389 { return &pnode_[jetCompressPt].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ jetCompressPtLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::jetCompressPtLUT ( ) const
inline

Definition at line 390 of file CaloParamsHelper.h.

References jetCompressPt, and l1t::CaloParams::pnode_.

390 { return &pnode_[jetCompressPt].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ jetLsb()

double l1t::CaloParamsHelper::jetLsb ( ) const
inline

◆ jetNeighbourThreshold()

double l1t::CaloParamsHelper::jetNeighbourThreshold ( ) const
inline

◆ jetPUSParams()

std::vector<double> const& l1t::CaloParamsHelper::jetPUSParams ( ) const
inline

Definition at line 383 of file CaloParamsHelper.h.

References jetPUS, and l1t::CaloParams::pnode_.

383 { return pnode_[jetPUS].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ jetPUSType()

std::string l1t::CaloParamsHelper::jetPUSType ( ) const
inline

Definition at line 382 of file CaloParamsHelper.h.

References jetPUS, and l1t::CaloParams::pnode_.

382 { return pnode_[jetPUS].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ jetPUSUsePhiRing()

unsigned l1t::CaloParamsHelper::jetPUSUsePhiRing ( ) const
inline

Definition at line 375 of file CaloParamsHelper.h.

References jetPUSUsePhiRingFlag, and l1t::CaloParams::pnode_.

375  {
376  if (pnode_[jetPUSUsePhiRingFlag].uparams_.empty())
377  return 0;
378  else
379  return pnode_[jetPUSUsePhiRingFlag].uparams_[0];
380  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ jetRegionMask()

int l1t::CaloParamsHelper::jetRegionMask ( ) const
inline

Definition at line 367 of file CaloParamsHelper.h.

References jetPUS, l1t::CaloParams::pnode_, and l1t::CaloParams::version_.

Referenced by l1t::Stage1Layer2JetAlgorithmImpHI::processEvent().

367  {
368  if (pnode_[jetPUS].version_ == 1)
369  return pnode_[jetPUS].iparams_[0];
370  else
371  return 0;
372  }
std::vector< Node > pnode_
Definition: CaloParams.h:236
unsigned version_
Definition: CaloParams.h:234

◆ jetScale()

L1CaloEtScale l1t::CaloParamsHelper::jetScale ( ) const
inline

Definition at line 88 of file CaloParamsHelper.h.

References jetScale_.

Referenced by setJetScale().

88 { return jetScale_; }

◆ jetSeedThreshold()

double l1t::CaloParamsHelper::jetSeedThreshold ( ) const
inline

◆ layer1ECalScaleETBins()

std::vector<int> const& l1t::CaloParamsHelper::layer1ECalScaleETBins ( ) const
inline

Definition at line 554 of file CaloParamsHelper.h.

References layer1ECal, and l1t::CaloParams::pnode_.

554 { return pnode_[layer1ECal].iparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ layer1ECalScaleFactors()

std::vector<double> const& l1t::CaloParamsHelper::layer1ECalScaleFactors ( ) const
inline

Definition at line 551 of file CaloParamsHelper.h.

References layer1ECal, and l1t::CaloParams::pnode_.

551 { return pnode_[layer1ECal].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ layer1ECalScalePhiBins()

std::vector<unsigned> const& l1t::CaloParamsHelper::layer1ECalScalePhiBins ( ) const
inline

Definition at line 557 of file CaloParamsHelper.h.

References layer1ECal, and l1t::CaloParams::pnode_.

557 { return pnode_[layer1ECal].uparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ layer1HCalScaleETBins()

std::vector<int> const& l1t::CaloParamsHelper::layer1HCalScaleETBins ( ) const
inline

Definition at line 555 of file CaloParamsHelper.h.

References layer1HCal, and l1t::CaloParams::pnode_.

555 { return pnode_[layer1HCal].iparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ layer1HCalScaleFactors()

std::vector<double> const& l1t::CaloParamsHelper::layer1HCalScaleFactors ( ) const
inline

Definition at line 552 of file CaloParamsHelper.h.

References layer1HCal, and l1t::CaloParams::pnode_.

552 { return pnode_[layer1HCal].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ layer1HCalScalePhiBins()

std::vector<unsigned> const& l1t::CaloParamsHelper::layer1HCalScalePhiBins ( ) const
inline

Definition at line 558 of file CaloParamsHelper.h.

References layer1HCal, and l1t::CaloParams::pnode_.

558 { return pnode_[layer1HCal].uparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ layer1HFScaleETBins()

std::vector<int> const& l1t::CaloParamsHelper::layer1HFScaleETBins ( ) const
inline

Definition at line 556 of file CaloParamsHelper.h.

References layer1HF, and l1t::CaloParams::pnode_.

556 { return pnode_[layer1HF].iparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ layer1HFScaleFactors()

std::vector<double> const& l1t::CaloParamsHelper::layer1HFScaleFactors ( ) const
inline

Definition at line 553 of file CaloParamsHelper.h.

References layer1HF, and l1t::CaloParams::pnode_.

553 { return pnode_[layer1HF].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ layer1HFScalePhiBins()

std::vector<unsigned> const& l1t::CaloParamsHelper::layer1HFScalePhiBins ( ) const
inline

Definition at line 559 of file CaloParamsHelper.h.

References layer1HF, and l1t::CaloParams::pnode_.

559 { return pnode_[layer1HF].uparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ layer1SecondStageLUT()

std::vector<unsigned> const& l1t::CaloParamsHelper::layer1SecondStageLUT ( ) const
inline

Definition at line 570 of file CaloParamsHelper.h.

References layer1HOverE, and l1t::CaloParams::pnode_.

570 { return pnode_[layer1HOverE].uparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ metCalibrationLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::metCalibrationLUT ( )
inline

Definition at line 440 of file CaloParamsHelper.h.

References metCalibration, and l1t::CaloParams::pnode_.

440 { return &pnode_[metCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ metCalibrationLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::metCalibrationLUT ( ) const
inline

Definition at line 441 of file CaloParamsHelper.h.

References metCalibration, and l1t::CaloParams::pnode_.

441 { return &pnode_[metCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ metCalibrationType()

std::string const& l1t::CaloParamsHelper::metCalibrationType ( ) const
inline

Definition at line 429 of file CaloParamsHelper.h.

References metCalibration, and l1t::CaloParams::pnode_.

429 { return pnode_[metCalibration].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ metHFCalibrationLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::metHFCalibrationLUT ( )
inline

Definition at line 442 of file CaloParamsHelper.h.

References metHFCalibration, and l1t::CaloParams::pnode_.

◆ metHFCalibrationLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::metHFCalibrationLUT ( ) const
inline

Definition at line 443 of file CaloParamsHelper.h.

References metHFCalibration, and l1t::CaloParams::pnode_.

◆ metHFCalibrationType()

std::string const& l1t::CaloParamsHelper::metHFCalibrationType ( ) const
inline

Definition at line 430 of file CaloParamsHelper.h.

References metHFCalibration, and l1t::CaloParams::pnode_.

◆ metHFPhiCalibrationLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::metHFPhiCalibrationLUT ( )
inline

Definition at line 450 of file CaloParamsHelper.h.

References metHFPhiCalibration, and l1t::CaloParams::pnode_.

◆ metHFPhiCalibrationLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::metHFPhiCalibrationLUT ( ) const
inline

Definition at line 451 of file CaloParamsHelper.h.

References metHFPhiCalibration, and l1t::CaloParams::pnode_.

◆ metPhiCalibrationLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::metPhiCalibrationLUT ( )
inline

Definition at line 448 of file CaloParamsHelper.h.

References metPhiCalibration, and l1t::CaloParams::pnode_.

◆ metPhiCalibrationLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::metPhiCalibrationLUT ( ) const
inline

Definition at line 449 of file CaloParamsHelper.h.

References metPhiCalibration, and l1t::CaloParams::pnode_.

◆ minimumBiasThresholds()

std::vector<int> l1t::CaloParamsHelper::minimumBiasThresholds ( ) const
inline

Definition at line 494 of file CaloParamsHelper.h.

References hiCentrality, mps_fire::i, l1t::CaloParams::pnode_, and l1t::CaloParams::version_.

494  {
495  if (pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size() == 5) {
496  std::vector<int> newVec;
497  newVec.reserve(4);
498  for (int i = 0; i < 4; i++) {
499  newVec.push_back(pnode_[hiCentrality].iparams_.at(i + 1));
500  }
501  return newVec;
502  } else {
503  std::vector<int> newVec;
504  return newVec;
505  }
506  }
std::vector< Node > pnode_
Definition: CaloParams.h:236
unsigned version_
Definition: CaloParams.h:234

◆ pileUpTowerThreshold()

int l1t::CaloParamsHelper::pileUpTowerThreshold ( ) const
inline

Definition at line 147 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and PUTowerThreshold.

147 { return pnode_[PUTowerThreshold].iparams_[0]; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ q2LUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::q2LUT ( )
inline

Definition at line 522 of file CaloParamsHelper.h.

References hiQ2, and l1t::CaloParams::pnode_.

522 { return &pnode_[hiQ2].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ q2LUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::q2LUT ( ) const
inline

Definition at line 523 of file CaloParamsHelper.h.

References hiQ2, and l1t::CaloParams::pnode_.

523 { return &pnode_[hiQ2].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ regionLsb()

double l1t::CaloParamsHelper::regionLsb ( ) const
inline

Definition at line 131 of file CaloParamsHelper.h.

References l1t::CaloParams::regionLsb_.

131 { return regionLsb_; }
double regionLsb_
Definition: CaloParams.h:241

◆ regionPUSLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::regionPUSLUT ( )
inline

Definition at line 134 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and regionPUS.

134 { return &pnode_[regionPUS].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ regionPUSLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::regionPUSLUT ( ) const
inline

Definition at line 135 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and regionPUS.

135 { return &pnode_[regionPUS].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ regionPUSParams()

std::vector<double> const& l1t::CaloParamsHelper::regionPUSParams ( ) const
inline

Definition at line 133 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and regionPUS.

Referenced by regionPUSValue().

133 { return pnode_[regionPUS].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ regionPUSType()

std::string const& l1t::CaloParamsHelper::regionPUSType ( ) const
inline

Definition at line 132 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and regionPUS.

132 { return pnode_[regionPUS].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ regionPUSValue()

int l1t::CaloParamsHelper::regionPUSValue ( int  PUM0,
int  eta 
) const
inline

Definition at line 137 of file CaloParamsHelper.h.

References reco::ceil(), PVValHelper::eta, and regionPUSParams().

137  {
138  int puSub = ceil(regionPUSParams()[18 * eta + PUM0] * 2);
139  return puSub;
140  }
constexpr int32_t ceil(float num)
std::vector< double > const & regionPUSParams() const

◆ setCentralityLUT()

void l1t::CaloParamsHelper::setCentralityLUT ( const l1t::LUT lut)
inline

◆ setCentralityRegionMask()

void l1t::CaloParamsHelper::setCentralityRegionMask ( int  mask)
inline

◆ setEgBypassECALFG()

void l1t::CaloParamsHelper::setEgBypassECALFG ( unsigned  flag)
inline

◆ setEgBypassEGVetos()

void l1t::CaloParamsHelper::setEgBypassEGVetos ( unsigned  flag)
inline

◆ setEgBypassExtHOverE()

void l1t::CaloParamsHelper::setEgBypassExtHOverE ( unsigned  flag)
inline

◆ setEgBypassHoE()

void l1t::CaloParamsHelper::setEgBypassHoE ( unsigned  flag)
inline

◆ setEgBypassShape()

void l1t::CaloParamsHelper::setEgBypassShape ( unsigned  flag)
inline

◆ setEgCalibrationLUT()

void l1t::CaloParamsHelper::setEgCalibrationLUT ( const l1t::LUT lut)
inline

◆ setEgCalibrationParams()

void l1t::CaloParamsHelper::setEgCalibrationParams ( std::vector< double >  params)
inline

◆ setEgCalibrationType()

void l1t::CaloParamsHelper::setEgCalibrationType ( std::string  type)
inline

◆ setEgCalibrationVersion()

void l1t::CaloParamsHelper::setEgCalibrationVersion ( unsigned  version)
inline

◆ setEgCompressShapesLUT()

void l1t::CaloParamsHelper::setEgCompressShapesLUT ( const l1t::LUT lut)
inline

◆ setEgEtaCut()

void l1t::CaloParamsHelper::setEgEtaCut ( int  mask)
inline

Definition at line 219 of file CaloParamsHelper.h.

References egPUS, and l1t::CaloParams::pnode_.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer(), and L1TCaloStage2ParamsESProducer::L1TCaloStage2ParamsESProducer().

219  {
220  pnode_[egPUS].iparams_.resize(1);
221  pnode_[egPUS].iparams_[0] = mask;
222  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ setEgHcalThreshold()

void l1t::CaloParamsHelper::setEgHcalThreshold ( double  thresh)
inline

◆ setEgHOverEcutBarrel()

void l1t::CaloParamsHelper::setEgHOverEcutBarrel ( int  cut)
inline

◆ setEgHOverEcutEndcap()

void l1t::CaloParamsHelper::setEgHOverEcutEndcap ( int  cut)
inline

◆ setEgIsoAreaNrTowersEta()

void l1t::CaloParamsHelper::setEgIsoAreaNrTowersEta ( unsigned  iEgIsoAreaNrTowersEta)
inline

◆ setEgIsoAreaNrTowersPhi()

void l1t::CaloParamsHelper::setEgIsoAreaNrTowersPhi ( unsigned  iEgIsoAreaNrTowersPhi)
inline

◆ setEgIsolationLUT()

void l1t::CaloParamsHelper::setEgIsolationLUT ( const l1t::LUT lut)
inline

◆ setEgIsolationLUT2()

void l1t::CaloParamsHelper::setEgIsolationLUT2 ( const l1t::LUT lut)
inline

◆ setEgIsolationType()

void l1t::CaloParamsHelper::setEgIsolationType ( std::string  type)
inline

◆ setEgIsoVetoNrTowersPhi()

void l1t::CaloParamsHelper::setEgIsoVetoNrTowersPhi ( unsigned  iEgIsoVetoNrTowersPhi)
inline

◆ setEgLsb()

void l1t::CaloParamsHelper::setEgLsb ( double  lsb)
inline

◆ setEgMaxHcalEt()

void l1t::CaloParamsHelper::setEgMaxHcalEt ( double  cut)
inline

◆ setEgMaxHOverELUT()

void l1t::CaloParamsHelper::setEgMaxHOverELUT ( const l1t::LUT lut)
inline

◆ setEgMaxPtHOverE()

void l1t::CaloParamsHelper::setEgMaxPtHOverE ( double  thresh)
inline

◆ setEgMaxPtHOverEIsolation()

void l1t::CaloParamsHelper::setEgMaxPtHOverEIsolation ( int  cutValue)
inline

◆ setEgMaxPtJetIsolation()

void l1t::CaloParamsHelper::setEgMaxPtJetIsolation ( int  cutValue)
inline

◆ setEgMinPtHOverEIsolation()

void l1t::CaloParamsHelper::setEgMinPtHOverEIsolation ( int  cutValue)
inline

◆ setEgMinPtJetIsolation()

void l1t::CaloParamsHelper::setEgMinPtJetIsolation ( int  cutValue)
inline

◆ setEgNeighbourThreshold()

void l1t::CaloParamsHelper::setEgNeighbourThreshold ( double  thresh)
inline

◆ setEgPUSParams()

void l1t::CaloParamsHelper::setEgPUSParams ( const std::vector< double > &  params)
inline

◆ setEgPUSType()

void l1t::CaloParamsHelper::setEgPUSType ( std::string  type)
inline

◆ setEgSeedThreshold()

void l1t::CaloParamsHelper::setEgSeedThreshold ( double  thresh)
inline

◆ setEgShapeIdLUT()

void l1t::CaloParamsHelper::setEgShapeIdLUT ( const l1t::LUT lut)
inline

◆ setEgShapeIdType()

void l1t::CaloParamsHelper::setEgShapeIdType ( std::string  type)
inline

◆ setEgShapeIdVersion()

void l1t::CaloParamsHelper::setEgShapeIdVersion ( unsigned  version)
inline

◆ setEgTrimmingLUT()

void l1t::CaloParamsHelper::setEgTrimmingLUT ( const l1t::LUT lut)
inline

◆ setEmScale()

void l1t::CaloParamsHelper::setEmScale ( L1CaloEtScale  emScale)
inline

Definition at line 87 of file CaloParamsHelper.h.

References emScale(), and emScale_.

87 { emScale_ = emScale; }
L1CaloEtScale emScale() const

◆ setEtSumBypassEcalSumPUS()

void l1t::CaloParamsHelper::setEtSumBypassEcalSumPUS ( unsigned  flag)
inline

◆ setEtSumBypassEttPUS()

void l1t::CaloParamsHelper::setEtSumBypassEttPUS ( unsigned  flag)
inline

◆ setEtSumBypassMetPUS()

void l1t::CaloParamsHelper::setEtSumBypassMetPUS ( unsigned  flag)
inline

◆ setEtSumCentLower()

void l1t::CaloParamsHelper::setEtSumCentLower ( unsigned  centClass,
double  loBound 
)
inline

Definition at line 539 of file CaloParamsHelper.h.

References etSumCentralityLower, and l1t::CaloParams::pnode_.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer(), and L1TCaloStage2ParamsESProducer::L1TCaloStage2ParamsESProducer().

539  {
540  if (pnode_[etSumCentralityLower].dparams_.size() <= centClass)
541  pnode_[etSumCentralityLower].dparams_.resize(centClass + 1);
542  pnode_[etSumCentralityLower].dparams_.at(centClass) = loBound;
543  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ setEtSumCentUpper()

void l1t::CaloParamsHelper::setEtSumCentUpper ( unsigned  centClass,
double  upBound 
)
inline

Definition at line 544 of file CaloParamsHelper.h.

References etSumCentralityUpper, and l1t::CaloParams::pnode_.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer(), and L1TCaloStage2ParamsESProducer::L1TCaloStage2ParamsESProducer().

544  {
545  if (pnode_[etSumCentralityUpper].dparams_.size() <= centClass)
546  pnode_[etSumCentralityUpper].dparams_.resize(centClass + 1);
547  pnode_[etSumCentralityUpper].dparams_.at(centClass) = upBound;
548  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ setEtSumEcalSumCalibrationLUT()

void l1t::CaloParamsHelper::setEtSumEcalSumCalibrationLUT ( const l1t::LUT lut)
inline

◆ setEtSumEcalSumCalibrationType()

void l1t::CaloParamsHelper::setEtSumEcalSumCalibrationType ( std::string  type)
inline

◆ setEtSumEcalSumPUSLUT()

void l1t::CaloParamsHelper::setEtSumEcalSumPUSLUT ( const l1t::LUT lut)
inline

◆ setEtSumEcalSumPUSType()

void l1t::CaloParamsHelper::setEtSumEcalSumPUSType ( std::string  type)
inline

◆ setEtSumEtaMax()

void l1t::CaloParamsHelper::setEtSumEtaMax ( unsigned  isum,
int  eta 
)

◆ setEtSumEtaMin()

void l1t::CaloParamsHelper::setEtSumEtaMin ( unsigned  isum,
int  eta 
)

◆ setEtSumEttCalibrationLUT()

void l1t::CaloParamsHelper::setEtSumEttCalibrationLUT ( const l1t::LUT lut)
inline

◆ setEtSumEttCalibrationType()

void l1t::CaloParamsHelper::setEtSumEttCalibrationType ( std::string  type)
inline

◆ setEtSumEtThreshold()

void l1t::CaloParamsHelper::setEtSumEtThreshold ( unsigned  isum,
double  thresh 
)

◆ setEtSumEttPUSLUT()

void l1t::CaloParamsHelper::setEtSumEttPUSLUT ( const l1t::LUT lut)
inline

◆ setEtSumEttPUSType()

void l1t::CaloParamsHelper::setEtSumEttPUSType ( std::string  type)
inline

◆ setEtSumLsb()

void l1t::CaloParamsHelper::setEtSumLsb ( double  lsb)
inline

◆ setEtSumMetPUSLUT()

void l1t::CaloParamsHelper::setEtSumMetPUSLUT ( const l1t::LUT lut)
inline

◆ setEtSumMetPUSType()

void l1t::CaloParamsHelper::setEtSumMetPUSType ( std::string  type)
inline

◆ setHfRingScale()

void l1t::CaloParamsHelper::setHfRingScale ( L1CaloEtScale  HfRingScale)
inline

Definition at line 93 of file CaloParamsHelper.h.

References HfRingScale(), and HfRingScale_.

L1CaloEtScale HfRingScale_
L1CaloEtScale HfRingScale() const

◆ setHtMissScale()

void l1t::CaloParamsHelper::setHtMissScale ( L1CaloEtScale  HtMissScale)
inline

Definition at line 92 of file CaloParamsHelper.h.

References HtMissScale(), and HtMissScale_.

L1CaloEtScale HtMissScale_
L1CaloEtScale HtMissScale() const

◆ setIsoTauEtaMax()

void l1t::CaloParamsHelper::setIsoTauEtaMax ( int  value)
inline

◆ setIsoTauEtaMin()

void l1t::CaloParamsHelper::setIsoTauEtaMin ( int  value)
inline

◆ setJetBypassPUS()

void l1t::CaloParamsHelper::setJetBypassPUS ( unsigned  flag)
inline

◆ setJetCalibrationLUT()

void l1t::CaloParamsHelper::setJetCalibrationLUT ( const l1t::LUT lut)
inline

◆ setJetCalibrationParams()

void l1t::CaloParamsHelper::setJetCalibrationParams ( std::vector< double >  params)
inline

◆ setJetCalibrationType()

void l1t::CaloParamsHelper::setJetCalibrationType ( std::string  type)
inline

◆ setJetCompressEtaLUT()

void l1t::CaloParamsHelper::setJetCompressEtaLUT ( const l1t::LUT lut)
inline

◆ setJetCompressPtLUT()

void l1t::CaloParamsHelper::setJetCompressPtLUT ( const l1t::LUT lut)
inline

◆ setJetLsb()

void l1t::CaloParamsHelper::setJetLsb ( double  lsb)
inline

◆ setJetNeighbourThreshold()

void l1t::CaloParamsHelper::setJetNeighbourThreshold ( double  thresh)
inline

◆ setJetPUSParams()

void l1t::CaloParamsHelper::setJetPUSParams ( std::vector< double >  params)
inline

◆ setJetPUSType()

void l1t::CaloParamsHelper::setJetPUSType ( std::string  type)
inline

◆ setJetPUSUsePhiRing()

void l1t::CaloParamsHelper::setJetPUSUsePhiRing ( unsigned  flag)
inline

◆ setJetRegionMask()

void l1t::CaloParamsHelper::setJetRegionMask ( int  mask)
inline

Definition at line 397 of file CaloParamsHelper.h.

References jetPUS, and l1t::CaloParams::pnode_.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer(), and L1TCaloStage2ParamsESProducer::L1TCaloStage2ParamsESProducer().

397  {
398  pnode_[jetPUS].iparams_.resize(1);
399  pnode_[jetPUS].iparams_[0] = mask;
400  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ setJetScale()

void l1t::CaloParamsHelper::setJetScale ( L1CaloEtScale  jetScale)
inline

Definition at line 89 of file CaloParamsHelper.h.

References jetScale(), and jetScale_.

89 { jetScale_ = jetScale; }
L1CaloEtScale jetScale() const

◆ setJetSeedThreshold()

void l1t::CaloParamsHelper::setJetSeedThreshold ( double  thresh)
inline

◆ setLayer1ECalScaleETBins()

void l1t::CaloParamsHelper::setLayer1ECalScaleETBins ( std::vector< int >  params)
inline

◆ setLayer1ECalScaleFactors()

void l1t::CaloParamsHelper::setLayer1ECalScaleFactors ( std::vector< double >  params)
inline

◆ setLayer1ECalScalePhiBins()

void l1t::CaloParamsHelper::setLayer1ECalScalePhiBins ( std::vector< unsigned >  params)
inline

◆ setLayer1HCalScaleETBins()

void l1t::CaloParamsHelper::setLayer1HCalScaleETBins ( std::vector< int >  params)
inline

◆ setLayer1HCalScaleFactors()

void l1t::CaloParamsHelper::setLayer1HCalScaleFactors ( std::vector< double >  params)
inline

◆ setLayer1HCalScalePhiBins()

void l1t::CaloParamsHelper::setLayer1HCalScalePhiBins ( std::vector< unsigned >  params)
inline

◆ setLayer1HFScaleETBins()

void l1t::CaloParamsHelper::setLayer1HFScaleETBins ( std::vector< int >  params)
inline

◆ setLayer1HFScaleFactors()

void l1t::CaloParamsHelper::setLayer1HFScaleFactors ( std::vector< double >  params)
inline

◆ setLayer1HFScalePhiBins()

void l1t::CaloParamsHelper::setLayer1HFScalePhiBins ( std::vector< unsigned >  params)
inline

◆ setLayer1SecondStageLUT()

void l1t::CaloParamsHelper::setLayer1SecondStageLUT ( const std::vector< unsigned > &  lut)
inline

◆ setMetCalibrationLUT()

void l1t::CaloParamsHelper::setMetCalibrationLUT ( const l1t::LUT lut)
inline

◆ setMetCalibrationType()

void l1t::CaloParamsHelper::setMetCalibrationType ( std::string  type)
inline

◆ setMetHFCalibrationLUT()

void l1t::CaloParamsHelper::setMetHFCalibrationLUT ( const l1t::LUT lut)
inline

◆ setMetHFCalibrationType()

void l1t::CaloParamsHelper::setMetHFCalibrationType ( std::string  type)
inline

◆ setMetHFPhiCalibrationLUT()

void l1t::CaloParamsHelper::setMetHFPhiCalibrationLUT ( const l1t::LUT lut)
inline

◆ setMetPhiCalibrationLUT()

void l1t::CaloParamsHelper::setMetPhiCalibrationLUT ( const l1t::LUT lut)
inline

◆ setMinimumBiasThresholds()

void l1t::CaloParamsHelper::setMinimumBiasThresholds ( std::vector< int >  thresholds)
inline

◆ setNode()

void l1t::CaloParamsHelper::setNode ( int  pos,
const Node n 
)
inline

Definition at line 573 of file CaloParamsHelper.h.

References dqmiodumpmetadata::n, and l1t::CaloParams::pnode_.

573 { pnode_[pos] = n; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ setPileUpTowerThreshold()

void l1t::CaloParamsHelper::setPileUpTowerThreshold ( int  thresh)
inline

◆ setQ2LUT()

void l1t::CaloParamsHelper::setQ2LUT ( const l1t::LUT lut)
inline

◆ setRegionLsb()

void l1t::CaloParamsHelper::setRegionLsb ( double  lsb)
inline

◆ setRegionPUSLUT()

void l1t::CaloParamsHelper::setRegionPUSLUT ( const l1t::LUT lut)
inline

Definition at line 145 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and regionPUS.

145 { pnode_[regionPUS].LUT_ = lut; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ setRegionPUSParams()

void l1t::CaloParamsHelper::setRegionPUSParams ( const std::vector< double > &  params)
inline

◆ setRegionPUSType()

void l1t::CaloParamsHelper::setRegionPUSType ( std::string  type)
inline

◆ setTauCalibrationLUT()

void l1t::CaloParamsHelper::setTauCalibrationLUT ( const l1t::LUT lut)
inline

◆ setTauCalibrationParams()

void l1t::CaloParamsHelper::setTauCalibrationParams ( std::vector< double >  params)
inline

◆ setTauCalibrationType()

void l1t::CaloParamsHelper::setTauCalibrationType ( std::string  type)
inline

◆ setTauCompressLUT()

void l1t::CaloParamsHelper::setTauCompressLUT ( const l1t::LUT lut)
inline

◆ setTauEtToHFRingEtLUT()

void l1t::CaloParamsHelper::setTauEtToHFRingEtLUT ( const l1t::LUT lut)
inline

◆ setTauIsoAreaNrTowersEta()

void l1t::CaloParamsHelper::setTauIsoAreaNrTowersEta ( unsigned  iTauIsoAreaNrTowersEta)
inline

◆ setTauIsoAreaNrTowersPhi()

void l1t::CaloParamsHelper::setTauIsoAreaNrTowersPhi ( unsigned  iTauIsoAreaNrTowersPhi)
inline

◆ setTauIsolationLUT()

void l1t::CaloParamsHelper::setTauIsolationLUT ( const l1t::LUT lut)
inline

◆ setTauIsolationLUT2()

void l1t::CaloParamsHelper::setTauIsolationLUT2 ( const l1t::LUT lut)
inline

◆ setTauIsoVetoNrTowersPhi()

void l1t::CaloParamsHelper::setTauIsoVetoNrTowersPhi ( unsigned  iTauIsoVetoNrTowersPhi)
inline

◆ setTauLsb()

void l1t::CaloParamsHelper::setTauLsb ( double  lsb)
inline

◆ setTauMaxJetIsolationA()

void l1t::CaloParamsHelper::setTauMaxJetIsolationA ( double  cutValue)
inline

◆ setTauMaxJetIsolationB()

void l1t::CaloParamsHelper::setTauMaxJetIsolationB ( double  limit)
inline

◆ setTauMaxPtTauVeto()

void l1t::CaloParamsHelper::setTauMaxPtTauVeto ( double  limit)
inline

◆ setTauMinPtJetIsolationB()

void l1t::CaloParamsHelper::setTauMinPtJetIsolationB ( double  limit)
inline

◆ setTauNeighbourThreshold()

void l1t::CaloParamsHelper::setTauNeighbourThreshold ( double  thresh)
inline

◆ setTauPUSParams()

void l1t::CaloParamsHelper::setTauPUSParams ( const std::vector< double > &  params)
inline

◆ setTauPUSType()

void l1t::CaloParamsHelper::setTauPUSType ( std::string  type)
inline

◆ setTauRegionMask()

void l1t::CaloParamsHelper::setTauRegionMask ( int  mask)
inline

Definition at line 327 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauPUS.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer(), and L1TCaloStage2ParamsESProducer::L1TCaloStage2ParamsESProducer().

327  {
328  pnode_[tauPUS].iparams_.resize(1);
329  pnode_[tauPUS].iparams_[0] = mask;
330  }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ setTauSeedThreshold()

void l1t::CaloParamsHelper::setTauSeedThreshold ( double  thresh)
inline

◆ setTauTrimmingShapeVetoLUT()

void l1t::CaloParamsHelper::setTauTrimmingShapeVetoLUT ( const l1t::LUT lut)
inline

◆ setTowerEncoding()

void l1t::CaloParamsHelper::setTowerEncoding ( bool  doit)
inline

◆ setTowerLsbE()

void l1t::CaloParamsHelper::setTowerLsbE ( double  lsb)
inline

◆ setTowerLsbH()

void l1t::CaloParamsHelper::setTowerLsbH ( double  lsb)
inline

◆ setTowerLsbSum()

void l1t::CaloParamsHelper::setTowerLsbSum ( double  lsb)
inline

◆ setTowerNBitsE()

void l1t::CaloParamsHelper::setTowerNBitsE ( int  n)
inline

◆ setTowerNBitsH()

void l1t::CaloParamsHelper::setTowerNBitsH ( int  n)
inline

◆ setTowerNBitsRatio()

void l1t::CaloParamsHelper::setTowerNBitsRatio ( int  n)
inline

◆ setTowerNBitsSum()

void l1t::CaloParamsHelper::setTowerNBitsSum ( int  n)
inline

◆ tauCalibrationLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::tauCalibrationLUT ( )
inline

Definition at line 315 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauCalibration.

315 { return &pnode_[tauCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauCalibrationLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::tauCalibrationLUT ( ) const
inline

Definition at line 316 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauCalibration.

316 { return &pnode_[tauCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauCalibrationParams()

std::vector<double> const& l1t::CaloParamsHelper::tauCalibrationParams ( ) const
inline

Definition at line 314 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauCalibration.

314 { return pnode_[tauCalibration].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauCalibrationType()

std::string const& l1t::CaloParamsHelper::tauCalibrationType ( ) const
inline

Definition at line 313 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauCalibration.

313 { return pnode_[tauCalibration].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauCompressLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::tauCompressLUT ( )
inline

Definition at line 317 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauCompress.

317 { return &pnode_[tauCompress].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauCompressLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::tauCompressLUT ( ) const
inline

Definition at line 318 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauCompress.

318 { return &pnode_[tauCompress].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauEtToHFRingEtLUT() [1/2]

l1t::LUT const* l1t::CaloParamsHelper::tauEtToHFRingEtLUT ( ) const
inline

Definition at line 320 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauEtToHFRingEt.

◆ tauEtToHFRingEtLUT() [2/2]

l1t::LUT* l1t::CaloParamsHelper::tauEtToHFRingEtLUT ( )
inline

Definition at line 321 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauEtToHFRingEt.

◆ tauIsoAreaNrTowersEta()

unsigned l1t::CaloParamsHelper::tauIsoAreaNrTowersEta ( ) const
inline

◆ tauIsoAreaNrTowersPhi()

unsigned l1t::CaloParamsHelper::tauIsoAreaNrTowersPhi ( ) const
inline

◆ tauIsolationLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::tauIsolationLUT ( )
inline

Definition at line 306 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauIsolation.

306 { return &pnode_[tauIsolation].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauIsolationLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::tauIsolationLUT ( ) const
inline

Definition at line 307 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauIsolation.

307 { return &pnode_[tauIsolation].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauIsolationLUT2() [1/2]

l1t::LUT* l1t::CaloParamsHelper::tauIsolationLUT2 ( )
inline

Definition at line 308 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauIsolation2.

308 { return &pnode_[tauIsolation2].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauIsolationLUT2() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::tauIsolationLUT2 ( ) const
inline

Definition at line 309 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauIsolation2.

309 { return &pnode_[tauIsolation2].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauIsoVetoNrTowersPhi()

unsigned l1t::CaloParamsHelper::tauIsoVetoNrTowersPhi ( ) const
inline

◆ tauLsb()

double l1t::CaloParamsHelper::tauLsb ( ) const
inline

Definition at line 293 of file CaloParamsHelper.h.

References l1t::CaloParams::TauParams::lsb_, and l1t::CaloParams::taup_.

293 { return taup_.lsb_; }
TauParams taup_
Definition: CaloParams.h:244

◆ tauMaxJetIsolationA()

double l1t::CaloParamsHelper::tauMaxJetIsolationA ( ) const
inline

◆ tauMaxJetIsolationB()

double l1t::CaloParamsHelper::tauMaxJetIsolationB ( ) const
inline

◆ tauMaxPtTauVeto()

double l1t::CaloParamsHelper::tauMaxPtTauVeto ( ) const
inline

◆ tauMinPtJetIsolationB()

double l1t::CaloParamsHelper::tauMinPtJetIsolationB ( ) const
inline

◆ tauNeighbourThreshold()

double l1t::CaloParamsHelper::tauNeighbourThreshold ( ) const
inline

◆ tauPUSParam()

double l1t::CaloParamsHelper::tauPUSParam ( int  ipar) const
inline

Definition at line 304 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauPUS.

304 { return pnode_[tauPUS].dparams_.at(ipar); }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauPUSParams()

const std::vector<double>& l1t::CaloParamsHelper::tauPUSParams ( ) const
inline

Definition at line 303 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauPUS.

303 { return pnode_[tauPUS].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauPUSType()

std::string l1t::CaloParamsHelper::tauPUSType ( ) const
inline

Definition at line 302 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, and tauPUS.

302 { return pnode_[tauPUS].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:236

◆ tauRegionMask()

int l1t::CaloParamsHelper::tauRegionMask ( ) const
inline

Definition at line 287 of file CaloParamsHelper.h.

References l1t::CaloParams::pnode_, tauPUS, and l1t::CaloParams::version_.

287  {
288  if (pnode_[tauPUS].version_ == 1)
289  return pnode_[tauPUS].iparams_[0];
290  else
291  return 0;
292  }
std::vector< Node > pnode_
Definition: CaloParams.h:236
unsigned version_
Definition: CaloParams.h:234

◆ tauSeedThreshold()

double l1t::CaloParamsHelper::tauSeedThreshold ( ) const
inline

◆ tauTrimmingShapeVetoLUT() [1/2]

l1t::LUT* l1t::CaloParamsHelper::tauTrimmingShapeVetoLUT ( )
inline

◆ tauTrimmingShapeVetoLUT() [2/2]

l1t::LUT const* l1t::CaloParamsHelper::tauTrimmingShapeVetoLUT ( ) const
inline

◆ towerLsbE()

double l1t::CaloParamsHelper::towerLsbE ( ) const
inline

◆ towerLsbH()

double l1t::CaloParamsHelper::towerLsbH ( ) const
inline

◆ towerLsbSum()

double l1t::CaloParamsHelper::towerLsbSum ( ) const
inline

◆ towerMaskE()

int l1t::CaloParamsHelper::towerMaskE ( ) const
inline

◆ towerMaskH()

int l1t::CaloParamsHelper::towerMaskH ( ) const
inline

◆ towerMaskRatio()

int l1t::CaloParamsHelper::towerMaskRatio ( ) const
inline

◆ towerMaskSum()

int l1t::CaloParamsHelper::towerMaskSum ( ) const
inline

◆ towerNBitsE()

int l1t::CaloParamsHelper::towerNBitsE ( ) const
inline

◆ towerNBitsH()

int l1t::CaloParamsHelper::towerNBitsH ( ) const
inline

◆ towerNBitsRatio()

int l1t::CaloParamsHelper::towerNBitsRatio ( ) const
inline

◆ towerNBitsSum()

int l1t::CaloParamsHelper::towerNBitsSum ( ) const
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const CaloParamsHelper h 
)
friend

Definition at line 16 of file CaloParamsHelper.cc.

16 { return os << "CaloParamsHelper..."; }

Member Data Documentation

◆ emScale_

L1CaloEtScale l1t::CaloParamsHelper::emScale_
private

Definition at line 577 of file CaloParamsHelper.h.

Referenced by emScale(), and setEmScale().

◆ HfRingScale_

L1CaloEtScale l1t::CaloParamsHelper::HfRingScale_
private

Definition at line 580 of file CaloParamsHelper.h.

Referenced by HfRingScale(), and setHfRingScale().

◆ HtMissScale_

L1CaloEtScale l1t::CaloParamsHelper::HtMissScale_
private

Definition at line 579 of file CaloParamsHelper.h.

Referenced by HtMissScale(), and setHtMissScale().

◆ jetScale_

L1CaloEtScale l1t::CaloParamsHelper::jetScale_
private

Definition at line 578 of file CaloParamsHelper.h.

Referenced by jetScale(), and setJetScale().