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