test
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, NUM_CALOPARAMNODES =26
}
 
- 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 ()
 
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 ()
 
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 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 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 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 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 
jetCompressEta 
jetCompressPt 
etSumXPUS 
etSumYPUS 
etSumEttPUS 
etSumEcalSumPUS 
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,
39  };

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

Referenced by L1TStage2Layer1Producer::beginRun().

43 {}

Member Function Documentation

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

Definition at line 310 of file CaloParamsHelper.h.

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

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

Definition at line 292 of file CaloParamsHelper.h.

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

292  {
293  if(pnode_[hiCentrality].version_ == 1)
294  return pnode_[hiCentrality].iparams_[0] ;
295  else
296  return 0;
297  }
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 133 of file CaloParamsHelper.h.

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

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

Definition at line 132 of file CaloParamsHelper.h.

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

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

Definition at line 131 of file CaloParamsHelper.h.

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

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

Definition at line 170 of file CaloParamsHelper.h.

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

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

Definition at line 115 of file CaloParamsHelper.h.

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

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

Definition at line 101 of file CaloParamsHelper.h.

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

101  {
102  if (pnode_[egPUS].version_ ==1)
103  return pnode_[egPUS].iparams_[0];
104  else
105  return 0;
106  }
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 130 of file CaloParamsHelper.h.

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

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

Definition at line 129 of file CaloParamsHelper.h.

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

129 { 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 107 of file CaloParamsHelper.h.

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

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

Definition at line 112 of file CaloParamsHelper.h.

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

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

Definition at line 114 of file CaloParamsHelper.h.

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

114 { 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 127 of file CaloParamsHelper.h.

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

127 { 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 126 of file CaloParamsHelper.h.

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

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

Definition at line 125 of file CaloParamsHelper.h.

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

125 { 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 116 of file CaloParamsHelper.h.

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

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

Definition at line 166 of file CaloParamsHelper.h.

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

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

Definition at line 168 of file CaloParamsHelper.h.

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

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

Definition at line 111 of file CaloParamsHelper.h.

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

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

Definition at line 50 of file CaloParamsHelper.h.

References emScale_.

Referenced by setEmScale().

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

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

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

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

Definition at line 270 of file CaloParamsHelper.h.

References l1t::CaloParams::etSumLsb_.

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

Definition at line 275 of file CaloParamsHelper.h.

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

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

Definition at line 276 of file CaloParamsHelper.h.

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

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

Definition at line 55 of file CaloParamsHelper.h.

References HfRingScale_.

Referenced by setHfRingScale().

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

Definition at line 54 of file CaloParamsHelper.h.

References HtMissScale_.

Referenced by setHtMissScale().

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

Definition at line 47 of file CaloParamsHelper.h.

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

Definition at line 48 of file CaloParamsHelper.h.

References l1t::CaloParams::version_.

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

Definition at line 248 of file CaloParamsHelper.h.

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

Referenced by l1t::calibrateAndRankJets().

248 { 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 251 of file CaloParamsHelper.h.

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

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

Definition at line 250 of file CaloParamsHelper.h.

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

250 { 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 245 of file CaloParamsHelper.h.

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

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

Definition at line 244 of file CaloParamsHelper.h.

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

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

Definition at line 238 of file CaloParamsHelper.h.

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

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

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

Definition at line 52 of file CaloParamsHelper.h.

References jetScale_.

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

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

Definition at line 333 of file CaloParamsHelper.h.

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

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

Definition at line 330 of file CaloParamsHelper.h.

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

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

Definition at line 334 of file CaloParamsHelper.h.

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

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

Definition at line 331 of file CaloParamsHelper.h.

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

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

Definition at line 335 of file CaloParamsHelper.h.

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

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

Definition at line 332 of file CaloParamsHelper.h.

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

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

Definition at line 298 of file CaloParamsHelper.h.

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

298  {
299  if(pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size()==5) {
300  std::vector<int> newVec;
301  for(int i = 0; i<4; i++) {
302  newVec.push_back(pnode_[hiCentrality].iparams_.at(i+1));
303  }
304  return newVec;
305  } else {
306  std::vector<int> newVec;
307  return newVec;
308  }
309  }
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 324 of file CaloParamsHelper.h.

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

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

Definition at line 84 of file CaloParamsHelper.h.

References l1t::CaloParams::regionLsb_.

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

Definition at line 87 of file CaloParamsHelper.h.

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

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

Definition at line 86 of file CaloParamsHelper.h.

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

Referenced by regionPUSValue().

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

Definition at line 85 of file CaloParamsHelper.h.

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

Referenced by l1t::RegionCorrection().

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

Definition at line 89 of file CaloParamsHelper.h.

References regionPUSParams().

Referenced by l1t::RegionCorrection().

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

Definition at line 311 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

311  {
312  pnode_[hiCentrality].iparams_.resize(5);
313  pnode_[hiCentrality].iparams_[0] = mask;
314  }
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 162 of file CaloParamsHelper.h.

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

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

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

135  {
136  pnode_[egPUS].iparams_.resize(1);
137  pnode_[egPUS].iparams_[0] = mask;
138  }
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 158 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 157 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

157 { 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 167 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

167 { 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 51 of file CaloParamsHelper.h.

References emScale(), and emScale_.

51 { emScale_ = emScale; }
L1CaloEtScale emScale()
void l1t::CaloParamsHelper::setEtSumEcalSumPUSLUT ( const l1t::LUT lut)
inline
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::setEtSumEttPUSLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumLsb ( double  lsb)
inline

Definition at line 280 of file CaloParamsHelper.h.

References l1t::CaloParams::etSumLsb_.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

280 { etSumLsb_ = lsb; }
double etSumLsb_
Definition: CaloParams.h:221
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 57 of file CaloParamsHelper.h.

References HfRingScale(), and HfRingScale_.

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

Definition at line 56 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::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 261 of file CaloParamsHelper.h.

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

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

Definition at line 260 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

260 { 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 256 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 53 of file CaloParamsHelper.h.

References jetScale(), and jetScale_.

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

Definition at line 339 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

339 { 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 336 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

336 { 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 340 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

340 { 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 337 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

337 { 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 341 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

341 { 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 338 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 315 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

315  {
316  pnode_[hiCentrality].iparams_.resize(5);
317  for(int i = 0; i<4; i++) {
318  pnode_[hiCentrality].iparams_[i+1] = thresholds.at(i);
319  }
320  }
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 325 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

325 { 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 95 of file CaloParamsHelper.h.

References l1t::CaloParams::regionLsb_.

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 98 of file CaloParamsHelper.h.

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

98 { 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 97 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 96 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

96 { 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 227 of file CaloParamsHelper.h.

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

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

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

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

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

Definition at line 219 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

219 { 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 206 of file CaloParamsHelper.h.

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

Referenced by L1TCaloParamsESProducer::L1TCaloParamsESProducer().

206  {
207  pnode_[tauPUS].iparams_.resize(1);
208  pnode_[tauPUS].iparams_[0] = mask;
209  }
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 197 of file CaloParamsHelper.h.

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

Referenced by l1t::calibrateAndRankTaus().

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

Definition at line 196 of file CaloParamsHelper.h.

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

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

Definition at line 195 of file CaloParamsHelper.h.

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

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

Definition at line 198 of file CaloParamsHelper.h.

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

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

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

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

193 { 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 180 of file CaloParamsHelper.h.

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

180 { 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 191 of file CaloParamsHelper.h.

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

191 { 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 190 of file CaloParamsHelper.h.

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

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

Definition at line 189 of file CaloParamsHelper.h.

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

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

Definition at line 174 of file CaloParamsHelper.h.

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

174  {
175  if (pnode_[tauPUS].version_ ==1)
176  return pnode_[tauPUS].iparams_[0];
177  else
178  return 0;
179  }
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 67 of file CaloParamsHelper.h.

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

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

Definition at line 68 of file CaloParamsHelper.h.

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

68 { 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 345 of file CaloParamsHelper.h.

Referenced by emScale(), and setEmScale().

L1CaloEtScale l1t::CaloParamsHelper::HfRingScale_
private

Definition at line 348 of file CaloParamsHelper.h.

Referenced by HfRingScale(), and setHfRingScale().

L1CaloEtScale l1t::CaloParamsHelper::HtMissScale_
private

Definition at line 347 of file CaloParamsHelper.h.

Referenced by HtMissScale(), and setHtMissScale().

L1CaloEtScale l1t::CaloParamsHelper::jetScale_
private

Definition at line 346 of file CaloParamsHelper.h.

Referenced by jetScale(), and setJetScale().