CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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,
  NUM_CALOPARAMNODES =20
}
 
- Public Types inherited from l1t::CaloParams
enum  { Version = 2 }
 

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
 
unsigned egCalibrationVersion () const
 
l1t::LUTegCompressShapesLUT ()
 
int egEtaCut () const
 
double egHcalThreshold () const
 
unsigned egIsoAreaNrTowersEta () const
 
unsigned egIsoAreaNrTowersPhi () const
 
l1t::LUTegIsolationLUT ()
 
std::string egIsolationType () const
 
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 ()
 
std::string egShapeIdType () const
 
unsigned egShapeIdVersion () const
 
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
 
bool isValidForStage1 ()
 
bool isValidForStage2 ()
 
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 > layer1ECalScaleETBins ()
 
std::vector< double > layer1ECalScaleFactors ()
 
std::vector< int > layer1HCalScaleETBins ()
 
std::vector< double > layer1HCalScaleFactors ()
 
std::vector< int > layer1HFScaleETBins ()
 
std::vector< double > layer1HFScaleFactors ()
 
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 setEgCalibrationVersion (unsigned version)
 
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 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 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 setLayer1ECalScaleETBins (const std::vector< int > params)
 
void setLayer1ECalScaleFactors (const std::vector< double > params)
 
void setLayer1HCalScaleETBins (const std::vector< int > params)
 
void setLayer1HCalScaleFactors (const std::vector< double > params)
 
void setLayer1HFScaleETBins (const std::vector< int > params)
 
void setLayer1HFScaleFactors (const std::vector< double > params)
 
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 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 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::LUTtauCompressLUT ()
 
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 ()
 
 ~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
Enumerator
regionPUS 
egTrimming 
egMaxHOverE 
egCompressShapes 
egShapeId 
egCalibration 
egPUS 
egIsolation 
tauCalibration 
tauPUS 
tauIsolation 
jetPUS 
jetCalibration 
hiCentrality 
hiQ2 
tauEtToHFRingEt 
tauCompress 
layer1ECal 
layer1HCal 
layer1HF 
NUM_CALOPARAMNODES 

Definition at line 26 of file CaloParamsHelper.h.

26  { regionPUS=0,
29  jetPUS=11, jetCalibration=12,
30  hiCentrality=13, hiQ2=14,
31  tauEtToHFRingEt=15,
32  tauCompress=16,
33  layer1ECal=17,
34  layer1HCal=18,
35  layer1HF=19,
37  };

Constructor & Destructor Documentation

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

Definition at line 10 of file CaloParamsHelper.cc.

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

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

Definition at line 41 of file CaloParamsHelper.h.

Referenced by L1TStage2Layer1Producer::beginRun().

41 {}

Member Function Documentation

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

Definition at line 291 of file CaloParamsHelper.h.

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

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

Definition at line 273 of file CaloParamsHelper.h.

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

273  {
274  if(pnode_[hiCentrality].version_ == 1)
275  return pnode_[hiCentrality].iparams_[0] ;
276  else
277  return 0;
278  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
bool l1t::CaloParamsHelper::doTowerEncoding ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::egCalibrationLUT ( )
inline

Definition at line 131 of file CaloParamsHelper.h.

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

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

Definition at line 130 of file CaloParamsHelper.h.

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

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

Definition at line 129 of file CaloParamsHelper.h.

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

129 { return pnode_[egCalibration].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned l1t::CaloParamsHelper::egCalibrationVersion ( ) const
inline

Definition at line 168 of file CaloParamsHelper.h.

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

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

Definition at line 113 of file CaloParamsHelper.h.

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

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

Definition at line 99 of file CaloParamsHelper.h.

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

99  {
100  if (pnode_[egPUS].version_ ==1)
101  return pnode_[egPUS].iparams_[0];
102  else
103  return 0;
104  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
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 128 of file CaloParamsHelper.h.

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

128 { return &pnode_[egIsolation].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
std::string l1t::CaloParamsHelper::egIsolationType ( ) const
inline

Definition at line 127 of file CaloParamsHelper.h.

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

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

Definition at line 105 of file CaloParamsHelper.h.

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

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

Definition at line 110 of file CaloParamsHelper.h.

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

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

Definition at line 112 of file CaloParamsHelper.h.

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

112 { return &pnode_[egMaxHOverE].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
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 125 of file CaloParamsHelper.h.

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

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

Definition at line 124 of file CaloParamsHelper.h.

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

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

Definition at line 123 of file CaloParamsHelper.h.

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

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

Definition at line 114 of file CaloParamsHelper.h.

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

114 { return &pnode_[egShapeId].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
std::string l1t::CaloParamsHelper::egShapeIdType ( ) const
inline

Definition at line 164 of file CaloParamsHelper.h.

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

164 { return pnode_[egShapeId].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned l1t::CaloParamsHelper::egShapeIdVersion ( ) const
inline

Definition at line 166 of file CaloParamsHelper.h.

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

166 { return pnode_[egShapeId].version_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
l1t::LUT* l1t::CaloParamsHelper::egTrimmingLUT ( )
inline

Definition at line 109 of file CaloParamsHelper.h.

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

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

Definition at line 48 of file CaloParamsHelper.h.

References emScale_.

Referenced by setEmScale().

48 { return emScale_; }
int l1t::CaloParamsHelper::etSumEtaMax ( unsigned  isum) const
int l1t::CaloParamsHelper::etSumEtaMin ( unsigned  isum) const

Definition at line 21 of file CaloParamsHelper.cc.

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

21  {
22  if (etSumEtaMin_.size()>isum) return etSumEtaMin_.at(isum);
23  else return 0;
24  }
double isum
std::vector< int > etSumEtaMin_
Definition: CaloParams.h:224
double l1t::CaloParamsHelper::etSumEtThreshold ( unsigned  isum) const
double l1t::CaloParamsHelper::etSumLsb ( ) const
inline

Definition at line 262 of file CaloParamsHelper.h.

References l1t::CaloParams::etSumLsb_.

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

Definition at line 53 of file CaloParamsHelper.h.

References HfRingScale_.

Referenced by setHfRingScale().

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

Definition at line 52 of file CaloParamsHelper.h.

References HtMissScale_.

Referenced by setHtMissScale().

52 {return HtMissScale_;}
L1CaloEtScale HtMissScale_
int l1t::CaloParamsHelper::isoTauEtaMax ( ) const
inline
int l1t::CaloParamsHelper::isoTauEtaMin ( ) const
inline
bool l1t::CaloParamsHelper::isValidForStage1 ( )
inline

Definition at line 45 of file CaloParamsHelper.h.

45 {return 1; }
bool l1t::CaloParamsHelper::isValidForStage2 ( )
inline

Definition at line 46 of file CaloParamsHelper.h.

References l1t::CaloParams::version_.

46 {return (version_ >= 2); }
unsigned version_
Definition: CaloParams.h:205
l1t::LUT* l1t::CaloParamsHelper::jetCalibrationLUT ( )
inline

Definition at line 246 of file CaloParamsHelper.h.

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

Referenced by l1t::calibrateAndRankJets().

246 { return &pnode_[jetCalibration].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
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 243 of file CaloParamsHelper.h.

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

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

Definition at line 242 of file CaloParamsHelper.h.

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

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

Definition at line 236 of file CaloParamsHelper.h.

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

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

236  {
237  if (pnode_[jetPUS].version_ ==1)
238  return pnode_[jetPUS].iparams_[0];
239  else
240  return 0;
241  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
L1CaloEtScale l1t::CaloParamsHelper::jetScale ( )
inline

Definition at line 50 of file CaloParamsHelper.h.

References jetScale_.

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

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

Definition at line 314 of file CaloParamsHelper.h.

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

314 { return pnode_[layer1ECal].iparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
std::vector<double> l1t::CaloParamsHelper::layer1ECalScaleFactors ( )
inline

Definition at line 311 of file CaloParamsHelper.h.

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

311 { return pnode_[layer1ECal].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
std::vector<int> l1t::CaloParamsHelper::layer1HCalScaleETBins ( )
inline

Definition at line 315 of file CaloParamsHelper.h.

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

315 { return pnode_[layer1HCal].iparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
std::vector<double> l1t::CaloParamsHelper::layer1HCalScaleFactors ( )
inline

Definition at line 312 of file CaloParamsHelper.h.

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

312 { return pnode_[layer1HCal].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
std::vector<int> l1t::CaloParamsHelper::layer1HFScaleETBins ( )
inline

Definition at line 316 of file CaloParamsHelper.h.

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

316 { return pnode_[layer1HF ].iparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
std::vector<double> l1t::CaloParamsHelper::layer1HFScaleFactors ( )
inline

Definition at line 313 of file CaloParamsHelper.h.

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

313 { return pnode_[layer1HF ].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
std::vector<int> l1t::CaloParamsHelper::minimumBiasThresholds ( ) const
inline

Definition at line 279 of file CaloParamsHelper.h.

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

279  {
280  if(pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size()==5) {
281  std::vector<int> newVec;
282  for(int i = 0; i<4; i++) {
283  newVec.push_back(pnode_[hiCentrality].iparams_.at(i+1));
284  }
285  return newVec;
286  } else {
287  std::vector<int> newVec;
288  return newVec;
289  }
290  }
int i
Definition: DBlmapReader.cc:9
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
l1t::LUT* l1t::CaloParamsHelper::q2LUT ( )
inline

Definition at line 305 of file CaloParamsHelper.h.

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

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

Definition at line 82 of file CaloParamsHelper.h.

References l1t::CaloParams::regionLsb_.

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

Definition at line 85 of file CaloParamsHelper.h.

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

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

Definition at line 84 of file CaloParamsHelper.h.

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

Referenced by regionPUSValue().

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

Definition at line 83 of file CaloParamsHelper.h.

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

Referenced by l1t::RegionCorrection().

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

Definition at line 87 of file CaloParamsHelper.h.

References regionPUSParams().

Referenced by l1t::RegionCorrection().

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

Definition at line 292 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

292  {
293  pnode_[hiCentrality].iparams_.resize(5);
294  pnode_[hiCentrality].iparams_[0] = mask;
295  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setEgCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgCalibrationParams ( std::vector< double >  params)
inline

Definition at line 160 of file CaloParamsHelper.h.

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

160 { pnode_[egCalibration].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setEgCalibrationType ( std::string  type)
inline
void l1t::CaloParamsHelper::setEgCalibrationVersion ( unsigned  version)
inline
void l1t::CaloParamsHelper::setEgCompressShapesLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgEtaCut ( int  mask)
inline

Definition at line 133 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

133  {
134  pnode_[egPUS].iparams_.resize(1);
135  pnode_[egPUS].iparams_[0] = mask;
136  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
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::setEgIsolationType ( std::string  type)
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 156 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 155 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

155 { pnode_[egPUS].type_ = type; }
type
Definition: HCALResponse.h:21
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setEgSeedThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setEgShapeIdLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgShapeIdType ( std::string  type)
inline

Definition at line 165 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

165 { pnode_[egShapeId].type_ = type; }
type
Definition: HCALResponse.h:21
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setEgShapeIdVersion ( unsigned  version)
inline
void l1t::CaloParamsHelper::setEgTrimmingLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEmScale ( L1CaloEtScale  emScale)
inline

Definition at line 49 of file CaloParamsHelper.h.

References emScale(), and emScale_.

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

Definition at line 41 of file CaloParamsHelper.cc.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

41  {
42  if (etSumEtaMax_.size()<=isum) etSumEtaMax_.resize(isum+1);
43  etSumEtaMax_.at(isum) = eta;
44  }
double isum
std::vector< int > etSumEtaMax_
Definition: CaloParams.h:227
void l1t::CaloParamsHelper::setEtSumEtaMin ( unsigned  isum,
int  eta 
)

Definition at line 36 of file CaloParamsHelper.cc.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

36  {
37  if (etSumEtaMin_.size()<=isum) etSumEtaMin_.resize(isum+1);
38  etSumEtaMin_.at(isum) = eta;
39  }
double isum
std::vector< int > etSumEtaMin_
Definition: CaloParams.h:224
void l1t::CaloParamsHelper::setEtSumEtThreshold ( unsigned  isum,
double  thresh 
)

Definition at line 46 of file CaloParamsHelper.cc.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

46  {
47  if (etSumEtThreshold_.size()<=isum) etSumEtThreshold_.resize(isum+1);
49  }
std::vector< double > etSumEtThreshold_
Definition: CaloParams.h:230
double isum
void l1t::CaloParamsHelper::setEtSumLsb ( double  lsb)
inline

Definition at line 267 of file CaloParamsHelper.h.

References l1t::CaloParams::etSumLsb_.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 55 of file CaloParamsHelper.h.

References HfRingScale(), and HfRingScale_.

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

Definition at line 54 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 256 of file CaloParamsHelper.h.

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

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

Definition at line 255 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 251 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

251  {
252  pnode_[jetPUS].iparams_.resize(1);
253  pnode_[jetPUS].iparams_[0] = mask;
254  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setJetScale ( L1CaloEtScale  jetScale)
inline

Definition at line 51 of file CaloParamsHelper.h.

References jetScale(), and jetScale_.

51 { jetScale_ = jetScale; }
L1CaloEtScale jetScale()
void l1t::CaloParamsHelper::setJetSeedThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setLayer1ECalScaleETBins ( const std::vector< int >  params)
inline

Definition at line 320 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

320 { pnode_[layer1ECal].iparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setLayer1ECalScaleFactors ( const std::vector< double >  params)
inline

Definition at line 317 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

317 { pnode_[layer1ECal].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setLayer1HCalScaleETBins ( const std::vector< int >  params)
inline

Definition at line 321 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

321 { pnode_[layer1HCal].iparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setLayer1HCalScaleFactors ( const std::vector< double >  params)
inline

Definition at line 318 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

318 { pnode_[layer1HCal].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setLayer1HFScaleETBins ( const std::vector< int >  params)
inline

Definition at line 322 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

322 { pnode_[layer1HF ].iparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setLayer1HFScaleFactors ( const std::vector< double >  params)
inline

Definition at line 319 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

319 { pnode_[layer1HF ].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setMinimumBiasThresholds ( std::vector< int >  thresholds)
inline

Definition at line 296 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

296  {
297  pnode_[hiCentrality].iparams_.resize(5);
298  for(int i = 0; i<4; i++) {
299  pnode_[hiCentrality].iparams_[i+1] = thresholds.at(i);
300  }
301  }
int i
Definition: DBlmapReader.cc:9
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setQ2LUT ( const l1t::LUT lut)
inline

Definition at line 306 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 93 of file CaloParamsHelper.h.

References l1t::CaloParams::regionLsb_.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 96 of file CaloParamsHelper.h.

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

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

Definition at line 95 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

95 { pnode_[regionPUS].dparams_ = params; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setRegionPUSType ( std::string  type)
inline

Definition at line 94 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

94 { pnode_[regionPUS].type_ = type; }
type
Definition: HCALResponse.h:21
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setTauCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setTauCalibrationParams ( std::vector< double >  params)
inline

Definition at line 225 of file CaloParamsHelper.h.

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

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

Definition at line 220 of file CaloParamsHelper.h.

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

void l1t::CaloParamsHelper::setTauCompressLUT ( const l1t::LUT lut)
inline
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 228 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 217 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 204 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

204  {
205  pnode_[tauPUS].iparams_.resize(1);
206  pnode_[tauPUS].iparams_[0] = mask;
207  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
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 195 of file CaloParamsHelper.h.

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

Referenced by l1t::calibrateAndRankTaus().

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

Definition at line 194 of file CaloParamsHelper.h.

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

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

Definition at line 193 of file CaloParamsHelper.h.

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

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

Definition at line 196 of file CaloParamsHelper.h.

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

196 { return &pnode_[tauCompress].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
l1t::LUT* l1t::CaloParamsHelper::tauEtToHFRingEtLUT ( )
inline

Definition at line 198 of file CaloParamsHelper.h.

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

unsigned l1t::CaloParamsHelper::tauIsoAreaNrTowersEta ( ) const
inline
unsigned l1t::CaloParamsHelper::tauIsoAreaNrTowersPhi ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::tauIsolationLUT ( )
inline

Definition at line 191 of file CaloParamsHelper.h.

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

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

Definition at line 178 of file CaloParamsHelper.h.

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

178 { return taup_.lsb_; }
TauParams taup_
Definition: CaloParams.h:215
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 189 of file CaloParamsHelper.h.

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

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

Definition at line 188 of file CaloParamsHelper.h.

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

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

Definition at line 187 of file CaloParamsHelper.h.

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

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

Definition at line 172 of file CaloParamsHelper.h.

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

172  {
173  if (pnode_[tauPUS].version_ ==1)
174  return pnode_[tauPUS].iparams_[0];
175  else
176  return 0;
177  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
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 65 of file CaloParamsHelper.h.

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

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

Definition at line 66 of file CaloParamsHelper.h.

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

66 { return towerp_.maskH_; }
TowerParams towerp_
Definition: CaloParams.h:209
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

Friends And Related Function Documentation

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

Member Data Documentation

L1CaloEtScale l1t::CaloParamsHelper::emScale_
private

Definition at line 326 of file CaloParamsHelper.h.

Referenced by emScale(), and setEmScale().

L1CaloEtScale l1t::CaloParamsHelper::HfRingScale_
private

Definition at line 329 of file CaloParamsHelper.h.

Referenced by HfRingScale(), and setHfRingScale().

L1CaloEtScale l1t::CaloParamsHelper::HtMissScale_
private

Definition at line 328 of file CaloParamsHelper.h.

Referenced by HtMissScale(), and setHtMissScale().

L1CaloEtScale l1t::CaloParamsHelper::jetScale_
private

Definition at line 327 of file CaloParamsHelper.h.

Referenced by jetScale(), and setJetScale().