CMS 3D CMS Logo

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, etSumXCalibration =22, etSumYCalibration =23,
  etSumEttCalibration =24, etSumEcalSumCalibration =25, tauIsolation2 =26, egBypassEGVetosFlag =27,
  jetBypassPUSFlag =28, egHOverEBarrel =29, egHOverEEndcap =30, etSumMetPUS =31,
  etSumBypassMetPUSFlag =32, egBypassExtHoE =33, egIsolation2 =34, etSumEttPUS =35,
  etSumBypassEttPUSFlag =36, etSumEcalSumPUS =37, etSumBypassEcalSumPUSFlag =38, layer1HOverE =39,
  PUTowerThreshold =40, tauTrimmingShapeVeto =41, NUM_CALOPARAMNODES =42
}
 
- 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 ()
 
unsigned egBypassExtHOverE ()
 
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 ()
 
l1t::LUTegIsolationLUT2 ()
 
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 ()
 
unsigned etSumBypassEcalSumPUS () const
 
unsigned etSumBypassEttPUS () const
 
unsigned etSumBypassMetPUS () const
 
l1t::LUTetSumEcalSumCalibrationLUT ()
 
std::string etSumEcalSumCalibrationType () const
 
l1t::LUTetSumEcalSumPUSLUT ()
 
std::string etSumEcalSumPUSType () const
 
int etSumEtaMax (unsigned isum) const
 
int etSumEtaMin (unsigned isum) const
 
l1t::LUTetSumEttCalibrationLUT ()
 
std::string etSumEttCalibrationType () const
 
double etSumEtThreshold (unsigned isum) const
 
l1t::LUTetSumEttPUSLUT ()
 
std::string etSumEttPUSType () const
 
double etSumLsb () const
 
l1t::LUTetSumMetPUSLUT ()
 
std::string etSumMetPUSType () const
 
l1t::LUTetSumXCalibrationLUT ()
 
std::string etSumXCalibrationType () const
 
l1t::LUTetSumYCalibrationLUT ()
 
std::string etSumYCalibrationType () const
 
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< unsigned > layer1ECalScalePhiBins ()
 
std::vector< int > layer1HCalScaleETBins ()
 
std::vector< double > layer1HCalScaleFactors ()
 
std::vector< unsigned > layer1HCalScalePhiBins ()
 
std::vector< int > layer1HFScaleETBins ()
 
std::vector< double > layer1HFScaleFactors ()
 
std::vector< unsigned > layer1HFScalePhiBins ()
 
l1t::LUTlayer1HOverELUT ()
 
std::vector< int > minimumBiasThresholds () const
 
int pileUpTowerThreshold () 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 setEgBypassExtHOverE (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 setEgIsolationLUT2 (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 setEtSumBypassEcalSumPUS (unsigned flag)
 
void setEtSumBypassEttPUS (unsigned flag)
 
void setEtSumBypassMetPUS (unsigned flag)
 
void setEtSumEcalSumCalibrationLUT (const l1t::LUT &lut)
 
void setEtSumEcalSumCalibrationType (std::string type)
 
void setEtSumEcalSumPUSLUT (const l1t::LUT &lut)
 
void setEtSumEcalSumPUSType (std::string type)
 
void setEtSumEtaMax (unsigned isum, int eta)
 
void setEtSumEtaMin (unsigned isum, int eta)
 
void setEtSumEttCalibrationLUT (const l1t::LUT &lut)
 
void setEtSumEttCalibrationType (std::string type)
 
void setEtSumEtThreshold (unsigned isum, double thresh)
 
void setEtSumEttPUSLUT (const l1t::LUT &lut)
 
void setEtSumEttPUSType (std::string type)
 
void setEtSumLsb (double lsb)
 
void setEtSumMetPUSLUT (const l1t::LUT &lut)
 
void setEtSumMetPUSType (std::string type)
 
void setEtSumXCalibrationLUT (const l1t::LUT &lut)
 
void setEtSumXCalibrationType (std::string type)
 
void setEtSumYCalibrationLUT (const l1t::LUT &lut)
 
void setEtSumYCalibrationType (std::string type)
 
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 setLayer1ECalScalePhiBins (const std::vector< unsigned > params)
 
void setLayer1HCalScaleETBins (const std::vector< int > params)
 
void setLayer1HCalScaleFactors (const std::vector< double > params)
 
void setLayer1HCalScalePhiBins (const std::vector< unsigned > params)
 
void setLayer1HFScaleETBins (const std::vector< int > params)
 
void setLayer1HFScaleFactors (const std::vector< double > params)
 
void setLayer1HFScalePhiBins (const std::vector< unsigned > params)
 
void setLayer1HOverELUT (const l1t::LUT &lut)
 
void setMinimumBiasThresholds (std::vector< int > thresholds)
 
void setPileUpTowerThreshold (int thresh)
 
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 setTauTrimmingShapeVetoLUT (const l1t::LUT &lut)
 
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
 
l1t::LUTtauTrimmingShapeVetoLUT ()
 
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 
etSumXCalibration 
etSumYCalibration 
etSumEttCalibration 
etSumEcalSumCalibration 
tauIsolation2 
egBypassEGVetosFlag 
jetBypassPUSFlag 
egHOverEBarrel 
egHOverEEndcap 
etSumMetPUS 
etSumBypassMetPUSFlag 
egBypassExtHoE 
egIsolation2 
etSumEttPUS 
etSumBypassEttPUSFlag 
etSumEcalSumPUS 
etSumBypassEcalSumPUSFlag 
layer1HOverE 
PUTowerThreshold 
tauTrimmingShapeVeto 
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,
43  etSumMetPUS=31,
45  egBypassExtHoE=33,
46  egIsolation2=34,
47  etSumEttPUS=35,
49  etSumEcalSumPUS=37,
51  layer1HOverE=39,
55  };

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

Referenced by L1TStage2Layer1Producer::beginRun().

59 {}

Member Function Documentation

l1t::LUT* l1t::CaloParamsHelper::centralityLUT ( )
inline
int l1t::CaloParamsHelper::centralityRegionMask ( ) const
inline

Definition at line 383 of file CaloParamsHelper.h.

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

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

383  {
384  if(pnode_[hiCentrality].version_ == 1)
385  return pnode_[hiCentrality].iparams_[0] ;
386  else
387  return 0;
388  }
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
unsigned l1t::CaloParamsHelper::egBypassExtHOverE ( )
inline
l1t::LUT* l1t::CaloParamsHelper::egCalibrationLUT ( )
inline
std::vector<double> l1t::CaloParamsHelper::egCalibrationParams ( )
inline

Definition at line 159 of file CaloParamsHelper.h.

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

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

Definition at line 214 of file CaloParamsHelper.h.

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

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

Definition at line 123 of file CaloParamsHelper.h.

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

Referenced by l1t::Stage2Layer2EGammaAlgorithmFirmwareImp1::processEvent(), and l1t::Stage1Layer2EGammaAlgorithmImpHI::processEvent().

123  {
124  if (pnode_[egPUS].version_ ==1)
125  return pnode_[egPUS].iparams_[0];
126  else
127  return 0;
128  }
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
int l1t::CaloParamsHelper::egHOverEcutEndcap ( ) const
inline
unsigned l1t::CaloParamsHelper::egIsoAreaNrTowersEta ( ) const
inline
unsigned l1t::CaloParamsHelper::egIsoAreaNrTowersPhi ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::egIsolationLUT ( )
inline
l1t::LUT* l1t::CaloParamsHelper::egIsolationLUT2 ( )
inline
std::string l1t::CaloParamsHelper::egIsolationType ( ) const
inline
unsigned l1t::CaloParamsHelper::egIsoVetoNrTowersPhi ( ) const
inline
double l1t::CaloParamsHelper::egLsb ( ) const
inline
double l1t::CaloParamsHelper::egMaxHcalEt ( ) const
inline

Definition at line 134 of file CaloParamsHelper.h.

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

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

Definition at line 136 of file CaloParamsHelper.h.

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

136 { 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
const std::vector<double>& l1t::CaloParamsHelper::egPUSParams ( ) const
inline

Definition at line 152 of file CaloParamsHelper.h.

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

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

Definition at line 151 of file CaloParamsHelper.h.

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

151 { 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 138 of file CaloParamsHelper.h.

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

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

Definition at line 212 of file CaloParamsHelper.h.

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

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

Definition at line 66 of file CaloParamsHelper.h.

References emScale_.

Referenced by setEmScale().

66 { return emScale_; }
unsigned l1t::CaloParamsHelper::etSumBypassEcalSumPUS ( ) const
inline
unsigned l1t::CaloParamsHelper::etSumBypassEttPUS ( ) const
inline
unsigned l1t::CaloParamsHelper::etSumBypassMetPUS ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::etSumEcalSumCalibrationLUT ( )
inline
std::string l1t::CaloParamsHelper::etSumEcalSumCalibrationType ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::etSumEcalSumPUSLUT ( )
inline
std::string l1t::CaloParamsHelper::etSumEcalSumPUSType ( ) const
inline
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.

Referenced by etSumLsb(), l1t::Stage1Layer2EtSumAlgorithmImpPP::processEvent(), and l1t::Stage1Layer2EtSumAlgorithmImpHW::processEvent().

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

Definition at line 345 of file CaloParamsHelper.h.

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

std::string l1t::CaloParamsHelper::etSumEttCalibrationType ( ) const
inline

Definition at line 337 of file CaloParamsHelper.h.

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

double l1t::CaloParamsHelper::etSumEtThreshold ( unsigned  isum) const
l1t::LUT* l1t::CaloParamsHelper::etSumEttPUSLUT ( )
inline
std::string l1t::CaloParamsHelper::etSumEttPUSType ( ) const
inline
double l1t::CaloParamsHelper::etSumLsb ( ) const
inline

Definition at line 325 of file CaloParamsHelper.h.

References etSumEtaMax(), etSumEtaMin(), etSumEtThreshold(), l1t::CaloParams::etSumLsb_, and isum.

325 { return etSumLsb_; }
double etSumLsb_
Definition: CaloParams.h:221
l1t::LUT* l1t::CaloParamsHelper::etSumMetPUSLUT ( )
inline
std::string l1t::CaloParamsHelper::etSumMetPUSType ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::etSumXCalibrationLUT ( )
inline

Definition at line 343 of file CaloParamsHelper.h.

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

std::string l1t::CaloParamsHelper::etSumXCalibrationType ( ) const
inline

Definition at line 335 of file CaloParamsHelper.h.

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

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

Definition at line 344 of file CaloParamsHelper.h.

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

std::string l1t::CaloParamsHelper::etSumYCalibrationType ( ) const
inline

Definition at line 336 of file CaloParamsHelper.h.

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

L1CaloEtScale l1t::CaloParamsHelper::HfRingScale ( )
inline

Definition at line 71 of file CaloParamsHelper.h.

References HfRingScale_.

Referenced by l1t::Stage1Layer2DiTauAlgorithm::processEvent(), and setHfRingScale().

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

Definition at line 70 of file CaloParamsHelper.h.

References HtMissScale_.

Referenced by setHtMissScale().

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

Definition at line 63 of file CaloParamsHelper.h.

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

Definition at line 64 of file CaloParamsHelper.h.

References l1t::CaloParams::version_.

64 {return (version_ >= 2); }
unsigned version_
Definition: CaloParams.h:205
unsigned l1t::CaloParamsHelper::jetBypassPUS ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::jetCalibrationLUT ( )
inline
std::vector<double> l1t::CaloParamsHelper::jetCalibrationParams ( )
inline
std::string l1t::CaloParamsHelper::jetCalibrationType ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::jetCompressEtaLUT ( )
inline
l1t::LUT* l1t::CaloParamsHelper::jetCompressPtLUT ( )
inline
double l1t::CaloParamsHelper::jetLsb ( ) const
inline
double l1t::CaloParamsHelper::jetNeighbourThreshold ( ) const
inline
std::vector<double> l1t::CaloParamsHelper::jetPUSParams ( )
inline

Definition at line 296 of file CaloParamsHelper.h.

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

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

Definition at line 295 of file CaloParamsHelper.h.

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

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

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

Definition at line 286 of file CaloParamsHelper.h.

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

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

286  {
287  if (pnode_[jetPUS].version_ ==1)
288  return pnode_[jetPUS].iparams_[0];
289  else
290  return 0;
291  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
L1CaloEtScale l1t::CaloParamsHelper::jetScale ( )
inline
double l1t::CaloParamsHelper::jetSeedThreshold ( ) const
inline
std::vector<int> l1t::CaloParamsHelper::layer1ECalScaleETBins ( )
inline

Definition at line 424 of file CaloParamsHelper.h.

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

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

Definition at line 421 of file CaloParamsHelper.h.

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

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

Definition at line 427 of file CaloParamsHelper.h.

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

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

Definition at line 425 of file CaloParamsHelper.h.

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

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

Definition at line 422 of file CaloParamsHelper.h.

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

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

Definition at line 428 of file CaloParamsHelper.h.

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

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

Definition at line 426 of file CaloParamsHelper.h.

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

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

Definition at line 423 of file CaloParamsHelper.h.

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

423 { return pnode_[layer1HF ].dparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
std::vector<unsigned> l1t::CaloParamsHelper::layer1HFScalePhiBins ( )
inline

Definition at line 429 of file CaloParamsHelper.h.

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

429 { return pnode_[layer1HF ].uparams_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
l1t::LUT* l1t::CaloParamsHelper::layer1HOverELUT ( )
inline

Definition at line 440 of file CaloParamsHelper.h.

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

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

Definition at line 389 of file CaloParamsHelper.h.

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

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

389  {
390  if(pnode_[hiCentrality].version_ == 1 && pnode_[hiCentrality].iparams_.size()==5) {
391  std::vector<int> newVec;
392  for(int i = 0; i<4; i++) {
393  newVec.push_back(pnode_[hiCentrality].iparams_.at(i+1));
394  }
395  return newVec;
396  } else {
397  std::vector<int> newVec;
398  return newVec;
399  }
400  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
int l1t::CaloParamsHelper::pileUpTowerThreshold ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::q2LUT ( )
inline

Definition at line 415 of file CaloParamsHelper.h.

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

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

Definition at line 100 of file CaloParamsHelper.h.

References l1t::CaloParams::regionLsb_.

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

Definition at line 103 of file CaloParamsHelper.h.

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

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

Definition at line 102 of file CaloParamsHelper.h.

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

Referenced by regionPUSValue().

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

Definition at line 101 of file CaloParamsHelper.h.

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

Referenced by l1t::RegionCorrection().

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

Definition at line 105 of file CaloParamsHelper.h.

References regionPUSParams().

Referenced by l1t::RegionCorrection().

106  {
107  int puSub = ceil(regionPUSParams()[18*eta+PUM0]*2);
108  return puSub;
109  }
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::setEgBypassExtHOverE ( unsigned  flag)
inline
void l1t::CaloParamsHelper::setEgCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEgCalibrationParams ( std::vector< double >  params)
inline

Definition at line 206 of file CaloParamsHelper.h.

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

206 { 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::setEgIsolationLUT2 ( 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 67 of file CaloParamsHelper.h.

References emScale(), and emScale_.

67 { emScale_ = emScale; }
L1CaloEtScale emScale()
void l1t::CaloParamsHelper::setEtSumBypassEcalSumPUS ( unsigned  flag)
inline
void l1t::CaloParamsHelper::setEtSumBypassEttPUS ( unsigned  flag)
inline
void l1t::CaloParamsHelper::setEtSumBypassMetPUS ( unsigned  flag)
inline
void l1t::CaloParamsHelper::setEtSumEcalSumCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumEcalSumCalibrationType ( std::string  type)
inline
void l1t::CaloParamsHelper::setEtSumEcalSumPUSLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumEcalSumPUSType ( std::string  type)
inline
void l1t::CaloParamsHelper::setEtSumEtaMax ( unsigned  isum,
int  eta 
)
void l1t::CaloParamsHelper::setEtSumEtaMin ( unsigned  isum,
int  eta 
)
void l1t::CaloParamsHelper::setEtSumEttCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumEttCalibrationType ( std::string  type)
inline
void l1t::CaloParamsHelper::setEtSumEtThreshold ( unsigned  isum,
double  thresh 
)
void l1t::CaloParamsHelper::setEtSumEttPUSLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumEttPUSType ( std::string  type)
inline
void l1t::CaloParamsHelper::setEtSumLsb ( double  lsb)
inline
void l1t::CaloParamsHelper::setEtSumMetPUSLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumMetPUSType ( std::string  type)
inline
void l1t::CaloParamsHelper::setEtSumXCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumXCalibrationType ( std::string  type)
inline
void l1t::CaloParamsHelper::setEtSumYCalibrationLUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setEtSumYCalibrationType ( std::string  type)
inline
void l1t::CaloParamsHelper::setHfRingScale ( L1CaloEtScale  HfRingScale)
inline

Definition at line 73 of file CaloParamsHelper.h.

References HfRingScale(), and HfRingScale_.

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

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

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

312 { 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
void l1t::CaloParamsHelper::setJetScale ( L1CaloEtScale  jetScale)
inline

Definition at line 69 of file CaloParamsHelper.h.

References jetScale(), and jetScale_.

69 { 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::setLayer1ECalScalePhiBins ( const std::vector< unsigned >  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::setLayer1HCalScalePhiBins ( const std::vector< unsigned >  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::setLayer1HFScalePhiBins ( const std::vector< unsigned >  params)
inline
void l1t::CaloParamsHelper::setLayer1HOverELUT ( const l1t::LUT lut)
inline
void l1t::CaloParamsHelper::setMinimumBiasThresholds ( std::vector< int >  thresholds)
inline
void l1t::CaloParamsHelper::setPileUpTowerThreshold ( int  thresh)
inline
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 114 of file CaloParamsHelper.h.

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

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

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

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

Definition at line 270 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
void l1t::CaloParamsHelper::setTauSeedThreshold ( double  thresh)
inline
void l1t::CaloParamsHelper::setTauTrimmingShapeVetoLUT ( const l1t::LUT lut)
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
std::vector<double> l1t::CaloParamsHelper::tauCalibrationParams ( )
inline

Definition at line 242 of file CaloParamsHelper.h.

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

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

Definition at line 241 of file CaloParamsHelper.h.

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

241 { return pnode_[tauCalibration].type_; }
std::vector< Node > pnode_
Definition: CaloParams.h:207
l1t::LUT* l1t::CaloParamsHelper::tauCompressLUT ( )
inline
l1t::LUT* l1t::CaloParamsHelper::tauEtToHFRingEtLUT ( )
inline
unsigned l1t::CaloParamsHelper::tauIsoAreaNrTowersEta ( ) const
inline
unsigned l1t::CaloParamsHelper::tauIsoAreaNrTowersPhi ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::tauIsolationLUT ( )
inline
l1t::LUT* l1t::CaloParamsHelper::tauIsolationLUT2 ( )
inline

Definition at line 238 of file CaloParamsHelper.h.

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

238 { 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 224 of file CaloParamsHelper.h.

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

224 { 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 235 of file CaloParamsHelper.h.

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

Referenced by l1t::Stage2Layer2TauAlgorithmFirmwareImp1::merging().

235 { 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 234 of file CaloParamsHelper.h.

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

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

Definition at line 233 of file CaloParamsHelper.h.

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

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

Definition at line 218 of file CaloParamsHelper.h.

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

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

218  {
219  if (pnode_[tauPUS].version_ ==1)
220  return pnode_[tauPUS].iparams_[0];
221  else
222  return 0;
223  }
std::vector< Node > pnode_
Definition: CaloParams.h:207
unsigned version_
Definition: CaloParams.h:205
double l1t::CaloParamsHelper::tauSeedThreshold ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::tauTrimmingShapeVetoLUT ( )
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
int l1t::CaloParamsHelper::towerMaskH ( ) const
inline
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

Definition at line 17 of file CaloParamsHelper.cc.

17  {
18  return os << "CaloParamsHelper...";
19  }

Member Data Documentation

L1CaloEtScale l1t::CaloParamsHelper::emScale_
private

Definition at line 445 of file CaloParamsHelper.h.

Referenced by emScale(), and setEmScale().

L1CaloEtScale l1t::CaloParamsHelper::HfRingScale_
private

Definition at line 448 of file CaloParamsHelper.h.

Referenced by HfRingScale(), and setHfRingScale().

L1CaloEtScale l1t::CaloParamsHelper::HtMissScale_
private

Definition at line 447 of file CaloParamsHelper.h.

Referenced by HtMissScale(), and setHtMissScale().

L1CaloEtScale l1t::CaloParamsHelper::jetScale_
private

Definition at line 446 of file CaloParamsHelper.h.

Referenced by jetScale(), and setJetScale().