Go to the documentation of this file.
16 #ifndef CaloParamsHelper_h
17 #define CaloParamsHelper_h
496 std::vector<int> newVec;
497 for (
int i = 0;
i < 4;
i++) {
502 std::vector<int> newVec;
514 for (
int i = 0;
i < 4;
i++) {
void setTowerNBitsRatio(int n)
void setTauMaxJetIsolationA(double cutValue)
l1t::LUT const * tauCompressLUT() const
std::vector< unsigned > const & layer1HFScalePhiBins() const
void setEtSumEcalSumCalibrationLUT(const l1t::LUT &lut)
void setEtSumEtaMax(unsigned isum, int eta)
void setEtSumEcalSumPUSType(std::string type)
l1t::LUT * jetCalibrationLUT()
void setEgCalibrationVersion(unsigned version)
std::string const & egShapeIdType() const
unsigned jetBypassPUS() const
l1t::LUT const * jetCalibrationLUT() const
l1t::LUT * etSumMetPUSLUT()
friend std::ostream & operator<<(std::ostream &os, const CaloParamsHelper &h)
double tauMaxJetIsolationB() const
l1t::LUT * etSumEttPUSLUT()
void setTauEtToHFRingEtLUT(const l1t::LUT &lut)
unsigned egIsoAreaNrTowersPhi() const
void setCentralityLUT(const l1t::LUT &lut)
l1t::LUT * centralityLUT()
l1t::LUT const * metHFPhiCalibrationLUT() const
double etSumCentLower(unsigned centClass) const
bool isValidForStage2() const
void setMetPhiCalibrationLUT(const l1t::LUT &lut)
void setLayer1HFScaleFactors(std::vector< double > params)
void setEgLsb(double lsb)
int towerMaskRatio() const
void setJetCalibrationParams(std::vector< double > params)
void setIsoTauEtaMax(int value)
bool doTowerEncoding() const
void setEgNeighbourThreshold(double thresh)
L1CaloEtScale emScale() const
double etSumCentUpper(unsigned centClass) const
unsigned etSumBypassEcalSumPUS() const
l1t::LUT const * egCompressShapesLUT() const
l1t::LUT * metCalibrationLUT()
void setTauIsolationLUT(const l1t::LUT &lut)
void setEgMinPtHOverEIsolation(int cutValue)
std::string const & etSumEcalSumPUSType() const
void setJetCalibrationLUT(const l1t::LUT &lut)
void setRegionPUSType(std::string type)
void setTauLsb(double lsb)
double tauPUSParam(int ipar) const
void setTauMinPtJetIsolationB(double limit)
void setEtSumBypassMetPUS(unsigned flag)
L1CaloEtScale jetScale() const
void setEtSumMetPUSLUT(const l1t::LUT &lut)
l1t::LUT * regionPUSLUT()
void setTauCalibrationLUT(const l1t::LUT &lut)
unsigned egCalibrationVersion() const
int maxPtHOverEIsolation_
unsigned egBypassHoE() const
unsigned tauIsoAreaNrTowersEta() const
const std::vector< double > & tauPUSParams() const
std::vector< unsigned > const & layer1ECalScalePhiBins() const
void setJetScale(L1CaloEtScale jetScale)
l1t::LUT const * egIsolationLUT() const
std::string jetPUSType() const
void setEtSumBypassEcalSumPUS(unsigned flag)
void setEgMaxPtJetIsolation(int cutValue)
void setEgHcalThreshold(double thresh)
double minPtJetIsolationB_
void setEgHOverEcutEndcap(int cut)
l1t::LUT * metHFPhiCalibrationLUT()
void setCentralityRegionMask(int mask)
bool isValidForStage1() const
void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi)
void setEgBypassExtHOverE(unsigned flag)
void setTauNeighbourThreshold(double thresh)
std::vector< double > const & egCalibrationParams() const
const std::vector< Node > & getNodes(void) const
void setEtSumEttCalibrationLUT(const l1t::LUT &lut)
std::vector< double > const & regionPUSParams() const
std::vector< Node > pnode_
l1t::LUT const * egShapeIdLUT() const
void setLayer1ECalScalePhiBins(std::vector< unsigned > params)
unsigned isoAreaNrTowersEta_
void setHfRingScale(L1CaloEtScale HfRingScale)
const std::string & egPUSType() const
double tauMaxPtTauVeto() const
std::string const & etSumEttCalibrationType() const
l1t::LUT * egShapeIdLUT()
int egMinPtJetIsolation() const
std::string const & metCalibrationType() const
std::vector< int > minimumBiasThresholds() const
void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta)
std::vector< int > const & layer1ECalScaleETBins() const
unsigned egShapeIdVersion() const
void setJetCompressEtaLUT(const l1t::LUT &lut)
unsigned isoAreaNrTowersEta_
double egNeighbourThreshold() const
L1CaloEtScale HtMissScale_
void setHtMissScale(L1CaloEtScale HtMissScale)
double jetSeedThreshold() const
void setLayer1HCalScalePhiBins(std::vector< unsigned > params)
double etSumEtThreshold(unsigned isum) const
l1t::LUT const * tauIsolationLUT() const
l1t::LUT const * jetCompressPtLUT() const
l1t::LUT * tauTrimmingShapeVetoLUT()
void setEtSumEttPUSLUT(const l1t::LUT &lut)
l1t::LUT const * tauCalibrationLUT() const
double egHcalThreshold() const
l1t::LUT const * metHFCalibrationLUT() const
L1CaloEtScale HtMissScale() const
l1t::LUT const * jetCompressEtaLUT() const
void setEgShapeIdLUT(const l1t::LUT &lut)
std::vector< double > const & layer1HCalScaleFactors() const
l1t::LUT const * q2LUT() const
void setRegionPUSLUT(const l1t::LUT &lut)
void setEgCalibrationLUT(const l1t::LUT &lut)
l1t::LUT * egCompressShapesLUT()
l1t::LUT const * metCalibrationLUT() const
int egHOverEcutEndcap() const
void setJetCompressPtLUT(const l1t::LUT &lut)
unsigned egIsoVetoNrTowersPhi() const
double tauSeedThreshold() const
constexpr int32_t ceil(float num)
std::string const & jetCalibrationType() const
void setTauMaxPtTauVeto(double limit)
void setEtSumEcalSumCalibrationType(std::string type)
void setEtSumCentLower(unsigned centClass, double loBound)
void setEgHOverEcutBarrel(int cut)
double neighbourThreshold_
l1t::LUT * tauIsolationLUT2()
std::vector< double > const & tauCalibrationParams() const
void setEtSumMetPUSType(std::string type)
void setTowerLsbH(double lsb)
unsigned egBypassEGVetos() const
int etSumEtaMin(unsigned isum) const
void setEtSumEtaMin(unsigned isum, int eta)
std::string const & etSumEcalSumCalibrationType() const
int egMinPtHOverEIsolation() const
void setEgMinPtJetIsolation(int cutValue)
void setJetCalibrationType(std::string type)
std::vector< double > const & layer1ECalScaleFactors() const
void setRegionLsb(double lsb)
void setEgBypassECALFG(unsigned flag)
void setEgIsolationLUT2(const l1t::LUT &lut)
void setEtSumCentUpper(unsigned centClass, double upBound)
l1t::LUT const * tauTrimmingShapeVetoLUT() const
void setTowerNBitsH(int n)
unsigned etSumBypassMetPUS() const
int etSumEtaMax(unsigned isum) const
void setJetPUSUsePhiRing(unsigned flag)
l1t::LUT * tauEtToHFRingEtLUT()
unsigned egBypassShape() const
double neighbourThreshold_
l1t::LUT * tauCompressLUT()
void setLayer1HCalScaleETBins(std::vector< int > params)
void setEgBypassEGVetos(unsigned flag)
std::string const & etSumMetPUSType() const
void setTauCompressLUT(const l1t::LUT &lut)
void setLayer1HCalScaleFactors(std::vector< double > params)
l1t::LUT const * metPhiCalibrationLUT() const
double egMaxHcalEt() const
unsigned egBypassECALFG() const
void setEtSumEtThreshold(unsigned isum, double thresh)
double tauMaxJetIsolationA() const
void setEgPUSType(std::string type)
double egSeedThreshold() const
unsigned isoAreaNrTowersPhi_
void setTowerEncoding(bool doit)
void setLayer1ECalScaleETBins(std::vector< int > params)
unsigned isoVetoNrTowersPhi_
void setNode(int pos, const Node &n)
void setPileUpTowerThreshold(int thresh)
l1t::LUT * egIsolationLUT2()
unsigned egBypassExtHOverE() const
void setTauPUSType(std::string type)
l1t::LUT const * tauEtToHFRingEtLUT() const
l1t::LUT * egTrimmingLUT()
int tauRegionMask() const
void setTauSeedThreshold(double thresh)
std::string const & etSumEttPUSType() const
l1t::LUT const * etSumMetPUSLUT() const
l1t::LUT const * regionPUSLUT() const
l1t::LUT * jetCompressPtLUT()
l1t::LUT const * etSumEttPUSLUT() const
void setEgBypassShape(unsigned flag)
l1t::LUT * egMaxHOverELUT()
void setEgMaxHcalEt(double cut)
void setEgShapeIdVersion(unsigned version)
void setTauCalibrationType(std::string type)
void setJetNeighbourThreshold(double thresh)
std::string const & egCalibrationType() const
l1t::LUT * etSumEcalSumCalibrationLUT()
void setTauRegionMask(int mask)
int egHOverEcutBarrel() const
void setJetPUSParams(std::vector< double > params)
void setTauMaxJetIsolationB(double limit)
l1t::LUT const * tauIsolationLUT2() const
void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi)
void setEgEtaCut(int mask)
l1t::LUT const * etSumEttCalibrationLUT() const
void setTowerNBitsSum(int n)
std::string const & tauCalibrationType() const
void setJetLsb(double lsb)
int centralityRegionMask() const
l1t::LUT const * egCalibrationLUT() const
L1CaloEtScale HfRingScale_
void setJetRegionMask(int mask)
l1t::LUT * metHFCalibrationLUT()
std::string tauPUSType() const
std::vector< double > const & jetPUSParams() const
void setLayer1SecondStageLUT(const std::vector< unsigned > &lut)
unsigned isoVetoNrTowersPhi_
void setEgCalibrationParams(std::vector< double > params)
void setLayer1HFScalePhiBins(std::vector< unsigned > params)
void setLayer1HFScaleETBins(std::vector< int > params)
l1t::LUT const * etSumEcalSumPUSLUT() const
void setQ2LUT(const l1t::LUT &lut)
int egMaxPtHOverEIsolation() const
void setMetHFCalibrationType(std::string type)
void setMetCalibrationType(std::string type)
unsigned tauIsoVetoNrTowersPhi() const
unsigned etSumBypassEttPUS() const
unsigned isoAreaNrTowersPhi_
void setTauPUSParams(const std::vector< double > ¶ms)
l1t::LUT * egCalibrationLUT()
void setEtSumEttCalibrationType(std::string type)
l1t::LUT const * etSumEcalSumCalibrationLUT() const
void setEtSumBypassEttPUS(unsigned flag)
void setEgTrimmingLUT(const l1t::LUT &lut)
void setTauCalibrationParams(std::vector< double > params)
double egMaxPtHOverE() const
std::vector< int > const & layer1HCalScaleETBins() const
l1t::LUT const * egMaxHOverELUT() const
void setEmScale(L1CaloEtScale emScale)
l1t::LUT const * centralityLUT() const
void setJetSeedThreshold(double thresh)
void setLayer1ECalScaleFactors(std::vector< double > params)
double tauNeighbourThreshold() const
l1t::LUT * tauCalibrationLUT()
void setEgMaxPtHOverE(double thresh)
int regionPUSValue(int PUM0, int eta) const
void setEgMaxHOverELUT(const l1t::LUT &lut)
std::string const & metHFCalibrationType() const
int towerNBitsRatio() const
int egMaxPtJetIsolation() const
void setEgIsolationLUT(const l1t::LUT &lut)
std::vector< int > const & layer1HFScaleETBins() const
double neighbourThreshold_
void setTowerNBitsE(int n)
L1CaloEtScale HfRingScale() const
void setEgMaxPtHOverEIsolation(int cutValue)
void setMetHFCalibrationLUT(const l1t::LUT &lut)
void setMinimumBiasThresholds(std::vector< int > thresholds)
void setEgBypassHoE(unsigned flag)
double towerLsbSum() const
std::vector< unsigned > const & layer1SecondStageLUT() const
void setEgSeedThreshold(double thresh)
void setTauTrimmingShapeVetoLUT(const l1t::LUT &lut)
void setRegionPUSParams(const std::vector< double > ¶ms)
l1t::LUT * tauIsolationLUT()
void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi)
int jetRegionMask() const
void setEtSumLsb(double lsb)
void setTauIsolationLUT2(const l1t::LUT &lut)
void setJetBypassPUS(unsigned flag)
int minPtHOverEIsolation_
l1t::LUT * egIsolationLUT()
l1t::LUT * jetCompressEtaLUT()
Power< A, B >::type pow(const A &a, const B &b)
std::vector< double > const & jetCalibrationParams() const
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
std::vector< double > const & layer1HFScaleFactors() const
void setMetCalibrationLUT(const l1t::LUT &lut)
void setMetHFPhiCalibrationLUT(const l1t::LUT &lut)
void setIsoTauEtaMin(int value)
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
void setEtSumEttPUSType(std::string type)
l1t::LUT * etSumEttCalibrationLUT()
void setEgShapeIdType(std::string type)
void setEgPUSParams(const std::vector< double > ¶ms)
void setEgCalibrationType(std::string type)
unsigned egIsoAreaNrTowersEta() const
void setJetPUSType(std::string type)
std::string const & egIsolationType() const
std::string const & regionPUSType() const
l1t::LUT * etSumEcalSumPUSLUT()
void setTowerLsbSum(double lsb)
double tauMinPtJetIsolationB() const
const std::vector< double > & egPUSParams() const
l1t::LUT const * egIsolationLUT2() const
double egPUSParam(int ipar) const
l1t::LUT const * egTrimmingLUT() const
void setTowerLsbE(double lsb)
l1t::LUT * metPhiCalibrationLUT()
unsigned tauIsoAreaNrTowersPhi() const
unsigned jetPUSUsePhiRing() const
std::vector< unsigned > const & layer1HCalScalePhiBins() const
double jetNeighbourThreshold() const
std::ostream & operator<<(std::ostream &os, const l1t::CaloParamsHelper &p)
void setEgCompressShapesLUT(const l1t::LUT &lut)
int pileUpTowerThreshold() const
void setEgIsolationType(std::string type)
void setEtSumEcalSumPUSLUT(const l1t::LUT &lut)
int towerNBitsSum() const