CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Variables
generateTowerEtThresholdLUT_excl30 Namespace Reference

Variables

int addr = 0
 
tuple compNTT4Range = xrange(0,32)
 
tuple etaRange = xrange(0,41)
 
int extraCount = 0
 
string printBins = ""
 
list towerAreas
 
tuple towEtThresh = int(round(float(towerAreas[ieta])*(1/(1+math.exp(-0.2*(ieta-5))))*(float(compNTT4)/10)))
 
tuple towEtThreshLUTFile = open(os.environ['LOCALRT']+"/src/L1Trigger/L1TCalorimeter/data/lut_towEtThresh_2017v4_excl30.txt", "w")
 Python script for generating LUT to return tower Et threshold for energy sums # Input 1: 5 bits - compressed pileup estimate, as used for EG # Input 2: 6 bits - abs(ieta) = absolute value of ieta of the trigger tower # Tower Et threshold not applied for ieta <= 15 # LUT address input = compressedPileupEstimate << 6 | abs(ieta) # Returns 9 bits for tower et threshold # Author: Aaron Bundock (aaron. More...
 

Variable Documentation

int generateTowerEtThresholdLUT_excl30.addr = 0

Definition at line 57 of file generateTowerEtThresholdLUT_excl30.py.

tuple generateTowerEtThresholdLUT_excl30.compNTT4Range = xrange(0,32)

Definition at line 56 of file generateTowerEtThresholdLUT_excl30.py.

tuple generateTowerEtThresholdLUT_excl30.etaRange = xrange(0,41)

Definition at line 55 of file generateTowerEtThresholdLUT_excl30.py.

int generateTowerEtThresholdLUT_excl30.extraCount = 0

Definition at line 83 of file generateTowerEtThresholdLUT_excl30.py.

string generateTowerEtThresholdLUT_excl30.printBins = ""

Definition at line 58 of file generateTowerEtThresholdLUT_excl30.py.

list generateTowerEtThresholdLUT_excl30.towerAreas
Initial value:
1 = [0.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,
2  1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,
3  1.03,1.15,1.3,1.48,1.72,2.05,1.72,4.02,
4  3.29,2.01,2.02,2.01,2.02,2.0,2.03,1.99,2.02,2.04,2.00,3.47]

Definition at line 50 of file generateTowerEtThresholdLUT_excl30.py.

int generateTowerEtThresholdLUT_excl30.towEtThresh = int(round(float(towerAreas[ieta])*(1/(1+math.exp(-0.2*(ieta-5))))*(float(compNTT4)/10)))

Definition at line 62 of file generateTowerEtThresholdLUT_excl30.py.

tuple generateTowerEtThresholdLUT_excl30.towEtThreshLUTFile = open(os.environ['LOCALRT']+"/src/L1Trigger/L1TCalorimeter/data/lut_towEtThresh_2017v4_excl30.txt", "w")

Python script for generating LUT to return tower Et threshold for energy sums # Input 1: 5 bits - compressed pileup estimate, as used for EG # Input 2: 6 bits - abs(ieta) = absolute value of ieta of the trigger tower # Tower Et threshold not applied for ieta <= 15 # LUT address input = compressedPileupEstimate << 6 | abs(ieta) # Returns 9 bits for tower et threshold # Author: Aaron Bundock (aaron.

*nospamthankyamaam*bundock.ch) # Date: 26/04/17 # #

Definition at line 31 of file generateTowerEtThresholdLUT_excl30.py.