CMS 3D CMS Logo

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

#include <CaloParamsHelper.h>

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

Public Types

enum  {
  regionPUS =0, egTrimming =1, egMaxHOverE =2, egCompressShapes =3,
  egShapeId =4, egCalibration =5, egPUS =6, egIsolation =7,
  tauCalibration =8, tauPUS =9, tauIsolation =10, jetPUS =11,
  jetCalibration =12, hiCentrality =13, hiQ2 =14, tauEtToHFRingEt =15,
  tauCompress =16, layer1ECal =17, layer1HCal =18, layer1HF =19,
  jetCompressEta =20, jetCompressPt =21, etSumXPUS =22, etSumYPUS =23,
  etSumEttPUS =24, etSumEcalSumPUS =25, tauIsolation2 =26, egBypassEGVetosFlag =27,
  jetBypassPUSFlag =28, egHOverEBarrel =29, egHOverEEndcap =30, NUM_CALOPARAMNODES =31
}
 
- Public Types inherited from l1t::CaloParams
enum  { Version = 2 }
 

Public Member Functions

 CaloParamsHelper ()
 
 CaloParamsHelper (const CaloParams)
 
l1t::LUTcentralityLUT ()
 
int centralityRegionMask () const
 
bool doTowerEncoding () const
 
unsigned egBypassEGVetos ()
 
l1t::LUTegCalibrationLUT ()
 
std::vector< double > egCalibrationParams ()
 
std::string egCalibrationType () const
 
unsigned egCalibrationVersion () const
 
l1t::LUTegCompressShapesLUT ()
 
int egEtaCut () const
 
double egHcalThreshold () const
 
int egHOverEcutBarrel () const
 
int egHOverEcutEndcap () const
 
unsigned egIsoAreaNrTowersEta () const
 
unsigned egIsoAreaNrTowersPhi () const
 
l1t::LUTegIsolationLUT ()
 
std::string egIsolationType () const
 
unsigned egIsoVetoNrTowersPhi () const
 
double egLsb () const
 
double egMaxHcalEt () const
 
l1t::LUTegMaxHOverELUT ()
 
double egMaxPtHOverE () const
 
int egMaxPtHOverEIsolation () const
 
int egMaxPtJetIsolation () const
 
int egMinPtHOverEIsolation () const
 
int egMinPtJetIsolation () const
 
double egNeighbourThreshold () const
 
double egPUSParam (int ipar) const
 
const std::vector< double > & egPUSParams () const
 
const std::string & egPUSType () const
 
double egSeedThreshold () const
 
l1t::LUTegShapeIdLUT ()
 
std::string egShapeIdType () const
 
unsigned egShapeIdVersion () const
 
l1t::LUTegTrimmingLUT ()
 
L1CaloEtScale emScale ()
 
l1t::LUTetSumEcalSumPUSLUT ()
 
int etSumEtaMax (unsigned isum) const
 
int etSumEtaMin (unsigned isum) const
 
double etSumEtThreshold (unsigned isum) const
 
l1t::LUTetSumEttPUSLUT ()
 
double etSumLsb () const
 
l1t::LUTetSumXPUSLUT ()
 
l1t::LUTetSumYPUSLUT ()
 
L1CaloEtScale HfRingScale ()
 
L1CaloEtScale HtMissScale ()
 
int isoTauEtaMax () const
 
int isoTauEtaMin () const
 
bool isValidForStage1 ()
 
bool isValidForStage2 ()
 
unsigned jetBypassPUS () const
 
l1t::LUTjetCalibrationLUT ()
 
std::vector< double > jetCalibrationParams ()
 
std::string jetCalibrationType () const
 
l1t::LUTjetCompressEtaLUT ()
 
l1t::LUTjetCompressPtLUT ()
 
double jetLsb () const
 
double jetNeighbourThreshold () const
 
std::vector< double > jetPUSParams ()
 
std::string jetPUSType () const
 
int jetRegionMask () const
 
L1CaloEtScale jetScale ()
 
double jetSeedThreshold () const
 
std::vector< int > layer1ECalScaleETBins ()
 
std::vector< double > layer1ECalScaleFactors ()
 
std::vector< int > layer1HCalScaleETBins ()
 
std::vector< double > layer1HCalScaleFactors ()
 
std::vector< int > layer1HFScaleETBins ()
 
std::vector< double > layer1HFScaleFactors ()
 
std::vector< int > minimumBiasThresholds () const
 
l1t::LUTq2LUT ()
 
double regionLsb () const
 
l1t::LUTregionPUSLUT ()
 
std::vector< double > regionPUSParams ()
 
std::string regionPUSType () const
 
int regionPUSValue (int PUM0, int eta)
 
void setCentralityLUT (const l1t::LUT &lut)
 
void setCentralityRegionMask (int mask)
 
void setEgBypassEGVetos (unsigned flag)
 
void setEgCalibrationLUT (const l1t::LUT &lut)
 
void setEgCalibrationParams (std::vector< double > params)
 
void setEgCalibrationType (std::string type)
 
void setEgCalibrationVersion (unsigned version)
 
void setEgCompressShapesLUT (const l1t::LUT &lut)
 
void setEgEtaCut (int mask)
 
void setEgHcalThreshold (double thresh)
 
void setEgHOverEcutBarrel (int cut)
 
void setEgHOverEcutEndcap (int cut)
 
void setEgIsoAreaNrTowersEta (unsigned iEgIsoAreaNrTowersEta)
 
void setEgIsoAreaNrTowersPhi (unsigned iEgIsoAreaNrTowersPhi)
 
void setEgIsolationLUT (const l1t::LUT &lut)
 
void setEgIsolationType (std::string type)
 
void setEgIsoVetoNrTowersPhi (unsigned iEgIsoVetoNrTowersPhi)
 
void setEgLsb (double lsb)
 
void setEgMaxHcalEt (double cut)
 
void setEgMaxHOverELUT (const l1t::LUT &lut)
 
void setEgMaxPtHOverE (double thresh)
 
void setEgMaxPtHOverEIsolation (int cutValue)
 
void setEgMaxPtJetIsolation (int cutValue)
 
void setEgMinPtHOverEIsolation (int cutValue)
 
void setEgMinPtJetIsolation (int cutValue)
 
void setEgNeighbourThreshold (double thresh)
 
void setEgPUSParams (const std::vector< double > &params)
 
void setEgPUSType (std::string type)
 
void setEgSeedThreshold (double thresh)
 
void setEgShapeIdLUT (const l1t::LUT &lut)
 
void setEgShapeIdType (std::string type)
 
void setEgShapeIdVersion (unsigned version)
 
void setEgTrimmingLUT (const l1t::LUT &lut)
 
void setEmScale (L1CaloEtScale emScale)
 
void setEtSumEcalSumPUSLUT (const l1t::LUT &lut)
 
void setEtSumEtaMax (unsigned isum, int eta)
 
void setEtSumEtaMin (unsigned isum, int eta)
 
void setEtSumEtThreshold (unsigned isum, double thresh)
 
void setEtSumEttPUSLUT (const l1t::LUT &lut)
 
void setEtSumLsb (double lsb)
 
void setEtSumXPUSLUT (const l1t::LUT &lut)
 
void setEtSumYPUSLUT (const l1t::LUT &lut)
 
void setHfRingScale (L1CaloEtScale HfRingScale)
 
void setHtMissScale (L1CaloEtScale HtMissScale)
 
void setIsoTauEtaMax (int value)
 
void setIsoTauEtaMin (int value)
 
void setJetBypassPUS (unsigned flag)
 
void setJetCalibrationLUT (const l1t::LUT &lut)
 
void setJetCalibrationParams (std::vector< double > params)
 
void setJetCalibrationType (std::string type)
 
void setJetCompressEtaLUT (const l1t::LUT &lut)
 
void setJetCompressPtLUT (const l1t::LUT &lut)
 
void setJetLsb (double lsb)
 
void setJetNeighbourThreshold (double thresh)
 
void setJetPUSParams (std::vector< double > params)
 
void setJetPUSType (std::string type)
 
void setJetRegionMask (int mask)
 
void setJetScale (L1CaloEtScale jetScale)
 
void setJetSeedThreshold (double thresh)
 
void setLayer1ECalScaleETBins (const std::vector< int > params)
 
void setLayer1ECalScaleFactors (const std::vector< double > params)
 
void setLayer1HCalScaleETBins (const std::vector< int > params)
 
void setLayer1HCalScaleFactors (const std::vector< double > params)
 
void setLayer1HFScaleETBins (const std::vector< int > params)
 
void setLayer1HFScaleFactors (const std::vector< double > params)
 
void setMinimumBiasThresholds (std::vector< int > thresholds)
 
void setQ2LUT (const l1t::LUT &lut)
 
void setRegionLsb (double lsb)
 
void setRegionPUSLUT (const l1t::LUT &lut)
 
void setRegionPUSParams (const std::vector< double > &params)
 
void setRegionPUSType (std::string type)
 
void setTauCalibrationLUT (const l1t::LUT &lut)
 
void setTauCalibrationParams (std::vector< double > params)
 
void setTauCalibrationType (std::string type)
 
void setTauCompressLUT (const l1t::LUT &lut)
 
void setTauEtToHFRingEtLUT (const l1t::LUT &lut)
 
void setTauIsoAreaNrTowersEta (unsigned iTauIsoAreaNrTowersEta)
 
void setTauIsoAreaNrTowersPhi (unsigned iTauIsoAreaNrTowersPhi)
 
void setTauIsolationLUT (const l1t::LUT &lut)
 
void setTauIsolationLUT2 (const l1t::LUT &lut)
 
void setTauIsoVetoNrTowersPhi (unsigned iTauIsoVetoNrTowersPhi)
 
void setTauLsb (double lsb)
 
void setTauMaxJetIsolationA (double cutValue)
 
void setTauMaxJetIsolationB (double limit)
 
void setTauMaxPtTauVeto (double limit)
 
void setTauMinPtJetIsolationB (double limit)
 
void setTauNeighbourThreshold (double thresh)
 
void setTauPUSParams (const std::vector< double > &params)
 
void setTauPUSType (std::string type)
 
void setTauRegionMask (int mask)
 
void setTauSeedThreshold (double thresh)
 
void setTowerEncoding (bool doit)
 
void setTowerLsbE (double lsb)
 
void setTowerLsbH (double lsb)
 
void setTowerLsbSum (double lsb)
 
void setTowerNBitsE (int n)
 
void setTowerNBitsH (int n)
 
void setTowerNBitsRatio (int n)
 
void setTowerNBitsSum (int n)
 
l1t::LUTtauCalibrationLUT ()
 
std::vector< double > tauCalibrationParams ()
 
std::string tauCalibrationType () const
 
l1t::LUTtauCompressLUT ()
 
l1t::LUTtauEtToHFRingEtLUT ()
 
unsigned tauIsoAreaNrTowersEta () const
 
unsigned tauIsoAreaNrTowersPhi () const
 
l1t::LUTtauIsolationLUT ()
 
l1t::LUTtauIsolationLUT2 ()
 
unsigned tauIsoVetoNrTowersPhi () const
 
double tauLsb () const
 
double tauMaxJetIsolationA () const
 
double tauMaxJetIsolationB () const
 
double tauMaxPtTauVeto () const
 
double tauMinPtJetIsolationB () const
 
double tauNeighbourThreshold () const
 
double tauPUSParam (int ipar) const
 
const std::vector< double > & tauPUSParams () const
 
std::string tauPUSType () const
 
int tauRegionMask () const
 
double tauSeedThreshold () const
 
double towerLsbE () const
 
double towerLsbH () const
 
double towerLsbSum () const
 
int towerMaskE () const
 
int towerMaskH () const
 
int towerMaskRatio () const
 
int towerMaskSum () const
 
int towerNBitsE () const
 
int towerNBitsH () const
 
int towerNBitsRatio () const
 
int towerNBitsSum () const
 
 ~CaloParamsHelper ()
 
- Public Member Functions inherited from l1t::CaloParams
 CaloParams ()
 
 ~CaloParams ()
 

Private Attributes

L1CaloEtScale emScale_
 
L1CaloEtScale HfRingScale_
 
L1CaloEtScale HtMissScale_
 
L1CaloEtScale jetScale_
 

Friends

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

Additional Inherited Members

- Protected Attributes inherited from l1t::CaloParams
EgParams egp_
 
std::vector< int > etSumEtaMax_
 
std::vector< int > etSumEtaMin_
 
std::vector< double > etSumEtThreshold_
 
double etSumLsb_
 
JetParams jetp_
 
std::vector< Nodepnode_
 
double regionLsb_
 
TauParams taup_
 
TowerParams towerp_
 
unsigned version_
 

Detailed Description

Definition at line 21 of file CaloParamsHelper.h.

Member Enumeration Documentation

anonymous enum
Enumerator
regionPUS 
egTrimming 
egMaxHOverE 
egCompressShapes 
egShapeId 
egCalibration 
egPUS 
egIsolation 
tauCalibration 
tauPUS 
tauIsolation 
jetPUS 
jetCalibration 
hiCentrality 
hiQ2 
tauEtToHFRingEt 
tauCompress 
layer1ECal 
layer1HCal 
layer1HF 
jetCompressEta 
jetCompressPt 
etSumXPUS 
etSumYPUS 
etSumEttPUS 
etSumEcalSumPUS 
tauIsolation2 
egBypassEGVetosFlag 
jetBypassPUSFlag 
egHOverEBarrel 
egHOverEEndcap 
NUM_CALOPARAMNODES 

Definition at line 26 of file CaloParamsHelper.h.

Constructor & Destructor Documentation

l1t::CaloParamsHelper::CaloParamsHelper ( )
inline

Definition at line 46 of file CaloParamsHelper.h.

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

Definition at line 10 of file CaloParamsHelper.cc.

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

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

Definition at line 48 of file CaloParamsHelper.h.

Member Function Documentation

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

Definition at line 339 of file CaloParamsHelper.h.

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

Definition at line 321 of file CaloParamsHelper.h.

bool l1t::CaloParamsHelper::doTowerEncoding ( ) const
inline

Definition at line 76 of file CaloParamsHelper.h.

unsigned l1t::CaloParamsHelper::egBypassEGVetos ( )
inline

Definition at line 126 of file CaloParamsHelper.h.

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

Definition at line 141 of file CaloParamsHelper.h.

std::vector<double> l1t::CaloParamsHelper::egCalibrationParams ( )
inline

Definition at line 140 of file CaloParamsHelper.h.

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

Definition at line 139 of file CaloParamsHelper.h.

unsigned l1t::CaloParamsHelper::egCalibrationVersion ( ) const
inline

Definition at line 190 of file CaloParamsHelper.h.

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

Definition at line 120 of file CaloParamsHelper.h.

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

Definition at line 106 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::egHcalThreshold ( ) const
inline

Definition at line 115 of file CaloParamsHelper.h.

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

Definition at line 127 of file CaloParamsHelper.h.

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

Definition at line 128 of file CaloParamsHelper.h.

unsigned l1t::CaloParamsHelper::egIsoAreaNrTowersEta ( ) const
inline

Definition at line 130 of file CaloParamsHelper.h.

unsigned l1t::CaloParamsHelper::egIsoAreaNrTowersPhi ( ) const
inline

Definition at line 131 of file CaloParamsHelper.h.

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

Definition at line 138 of file CaloParamsHelper.h.

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

Definition at line 137 of file CaloParamsHelper.h.

unsigned l1t::CaloParamsHelper::egIsoVetoNrTowersPhi ( ) const
inline

Definition at line 132 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::egLsb ( ) const
inline

Definition at line 112 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::egMaxHcalEt ( ) const
inline

Definition at line 117 of file CaloParamsHelper.h.

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

Definition at line 119 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::egMaxPtHOverE ( ) const
inline

Definition at line 118 of file CaloParamsHelper.h.

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

Definition at line 125 of file CaloParamsHelper.h.

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

Definition at line 123 of file CaloParamsHelper.h.

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

Definition at line 124 of file CaloParamsHelper.h.

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

Definition at line 122 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::egNeighbourThreshold ( ) const
inline

Definition at line 114 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::egPUSParam ( int  ipar) const
inline

Definition at line 135 of file CaloParamsHelper.h.

const std::vector<double>& l1t::CaloParamsHelper::egPUSParams ( ) const
inline

Definition at line 134 of file CaloParamsHelper.h.

const std::string& l1t::CaloParamsHelper::egPUSType ( ) const
inline

Definition at line 133 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::egSeedThreshold ( ) const
inline

Definition at line 113 of file CaloParamsHelper.h.

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

Definition at line 121 of file CaloParamsHelper.h.

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

Definition at line 186 of file CaloParamsHelper.h.

unsigned l1t::CaloParamsHelper::egShapeIdVersion ( ) const
inline

Definition at line 188 of file CaloParamsHelper.h.

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

Definition at line 116 of file CaloParamsHelper.h.

L1CaloEtScale l1t::CaloParamsHelper::emScale ( )
inline

Definition at line 55 of file CaloParamsHelper.h.

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

Definition at line 307 of file CaloParamsHelper.h.

int l1t::CaloParamsHelper::etSumEtaMax ( unsigned  isum) const
int l1t::CaloParamsHelper::etSumEtaMin ( unsigned  isum) const

Definition at line 21 of file CaloParamsHelper.cc.

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

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

Definition at line 306 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::etSumLsb ( ) const
inline

Definition at line 299 of file CaloParamsHelper.h.

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

Definition at line 304 of file CaloParamsHelper.h.

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

Definition at line 305 of file CaloParamsHelper.h.

L1CaloEtScale l1t::CaloParamsHelper::HfRingScale ( )
inline

Definition at line 60 of file CaloParamsHelper.h.

L1CaloEtScale l1t::CaloParamsHelper::HtMissScale ( )
inline

Definition at line 59 of file CaloParamsHelper.h.

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

Definition at line 208 of file CaloParamsHelper.h.

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

Definition at line 207 of file CaloParamsHelper.h.

bool l1t::CaloParamsHelper::isValidForStage1 ( )
inline

Definition at line 52 of file CaloParamsHelper.h.

bool l1t::CaloParamsHelper::isValidForStage2 ( )
inline

Definition at line 53 of file CaloParamsHelper.h.

unsigned l1t::CaloParamsHelper::jetBypassPUS ( ) const
inline

Definition at line 267 of file CaloParamsHelper.h.

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

Definition at line 273 of file CaloParamsHelper.h.

std::vector<double> l1t::CaloParamsHelper::jetCalibrationParams ( )
inline
std::string l1t::CaloParamsHelper::jetCalibrationType ( ) const
inline
l1t::LUT* l1t::CaloParamsHelper::jetCompressEtaLUT ( )
inline

Definition at line 276 of file CaloParamsHelper.h.

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

Definition at line 275 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::jetLsb ( ) const
inline
double l1t::CaloParamsHelper::jetNeighbourThreshold ( ) const
inline

Definition at line 259 of file CaloParamsHelper.h.

std::vector<double> l1t::CaloParamsHelper::jetPUSParams ( )
inline

Definition at line 270 of file CaloParamsHelper.h.

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

Definition at line 269 of file CaloParamsHelper.h.

int l1t::CaloParamsHelper::jetRegionMask ( ) const
inline
L1CaloEtScale l1t::CaloParamsHelper::jetScale ( )
inline

Definition at line 57 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::jetSeedThreshold ( ) const
inline
std::vector<int> l1t::CaloParamsHelper::layer1ECalScaleETBins ( )
inline

Definition at line 362 of file CaloParamsHelper.h.

std::vector<double> l1t::CaloParamsHelper::layer1ECalScaleFactors ( )
inline

Definition at line 359 of file CaloParamsHelper.h.

std::vector<int> l1t::CaloParamsHelper::layer1HCalScaleETBins ( )
inline

Definition at line 363 of file CaloParamsHelper.h.

std::vector<double> l1t::CaloParamsHelper::layer1HCalScaleFactors ( )
inline

Definition at line 360 of file CaloParamsHelper.h.

std::vector<int> l1t::CaloParamsHelper::layer1HFScaleETBins ( )
inline

Definition at line 364 of file CaloParamsHelper.h.

std::vector<double> l1t::CaloParamsHelper::layer1HFScaleFactors ( )
inline

Definition at line 361 of file CaloParamsHelper.h.

std::vector<int> l1t::CaloParamsHelper::minimumBiasThresholds ( ) const
inline

Definition at line 327 of file CaloParamsHelper.h.

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

Definition at line 353 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::regionLsb ( ) const
inline

Definition at line 89 of file CaloParamsHelper.h.

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

Definition at line 92 of file CaloParamsHelper.h.

std::vector<double> l1t::CaloParamsHelper::regionPUSParams ( )
inline

Definition at line 91 of file CaloParamsHelper.h.

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

Definition at line 90 of file CaloParamsHelper.h.

Referenced by l1t::RegionCorrection().

int l1t::CaloParamsHelper::regionPUSValue ( int  PUM0,
int  eta 
)
inline

Definition at line 94 of file CaloParamsHelper.h.

Referenced by l1t::RegionCorrection().

void l1t::CaloParamsHelper::setCentralityLUT ( const l1t::LUT lut)
inline

Definition at line 350 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setCentralityRegionMask ( int  mask)
inline

Definition at line 340 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgBypassEGVetos ( unsigned  flag)
inline

Definition at line 161 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgCalibrationLUT ( const l1t::LUT lut)
inline

Definition at line 183 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgCalibrationParams ( std::vector< double >  params)
inline

Definition at line 182 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgCalibrationType ( std::string  type)
inline

Definition at line 181 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgCalibrationVersion ( unsigned  version)
inline

Definition at line 191 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgCompressShapesLUT ( const l1t::LUT lut)
inline

Definition at line 155 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgEtaCut ( int  mask)
inline

Definition at line 143 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgHcalThreshold ( double  thresh)
inline

Definition at line 150 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgHOverEcutBarrel ( int  cut)
inline

Definition at line 165 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgHOverEcutEndcap ( int  cut)
inline

Definition at line 169 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgIsoAreaNrTowersEta ( unsigned  iEgIsoAreaNrTowersEta)
inline

Definition at line 174 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgIsoAreaNrTowersPhi ( unsigned  iEgIsoAreaNrTowersPhi)
inline

Definition at line 175 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgIsolationLUT ( const l1t::LUT lut)
inline

Definition at line 180 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgIsolationType ( std::string  type)
inline

Definition at line 179 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgIsoVetoNrTowersPhi ( unsigned  iEgIsoVetoNrTowersPhi)
inline

Definition at line 176 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgLsb ( double  lsb)
inline

Definition at line 147 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgMaxHcalEt ( double  cut)
inline

Definition at line 152 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgMaxHOverELUT ( const l1t::LUT lut)
inline

Definition at line 154 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgMaxPtHOverE ( double  thresh)
inline

Definition at line 153 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgMaxPtHOverEIsolation ( int  cutValue)
inline

Definition at line 160 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgMaxPtJetIsolation ( int  cutValue)
inline

Definition at line 158 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgMinPtHOverEIsolation ( int  cutValue)
inline

Definition at line 159 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgMinPtJetIsolation ( int  cutValue)
inline

Definition at line 157 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgNeighbourThreshold ( double  thresh)
inline

Definition at line 149 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgPUSParams ( const std::vector< double > &  params)
inline

Definition at line 178 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgPUSType ( std::string  type)
inline

Definition at line 177 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgSeedThreshold ( double  thresh)
inline

Definition at line 148 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgShapeIdLUT ( const l1t::LUT lut)
inline

Definition at line 156 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgShapeIdType ( std::string  type)
inline

Definition at line 187 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgShapeIdVersion ( unsigned  version)
inline

Definition at line 189 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEgTrimmingLUT ( const l1t::LUT lut)
inline

Definition at line 151 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEmScale ( L1CaloEtScale  emScale)
inline

Definition at line 56 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEtSumEcalSumPUSLUT ( const l1t::LUT lut)
inline

Definition at line 317 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEtSumEtaMax ( unsigned  isum,
int  eta 
)

Definition at line 41 of file CaloParamsHelper.cc.

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

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.

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.

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

Definition at line 316 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEtSumLsb ( double  lsb)
inline

Definition at line 309 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEtSumXPUSLUT ( const l1t::LUT lut)
inline

Definition at line 314 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setEtSumYPUSLUT ( const l1t::LUT lut)
inline

Definition at line 315 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setHfRingScale ( L1CaloEtScale  HfRingScale)
inline

Definition at line 62 of file CaloParamsHelper.h.

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

Definition at line 61 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setIsoTauEtaMax ( int  value)
inline

Definition at line 239 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setIsoTauEtaMin ( int  value)
inline

Definition at line 238 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetBypassPUS ( unsigned  flag)
inline

Definition at line 292 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetCalibrationLUT ( const l1t::LUT lut)
inline

Definition at line 289 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetCalibrationParams ( std::vector< double >  params)
inline

Definition at line 288 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetCalibrationType ( std::string  type)
inline

Definition at line 287 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetCompressEtaLUT ( const l1t::LUT lut)
inline

Definition at line 290 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetCompressPtLUT ( const l1t::LUT lut)
inline

Definition at line 291 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetLsb ( double  lsb)
inline

Definition at line 278 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetNeighbourThreshold ( double  thresh)
inline

Definition at line 280 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetPUSParams ( std::vector< double >  params)
inline

Definition at line 286 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetPUSType ( std::string  type)
inline

Definition at line 285 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetRegionMask ( int  mask)
inline

Definition at line 281 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetScale ( L1CaloEtScale  jetScale)
inline

Definition at line 58 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setJetSeedThreshold ( double  thresh)
inline

Definition at line 279 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setLayer1ECalScaleETBins ( const std::vector< int >  params)
inline

Definition at line 368 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setLayer1ECalScaleFactors ( const std::vector< double >  params)
inline

Definition at line 365 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setLayer1HCalScaleETBins ( const std::vector< int >  params)
inline

Definition at line 369 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setLayer1HCalScaleFactors ( const std::vector< double >  params)
inline

Definition at line 366 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setLayer1HFScaleETBins ( const std::vector< int >  params)
inline

Definition at line 370 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setLayer1HFScaleFactors ( const std::vector< double >  params)
inline

Definition at line 367 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setMinimumBiasThresholds ( std::vector< int >  thresholds)
inline

Definition at line 344 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setQ2LUT ( const l1t::LUT lut)
inline

Definition at line 354 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setRegionLsb ( double  lsb)
inline

Definition at line 100 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setRegionPUSLUT ( const l1t::LUT lut)
inline

Definition at line 103 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setRegionPUSParams ( const std::vector< double > &  params)
inline

Definition at line 102 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setRegionPUSType ( std::string  type)
inline

Definition at line 101 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauCalibrationLUT ( const l1t::LUT lut)
inline

Definition at line 250 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauCalibrationParams ( std::vector< double >  params)
inline

Definition at line 249 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauCalibrationType ( std::string  type)
inline

Definition at line 244 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauCompressLUT ( const l1t::LUT lut)
inline

Definition at line 251 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauEtToHFRingEtLUT ( const l1t::LUT lut)
inline

Definition at line 254 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauIsoAreaNrTowersEta ( unsigned  iTauIsoAreaNrTowersEta)
inline

Definition at line 245 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauIsoAreaNrTowersPhi ( unsigned  iTauIsoAreaNrTowersPhi)
inline

Definition at line 246 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauIsolationLUT ( const l1t::LUT lut)
inline

Definition at line 241 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauIsolationLUT2 ( const l1t::LUT lut)
inline

Definition at line 242 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauIsoVetoNrTowersPhi ( unsigned  iTauIsoVetoNrTowersPhi)
inline

Definition at line 247 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauLsb ( double  lsb)
inline

Definition at line 231 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauMaxJetIsolationA ( double  cutValue)
inline

Definition at line 237 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauMaxJetIsolationB ( double  limit)
inline

Definition at line 236 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauMaxPtTauVeto ( double  limit)
inline

Definition at line 234 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauMinPtJetIsolationB ( double  limit)
inline

Definition at line 235 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauNeighbourThreshold ( double  thresh)
inline

Definition at line 233 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauPUSParams ( const std::vector< double > &  params)
inline

Definition at line 252 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauPUSType ( std::string  type)
inline

Definition at line 240 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauRegionMask ( int  mask)
inline

Definition at line 227 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTauSeedThreshold ( double  thresh)
inline

Definition at line 232 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTowerEncoding ( bool  doit)
inline

Definition at line 85 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTowerLsbE ( double  lsb)
inline

Definition at line 79 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTowerLsbH ( double  lsb)
inline

Definition at line 78 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTowerLsbSum ( double  lsb)
inline

Definition at line 80 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTowerNBitsE ( int  n)
inline

Definition at line 82 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTowerNBitsH ( int  n)
inline

Definition at line 81 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTowerNBitsRatio ( int  n)
inline

Definition at line 84 of file CaloParamsHelper.h.

void l1t::CaloParamsHelper::setTowerNBitsSum ( int  n)
inline

Definition at line 83 of file CaloParamsHelper.h.

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

Definition at line 218 of file CaloParamsHelper.h.

std::vector<double> l1t::CaloParamsHelper::tauCalibrationParams ( )
inline

Definition at line 217 of file CaloParamsHelper.h.

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

Definition at line 216 of file CaloParamsHelper.h.

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

Definition at line 219 of file CaloParamsHelper.h.

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

Definition at line 221 of file CaloParamsHelper.h.

unsigned l1t::CaloParamsHelper::tauIsoAreaNrTowersEta ( ) const
inline

Definition at line 223 of file CaloParamsHelper.h.

unsigned l1t::CaloParamsHelper::tauIsoAreaNrTowersPhi ( ) const
inline

Definition at line 224 of file CaloParamsHelper.h.

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

Definition at line 213 of file CaloParamsHelper.h.

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

Definition at line 214 of file CaloParamsHelper.h.

unsigned l1t::CaloParamsHelper::tauIsoVetoNrTowersPhi ( ) const
inline

Definition at line 225 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::tauLsb ( ) const
inline

Definition at line 200 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::tauMaxJetIsolationA ( ) const
inline
double l1t::CaloParamsHelper::tauMaxJetIsolationB ( ) const
inline
double l1t::CaloParamsHelper::tauMaxPtTauVeto ( ) const
inline

Definition at line 203 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::tauMinPtJetIsolationB ( ) const
inline
double l1t::CaloParamsHelper::tauNeighbourThreshold ( ) const
inline

Definition at line 202 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::tauPUSParam ( int  ipar) const
inline

Definition at line 211 of file CaloParamsHelper.h.

const std::vector<double>& l1t::CaloParamsHelper::tauPUSParams ( ) const
inline

Definition at line 210 of file CaloParamsHelper.h.

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

Definition at line 209 of file CaloParamsHelper.h.

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

Definition at line 194 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::tauSeedThreshold ( ) const
inline

Definition at line 201 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::towerLsbE ( ) const
inline

Definition at line 66 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::towerLsbH ( ) const
inline

Definition at line 65 of file CaloParamsHelper.h.

double l1t::CaloParamsHelper::towerLsbSum ( ) const
inline
int l1t::CaloParamsHelper::towerMaskE ( ) const
inline

Definition at line 72 of file CaloParamsHelper.h.

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

Definition at line 73 of file CaloParamsHelper.h.

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

Definition at line 75 of file CaloParamsHelper.h.

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

Definition at line 74 of file CaloParamsHelper.h.

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

Definition at line 69 of file CaloParamsHelper.h.

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

Definition at line 68 of file CaloParamsHelper.h.

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

Definition at line 71 of file CaloParamsHelper.h.

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

Definition at line 70 of file CaloParamsHelper.h.

Friends And Related Function Documentation

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

Member Data Documentation

L1CaloEtScale l1t::CaloParamsHelper::emScale_
private

Definition at line 374 of file CaloParamsHelper.h.

L1CaloEtScale l1t::CaloParamsHelper::HfRingScale_
private

Definition at line 377 of file CaloParamsHelper.h.

L1CaloEtScale l1t::CaloParamsHelper::HtMissScale_
private

Definition at line 376 of file CaloParamsHelper.h.

L1CaloEtScale l1t::CaloParamsHelper::jetScale_
private

Definition at line 375 of file CaloParamsHelper.h.