Functions | |
def | getTxtEventContentRules |
def | List_ECs_forProduct |
def | product_in_EventContent |
def | rule_passes |
def | rule_to_regexp |
Variables | |
dictionary | EventContents = {} |
dictionary | EventContents_def |
tuple | process = cms.Process("SIZE") |
dictionary | prod = {'module_name': 'hybridSuperClusters', 'module_label': 'hybridShapeAssoc', 'size_compressed': '65.4852', 'cpp_type': 'recoCaloClustersToOnerecoClusterShapesAssociation', 'size_uncompressed': '272.111'} |
tuple | rules_regexp = map(rule_to_regexp, rules_txt) |
list | rules_txt = [a for a in obj.outputCommands] |
def parseEventContent.getTxtEventContentRules | ( | ) |
returns a dictionary of lists with rules
Definition at line 141 of file parseEventContent.py.
def parseEventContent.List_ECs_forProduct | ( | product | ) |
returns a list of EC titles the product belongs to
Definition at line 133 of file parseEventContent.py.
References product_in_EventContent().
Referenced by cmsPerfSuiteHarvest._eventContent_DEBUG(), and cmsPerfSuiteHarvest.assign_event_content_for_product().
def parseEventContent.product_in_EventContent | ( | rules, | |
product | |||
) |
products are in format {"cpp_type": cpp_type, "module_name": mod_name, "module_label": mod_label, "size_uncompressed": size_uncomp, "size_compressed": size_comp} --- Some simple doctests --- >>> product_in_EventContent(rules = rule_to_regexp(['drop *', 'keep *_logErrorHarvester_*_*', 'keep *_hybridSuperClusters_*_*', 'keep recoSuperClusters_correctedHybridSuperClusters_*_*']), product = {'module_name': 'hybridSuperClusters', 'module_label': 'hybridShapeAssoc', 'size_compressed': '65.4852', 'cpp_type': 'recoCaloClustersToOnerecoClusterShapesAssociation', 'size_uncompressed': '272.111'}) True >>> product_in_EventContent(rules = rule_to_regexp(['drop *', 'keep *_logErrorHarvester_*_*', 'keep DetIdedmEDCollection_siStripDigis_*_*', 'keep *_siPixelClusters_*_*', 'keep *_siStripClusters_*_*']), product = {'module_name': 'hybridSuperClusters', 'module_label': 'hybridShapeAssoc', 'size_compressed': '65.4852', 'cpp_type': 'recoCaloClustersToOnerecoClusterShapesAssociation', 'size_uncompressed': '272.111'}) False
Definition at line 91 of file parseEventContent.py.
References rule_passes().
Referenced by List_ECs_forProduct().
def parseEventContent.rule_passes | ( | rule_regexp, | |
product_repr | |||
) |
rule: rule(keep, drop)_A_B_C_D product: A_B_C
Definition at line 61 of file parseEventContent.py.
Referenced by product_in_EventContent().
def parseEventContent.rule_to_regexp | ( | rule | ) |
returns a tuple (rule_name, rule_regexp) e.g. ("keep", <regexp for matching product names>
Definition at line 70 of file parseEventContent.py.
References join().
dictionary parseEventContent.EventContents = {} |
Definition at line 122 of file parseEventContent.py.
dictionary parseEventContent.EventContents_def |
Definition at line 17 of file parseEventContent.py.
tuple parseEventContent.process = cms.Process("SIZE") |
Definition at line 8 of file parseEventContent.py.
dictionary parseEventContent.prod = {'module_name': 'hybridSuperClusters', 'module_label': 'hybridShapeAssoc', 'size_compressed': '65.4852', 'cpp_type': 'recoCaloClustersToOnerecoClusterShapesAssociation', 'size_uncompressed': '272.111'} |
Definition at line 153 of file parseEventContent.py.
Referenced by asimovutils.asimovDatasetWithFit(), edm::RefVector< TrackingRecHitCollection >.at(), edm::PoolOutputModule.beginJob(), edm::Principal.checkUniquenessAndType(), BareRootProductGetter.createNewBuffer(), edm::RootFile.dropOnInput(), edm::RefVector< C, T, F >.erase(), utils.factorizeFunc(), utils.factorizePdf(), edm::PoolOutputModule.fillSelectedItemList(), toymcoptutils::SinglePdfGenInfo.generateCountingAsimov(), edm::Ptr< reco::Muon >.getData_(), BareRootProductGetter.getIt(), MaxLikelihoodFit.getNormalizations(), edm::refitem::GetPtrImpl< C, T, F, KEY >.getPtr_(), TrackProducer.getTransient(), TrackProducerWithSCAssociation.getTransient(), MLP_Epoch(), edm::RefVector< TrackingRecHitCollection >.operator[](), ImpactParameter.produce(), PathTimerInserter.produce(), CaloTowersReCreator.produce(), CaloTowersCreator.produce(), InvariantMass< T1, T2 >.produce(), ConeIsolation.produce(), HcalHistogramRawToDigi.produce(), HcalRawToDigi.produce(), CastorRawToDigi.produce(), ParticleTowerProducer.produce(), EcalElectronicsMappingBuilder.produce(), CaloTowerConstituentsMapBuilder.produce(), EcalTrigTowerConstituentsMapBuilder.produce(), EcalTrigPrimESProducer.produceBadStrip(), EcalTrigPrimESProducer.produceBadTT(), EcalTrigPrimESProducer.produceBadX(), EcalTrigPrimESProducer.produceFineGrainEB(), EcalTrigPrimESProducer.produceFineGrainEBGroup(), EcalTrigPrimESProducer.produceFineGrainEEstrip(), EcalTrigPrimESProducer.produceFineGrainEEtower(), EcalTrigPrimESProducer.produceLinearizationConst(), EcalTrigPrimESProducer.produceLUT(), EcalTrigPrimESProducer.produceLutGroup(), EcalTrigPrimESProducer.producePedestals(), EcalTrigPrimESProducer.producePhysicsConst(), EcalTrigPrimESProducer.produceSlidingWindow(), EcalTrigPrimSpikeESProducer.produceSpike(), EcalTrigPrimESProducer.produceSpike(), EcalTrigPrimESProducer.produceWeight(), EcalTrigPrimESProducer.produceWeightGroup(), edm::reftobase::RefVectorHolderDoFillView< REFV >.reallyFillView(), edm::RootFile.RootFile(), edm::StreamerOutputModuleBase.setHltMask(), TFWLiteSelectorBasic.setupNewFile(), IPTools.signedImpactParameter3D(), IPTools.signedTransverseImpactParameter(), and KinematicConstrainedVertexUpdatorT< nTrk, nConstraint >.update().
tuple parseEventContent.rules_regexp = map(rule_to_regexp, rules_txt) |
Definition at line 128 of file parseEventContent.py.
Definition at line 125 of file parseEventContent.py.