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,
  jetCompressEta =20, jetCompressPt =21, etSumXPUS =22, etSumYPUS =23,
  etSumEttPUS =24, etSumEcalSumPUS =25, tauIsolation2 =26, egBypassEGVetosFlag =27,
  jetBypassPUSFlag =28, egHOverEBarrel =29, egHOverEEndcap =30, NUM_CALOPARAMNODES =31
}
 
- Public Types inherited from l1t::CaloParams
enum  { Version = 2 }
 

Public Member Functions

 CaloParamsHelper ()
 
 CaloParamsHelper (const CaloParams)
 
l1t::LUTcentralityLUT ()
 
int centralityRegionMask () const
 
bool doTowerEncoding () const
 
unsigned egBypassEGVetos ()
 
l1t::LUTegCalibrationLUT ()
 
std::vector< double > egCalibrationParams ()
 
std::string egCalibrationType () const
 
unsigned egCalibrationVersion () const
 
l1t::LUTegCompressShapesLUT ()
 
int egEtaCut () const
 
double egHcalThreshold () const
 
int egHOverEcutBarrel () const
 
int egHOverEcutEndcap () 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 ()
 
l1t::LUTetSumEcalSumPUSLUT ()
 
int etSumEtaMax (unsigned isum) const
 
int etSumEtaMin (unsigned isum) const
 
double etSumEtThreshold (unsigned isum) const
 
l1t::LUTetSumEttPUSLUT ()
 
double etSumLsb () const
 
l1t::LUTetSumXPUSLUT ()
 
l1t::LUTetSumYPUSLUT ()
 
L1CaloEtScale HfRingScale ()
 
L1CaloEtScale HtMissScale ()
 
int isoTauEtaMax () const
 
int isoTauEtaMin () const
 
bool isValidForStage1 ()
 
bool isValidForStage2 ()
 
unsigned jetBypassPUS () const
 
l1t::LUTjetCalibrationLUT ()
 
std::vector< double > jetCalibrationParams ()
 
std::string jetCalibrationType () const
 
l1t::LUTjetCompressEtaLUT ()
 
l1t::LUTjetCompressPtLUT ()
 
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 setEgBypassEGVetos (unsigned flag)
 
void setEgCalibrationLUT (const l1t::LUT &lut)
 
void setEgCalibrationParams (std::vector< double > params)
 
void setEgCalibrationType (std::string type)
 
void setEgCalibrationVersion (unsigned version)
 
void setEgCompressShapesLUT (const l1t::LUT &lut)
 
void setEgEtaCut (int mask)
 
void setEgHcalThreshold (double thresh)
 
void setEgHOverEcutBarrel (int cut)
 
void setEgHOverEcutEndcap (int cut)
 
void setEgIsoAreaNrTowersEta (unsigned iEgIsoAreaNrTowersEta)
 
void setEgIsoAreaNrTowersPhi (unsigned iEgIsoAreaNrTowersPhi)
 
void setEgIsolationLUT (const l1t::LUT &lut)
 
void 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 setEtSumEcalSumPUSLUT (const l1t::LUT &lut)
 
void setEtSumEtaMax (unsigned isum, int eta)
 
void setEtSumEtaMin (unsigned isum, int eta)
 
void setEtSumEtThreshold (unsigned isum, double thresh)
 
void setEtSumEttPUSLUT (const l1t::LUT &lut)
 
void setEtSumLsb (double lsb)
 
void setEtSumXPUSLUT (const l1t::LUT &lut)
 
void setEtSumYPUSLUT (const l1t::LUT &lut)
 
void setHfRingScale (L1CaloEtScale HfRingScale)
 
void setHtMissScale (L1CaloEtScale HtMissScale)
 
void setIsoTauEtaMax (int value)
 
void setIsoTauEtaMin (int value)
 
void setJetBypassPUS (unsigned flag)
 
void setJetCalibrationLUT (const l1t::LUT &lut)
 
void setJetCalibrationParams (std::vector< double > params)
 
void setJetCalibrationType (std::string type)
 
void setJetCompressEtaLUT (const l1t::LUT &lut)
 
void setJetCompressPtLUT (const l1t::LUT &lut)
 
void setJetLsb (double lsb)
 
void setJetNeighbourThreshold (double thresh)
 
void setJetPUSParams (std::vector< double > params)
 
void setJetPUSType (std::string type)
 
void 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 setTauIsolationLUT2 (const l1t::LUT &lut)
 
void setTauIsoVetoNrTowersPhi (unsigned iTauIsoVetoNrTowersPhi)
 
void setTauLsb (double lsb)
 
void setTauMaxJetIsolationA (double cutValue)
 
void setTauMaxJetIsolationB (double limit)
 
void setTauMaxPtTauVeto (double limit)
 
void setTauMinPtJetIsolationB (double limit)
 
void setTauNeighbourThreshold (double thresh)
 
void setTauPUSParams (const std::vector< double > &params)
 
void setTauPUSType (std::string type)
 
void setTauRegionMask (int mask)
 
void setTauSeedThreshold (double thresh)
 
void 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 ()
 
l1t::LUTtauIsolationLUT2 ()
 
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 
jetCompressEta 
jetCompressPt 
etSumXPUS 
etSumYPUS 
etSumEttPUS 
etSumEcalSumPUS 
tauIsolation2 
egBypassEGVetosFlag 
jetBypassPUSFlag 
egHOverEBarrel 
egHOverEEndcap 
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,
38  tauIsolation2=26,
41  egHOverEBarrel=29,
42  egHOverEEndcap=30,
44  };

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 48 of file CaloParamsHelper.h.

Referenced by L1TStage2Layer1Producer::beginRun().

48 {}

Member Function Documentation

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

Definition at line 339 of file CaloParamsHelper.h.

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

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

Definition at line 321 of file CaloParamsHelper.h.

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

321  {
322  if(pnode_[hiCentrality].version_ == 1)
323  return pnode_[hiCentrality].iparams_[0] ;
324  else
325  return 0;
326  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
bool l1t::CaloParamsHelper::doTowerEncoding ( ) const
inline
unsigned l1t::CaloParamsHelper::egBypassEGVetos ( )
inline

Definition at line 126 of file CaloParamsHelper.h.

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

126 { return pnode_[egBypassEGVetosFlag].uparams_[0]; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
l1t::LUT* l1t::CaloParamsHelper::egCalibrationLUT ( )
inline

Definition at line 141 of file CaloParamsHelper.h.

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

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

Definition at line 140 of file CaloParamsHelper.h.

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

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

Definition at line 139 of file CaloParamsHelper.h.

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

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

Definition at line 190 of file CaloParamsHelper.h.

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

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

Definition at line 120 of file CaloParamsHelper.h.

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

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

Definition at line 106 of file CaloParamsHelper.h.

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

106  {
107  if (pnode_[egPUS].version_ ==1)
108  return pnode_[egPUS].iparams_[0];
109  else
110  return 0;
111  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
double l1t::CaloParamsHelper::egHcalThreshold ( ) const
inline
int l1t::CaloParamsHelper::egHOverEcutBarrel ( ) const
inline

Definition at line 127 of file CaloParamsHelper.h.

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

127 {return pnode_[egHOverEBarrel].iparams_[0]; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
int l1t::CaloParamsHelper::egHOverEcutEndcap ( ) const
inline

Definition at line 128 of file CaloParamsHelper.h.

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

128 {return pnode_[egHOverEEndcap].iparams_[0]; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned l1t::CaloParamsHelper::egIsoAreaNrTowersEta ( ) const
inline
unsigned l1t::CaloParamsHelper::egIsoAreaNrTowersPhi ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::egIsolationLUT ( )
inline

Definition at line 138 of file CaloParamsHelper.h.

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

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

Definition at line 137 of file CaloParamsHelper.h.

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

137 { 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 112 of file CaloParamsHelper.h.

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

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

Definition at line 117 of file CaloParamsHelper.h.

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

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

Definition at line 119 of file CaloParamsHelper.h.

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

119 { 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 135 of file CaloParamsHelper.h.

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

135 { 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 134 of file CaloParamsHelper.h.

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

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

Definition at line 133 of file CaloParamsHelper.h.

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

133 { 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 121 of file CaloParamsHelper.h.

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

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

Definition at line 186 of file CaloParamsHelper.h.

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

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

Definition at line 188 of file CaloParamsHelper.h.

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

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

Definition at line 116 of file CaloParamsHelper.h.

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

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

Definition at line 55 of file CaloParamsHelper.h.

References emScale_.

Referenced by setEmScale().

55 { return emScale_; }
l1t::LUT* l1t::CaloParamsHelper::etSumEcalSumPUSLUT ( )
inline

Definition at line 307 of file CaloParamsHelper.h.

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

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
l1t::LUT* l1t::CaloParamsHelper::etSumEttPUSLUT ( )
inline

Definition at line 306 of file CaloParamsHelper.h.

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

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

Definition at line 299 of file CaloParamsHelper.h.

References l1t::CaloParams::etSumLsb_.

299 { return etSumLsb_; }
double etSumLsb_
Definition: CaloParams.h:221
l1t::LUT* l1t::CaloParamsHelper::etSumXPUSLUT ( )
inline

Definition at line 304 of file CaloParamsHelper.h.

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

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

Definition at line 305 of file CaloParamsHelper.h.

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

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

Definition at line 60 of file CaloParamsHelper.h.

References HfRingScale_.

Referenced by setHfRingScale().

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

Definition at line 59 of file CaloParamsHelper.h.

References HtMissScale_.

Referenced by setHtMissScale().

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

Definition at line 52 of file CaloParamsHelper.h.

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

Definition at line 53 of file CaloParamsHelper.h.

References l1t::CaloParams::version_.

53 {return (version_ >= 2); }
unsigned version_
Definition: CaloParams.h:205
unsigned l1t::CaloParamsHelper::jetBypassPUS ( ) const
inline

Definition at line 267 of file CaloParamsHelper.h.

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

267 { return pnode_[jetBypassPUSFlag].uparams_[0]; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
l1t::LUT* l1t::CaloParamsHelper::jetCalibrationLUT ( )
inline

Definition at line 273 of file CaloParamsHelper.h.

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

Referenced by l1t::calibrateAndRankJets().

273 { 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
l1t::LUT* l1t::CaloParamsHelper::jetCompressEtaLUT ( )
inline

Definition at line 276 of file CaloParamsHelper.h.

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

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

Definition at line 275 of file CaloParamsHelper.h.

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

275 { return &pnode_[jetCompressPt].LUT_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
double l1t::CaloParamsHelper::jetLsb ( ) const
inline
double l1t::CaloParamsHelper::jetNeighbourThreshold ( ) const
inline
std::vector<double> l1t::CaloParamsHelper::jetPUSParams ( )
inline

Definition at line 270 of file CaloParamsHelper.h.

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

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

Definition at line 269 of file CaloParamsHelper.h.

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

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

Definition at line 260 of file CaloParamsHelper.h.

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

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

260  {
261  if (pnode_[jetPUS].version_ ==1)
262  return pnode_[jetPUS].iparams_[0];
263  else
264  return 0;
265  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
L1CaloEtScale l1t::CaloParamsHelper::jetScale ( )
inline

Definition at line 57 of file CaloParamsHelper.h.

References jetScale_.

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

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

Definition at line 362 of file CaloParamsHelper.h.

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

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

Definition at line 359 of file CaloParamsHelper.h.

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

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

Definition at line 363 of file CaloParamsHelper.h.

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

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

Definition at line 360 of file CaloParamsHelper.h.

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

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

Definition at line 364 of file CaloParamsHelper.h.

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

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

Definition at line 361 of file CaloParamsHelper.h.

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

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

Definition at line 327 of file CaloParamsHelper.h.

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

327  {
328  if(pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size()==5) {
329  std::vector<int> newVec;
330  for(int i = 0; i<4; i++) {
331  newVec.push_back(pnode_[hiCentrality].iparams_.at(i+1));
332  }
333  return newVec;
334  } else {
335  std::vector<int> newVec;
336  return newVec;
337  }
338  }
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 353 of file CaloParamsHelper.h.

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

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

Definition at line 89 of file CaloParamsHelper.h.

References l1t::CaloParams::regionLsb_.

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

Definition at line 92 of file CaloParamsHelper.h.

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

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

Definition at line 91 of file CaloParamsHelper.h.

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

Referenced by regionPUSValue().

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

Definition at line 90 of file CaloParamsHelper.h.

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

Referenced by l1t::RegionCorrection().

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

Definition at line 94 of file CaloParamsHelper.h.

References regionPUSParams().

Referenced by l1t::RegionCorrection().

95  {
96  int puSub = ceil(regionPUSParams()[18*eta+PUM0]*2);
97  return puSub;
98  }
std::vector< double > regionPUSParams()
void l1t::CaloParamsHelper::setCentralityLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setCentralityRegionMask ( int  mask)
inline
void l1t::CaloParamsHelper::setEgBypassEGVetos ( unsigned  flag)
inline
void l1t::CaloParamsHelper::setEgCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgCalibrationParams ( std::vector< double >  params)
inline

Definition at line 182 of file CaloParamsHelper.h.

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

182 { 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
void l1t::CaloParamsHelper::setEgHcalThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setEgHOverEcutBarrel ( int  cut)
inline
void l1t::CaloParamsHelper::setEgHOverEcutEndcap ( int  cut)
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
void l1t::CaloParamsHelper::setEgPUSType ( std::string  type)
inline
void l1t::CaloParamsHelper::setEgSeedThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setEgShapeIdLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgShapeIdType ( std::string  type)
inline
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 56 of file CaloParamsHelper.h.

References emScale(), and emScale_.

56 { emScale_ = emScale; }
L1CaloEtScale emScale()
void l1t::CaloParamsHelper::setEtSumEcalSumPUSLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumEtaMax ( unsigned  isum,
int  eta 
)
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(), and L1TCaloStage2ParamsESProducer::L1TCaloStage2ParamsESProducer().

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 
)
void l1t::CaloParamsHelper::setEtSumEttPUSLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumLsb ( double  lsb)
inline
void l1t::CaloParamsHelper::setEtSumXPUSLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumYPUSLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setHfRingScale ( L1CaloEtScale  HfRingScale)
inline

Definition at line 62 of file CaloParamsHelper.h.

References HfRingScale(), and HfRingScale_.

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

Definition at line 61 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::setJetBypassPUS ( unsigned  flag)
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::setJetCompressEtaLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setJetCompressPtLUT ( const l1t::LUT lut)
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 286 of file CaloParamsHelper.h.

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

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

Definition at line 281 of file CaloParamsHelper.h.

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

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

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

Definition at line 58 of file CaloParamsHelper.h.

References jetScale(), and jetScale_.

58 { jetScale_ = jetScale; }
L1CaloEtScale jetScale()
void l1t::CaloParamsHelper::setJetSeedThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setLayer1ECalScaleETBins ( const std::vector< int >  params)
inline
void l1t::CaloParamsHelper::setLayer1ECalScaleFactors ( const std::vector< double >  params)
inline
void l1t::CaloParamsHelper::setLayer1HCalScaleETBins ( const std::vector< int >  params)
inline
void l1t::CaloParamsHelper::setLayer1HCalScaleFactors ( const std::vector< double >  params)
inline
void l1t::CaloParamsHelper::setLayer1HFScaleETBins ( const std::vector< int >  params)
inline
void l1t::CaloParamsHelper::setLayer1HFScaleFactors ( const std::vector< double >  params)
inline
void l1t::CaloParamsHelper::setMinimumBiasThresholds ( std::vector< int >  thresholds)
inline

Definition at line 344 of file CaloParamsHelper.h.

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

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

344  {
345  pnode_[hiCentrality].iparams_.resize(5);
346  for(int i = 0; i<4; i++) {
347  pnode_[hiCentrality].iparams_[i+1] = thresholds.at(i);
348  }
349  }
int i
Definition: DBlmapReader.cc:9
std::vector< Node > pnode_
Definition: CaloParams.h:207
void l1t::CaloParamsHelper::setQ2LUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setRegionLsb ( double  lsb)
inline
void l1t::CaloParamsHelper::setRegionPUSLUT ( const l1t::LUT lut)
inline

Definition at line 103 of file CaloParamsHelper.h.

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

103 { 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
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 249 of file CaloParamsHelper.h.

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

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

Definition at line 244 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::setTauIsolationLUT2 ( 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
void l1t::CaloParamsHelper::setTauPUSType ( std::string  type)
inline
void l1t::CaloParamsHelper::setTauRegionMask ( int  mask)
inline

Definition at line 227 of file CaloParamsHelper.h.

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

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

227  {
228  pnode_[tauPUS].iparams_.resize(1);
229  pnode_[tauPUS].iparams_[0] = mask;
230  }
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 218 of file CaloParamsHelper.h.

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

Referenced by l1t::calibrateAndRankTaus().

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

Definition at line 217 of file CaloParamsHelper.h.

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

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

Definition at line 216 of file CaloParamsHelper.h.

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

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

Definition at line 219 of file CaloParamsHelper.h.

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

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

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

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

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

Definition at line 214 of file CaloParamsHelper.h.

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

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

Definition at line 200 of file CaloParamsHelper.h.

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

200 { 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 211 of file CaloParamsHelper.h.

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

211 { 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 210 of file CaloParamsHelper.h.

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

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

Definition at line 209 of file CaloParamsHelper.h.

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

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

Definition at line 194 of file CaloParamsHelper.h.

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

194  {
195  if (pnode_[tauPUS].version_ ==1)
196  return pnode_[tauPUS].iparams_[0];
197  else
198  return 0;
199  }
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 72 of file CaloParamsHelper.h.

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

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

Definition at line 73 of file CaloParamsHelper.h.

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

73 { 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 374 of file CaloParamsHelper.h.

Referenced by emScale(), and setEmScale().

L1CaloEtScale l1t::CaloParamsHelper::HfRingScale_
private

Definition at line 377 of file CaloParamsHelper.h.

Referenced by HfRingScale(), and setHfRingScale().

L1CaloEtScale l1t::CaloParamsHelper::HtMissScale_
private

Definition at line 376 of file CaloParamsHelper.h.

Referenced by HtMissScale(), and setHtMissScale().

L1CaloEtScale l1t::CaloParamsHelper::jetScale_
private

Definition at line 375 of file CaloParamsHelper.h.

Referenced by jetScale(), and setJetScale().