CMS 3D CMS Logo

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

#include <CaloParamsHelper.h>

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

Public Member Functions

 CaloParamsHelper ()
 
 CaloParamsHelper (const CaloParams)
 
l1t::LUTcentralityLUT ()
 
int centralityRegionMask () const
 
bool doTowerEncoding () const
 
l1t::LUTegCalibrationLUT ()
 
std::vector< double > egCalibrationParams ()
 
std::string egCalibrationType () const
 
l1t::LUTegCompressShapesLUT ()
 
int egEtaCut () const
 
double egHcalThreshold () const
 
unsigned egIsoAreaNrTowersEta () const
 
unsigned egIsoAreaNrTowersPhi () const
 
l1t::LUTegIsolationLUT ()
 
unsigned egIsoVetoNrTowersPhi () const
 
double egLsb () const
 
double egMaxHcalEt () const
 
l1t::LUTegMaxHOverELUT ()
 
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::LUTegTrimmingLUT ()
 
L1CaloEtScale emScale ()
 
int etSumEtaMax (unsigned isum) const
 
int etSumEtaMin (unsigned isum) const
 
double etSumEtThreshold (unsigned isum) const
 
double etSumLsb () const
 
L1CaloEtScale HfRingScale ()
 
L1CaloEtScale HtMissScale ()
 
int isoTauEtaMax () const
 
int isoTauEtaMin () const
 
l1t::LUTjetCalibrationLUT ()
 
std::vector< double > jetCalibrationParams ()
 
std::string jetCalibrationType () const
 
double jetLsb () const
 
double jetNeighbourThreshold () const
 
std::vector< double > jetPUSParams ()
 
std::string jetPUSType () const
 
int jetRegionMask () const
 
L1CaloEtScale jetScale ()
 
double jetSeedThreshold () const
 
std::vector< int > minimumBiasThresholds () const
 
l1t::LUTq2LUT ()
 
double regionLsb () const
 
l1t::LUTregionPUSLUT ()
 
std::vector< double > regionPUSParams ()
 
std::string regionPUSType () const
 
int regionPUSValue (int PUM0, int eta)
 
void setCentralityLUT (const l1t::LUT &lut)
 
void setCentralityRegionMask (int mask)
 
void setEgCalibrationLUT (const l1t::LUT &lut)
 
void setEgCalibrationParams (std::vector< double > params)
 
void setEgCalibrationType (std::string type)
 
void setEgCompressShapesLUT (const l1t::LUT &lut)
 
void setEgEtaCut (int mask)
 
void setEgHcalThreshold (double thresh)
 
void setEgIsoAreaNrTowersEta (unsigned iEgIsoAreaNrTowersEta)
 
void setEgIsoAreaNrTowersPhi (unsigned iEgIsoAreaNrTowersPhi)
 
void setEgIsolationLUT (const l1t::LUT &lut)
 
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 setEgTrimmingLUT (const l1t::LUT &lut)
 
void setEmScale (L1CaloEtScale emScale)
 
void setEtSumEtaMax (unsigned isum, int eta)
 
void setEtSumEtaMin (unsigned isum, int eta)
 
void setEtSumEtThreshold (unsigned isum, double thresh)
 
void setEtSumLsb (double lsb)
 
void setHfRingScale (L1CaloEtScale HfRingScale)
 
void setHtMissScale (L1CaloEtScale HtMissScale)
 
void setIsoTauEtaMax (int value)
 
void setIsoTauEtaMin (int value)
 
void setJetCalibrationLUT (const l1t::LUT &lut)
 
void setJetCalibrationParams (std::vector< double > params)
 
void setJetCalibrationType (std::string type)
 
void setJetLsb (double lsb)
 
void setJetNeighbourThreshold (double thresh)
 
void setJetPUSParams (std::vector< double > params)
 
void setJetPUSType (std::string type)
 
void setJetRegionMask (int mask)
 
void setJetScale (L1CaloEtScale jetScale)
 
void setJetSeedThreshold (double thresh)
 
void setMinimumBiasThresholds (std::vector< int > thresholds)
 
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 setTauEtToHFRingEtLUT (const l1t::LUT &lut)
 
void setTauIsoAreaNrTowersEta (unsigned iTauIsoAreaNrTowersEta)
 
void setTauIsoAreaNrTowersPhi (unsigned iTauIsoAreaNrTowersPhi)
 
void setTauIsolationLUT (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 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 ()
 
std::vector< double > tauCalibrationParams ()
 
std::string tauCalibrationType () const
 
l1t::LUTtauEtToHFRingEtLUT ()
 
unsigned tauIsoAreaNrTowersEta () const
 
unsigned tauIsoAreaNrTowersPhi () const
 
l1t::LUTtauIsolationLUT ()
 
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
 
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 ()
 
void print (std::ostream &) const
 
 ~CaloParams ()
 

Private Attributes

L1CaloEtScale emScale_
 
L1CaloEtScale HfRingScale_
 
L1CaloEtScale HtMissScale_
 
L1CaloEtScale jetScale_
 

Additional Inherited Members

- Public Types inherited from l1t::CaloParams
enum  { Version = 1 }
 
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,
  NUM_CALOPARAMNODES =16
}
 
- 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 19 of file CaloParamsHelper.h.

Constructor & Destructor Documentation

l1t::CaloParamsHelper::CaloParamsHelper ( )
inline

Definition at line 22 of file CaloParamsHelper.h.

22 {}
l1t::CaloParamsHelper::CaloParamsHelper ( const CaloParams  p)
l1t::CaloParamsHelper::~CaloParamsHelper ( )
inline

Definition at line 24 of file CaloParamsHelper.h.

Referenced by L1TStage2Layer1Producer::beginRun().

24 {}

Member Function Documentation

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

Definition at line 257 of file CaloParamsHelper.h.

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

257 { return &pnode_[hiCentrality].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
int l1t::CaloParamsHelper::centralityRegionMask ( ) const
inline

Definition at line 239 of file CaloParamsHelper.h.

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

239  {
240  if(pnode_[hiCentrality].version_ == 1)
241  return pnode_[hiCentrality].iparams_[0] ;
242  else
243  return 0;
244  }
std::vector< Node > pnode_
Definition: CaloParams.h:222
unsigned version_
Definition: CaloParams.h:220
bool l1t::CaloParamsHelper::doTowerEncoding ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::egCalibrationLUT ( )
inline

Definition at line 108 of file CaloParamsHelper.h.

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

108 { return &pnode_[egCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
std::vector<double> l1t::CaloParamsHelper::egCalibrationParams ( )
inline

Definition at line 107 of file CaloParamsHelper.h.

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

107 { return pnode_[egCalibration].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
std::string l1t::CaloParamsHelper::egCalibrationType ( ) const
inline

Definition at line 106 of file CaloParamsHelper.h.

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

106 { return pnode_[egCalibration].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
l1t::LUT* l1t::CaloParamsHelper::egCompressShapesLUT ( )
inline

Definition at line 91 of file CaloParamsHelper.h.

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

91 { return &pnode_[egCompressShapes].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
int l1t::CaloParamsHelper::egEtaCut ( ) const
inline

Definition at line 77 of file CaloParamsHelper.h.

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

77  {
78  if (pnode_[egPUS].version_ ==1)
79  return pnode_[egPUS].iparams_[0];
80  else
81  return 0;
82  }
std::vector< Node > pnode_
Definition: CaloParams.h:222
unsigned version_
Definition: CaloParams.h:220
double l1t::CaloParamsHelper::egHcalThreshold ( ) const
inline
unsigned l1t::CaloParamsHelper::egIsoAreaNrTowersEta ( ) const
inline
unsigned l1t::CaloParamsHelper::egIsoAreaNrTowersPhi ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::egIsolationLUT ( )
inline

Definition at line 105 of file CaloParamsHelper.h.

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

105 { return &pnode_[egIsolation].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
unsigned l1t::CaloParamsHelper::egIsoVetoNrTowersPhi ( ) const
inline
double l1t::CaloParamsHelper::egLsb ( ) const
inline

Definition at line 83 of file CaloParamsHelper.h.

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

83 { return egp_.lsb_; }
EgParams egp_
Definition: CaloParams.h:229
double l1t::CaloParamsHelper::egMaxHcalEt ( ) const
inline

Definition at line 88 of file CaloParamsHelper.h.

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

88 { return egp_.maxHcalEt_; }
EgParams egp_
Definition: CaloParams.h:229
l1t::LUT* l1t::CaloParamsHelper::egMaxHOverELUT ( )
inline

Definition at line 90 of file CaloParamsHelper.h.

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

90 { return &pnode_[egMaxHOverE].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
double l1t::CaloParamsHelper::egMaxPtHOverE ( ) const
inline
int l1t::CaloParamsHelper::egMaxPtHOverEIsolation ( ) const
inline
int l1t::CaloParamsHelper::egMaxPtJetIsolation ( ) const
inline
int l1t::CaloParamsHelper::egMinPtHOverEIsolation ( ) const
inline
int l1t::CaloParamsHelper::egMinPtJetIsolation ( ) const
inline
double l1t::CaloParamsHelper::egNeighbourThreshold ( ) const
inline
double l1t::CaloParamsHelper::egPUSParam ( int  ipar) const
inline

Definition at line 103 of file CaloParamsHelper.h.

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

103 { return pnode_[egPUS].dparams_.at(ipar); }
std::vector< Node > pnode_
Definition: CaloParams.h:222
const std::vector<double>& l1t::CaloParamsHelper::egPUSParams ( ) const
inline

Definition at line 102 of file CaloParamsHelper.h.

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

102 { return pnode_[egPUS].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
const std::string& l1t::CaloParamsHelper::egPUSType ( ) const
inline

Definition at line 101 of file CaloParamsHelper.h.

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

101 { return pnode_[egPUS].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
double l1t::CaloParamsHelper::egSeedThreshold ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::egShapeIdLUT ( )
inline

Definition at line 92 of file CaloParamsHelper.h.

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

92 { return &pnode_[egShapeId].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
l1t::LUT* l1t::CaloParamsHelper::egTrimmingLUT ( )
inline

Definition at line 87 of file CaloParamsHelper.h.

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

87 { return &pnode_[egTrimming].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
L1CaloEtScale l1t::CaloParamsHelper::emScale ( )
inline

Definition at line 26 of file CaloParamsHelper.h.

References emScale_.

Referenced by setEmScale().

26 { return emScale_; }
int l1t::CaloParamsHelper::etSumEtaMax ( unsigned  isum) const
int l1t::CaloParamsHelper::etSumEtaMin ( unsigned  isum) const
double l1t::CaloParamsHelper::etSumEtThreshold ( unsigned  isum) const
double l1t::CaloParamsHelper::etSumLsb ( ) const
inline

Definition at line 228 of file CaloParamsHelper.h.

References l1t::CaloParams::etSumLsb_.

228 { return etSumLsb_; }
double etSumLsb_
Definition: CaloParams.h:236
L1CaloEtScale l1t::CaloParamsHelper::HfRingScale ( )
inline

Definition at line 31 of file CaloParamsHelper.h.

References HfRingScale_.

Referenced by setHfRingScale().

31 {return HfRingScale_;}
L1CaloEtScale HfRingScale_
L1CaloEtScale l1t::CaloParamsHelper::HtMissScale ( )
inline

Definition at line 30 of file CaloParamsHelper.h.

References HtMissScale_.

Referenced by setHtMissScale().

30 {return HtMissScale_;}
L1CaloEtScale HtMissScale_
int l1t::CaloParamsHelper::isoTauEtaMax ( ) const
inline
int l1t::CaloParamsHelper::isoTauEtaMin ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::jetCalibrationLUT ( )
inline

Definition at line 212 of file CaloParamsHelper.h.

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

Referenced by l1t::calibrateAndRankJets().

212 { return &pnode_[jetCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
std::vector<double> l1t::CaloParamsHelper::jetCalibrationParams ( )
inline
std::string l1t::CaloParamsHelper::jetCalibrationType ( ) const
inline
double l1t::CaloParamsHelper::jetLsb ( ) const
inline
double l1t::CaloParamsHelper::jetNeighbourThreshold ( ) const
inline
std::vector<double> l1t::CaloParamsHelper::jetPUSParams ( )
inline

Definition at line 209 of file CaloParamsHelper.h.

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

209 { return pnode_[jetPUS].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
std::string l1t::CaloParamsHelper::jetPUSType ( ) const
inline

Definition at line 208 of file CaloParamsHelper.h.

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

208 { return pnode_[jetPUS].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
int l1t::CaloParamsHelper::jetRegionMask ( ) const
inline

Definition at line 202 of file CaloParamsHelper.h.

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

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

202  {
203  if (pnode_[jetPUS].version_ ==1)
204  return pnode_[jetPUS].iparams_[0];
205  else
206  return 0;
207  }
std::vector< Node > pnode_
Definition: CaloParams.h:222
unsigned version_
Definition: CaloParams.h:220
L1CaloEtScale l1t::CaloParamsHelper::jetScale ( )
inline

Definition at line 28 of file CaloParamsHelper.h.

References jetScale_.

Referenced by l1t::JetToGtPtScales(), setJetScale(), and l1t::TauToGtPtScales().

28 { return jetScale_; }
double l1t::CaloParamsHelper::jetSeedThreshold ( ) const
inline
std::vector<int> l1t::CaloParamsHelper::minimumBiasThresholds ( ) const
inline

Definition at line 245 of file CaloParamsHelper.h.

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

245  {
246  if(pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size()==5) {
247  std::vector<int> newVec;
248  for(int i = 0; i<4; i++) {
249  newVec.push_back(pnode_[hiCentrality].iparams_.at(i+1));
250  }
251  return newVec;
252  } else {
253  std::vector<int> newVec;
254  return newVec;
255  }
256  }
int i
Definition: DBlmapReader.cc:9
std::vector< Node > pnode_
Definition: CaloParams.h:222
unsigned version_
Definition: CaloParams.h:220
l1t::LUT* l1t::CaloParamsHelper::q2LUT ( )
inline

Definition at line 271 of file CaloParamsHelper.h.

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

271 { return &pnode_[hiQ2].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
double l1t::CaloParamsHelper::regionLsb ( ) const
inline

Definition at line 60 of file CaloParamsHelper.h.

References l1t::CaloParams::regionLsb_.

60 { return regionLsb_; }
double regionLsb_
Definition: CaloParams.h:227
l1t::LUT* l1t::CaloParamsHelper::regionPUSLUT ( )
inline

Definition at line 63 of file CaloParamsHelper.h.

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

63 {return &pnode_[regionPUS].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
std::vector<double> l1t::CaloParamsHelper::regionPUSParams ( )
inline

Definition at line 62 of file CaloParamsHelper.h.

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

Referenced by regionPUSValue().

62 { return pnode_[regionPUS].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
std::string l1t::CaloParamsHelper::regionPUSType ( ) const
inline

Definition at line 61 of file CaloParamsHelper.h.

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

Referenced by l1t::RegionCorrection().

61 { return pnode_[regionPUS].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
int l1t::CaloParamsHelper::regionPUSValue ( int  PUM0,
int  eta 
)
inline

Definition at line 65 of file CaloParamsHelper.h.

References regionPUSParams().

Referenced by l1t::RegionCorrection().

66  {
67  int puSub = ceil(regionPUSParams()[18*eta+PUM0]*2);
68  return puSub;
69  }
std::vector< double > regionPUSParams()
void l1t::CaloParamsHelper::setCentralityLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setCentralityRegionMask ( int  mask)
inline

Definition at line 258 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

258  {
259  pnode_[hiCentrality].iparams_.resize(5);
260  pnode_[hiCentrality].iparams_[0] = mask;
261  }
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setEgCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgCalibrationParams ( std::vector< double >  params)
inline

Definition at line 136 of file CaloParamsHelper.h.

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

136 { pnode_[egCalibration].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setEgCalibrationType ( std::string  type)
inline

Definition at line 135 of file CaloParamsHelper.h.

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

135 { pnode_[egCalibration].type_ = type; }
type
Definition: HCALResponse.h:21
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setEgCompressShapesLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgEtaCut ( int  mask)
inline

Definition at line 110 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

110  {
111  pnode_[egPUS].iparams_.resize(1);
112  pnode_[egPUS].iparams_[0] = mask;
113  }
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setEgHcalThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setEgIsoAreaNrTowersEta ( unsigned  iEgIsoAreaNrTowersEta)
inline
void l1t::CaloParamsHelper::setEgIsoAreaNrTowersPhi ( unsigned  iEgIsoAreaNrTowersPhi)
inline
void l1t::CaloParamsHelper::setEgIsolationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgIsoVetoNrTowersPhi ( unsigned  iEgIsoVetoNrTowersPhi)
inline
void l1t::CaloParamsHelper::setEgLsb ( double  lsb)
inline
void l1t::CaloParamsHelper::setEgMaxHcalEt ( double  cut)
inline
void l1t::CaloParamsHelper::setEgMaxHOverELUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgMaxPtHOverE ( double  thresh)
inline
void l1t::CaloParamsHelper::setEgMaxPtHOverEIsolation ( int  cutValue)
inline
void l1t::CaloParamsHelper::setEgMaxPtJetIsolation ( int  cutValue)
inline
void l1t::CaloParamsHelper::setEgMinPtHOverEIsolation ( int  cutValue)
inline
void l1t::CaloParamsHelper::setEgMinPtJetIsolation ( int  cutValue)
inline
void l1t::CaloParamsHelper::setEgNeighbourThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setEgPUSParams ( const std::vector< double > &  params)
inline

Definition at line 133 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

133 { pnode_[egPUS].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setEgPUSType ( std::string  type)
inline

Definition at line 132 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

132 { pnode_[egPUS].type_ = type; }
type
Definition: HCALResponse.h:21
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setEgSeedThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setEgShapeIdLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgTrimmingLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEmScale ( L1CaloEtScale  emScale)
inline

Definition at line 27 of file CaloParamsHelper.h.

References emScale(), and emScale_.

27 { emScale_ = emScale; }
L1CaloEtScale emScale()
void l1t::CaloParamsHelper::setEtSumEtaMax ( unsigned  isum,
int  eta 
)

Definition at line 31 of file CaloParamsHelper.cc.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

31  {
32  if (etSumEtaMax_.size()<=isum) etSumEtaMax_.resize(isum+1);
33  etSumEtaMax_.at(isum) = eta;
34  }
double isum
std::vector< int > etSumEtaMax_
Definition: CaloParams.h:242
void l1t::CaloParamsHelper::setEtSumEtaMin ( unsigned  isum,
int  eta 
)

Definition at line 26 of file CaloParamsHelper.cc.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

26  {
27  if (etSumEtaMin_.size()<=isum) etSumEtaMin_.resize(isum+1);
28  etSumEtaMin_.at(isum) = eta;
29  }
double isum
std::vector< int > etSumEtaMin_
Definition: CaloParams.h:239
void l1t::CaloParamsHelper::setEtSumEtThreshold ( unsigned  isum,
double  thresh 
)

Definition at line 36 of file CaloParamsHelper.cc.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

36  {
37  if (etSumEtThreshold_.size()<=isum) etSumEtThreshold_.resize(isum+1);
39  }
std::vector< double > etSumEtThreshold_
Definition: CaloParams.h:245
double isum
void l1t::CaloParamsHelper::setEtSumLsb ( double  lsb)
inline

Definition at line 233 of file CaloParamsHelper.h.

References l1t::CaloParams::etSumLsb_.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

233 { etSumLsb_ = lsb; }
double etSumLsb_
Definition: CaloParams.h:236
void l1t::CaloParamsHelper::setHfRingScale ( L1CaloEtScale  HfRingScale)
inline

Definition at line 33 of file CaloParamsHelper.h.

References HfRingScale(), and HfRingScale_.

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

Definition at line 32 of file CaloParamsHelper.h.

References HtMissScale(), and HtMissScale_.

L1CaloEtScale HtMissScale_
L1CaloEtScale HtMissScale()
void l1t::CaloParamsHelper::setIsoTauEtaMax ( int  value)
inline
void l1t::CaloParamsHelper::setIsoTauEtaMin ( int  value)
inline
void l1t::CaloParamsHelper::setJetCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setJetCalibrationParams ( std::vector< double >  params)
inline
void l1t::CaloParamsHelper::setJetCalibrationType ( std::string  type)
inline
void l1t::CaloParamsHelper::setJetLsb ( double  lsb)
inline
void l1t::CaloParamsHelper::setJetNeighbourThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setJetPUSParams ( std::vector< double >  params)
inline

Definition at line 222 of file CaloParamsHelper.h.

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

222 { pnode_[jetPUS].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setJetPUSType ( std::string  type)
inline

Definition at line 221 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

221 { pnode_[jetPUS].type_ = type; }
type
Definition: HCALResponse.h:21
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setJetRegionMask ( int  mask)
inline

Definition at line 217 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

217  {
218  pnode_[jetPUS].iparams_.resize(1);
219  pnode_[jetPUS].iparams_[0] = mask;
220  }
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setJetScale ( L1CaloEtScale  jetScale)
inline

Definition at line 29 of file CaloParamsHelper.h.

References jetScale(), and jetScale_.

29 { jetScale_ = jetScale; }
L1CaloEtScale jetScale()
void l1t::CaloParamsHelper::setJetSeedThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setMinimumBiasThresholds ( std::vector< int >  thresholds)
inline

Definition at line 262 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

262  {
263  pnode_[hiCentrality].iparams_.resize(5);
264  for(int i = 0; i<4; i++) {
265  pnode_[hiCentrality].iparams_[i+1] = thresholds.at(i);
266  }
267  }
int i
Definition: DBlmapReader.cc:9
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setQ2LUT ( const l1t::LUT lut)
inline

Definition at line 272 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

272 { pnode_[hiQ2].LUT_ = lut; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
tuple lut
Definition: lumiPlot.py:244
void l1t::CaloParamsHelper::setRegionLsb ( double  lsb)
inline

Definition at line 71 of file CaloParamsHelper.h.

References l1t::CaloParams::regionLsb_.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

71 { regionLsb_ = lsb; }
double regionLsb_
Definition: CaloParams.h:227
void l1t::CaloParamsHelper::setRegionPUSLUT ( const l1t::LUT lut)
inline

Definition at line 74 of file CaloParamsHelper.h.

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

74 { pnode_[regionPUS].LUT_ = lut; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
tuple lut
Definition: lumiPlot.py:244
void l1t::CaloParamsHelper::setRegionPUSParams ( const std::vector< double > &  params)
inline

Definition at line 73 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

73 { pnode_[regionPUS].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setRegionPUSType ( std::string  type)
inline
void l1t::CaloParamsHelper::setTauCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setTauCalibrationParams ( std::vector< double >  params)
inline

Definition at line 192 of file CaloParamsHelper.h.

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

192 { pnode_[tauCalibration].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setTauCalibrationType ( std::string  type)
inline

Definition at line 187 of file CaloParamsHelper.h.

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

187 { pnode_[tauCalibration].type_ = type; }
type
Definition: HCALResponse.h:21
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setTauEtToHFRingEtLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setTauIsoAreaNrTowersEta ( unsigned  iTauIsoAreaNrTowersEta)
inline
void l1t::CaloParamsHelper::setTauIsoAreaNrTowersPhi ( unsigned  iTauIsoAreaNrTowersPhi)
inline
void l1t::CaloParamsHelper::setTauIsolationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setTauIsoVetoNrTowersPhi ( unsigned  iTauIsoVetoNrTowersPhi)
inline
void l1t::CaloParamsHelper::setTauLsb ( double  lsb)
inline
void l1t::CaloParamsHelper::setTauMaxJetIsolationA ( double  cutValue)
inline
void l1t::CaloParamsHelper::setTauMaxJetIsolationB ( double  limit)
inline
void l1t::CaloParamsHelper::setTauMaxPtTauVeto ( double  limit)
inline
void l1t::CaloParamsHelper::setTauMinPtJetIsolationB ( double  limit)
inline
void l1t::CaloParamsHelper::setTauNeighbourThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setTauPUSParams ( const std::vector< double > &  params)
inline

Definition at line 194 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

194 { pnode_[tauPUS].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setTauPUSType ( std::string  type)
inline

Definition at line 184 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

184 { pnode_[tauPUS].type_ = type; }
type
Definition: HCALResponse.h:21
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setTauRegionMask ( int  mask)
inline

Definition at line 171 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

171  {
172  pnode_[tauPUS].iparams_.resize(1);
173  pnode_[tauPUS].iparams_[0] = mask;
174  }
std::vector< Node > pnode_
Definition: CaloParams.h:222
void l1t::CaloParamsHelper::setTauSeedThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setTowerEncoding ( bool  doit)
inline
void l1t::CaloParamsHelper::setTowerLsbE ( double  lsb)
inline
void l1t::CaloParamsHelper::setTowerLsbH ( double  lsb)
inline
void l1t::CaloParamsHelper::setTowerLsbSum ( double  lsb)
inline
void l1t::CaloParamsHelper::setTowerNBitsE ( int  n)
inline
void l1t::CaloParamsHelper::setTowerNBitsH ( int  n)
inline
void l1t::CaloParamsHelper::setTowerNBitsRatio ( int  n)
inline
void l1t::CaloParamsHelper::setTowerNBitsSum ( int  n)
inline
l1t::LUT* l1t::CaloParamsHelper::tauCalibrationLUT ( )
inline

Definition at line 163 of file CaloParamsHelper.h.

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

Referenced by l1t::calibrateAndRankTaus().

163 { return &pnode_[tauCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
std::vector<double> l1t::CaloParamsHelper::tauCalibrationParams ( )
inline

Definition at line 162 of file CaloParamsHelper.h.

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

162 { return pnode_[tauCalibration].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
std::string l1t::CaloParamsHelper::tauCalibrationType ( ) const
inline

Definition at line 161 of file CaloParamsHelper.h.

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

161 { return pnode_[tauCalibration].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
l1t::LUT* l1t::CaloParamsHelper::tauEtToHFRingEtLUT ( )
inline

Definition at line 165 of file CaloParamsHelper.h.

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

165 { return &pnode_[tauEtToHFRingEt].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
unsigned l1t::CaloParamsHelper::tauIsoAreaNrTowersEta ( ) const
inline
unsigned l1t::CaloParamsHelper::tauIsoAreaNrTowersPhi ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::tauIsolationLUT ( )
inline

Definition at line 159 of file CaloParamsHelper.h.

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

159 { return &pnode_[tauIsolation].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
unsigned l1t::CaloParamsHelper::tauIsoVetoNrTowersPhi ( ) const
inline
double l1t::CaloParamsHelper::tauLsb ( ) const
inline

Definition at line 146 of file CaloParamsHelper.h.

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

146 { return taup_.lsb_; }
TauParams taup_
Definition: CaloParams.h:230
double l1t::CaloParamsHelper::tauMaxJetIsolationA ( ) const
inline
double l1t::CaloParamsHelper::tauMaxJetIsolationB ( ) const
inline
double l1t::CaloParamsHelper::tauMaxPtTauVeto ( ) const
inline
double l1t::CaloParamsHelper::tauMinPtJetIsolationB ( ) const
inline
double l1t::CaloParamsHelper::tauNeighbourThreshold ( ) const
inline
double l1t::CaloParamsHelper::tauPUSParam ( int  ipar) const
inline

Definition at line 157 of file CaloParamsHelper.h.

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

157 { return pnode_[tauPUS].dparams_.at(ipar); }
std::vector< Node > pnode_
Definition: CaloParams.h:222
const std::vector<double>& l1t::CaloParamsHelper::tauPUSParams ( ) const
inline

Definition at line 156 of file CaloParamsHelper.h.

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

156 { return pnode_[tauPUS].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
std::string l1t::CaloParamsHelper::tauPUSType ( ) const
inline

Definition at line 155 of file CaloParamsHelper.h.

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

155 { return pnode_[tauPUS].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:222
int l1t::CaloParamsHelper::tauRegionMask ( ) const
inline

Definition at line 140 of file CaloParamsHelper.h.

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

140  {
141  if (pnode_[tauPUS].version_ ==1)
142  return pnode_[tauPUS].iparams_[0];
143  else
144  return 0;
145  }
std::vector< Node > pnode_
Definition: CaloParams.h:222
unsigned version_
Definition: CaloParams.h:220
double l1t::CaloParamsHelper::tauSeedThreshold ( ) const
inline
double l1t::CaloParamsHelper::towerLsbE ( ) const
inline
double l1t::CaloParamsHelper::towerLsbH ( ) const
inline
double l1t::CaloParamsHelper::towerLsbSum ( ) const
inline
int l1t::CaloParamsHelper::towerMaskE ( ) const
inline

Definition at line 43 of file CaloParamsHelper.h.

References l1t::CaloParams::TowerParams::maskE_, and l1t::CaloParams::towerp_.

43 { return towerp_.maskE_; }
TowerParams towerp_
Definition: CaloParams.h:224
int l1t::CaloParamsHelper::towerMaskH ( ) const
inline

Definition at line 44 of file CaloParamsHelper.h.

References l1t::CaloParams::TowerParams::maskH_, and l1t::CaloParams::towerp_.

44 { return towerp_.maskH_; }
TowerParams towerp_
Definition: CaloParams.h:224
int l1t::CaloParamsHelper::towerMaskRatio ( ) const
inline
int l1t::CaloParamsHelper::towerMaskSum ( ) const
inline
int l1t::CaloParamsHelper::towerNBitsE ( ) const
inline
int l1t::CaloParamsHelper::towerNBitsH ( ) const
inline
int l1t::CaloParamsHelper::towerNBitsRatio ( ) const
inline
int l1t::CaloParamsHelper::towerNBitsSum ( ) const
inline

Member Data Documentation

L1CaloEtScale l1t::CaloParamsHelper::emScale_
private

Definition at line 279 of file CaloParamsHelper.h.

Referenced by emScale(), and setEmScale().

L1CaloEtScale l1t::CaloParamsHelper::HfRingScale_
private

Definition at line 282 of file CaloParamsHelper.h.

Referenced by HfRingScale(), and setHfRingScale().

L1CaloEtScale l1t::CaloParamsHelper::HtMissScale_
private

Definition at line 281 of file CaloParamsHelper.h.

Referenced by HtMissScale(), and setHtMissScale().

L1CaloEtScale l1t::CaloParamsHelper::jetScale_
private

Definition at line 280 of file CaloParamsHelper.h.

Referenced by jetScale(), and setJetScale().