CMS 3D CMS Logo

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

Functions

def getPrescaleTableFromProcessObject
 
def getProcessObjectFromConfDB
 

Variables

string action = "append"
 
tuple all_hlt_keys_seen = set(runKeys.values())
 
tuple all_hlt_path_names_seen = set()
 
tuple all_path_names = set(process.paths.keys())
 
list column_names = [ 'run','' ]
 
list csv_output_file = args[0]
 
tuple csv_writer = csv.writer(fout,delimiter=";")
 
list default = []
 
string dest = "pathPatterns"
 
tuple fout = open(csv_output_file,"w")
 
string help = "restrict paths to PATTERN. Note that this can be a single path name or a pattern "
 
list hlt_key = runKeys[run]
 
dictionary hlt_path_names_table = {}
 
int index = 1
 
string metavar = "PATTERN"
 
tuple parser
 
list prescales = prescaleTable[hlt_key]
 
dictionary prescaleTable = {}
 
 previous_hlt_key = None
 
tuple process = getProcessObjectFromConfDB(hlt_key)
 
tuple runKeys = queryRR(options.firstRun,options.lastRun,options.groupName)
 
tuple runs = sorted(runKeys.keys())
 
list tmp = []
 
list values = [ run , '' ]
 

Function Documentation

def makeHLTPrescaleTable.getPrescaleTableFromProcessObject (   process)
returns a dict of hlt key to vector of prescales
mapping 

Definition at line 54 of file makeHLTPrescaleTable.py.

def makeHLTPrescaleTable.getProcessObjectFromConfDB (   hlt_key)

Definition at line 66 of file makeHLTPrescaleTable.py.

Variable Documentation

string makeHLTPrescaleTable.action = "append"

Definition at line 29 of file makeHLTPrescaleTable.py.

tuple makeHLTPrescaleTable.all_hlt_keys_seen = set(runKeys.values())

Definition at line 114 of file makeHLTPrescaleTable.py.

tuple makeHLTPrescaleTable.all_hlt_path_names_seen = set()

Definition at line 108 of file makeHLTPrescaleTable.py.

tuple makeHLTPrescaleTable.all_path_names = set(process.paths.keys())

Definition at line 131 of file makeHLTPrescaleTable.py.

list makeHLTPrescaleTable.column_names = [ 'run','' ]

Definition at line 192 of file makeHLTPrescaleTable.py.

list makeHLTPrescaleTable.csv_output_file = args[0]

Definition at line 47 of file makeHLTPrescaleTable.py.

tuple makeHLTPrescaleTable.csv_writer = csv.writer(fout,delimiter=";")

Definition at line 179 of file makeHLTPrescaleTable.py.

list makeHLTPrescaleTable.default = []

Definition at line 28 of file makeHLTPrescaleTable.py.

string makeHLTPrescaleTable.dest = "pathPatterns"

Definition at line 27 of file makeHLTPrescaleTable.py.

tuple makeHLTPrescaleTable.fout = open(csv_output_file,"w")

Definition at line 177 of file makeHLTPrescaleTable.py.

string makeHLTPrescaleTable.help = "restrict paths to PATTERN. Note that this can be a single path name or a pattern "

Definition at line 31 of file makeHLTPrescaleTable.py.

list makeHLTPrescaleTable.hlt_key = runKeys[run]

Definition at line 199 of file makeHLTPrescaleTable.py.

dictionary makeHLTPrescaleTable.hlt_path_names_table = {}

Definition at line 105 of file makeHLTPrescaleTable.py.

int makeHLTPrescaleTable.index = 1

Definition at line 118 of file makeHLTPrescaleTable.py.

string makeHLTPrescaleTable.metavar = "PATTERN"

Definition at line 30 of file makeHLTPrescaleTable.py.

tuple makeHLTPrescaleTable.parser
Initial value:
1 = OptionParser(usage=
2 """usage: %prog [options] csv_output_fileexamples: %prog out.csv produces a table of ALL runs and ALL paths (can take quite some time) %prog --path='*ele*' --path='*photon*' out.csv select only paths containing 'ele' and 'photon'""")

Definition at line 6 of file makeHLTPrescaleTable.py.

list makeHLTPrescaleTable.prescales = prescaleTable[hlt_key]
dictionary makeHLTPrescaleTable.prescaleTable = {}

Definition at line 102 of file makeHLTPrescaleTable.py.

makeHLTPrescaleTable.previous_hlt_key = None

Definition at line 175 of file makeHLTPrescaleTable.py.

tuple makeHLTPrescaleTable.process = getProcessObjectFromConfDB(hlt_key)

Definition at line 123 of file makeHLTPrescaleTable.py.

tuple makeHLTPrescaleTable.runKeys = queryRR(options.firstRun,options.lastRun,options.groupName)

Definition at line 98 of file makeHLTPrescaleTable.py.

tuple makeHLTPrescaleTable.runs = sorted(runKeys.keys())

Definition at line 110 of file makeHLTPrescaleTable.py.

list makeHLTPrescaleTable.tmp = []

Definition at line 152 of file makeHLTPrescaleTable.py.

list makeHLTPrescaleTable.values = [ run , '' ]

Definition at line 222 of file makeHLTPrescaleTable.py.

Referenced by data_formats._to_datatables(), SiStripSummaryBuilder.analyze(), HcalAutoPedestalValidator.analyze(), TaggingVariablePlotter.analyzeTag(), LXXXCorrector.correction(), L1FastjetCorrector.correction(), L1JPTOffsetCorrector.correction(), L1OffsetCorrector.correction(), L6SLBCorrector.correction(), LXXXCorrectorImpl.correction(), L1FastjetCorrectorImpl.correction(), L1JPTOffsetCorrectorImpl.correction(), L1OffsetCorrectorImpl.correction(), L6SLBCorrectorImpl.correction(), DigiToRecoNoPU.customise(), DigiToRecoPU.customise(), ProcessFromBareGEN_cff.customise(), EcalCondDBReader.dqmEndJob(), evaluateTtSemiLepSignalSel(), MagFieldConfig.expandList(), GEDGsfElectronProducer.fillGsfElectronValueMap(), ElectronIdMVAProducer.filter(), PerformancePayloadFromBinnedTFormula.getResult(), PerformancePayloadFromTFormula.getResult(), PhysicsTools::MVAModuleHelper< Record, Object, Filler >.init(), MagFieldConfig.MagFieldConfig(), PhysicsTools::MVAModuleHelper< Record, Object, Filler >.operator()(), DDLRotationByAxis.processElement(), AssociationVector2ValueMap< KeyRefProd, CVal >.produce(), ElectronSeedTrackRefFix.produce(), EcalBasicClusterLocalContCorrectionsESProducer.produce(), ElectronIDExternalProducer< algo >.produce(), ElectronPATIdMVAProducer.produce(), ProbeMulteplicityProducer.produce(), MuonSelectionTypeValueMapProducer.produce(), TtSemiLepJetCombMVAComputer.produce(), ColinsSoperVariablesComputer.produce(), ObjectMultiplicityCounter< T >.produce(), OtherObjectVariableComputer< T >.produce(), NearbyCandCountComputer.produce(), ElectronConversionRejectionVars.produce(), EcalGlobalShowerContainmentCorrectionsVsEtaESProducer.produce(), EcalShowerContainmentCorrectionsESProducer.produce(), CosmicsMuonIdProducer.produce(), DeltaRNearestObjectComputer< T >.produce(), DTRecoUncertainties.set(), DTRecoConditions.set(), GenEventInfoProduct.setBinningValues(), GenEventInfoProduct.setDJR(), DDLMaterial.setReference(), DDLSolid.setReference(), PhysicsTools::MVAModuleHelper< Record, Object, Filler >.train(), and CombinedKinematicConstraint.value().