CMS 3D CMS Logo

Functions | Variables
triggerObjects_cff Namespace Reference

Functions

def AND (tokens)
 
def chaintoken_ (tokens, f, OR_or_AND=None)
 
def mksel (selection, doc=None, bit=None)
 
def OR (tokens)
 

Variables

 _run2_2016_jet_filters
 
 _run2_2017_2018_tau_filters
 
 _run2_2017_jet_filters
 
 _run2_2018_jet_filters
 
 _run2_HLTconditions
 
 bit
 
 BoostedTau
 
 DataEraECAL
 
 DataEraMuon
 
 Dn
 
 doc
 
 ECAL_Dn
 
 ECAL_Nom
 
 ECAL_Up
 
 Electron
 
 FatJet
 
 HT
 
 id
 
 Jet
 
 l1bits
 
 l1deltaR
 
 l1deltaR_2
 
 l1EG
 
 l1Jet
 
 l1Muon
 
 l1PreFiringEventWeightTable
 
 l1seed
 
 l1seed_2
 
 l1Sum
 
 l1Tau
 
 l2deltaR
 
 l2seed
 
 legacyL1
 
 MET
 
 MHT
 
 Muon
 
 Muon_Nom
 
 Muon_StatDn
 
 Muon_StatUp
 
 Muon_SystDn
 
 Muon_SystUp
 
 name
 
 Nom
 
 patTriggerObjectsStandAlone
 
 Photon
 
 precision
 
 qualityBits
 
 sel
 
 selections
 
 skipObjectsNotPassingQualityBits
 
 src
 
 src_ext
 
 storeUnprefireableBits
 
 Tau
 
 triggerObjectTable
 
 triggerObjectTablesTask
 
 triggerResults
 
 unpackedPatTrigger
 
 unpackFilterLabels
 
 Up
 
 variables
 

Function Documentation

◆ AND()

def triggerObjects_cff.AND (   tokens)

Definition at line 42 of file triggerObjects_cff.py.

References chaintoken_().

Referenced by mksel(), egHLT::EgObjTrigCut< T >.pass(), egHLT::EgEvtTrigCut< T >.pass(), and dqmservices::TriggerSelector::TreeElement.returnStatus().

42 def AND(tokens):
43  return chaintoken_(tokens,"min","AND")
44 
def chaintoken_(tokens, f, OR_or_AND=None)

◆ chaintoken_()

def triggerObjects_cff.chaintoken_ (   tokens,
  f,
  OR_or_AND = None 
)

Definition at line 29 of file triggerObjects_cff.py.

References join().

Referenced by AND(), and OR().

29 def chaintoken_(tokens,f,OR_or_AND=None):
30  if (not type(tokens) in [list,tuple]):
31  doc=tokens
32  tokens= [t.strip().rstrip() for t in tokens.split(OR_or_AND)]
33  else:
34  doc=f' {OR_or_AND} '.join(tokens)
35  selection = f"filter('{tokens[0]}')"
36  for token in tokens[1:]:
37  filter = f"filter('{token}')"
38  selection = f"{f}({filter},{selection})"
39  return selection,doc
def chaintoken_(tokens, f, OR_or_AND=None)
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

◆ mksel()

def triggerObjects_cff.mksel (   selection,
  doc = None,
  bit = None 
)

Definition at line 14 of file triggerObjects_cff.py.

References AND(), and OR().

Referenced by custom_muon_cff.AddTriggerObjectBits().

14 def mksel( selection, doc=None, bit=None):
15  ddoc=""
16  if 'OR' in selection:
17  selection,ddoc=OR(selection)
18  if 'AND' in selection:
19  selection,ddoc=AND(selection)
20  if type(selection)==list:
21  selection,ddoc=OR(selection)
22  if type(selection)==tuple:
23  selection,ddoc=AND(selection)
24  if doc==None:
25  doc=ddoc
26  #print("creating an entry with",selection,doc)
27  return cms.PSet(selection=cms.string(selection),doc=cms.string(doc),bit=cms.uint32(bit)) if bit is not None else cms.PSet(selection=cms.string(selection),doc=cms.string(doc))
28 
def mksel(selection, doc=None, bit=None)

◆ OR()

def triggerObjects_cff.OR (   tokens)

Definition at line 40 of file triggerObjects_cff.py.

References chaintoken_().

Referenced by mksel(), and dqmservices::TriggerSelector::TreeElement.returnStatus().

40 def OR(tokens):
41  return chaintoken_(tokens,"max","OR")
def chaintoken_(tokens, f, OR_or_AND=None)

Variable Documentation

◆ _run2_2016_jet_filters

triggerObjects_cff._run2_2016_jet_filters
private

Definition at line 338 of file triggerObjects_cff.py.

◆ _run2_2017_2018_tau_filters

triggerObjects_cff._run2_2017_2018_tau_filters
private

Definition at line 309 of file triggerObjects_cff.py.

◆ _run2_2017_jet_filters

triggerObjects_cff._run2_2017_jet_filters
private

Definition at line 364 of file triggerObjects_cff.py.

◆ _run2_2018_jet_filters

triggerObjects_cff._run2_2018_jet_filters
private

Definition at line 368 of file triggerObjects_cff.py.

◆ _run2_HLTconditions

triggerObjects_cff._run2_HLTconditions
private

Definition at line 336 of file triggerObjects_cff.py.

◆ bit

triggerObjects_cff.bit

Definition at line 291 of file triggerObjects_cff.py.

Referenced by edm::EventSelector.acceptAllBits(), edm::EventSelector.acceptOneBit(), CaloTowerAnalyzer.analyze(), L1THIonImp.analyze(), L1TObjectsTiming.analyze(), L1TStage2uGTTiming.analyze(), L1TdeRCT.analyze(), l1t::GtRecordDump.analyze(), L1TBPTX.analyze(), TrackerDpgAnalysis.analyze(), GEMRecHitProducer.beginRun(), pat::Flags.bitToString(), pat::Flags::Core.bitToString(), pat::Flags::Overlap.bitToString(), pat::Flags::Selection.bitToString(), pat::Flags::Isolation.bitToString(), TriggerBxMonitor.bookHistograms(), TriggerRatesMonitor.bookHistograms(), L1TBPTX.bookHistograms(), MuonGeometryConstantsBuild.build(), PtAssignmentEngine2017.calculate_address(), PtAssignmentEngine2017.calculate_pt_xml(), CSCDCCExaminer.check(), PhiMemoryImage.check_input(), EcalChannelStatusCode.checkBit(), PhiMemoryImage.clear_bit(), APVModeFilter.convertMode(), EGEnergyCorrector.CorrectedEnergyWithError(), HcalTTPDigiProducer.decision(), GeometryInfoDump.dumpSpec(), L1ScalersClient.endLuminosityBlock(), L1TBPTX.endLuminosityBlock(), L1RCT.fileInput(), RateBuffer.fill(), TriggerObjectTableProducer.fillDescriptions(), pat::Flags::Selection.get(), l1t::L1TGlobalUtil.getAlgBitFromName(), l1t::L1TGlobalUtil.getAlgNameFromBit(), GlobalAlgBlk.getAlgoDecisionFinal(), GlobalAlgBlk.getAlgoDecisionInitial(), GlobalAlgBlk.getAlgoDecisionInterm(), sistrip::FEDFullDebugHeader.getBit(), GlobalExtBlk.getExternalDecision(), l1t::L1TGlobalUtil.getFinalDecisionByBit(), l1t::L1TGlobalUtil.getFinalDecisionByName(), l1t::L1TGlobalUtil.getInitialDecisionByBit(), l1t::L1TGlobalUtil.getInitialDecisionByName(), l1t::L1TGlobalUtil.getIntermDecisionByBit(), l1t::L1TGlobalUtil.getIntermDecisionByName(), RateBuffer.getLSAlgoRate(), RateBuffer.getLSRate(), RateBuffer.getLSTechRate(), l1t::L1TGlobalUtil.getMaskByBit(), l1t::L1TGlobalUtil.getMaskByName(), l1t::L1TGlobalUtil.getPrescaleByBit(), l1t::L1TGlobalUtil.getPrescaleByName(), HcalCaloFlagTool.hasField(), FWLiteJobMetadataManager.hasModuleLabel(), FWEveViewManager.haveViewForBit(), reco::ElectronSeed.hitNrsFromMask(), MeasurementTrackerImpl.initializeStripStatus(), reco::HitPattern.insertHit(), L1TGT.isActive(), L1TBPTX.L1TBPTX(), load_dddefinition(), LzmaDec_DecodeReal(), LzmaDec_TryDummy(), PatternRecognition.make_zone_image(), pat::helper::MultiIsolator.MultiIsolator(), MuonDDDConstants.MuonDDDConstants(), operator<<(), PhysicsTools::BitSet::Manipulator.operator=(), PhysicsTools::BitSet.operator[](), printBits(), cscdqm::EventProcessor.processExaminer(), l1tpf::PFTrackProducerFromL1Tracks.produce(), RPCRecHitProducer.produce(), BSCTrigger.produce(), pat::PATTriggerProducer.produce(), l1t::PhysicsToBitConverter.ReadBitInInt(), cscdqm::Summary.ReadErrorChambers(), cscdqm::Summary.Reset(), cscdqm::Summary.ReSetValue(), HLTL1TSeed.seedsL1TriggerObjectMaps(), TriggerObjectTableProducer::SelectedObject.SelectedObject(), edm::EventSelector.selectionDecision(), PhiMemoryImage.set_bit(), GlobalAlgBlk.setAlgoDecisionFinal(), GlobalAlgBlk.setAlgoDecisionInitial(), GlobalAlgBlk.setAlgoDecisionInterm(), sistrip::FEDFullDebugHeader.setBit(), pos::PixelFEDCard.setChannel(), CSCDCCHeader.setDAV(), DTConfigTSPhi.setDefaults(), cscdqm::EventProcessor.setEmuEventDisplayBit(), GlobalExtBlk.setExternalDecision(), l1t::GMTInternalMuon.setHwCancelBit(), l1t::RegionalMuonCand.setHwHF(), pos::PixelROCMaskBits.setMask(), HcaluLUTTPGCoder.setMaskBit(), l1t::MuonShower.setMusOutOfTime0(), l1t::MuonShower.setMusOutOfTime1(), l1t::RegionalMuonShower.setOneLooseInTime(), l1t::RegionalMuonShower.setOneNominalInTime(), l1t::MuonShower.setOneNominalInTime(), l1t::RegionalMuonShower.setOneNominalOutOfTime(), l1t::RegionalMuonShower.setOneTightInTime(), l1t::MuonShower.setOneTightInTime(), l1t::RegionalMuonShower.setOneTightOutOfTime(), l1t::MuonShower.setTwoLooseDiffSectorsInTime(), l1t::RegionalMuonShower.setTwoLooseInTime(), l1t::RegionalMuonShower.setTwoLooseOutOfTime(), cscdqm::Summary.SetValue(), StraightTrackAlignment.StraightTrackAlignment(), PhiMemoryImage.test_bit(), and TTBV.TTBV().

◆ BoostedTau

triggerObjects_cff.BoostedTau

Definition at line 172 of file triggerObjects_cff.py.

◆ DataEraECAL

triggerObjects_cff.DataEraECAL

Definition at line 378 of file triggerObjects_cff.py.

◆ DataEraMuon

triggerObjects_cff.DataEraMuon

Definition at line 379 of file triggerObjects_cff.py.

◆ Dn

triggerObjects_cff.Dn

◆ doc

triggerObjects_cff.doc

Definition at line 55 of file triggerObjects_cff.py.

◆ ECAL_Dn

triggerObjects_cff.ECAL_Dn

Definition at line 412 of file triggerObjects_cff.py.

◆ ECAL_Nom

triggerObjects_cff.ECAL_Nom

Definition at line 410 of file triggerObjects_cff.py.

◆ ECAL_Up

triggerObjects_cff.ECAL_Up

Definition at line 411 of file triggerObjects_cff.py.

◆ Electron

triggerObjects_cff.Electron

Definition at line 54 of file triggerObjects_cff.py.

◆ FatJet

triggerObjects_cff.FatJet

Definition at line 223 of file triggerObjects_cff.py.

◆ HT

triggerObjects_cff.HT

Definition at line 249 of file triggerObjects_cff.py.

◆ id

triggerObjects_cff.id

Definition at line 56 of file triggerObjects_cff.py.

◆ Jet

triggerObjects_cff.Jet

Definition at line 183 of file triggerObjects_cff.py.

◆ l1bits

triggerObjects_cff.l1bits

Definition at line 416 of file triggerObjects_cff.py.

◆ l1deltaR

triggerObjects_cff.l1deltaR

Definition at line 58 of file triggerObjects_cff.py.

◆ l1deltaR_2

triggerObjects_cff.l1deltaR_2

Definition at line 244 of file triggerObjects_cff.py.

◆ l1EG

triggerObjects_cff.l1EG

◆ l1Jet

triggerObjects_cff.l1Jet

◆ l1Muon

triggerObjects_cff.l1Muon

◆ l1PreFiringEventWeightTable

triggerObjects_cff.l1PreFiringEventWeightTable

Definition at line 399 of file triggerObjects_cff.py.

◆ l1seed

triggerObjects_cff.l1seed

Definition at line 58 of file triggerObjects_cff.py.

◆ l1seed_2

triggerObjects_cff.l1seed_2

Definition at line 244 of file triggerObjects_cff.py.

◆ l1Sum

triggerObjects_cff.l1Sum

Definition at line 49 of file triggerObjects_cff.py.

Referenced by TriggerObjectTableProducer.produce().

◆ l1Tau

triggerObjects_cff.l1Tau

◆ l2deltaR

triggerObjects_cff.l2deltaR

Definition at line 113 of file triggerObjects_cff.py.

◆ l2seed

triggerObjects_cff.l2seed

Definition at line 113 of file triggerObjects_cff.py.

◆ legacyL1

triggerObjects_cff.legacyL1

Definition at line 418 of file triggerObjects_cff.py.

◆ MET

triggerObjects_cff.MET

Definition at line 240 of file triggerObjects_cff.py.

◆ MHT

triggerObjects_cff.MHT

Definition at line 265 of file triggerObjects_cff.py.

◆ Muon

triggerObjects_cff.Muon

Definition at line 109 of file triggerObjects_cff.py.

◆ Muon_Nom

triggerObjects_cff.Muon_Nom

Definition at line 405 of file triggerObjects_cff.py.

◆ Muon_StatDn

triggerObjects_cff.Muon_StatDn

Definition at line 409 of file triggerObjects_cff.py.

◆ Muon_StatUp

triggerObjects_cff.Muon_StatUp

Definition at line 408 of file triggerObjects_cff.py.

◆ Muon_SystDn

triggerObjects_cff.Muon_SystDn

Definition at line 407 of file triggerObjects_cff.py.

◆ Muon_SystUp

triggerObjects_cff.Muon_SystUp

Definition at line 406 of file triggerObjects_cff.py.

◆ name

triggerObjects_cff.name

Definition at line 46 of file triggerObjects_cff.py.

◆ Nom

triggerObjects_cff.Nom

Definition at line 402 of file triggerObjects_cff.py.

◆ patTriggerObjectsStandAlone

triggerObjects_cff.patTriggerObjectsStandAlone

Definition at line 9 of file triggerObjects_cff.py.

◆ Photon

triggerObjects_cff.Photon

Definition at line 82 of file triggerObjects_cff.py.

◆ precision

triggerObjects_cff.precision

Definition at line 402 of file triggerObjects_cff.py.

◆ qualityBits

triggerObjects_cff.qualityBits

Definition at line 61 of file triggerObjects_cff.py.

◆ sel

triggerObjects_cff.sel

Definition at line 57 of file triggerObjects_cff.py.

◆ selections

triggerObjects_cff.selections

Definition at line 53 of file triggerObjects_cff.py.

◆ skipObjectsNotPassingQualityBits

triggerObjects_cff.skipObjectsNotPassingQualityBits

Definition at line 60 of file triggerObjects_cff.py.

◆ src

triggerObjects_cff.src

Definition at line 47 of file triggerObjects_cff.py.

◆ src_ext

triggerObjects_cff.src_ext

Definition at line 420 of file triggerObjects_cff.py.

◆ storeUnprefireableBits

triggerObjects_cff.storeUnprefireableBits

Definition at line 419 of file triggerObjects_cff.py.

◆ Tau

triggerObjects_cff.Tau

Definition at line 132 of file triggerObjects_cff.py.

◆ triggerObjectTable

triggerObjects_cff.triggerObjectTable

Definition at line 45 of file triggerObjects_cff.py.

◆ triggerObjectTablesTask

triggerObjects_cff.triggerObjectTablesTask

Definition at line 422 of file triggerObjects_cff.py.

◆ triggerResults

triggerObjects_cff.triggerResults

Definition at line 10 of file triggerObjects_cff.py.

◆ unpackedPatTrigger

triggerObjects_cff.unpackedPatTrigger

Definition at line 8 of file triggerObjects_cff.py.

◆ unpackFilterLabels

triggerObjects_cff.unpackFilterLabels

Definition at line 11 of file triggerObjects_cff.py.

◆ Up

triggerObjects_cff.Up

Definition at line 403 of file triggerObjects_cff.py.

◆ variables

triggerObjects_cff.variables

Definition at line 401 of file triggerObjects_cff.py.