CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
L1TPhase2MuonDQMEfficiency_cfi Namespace Reference

Functions

def generateEfficiencyStrings (ptQualCuts)
 

Variables

 efficiency
 
 efficiencyProfile
 
 l1tPhase2MuonEfficiency
 
 outputFileName
 
 resolution
 
 subDirs
 
 verbose
 

Function Documentation

◆ generateEfficiencyStrings()

def L1TPhase2MuonDQMEfficiency_cfi.generateEfficiencyStrings (   ptQualCuts)

Definition at line 4 of file L1TPhase2MuonDQMEfficiency_cfi.py.

4 def generateEfficiencyStrings(ptQualCuts):
5  numDenDir = "nums_and_dens/"
6  varStrings = ['Pt', 'Eta', 'Phi']
7  etaStrings = ['etaMin0_etaMax0p83', 'etaMin0p83_etaMax1p24', 'etaMin1p24_etaMax2p4', 'etaMin0_etaMax2p4']
8  qualStrings = ['qualOpen', 'qualDouble', 'qualSingle']
9  muonStrings = ['SAMuon','TkMuon']
10 
11  efficiencyStrings = []
12 
13  for muonString in muonStrings:
14  for qualString in qualStrings:
15  for etaString in etaStrings:
16  effNumDenPrefix = numDenDir+"Eff_"+muonString+"_"+etaString+"_"+qualString+"_"
17  effNamePrefix = "efficiencies/eff_"+muonString+"_"+etaString+"_"+qualString+"_"
18 
19  for varString in varStrings:
20  effDenName = effNumDenPrefix+varString+"_Den"
21  effNumName = effNumDenPrefix+varString+"_Num"
22  effName = effNamePrefix+varString
23 
24  efficiencyStrings.append(effName+" '"+effName+";;L1 muon efficiency' "+effNumName+" "+effDenName)
25  return efficiencyStrings
26 

Variable Documentation

◆ efficiency

L1TPhase2MuonDQMEfficiency_cfi.efficiency

Definition at line 32 of file L1TPhase2MuonDQMEfficiency_cfi.py.

◆ efficiencyProfile

L1TPhase2MuonDQMEfficiency_cfi.efficiencyProfile

Definition at line 33 of file L1TPhase2MuonDQMEfficiency_cfi.py.

◆ l1tPhase2MuonEfficiency

L1TPhase2MuonDQMEfficiency_cfi.l1tPhase2MuonEfficiency

Definition at line 30 of file L1TPhase2MuonDQMEfficiency_cfi.py.

◆ outputFileName

L1TPhase2MuonDQMEfficiency_cfi.outputFileName

Definition at line 35 of file L1TPhase2MuonDQMEfficiency_cfi.py.

◆ resolution

L1TPhase2MuonDQMEfficiency_cfi.resolution

Definition at line 34 of file L1TPhase2MuonDQMEfficiency_cfi.py.

◆ subDirs

L1TPhase2MuonDQMEfficiency_cfi.subDirs

Definition at line 31 of file L1TPhase2MuonDQMEfficiency_cfi.py.

◆ verbose

L1TPhase2MuonDQMEfficiency_cfi.verbose

Definition at line 36 of file L1TPhase2MuonDQMEfficiency_cfi.py.