Functions | |
def | ExtVar (tag, valtype, compression=None, doc=None, mcOnly=False, precision=-1) |
def | OVar (valtype, compression=None, doc=None, mcOnly=False, precision=-1) |
def | Var (expr, valtype, compression=None, doc=None, mcOnly=False, precision=-1) |
Variables | |
CandVars | |
charge | |
doc | |
eta | |
float | |
int | |
mass | |
P3Vars | |
P4Vars | |
pdgId | |
phi | |
precision | |
pt | |
PTVars | |
def common_cff.ExtVar | ( | tag, | |
valtype, | |||
compression = None , |
|||
doc = None , |
|||
mcOnly = False , |
|||
precision = -1 |
|||
) |
Create a PSet for a variable read from the event tag is the InputTag to the variable. see OVar in common_cff for all the other arguments
Definition at line 31 of file common_cff.py.
References clone(), and OVar().
Create a PSet for a variable in the tree (without specifying how it is computed) valtype is the type of the value (float, int, bool, or a string that the table producer understands), compression is not currently used, doc is a docstring, that will be passed to the table producer, mcOnly can be set to True for variables that exist only in MC samples and not in data ones.
Definition at line 2 of file common_cff.py.
Referenced by ExtVar(), and Var().
def common_cff.Var | ( | expr, | |
valtype, | |||
compression = None , |
|||
doc = None , |
|||
mcOnly = False , |
|||
precision = -1 |
|||
) |
Create a PSet for a variable computed with the string parser expr is the expression to evaluate to compute the variable (in case of bools, it's a cut and not a function) see OVar above for all the other arguments
Definition at line 20 of file common_cff.py.
References clone(), and OVar().
Referenced by taus_cff._tauIdWPMask(), custom_jme_cff.AddJetID(), custom_jme_cff.AddVariablesForAK8PuppiJets(), nanogen_cff.customizeNanoGENFromMini(), Exhume::Event.GetVar(), JetVertexMain.Main(), nano_cff.nanoAOD_recalibrateMETs(), custom_jme_cff.ReclusterAK4CHSJets(), and custom_jme_cff.SavePatJets().
common_cff.CandVars |
Definition at line 53 of file common_cff.py.
common_cff.charge |
Definition at line 55 of file common_cff.py.
common_cff.doc |
Definition at line 54 of file common_cff.py.
Referenced by dqmservices::DQMFileIterator.advanceToLumi(), convert_boolean(), HcalLutManager.create_lut_loader(), edm::JobReport.dumpFiles(), EcalTPGLinearizationConstXMLTranslator.dumpXML(), EcalTPGCrystalStatusXMLTranslator.dumpXML(), ESGainXMLTranslator.dumpXML(), EcalTimeBiasCorrectionsXMLTranslator.dumpXML(), EcalClusterLocalContCorrXMLTranslator.dumpXML(), EcalAlignmentXMLTranslator.dumpXML(), EcalTPGStripStatusXMLTranslator.dumpXML(), EcalTPGTowerStatusXMLTranslator.dumpXML(), EcalPedestalsXMLTranslator.dumpXML(), EcalPulseSymmCovariancesXMLTranslator.dumpXML(), EcalPulseShapesXMLTranslator.dumpXML(), EcalDAQTowerStatusXMLTranslator.dumpXML(), EcalDCSTowerStatusXMLTranslator.dumpXML(), EcalChannelStatusXMLTranslator.dumpXML(), EcalGainRatiosXMLTranslator.dumpXML(), EcalClusterCrackCorrXMLTranslator.dumpXML(), EcalLaserAPDPNRatiosXMLTranslator.dumpXML(), EcalLinearCorrectionsXMLTranslator.dumpXML(), EcalClusterEnergyCorrectionObjectSpecificXMLTranslator.dumpXML(), EcalWeightGroupXMLTranslator.dumpXML(), EcalClusterEnergyCorrectionXMLTranslator.dumpXML(), EcalTimeOffsetXMLTranslator.dumpXML(), EcalADCToGeVXMLTranslator.dumpXML(), EcalTBWeightsXMLTranslator.dumpXML(), EcalWeightSetXMLTranslator.dumpXML(), EcalFloatCondObjectContainerXMLTranslator.dumpXML(), edm.formatFile(), DQMParserBase.getDocument(), XMLProcessor.getInstance(), DQMParserBase.getNewDocument(), XMLConfigReader.getPatternsVersion(), PhysicsTools::LeastSquares.getRotation(), edm::FileLocator.init(), cscdqm::Collection.load(), load_dddefinition(), QTestConfigurationParser.monitorElementTestsMap(), dqmservices::DQMFileIterator.monUpdateLumi(), MuonAlignmentInputXML.newAlignableMuon(), dqmservices::DQMMonitoringService.outputLumiUpdate(), edm::service::SiteLocalConfigService.parse(), L1GtTriggerMenuXmlParser.parseAlgorithms(), L1GtTriggerMenuXmlParser.parseConditions(), L1GtTriggerMenuXmlParser.parseId(), L1GtTriggerMenuXmlParser.parseTechTriggers(), L1GtTriggerMenuXmlParser.parseVmeXML(), SummaryPlotXmlParser.parseXML(), MiscalibReaderFromXML.parseXMLMiscalibFile(), edm.print(), QTestConfigurationParser.qtestsConfig(), XMLConfigReader.readConfig(), l1t::XmlConfigParser.readDOMFromString(), XMLConfigReader.readPatterns(), edm::JobReport.reportAnalysisFile(), edm::JobReport.reportFallbackAttempt(), edm::JobReport.reportRandomStateFile(), edm::JobReport.reportReadBranches(), edm::JobReport.reportSkippedFile(), dqmservices::DQMFileIterator.reset(), PhysicsTools.saveMatrix(), PhysicsTools.saveVector(), LumiCorrectionSource.servletTranslation(), LumiProducer.servletTranslation(), nanoaod::FlatTable.setDoc(), dqmservices::DQMFileIterator.update_state(), L1GtTriggerMenuXmlParser.workXML(), xuti.WriteNodeWithValue(), edm::JobReport::JobReportImpl.writeOutputFile(), EcalTBWeightsXMLTranslator.writeWeightSet(), l1t::XmlConfigParser.XmlConfigParser(), cscdqm::Configuration.~Configuration(), and l1t::XmlConfigParser.~XmlConfigParser().
common_cff.eta |
Definition at line 48 of file common_cff.py.
common_cff.float |
Definition at line 44 of file common_cff.py.
common_cff.int |
Definition at line 54 of file common_cff.py.
common_cff.mass |
Definition at line 51 of file common_cff.py.
common_cff.P3Vars |
Definition at line 47 of file common_cff.py.
common_cff.P4Vars |
Definition at line 50 of file common_cff.py.
common_cff.pdgId |
Definition at line 54 of file common_cff.py.
Referenced by myFastSimVal.analyze(), ElectronMcSignalValidatorMiniAOD.analyze(), BTagPerformanceAnalyzerMC.analyze(), VertexHistoryAnalyzer.analyze(), TrackHistoryAnalyzer.analyze(), MBUEandQCDValidation.analyze(), JetTester.analyze(), IsolatedParticlesGeneratedJets.analyze(), TkConvValidator.analyze(), L1GenTreeProducer.analyze(), PhotonValidator.analyze(), IsolatedGenParticles.analyze(), ExoticaDQM.analyzeDisplacedJets(), StGenEvent.associatedB(), RealisticSimClusterMapper.buildClusters(), reco::FlavorHistoryEvent.cache(), JetPartonMatching.calculate(), TrackingParticleNumberOfLayers.calculate(), PFMETBenchmark.calculateQuantities(), EleTkIsolFromCands.calIsolPt(), TopGenEvent.candidate(), TrackingVerboseAction.checkTrackingVerbose(), GenParticleProducer.convertParticle(), fastsim::TrackerSimHitProducer.createHitOnDetector(), TopGenEvent.daughterQuarkOfWPlus(), StGenEvent.decayB(), V0Validator.doEfficiencies(), IsolatedGenParticles.endJob(), MuScleFitPlotter.fillGen(), reco::modules::JetFlavourIdentifier.fillLeptons(), JetPartonMatcher.fillPhysicsDefinition(), TrackingTruthAccumulator.fillSimHits(), SimMuFilter.filter(), LHEPtFilter.filter(), reco::tau.filterPFCandidates(), reco::modules::JetFlavourIdentifier.findCandidates(), TauValidation.findFSRandBrem(), GenHFHadronMatcher.findHadronJets(), TtGenEvent.fromGluonFusion(), TtGenEvent.fromQuarkAnnihilation(), TtGenEvent.fullLeptonicChannel(), reco::GenParticle.GenParticle(), pat::PATObject< reco::Muon >.genParticleRef(), CustomParticleFactory.getDecayTable(), CustomParticleFactory.getMassTable(), tauImpactParameter::TauA1NuConstrainedFitter.getRefitDaughters(), tauImpactParameter::TrackHelixVertexFitter.getRefitLorentzVectorParticles(), tauImpactParameter::TrackHelixVertexFitter.getRefitTracks(), PrimaryVertexAnalyzer4PUSlimmed.getSimPVs(), TtGenEvent.hadronicDecayB(), TtGenEvent.hadronicDecayTop(), TtGenEvent.hadronicDecayTopRadiation(), TtGenEvent.hadronicDecayW(), reco::modules::JetFlavourIdentifier.heaviestFlavour(), TopGenEvent.initialPartons(), fastsim::TrackerSimHitProducer.interact(), fastsim::NuclearInteraction.interact(), InputGenJetsParticleSelector.isExcludedFromResonance(), PseudoTopProducer.isFromHadron(), InputGenJetsParticleSelector.isHadron(), InputGenJetsParticleSelector.isIgnored(), MBUEandQCDValidation.isNeutral(), MBUEandQCDValidation.isNeutrino(), InputGenJetsParticleSelector.isParton(), InputGenJetsParticleSelector.isResonance(), genutils.lastGenCopy(), TtGenEvent.lepton(), TtGenEvent.leptonBar(), TtGenEvent.leptonicDecayB(), TtGenEvent.leptonicDecayTop(), TtGenEvent.leptonicDecayTopRadiation(), TtGenEvent.leptonicDecayW(), CustomParticleFactory.loadCustomParticles(), gen.GeneratorAnalyzer.GeneratorAnalyzer.makeMCInfo(), DiObject.DiTau.match(), objects.PhotonAnalyzer.PhotonAnalyzer.matchPhotons(), GenSpecificAlgo.mkSpecificGenMETData(), TtGenEvent.neutrino(), TtGenEvent.neutrinoBar(), TopGenEvent.numberOfBQuarks(), TopGenEvent.numberOfLeptons(), reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin.operator()(), reco::tau::PFRecoTauChargedHadronFromGenericTrackPlugin< TrackClass >.operator()(), VertexHistoryAnalyzer.particleString(), TrackHistoryAnalyzer.particleString(), PdtEntry.PdtEntry(), reco::tau.pfCandidatesByPdgId(), objects.IsoTrackAnalyzer.printInfo(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), JetAnalyzer.JetAnalyzer.process(), WeakEffectsWeightProducer.produce(), GenVisTauProducer.produce(), GenParticles2HepMCConverter.produce(), PuppiPhoton.produce(), pat::PATIsolatedTrackProducer.produce(), TruthTauDecayModeProducer.produce(), SimPFProducer.produce(), FlavorHistoryProducer.produce(), l1t::GenToInputProducer.produce(), PFTau3ProngReco.produce(), spr::propagatedGenParticleID.propagatedGenParticleID(), spr::propagatedGenTrackID.propagatedGenTrackID(), TopGenEvent.radiatedGluons(), TtGenEvent.semiLeptonicChannel(), InputGenJetsParticleSelector.setPtMin(), StGenEvent.singleLepton(), TtGenEvent.singleLepton(), StGenEvent.singleNeutrino(), TtGenEvent.singleNeutrino(), StGenEvent.singleTop(), StGenEvent.singleW(), StudyHLT.trackPID(), VertexHistoryAnalyzer.vertexString(), TrackHistoryAnalyzer.vertexString(), and fastsim::TrackerSimHitProducer.~TrackerSimHitProducer().
common_cff.phi |
Definition at line 45 of file common_cff.py.
common_cff.precision |
Definition at line 44 of file common_cff.py.
Referenced by ALIUtils.approxTo0(), OpticalObject.approxTo0(), FWTableViewTableManager.cellRenderer(), FWTableViewManager::TableHandle.column(), L1RCTLookupTables.convertToInteger(), SiPixelGainCalibration.decodeGain(), SiPixelGainCalibrationOffline.decodeGain(), SiPixelGainCalibration.decodePed(), SiPixelGainCalibrationOffline.decodePed(), SiPixelGainCalibration.encodeGain(), SiPixelGainCalibrationForHLT.encodeGain(), SiPixelGainCalibrationOffline.encodeGain(), SiPixelGainCalibration.encodePed(), SiPixelGainCalibrationForHLT.encodePed(), SiPixelGainCalibrationOffline.encodePed(), CircleFromThreePoints.init(), SimpleJetCorrector.invert(), heppy::Davismt2.mt2_bisect(), heppy::Davismt2.mt2_massless(), heppy::mt2w_bisect::mt2w.mt2w_bisect(), edm.operator<<(), L1RCTLookupTables.rctParameters(), heppy::Davismt2.set_momenta(), heppy::mt2w_bisect::mt2w.set_momenta(), l1t::GlobalScales.setHTMScales(), ESDCCHeaderBlock.setPrecision(), LaserSteppingVerbose.StepInfo(), and LaserSteppingVerbose.TrackingStarted().
common_cff.pt |
Definition at line 44 of file common_cff.py.
common_cff.PTVars |
Definition at line 43 of file common_cff.py.