CMS 3D CMS Logo

Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
pat Namespace Reference

Namespaces

 eventhypothesis
 
 helper
 
 tau
 

Classes

class  BadPFCandidateJetsEEnoiseProducer
 
class  bJetSelector
 
class  CalculatePtRatioRel
 
class  CaloIsolationEnergy
 Calculates a lepton's calorimetric isolation energy. More...
 
class  CaloJetSelector
 Selects good Jets. More...
 
class  CandidateSummaryTable
 Produce a summary table of some candidate collections. More...
 
class  CandKinResolution
 
class  CompositeCandidate
 Analysis-level particle class. More...
 
class  Conversion
 
class  DiObjectProxy
 
class  DisplacedMuonFilterProducer
 
class  DuplicatedElectronCleaner
 Remove duplicates from the list of electrons. More...
 
class  DuplicatedElectronRemover
 
class  DuplicatedPhotonRemover
 
class  Electron
 Analysis-level electron class. More...
 
class  EventHypothesis
 
class  FakeTrackProducer
 Matcher of reconstructed objects to other reconstructed objects using the tracks inside them. More...
 
class  Flags
 Flags used in PAT, and static translator from flags to strings. More...
 
class  GenericDuplicateRemover
 
class  GenericOverlapFinder
 
class  GenericParticle
 Analysis-level Generic Particle class (e.g. for hadron or muon not fully reconstructed) More...
 
class  GenJetFlavourInfoPreserver
 Transfers the JetFlavourInfos from the original GenJets to the slimmedGenJets in MiniAOD. More...
 
class  GenJetMatcher
 
class  GenMETExtractor
 Retrieves the genMET from a pat::MET. More...
 
class  GenPlusSimParticleProducer
 Produces reco::GenParticle from SimTracks. More...
 
class  HcalDepthEnergyFractions
 
class  HeavyIon
 
class  Hemisphere
 
class  HLTL1MuonMatcher
 
class  IsolatedTrack
 
class  Jet
 Analysis-level calorimeter jet class. More...
 
class  JetCorrFactors
 Class for the storage of jet correction factors. More...
 
class  JetCorrFactorsProducer
 Produces a ValueMap between JetCorrFactors and the to the originating reco jets. More...
 
struct  JetSelection
 
class  L1MuonMatcher
 Matcher of reconstructed objects to L1 Muons. More...
 
class  Lepton
 Analysis-level lepton class. More...
 
class  LeptonJetIsolationAngle
 Calculates a lepton's jet isolation angle. More...
 
class  LeptonUpdater
 
class  LeptonVertexSignificance
 Calculates a lepton's vertex association significance. More...
 
class  LookupTableRecord
 Class to store the result of a lookup table fetch, e.g. for efficiencies. More...
 
class  MatcherByPulls
 
class  MatcherUsingTracks
 Matcher of reconstructed objects to other reconstructed objects using the tracks inside them. More...
 
class  MatcherUsingTracksAlgorithm
 Matcher of reconstructed objects to other reconstructed objects using the tracks inside them. More...
 
class  MET
 Analysis-level MET class. More...
 
class  MHT
 
class  ModifiedObjectProducer
 
class  Muon
 Analysis-level muon class. More...
 
class  MuonMvaIDEstimator
 
class  MuonReSeeder
 Matcher of reconstructed objects to other reconstructed objects using the tracks inside them. More...
 
struct  MuonSelection
 Structure defining the muon selection. More...
 
class  MuonSelector
 Selects good muons. More...
 
class  ObjectModifier
 
class  ObjectResolutionCalc
 Class to calculate MC resolutions for pat objects. More...
 
class  OutsideInMuonSeeder
 Matcher of reconstructed objects to other reconstructed objects using the tracks inside them. More...
 
struct  OverlapByDeltaR
 
struct  OverlapDistance
 
class  PackedCandidate
 
class  PackedCandidateMuonSelectorProducer
 
class  PackedCandidateTrackChi2Producer
 
class  PackedGenParticle
 
class  PackedGenParticleSignalProducer
 
class  PackedPFCandidateRefMixer
 
class  PackedTriggerPrescales
 
class  Particle
 Analysis-level particle class. More...
 
class  PATCleaner
 PAT Cleaner module for PAT Objects. More...
 
class  PATCompositeCandidateProducer
 Produces the pat::CompositeCandidate. More...
 
class  PATConversionProducer
 
class  PATElectronProducer
 Produces pat::Electron's. More...
 
class  PATElectronSlimmer
 Slimmer of PAT Electrons. More...
 
class  PATGenCandsFromSimTracksProducer
 Produces reco::GenParticle from SimTracks. More...
 
class  PATGenericParticleProducer
 Produces the pat::GenericParticle. More...
 
class  PATGenJetSlimmer
 Matcher of reconstructed objects to L1 Muons. More...
 
class  PATIsolatedTrackProducer
 
class  PATJetProducer
 Produces pat::Jet's. More...
 
class  PATJetSelector
 
class  PATJetSlimmer
 Matcher of reconstructed objects to L1 Muons. More...
 
class  PATJetUpdater
 Produces pat::Jet's. More...
 
class  PATLeptonCountFilter
 
class  PATLostTracks
 
class  PATMETProducer
 Produces the pat::MET. More...
 
class  PATMETSlimmer
 Slimmer of PAT METs. More...
 
class  PATMHTProducer
 
class  PATMuonHeavyObjectCache
 
class  PATMuonProducer
 class definition More...
 
class  PATMuonSlimmer
 Slimmer of PAT Muons. More...
 
class  PATObject
 Templated PAT object container. More...
 
class  PATObjectUserDataEmbedder
 
class  PATPackedCandidateProducer
 
class  PATPackedGenParticleProducer
 
class  PATPFParticleProducer
 Produces pat::PFParticle's. More...
 
class  PATPhotonProducer
 Produces the pat::Photon. More...
 
class  PATPhotonSlimmer
 slimmer of PAT Taus More...
 
class  PATPrimaryVertexSelector
 
class  PATSecondaryVertexSlimmer
 
class  PATSingleVertexSelector
 Produces a list containing a single vertex selected by some criteria. More...
 
class  PATTauDiscriminator
 
class  PATTauProducer
 Produces pat::Tau's. More...
 
class  PATTauSlimmer
 Slimmer of PAT Taus. More...
 
class  PATTrackAndVertexUnpacker
 
class  PATTriggerEventProducer
 Produces the central entry point to full PAT trigger information. More...
 
class  PATTriggerMatchEmbedder
 
class  PATTriggerMatchSelector
 
class  PATTriggerObjectStandAloneSlimmer
 Packs filter labels and/or 4-vectors of a pat::TriggerObjectStandAloneCollection. More...
 
class  PATTriggerObjectStandAloneUnpacker
 Unpacks a pat::TriggerObjectStandAloneCollection with packed path names. More...
 
class  PATTriggerProducer
 Produces the full or stand-alone PAT trigger information collections. More...
 
class  PATUserDataHelper
 Assists in assimilating all pat::UserData into pat objects. More...
 
class  PATUserDataMerger
 Assimilates pat::UserData into pat objects. More...
 
class  PATVertexAssociationProducer
 Produces VertexAssociation and a ValueMap to the originating reco jets. More...
 
class  PATVertexSlimmer
 
class  PFIsolation
 
class  PFParticle
 Analysis-level class for reconstructed particles. More...
 
class  Photon
 Analysis-level Photon class. More...
 
class  RawJetExtractorT
 
class  RawJetExtractorT< pat::Jet >
 
class  RecoMETExtractor
 Retrieves the recoMET from a pat::MET. More...
 
class  SoftMuonMvaEstimator
 
class  strbitset
 
class  Tau
 Analysis-level tau class. More...
 
class  TauCorrFactors
 Class for the storage of tau-jet energy correction factors. More...
 
class  TauJetCorrFactors
 
class  TauJetCorrFactorsProducer
 Produces a ValueMap between TauJetCorrFactors and the originating reco taus. More...
 
class  TrackerIsolationPt
 Calculates a lepton's tracker isolation pt. More...
 
class  TriggerAlgorithm
 Analysis-level L1 trigger algorithm class. More...
 
class  TriggerCondition
 Analysis-level L1 trigger condition class. More...
 
class  TriggerEvent
 Analysis-level trigger event class. More...
 
class  TriggerFilter
 Analysis-level HLTrigger filter class. More...
 
class  TriggerObject
 Analysis-level trigger object class. More...
 
class  TriggerObjectStandAlone
 Analysis-level trigger object class (stand-alone) More...
 
class  TriggerPath
 
class  UnclusteredBlobProducer
 
class  UserData
 Base class for data that users can add to pat objects. More...
 
class  UserHolder
 
class  VertexAssociation
 Analysis-level structure for vertex-related information. More...
 
class  VertexAssociationSelector
 
class  XGBooster
 

Typedefs

typedef reco::CaloJet::Specific CaloSpecific
 
typedef std::vector< edm::FwdPtr< CaloTower > > CaloTowerFwdPtrCollection
 
typedef std::vector< CandKinResolutionCandKinResolutionCollection
 
typedef edm::ValueMap< CandKinResolutionCandKinResolutionValueMap
 
typedef std::vector< CompositeCandidateCompositeCandidateCollection
 
typedef edm::Ref< CompositeCandidateCollectionCompositeCandidateRef
 
typedef edm::RefVector< CompositeCandidateCollectionCompositeCandidateRefVector
 
typedef std::vector< ConversionConversionCollection
 
typedef edm::Ref< ConversionCollectionConversionRef
 
typedef edm::RefVector< ConversionCollectionConversionRefVector
 
typedef std::vector< ElectronElectronCollection
 
typedef edm::Ptr< pat::ElectronElectronPtr
 
typedef edm::Ref< ElectronCollectionElectronRef
 
typedef edm::RefVector< ElectronCollectionElectronRefVector
 
typedef std::vector< GenericParticleGenericParticleCollection
 
typedef edm::Ref< GenericParticleCollectionGenericParticleRef
 
typedef edm::RefVector< GenericParticleCollectionGenericParticleRefVector
 
typedef std::vector< HemisphereHemisphereCollection
 
typedef edm::Ref< HemisphereCollectionHemisphereRef
 
typedef edm::RefVector< HemisphereCollectionHemisphereRefVector
 
typedef reco::IsoDeposit IsoDeposit
 
typedef std::vector< IsolatedTrackIsolatedTrackCollection
 
typedef SingleObjectSelector< pat::IsolatedTrackCollection, StringCutObjectSelector< pat::IsolatedTrack > > IsoTrackSelector
 
typedef std::vector< JetJetCollection
 
typedef std::vector< edm::Ptr< pat::Jet > > JetPtrCollection
 
typedef edm::Ref< JetCollectionJetRef
 
typedef edm::RefVector< JetCollectionJetRefVector
 
typedef reco::JPTJet::Specific JPTSpecific
 
typedef std::pair< bool, std::string > L1Seed
 Pair to store decision and name of L1 seeds. More...
 
typedef std::vector< L1SeedL1SeedCollection
 Collection of L1Seed. More...
 
typedef std::vector< METMETCollection
 
typedef edm::Ref< METCollectionMETRef
 
typedef edm::RefVector< METCollectionMETRefVector
 
typedef std::vector< pat::MHTMHTCollection
 
typedef std::vector< MuonMuonCollection
 
typedef edm::Ptr< pat::MuonMuonPtr
 
typedef edm::Ref< MuonCollectionMuonRef
 
typedef ObjectCountFilter< pat::MuonCollection, StringCutObjectSelector< pat::Muon > >::type MuonRefPatCount
 
typedef edm::RefVector< MuonCollectionMuonRefVector
 
typedef std::vector< std::pair< size_t, size_t > > OverlapList
 
typedef std::vector< pat::PackedCandidatePackedCandidateCollection
 
typedef edm::Ptr< pat::PackedCandidatePackedCandidatePtr
 
typedef edm::Ref< pat::PackedCandidateCollectionPackedCandidateRef
 
typedef edm::RefVector< pat::PackedCandidateCollectionPackedCandidateRefVector
 
typedef std::vector< pat::PackedGenParticlePackedGenParticleCollection
 
typedef edm::Ref< pat::PackedGenParticleCollectionPackedGenParticleRef
 
typedef edm::RefVector< pat::PackedGenParticleCollectionPackedGenParticleRefVector
 
typedef std::vector< ParticleParticleCollection
 
typedef edm::Ref< ParticleCollectionParticleRef
 
typedef edm::RefVector< ParticleCollectionParticleRefVector
 
typedef ObjectCountFilter< edm::View< reco::Candidate >, AnySelector, AndSelector< MinNumberSelector, MaxNumberSelector > >::type PATCandViewCountFilter
 
typedef SingleObjectSelector< std::vector< CompositeCandidate >, StringCutObjectSelector< CompositeCandidate, true >, edm::RefVector< std::vector< CompositeCandidate > > > PATCompositeCandidateRefSelector
 
typedef SingleObjectSelector< std::vector< CompositeCandidate >, StringCutObjectSelector< CompositeCandidate, true > > PATCompositeCandidateSelector
 
typedef pat::PATCleaner< pat::ElectronPATElectronCleaner
 
typedef edm::Ptr< pat::ElectronpatElectronPtr
 
typedef SingleObjectSelector< std::vector< Electron >, StringCutObjectSelector< Electron >, edm::RefVector< std::vector< Electron > > > PATElectronRefSelector
 
typedef SingleObjectSelector< std::vector< Electron >, StringCutObjectSelector< Electron > > PATElectronSelector
 
typedef pat::PATCleaner< pat::GenericParticlePATGenericParticleCleaner
 
typedef SingleObjectSelector< std::vector< GenericParticle >, StringCutObjectSelector< GenericParticle >, edm::RefVector< std::vector< GenericParticle > > > PATGenericParticleRefSelector
 
typedef SingleObjectSelector< std::vector< GenericParticle >, StringCutObjectSelector< GenericParticle > > PATGenericParticleSelector
 
typedef pat::PATCleaner< pat::JetPATJetCleaner
 
typedef SingleObjectSelector< std::vector< Jet >, StringCutObjectSelector< Jet >, edm::RefVector< std::vector< Jet > > > PATJetRefSelector
 
typedef pat::PATCleaner< pat::METPATMETCleaner
 
typedef SingleObjectSelector< std::vector< MET >, StringCutObjectSelector< MET >, edm::RefVector< std::vector< MET > > > PATMETRefSelector
 
typedef SingleObjectSelector< std::vector< MET >, StringCutObjectSelector< MET > > PATMETSelector
 
typedef pat::PATCleaner< pat::MuonPATMuonCleaner
 
typedef SingleObjectSelector< std::vector< Muon >, StringCutObjectSelector< Muon >, edm::RefVector< std::vector< Muon > > > PATMuonRefSelector
 
typedef SingleObjectSelector< std::vector< Muon >, StringCutObjectSelector< Muon > > PATMuonSelector
 
typedef pat::PATCleaner< pat::PFParticlePATPFParticleCleaner
 
typedef SingleObjectSelector< std::vector< PFParticle >, StringCutObjectSelector< PFParticle >, edm::RefVector< std::vector< PFParticle > > > PATPFParticleRefSelector
 
typedef SingleObjectSelector< std::vector< PFParticle >, StringCutObjectSelector< PFParticle > > PATPFParticleSelector
 
typedef pat::PATCleaner< pat::PhotonPATPhotonCleaner
 
typedef edm::Ptr< pat::PhotonpatPhotonPtr
 
typedef SingleObjectSelector< std::vector< Photon >, StringCutObjectSelector< Photon >, edm::RefVector< std::vector< Photon > > > PATPhotonRefSelector
 
typedef SingleObjectSelector< std::vector< Photon >, StringCutObjectSelector< Photon > > PATPhotonSelector
 
typedef pat::PATCleaner< pat::TauPATTauCleaner
 
typedef edm::AssociationVector< pat::TauRefProd, std::vector< float > > PATTauDiscriminatorBase
 
typedef edm::Ref< pat::PATTauDiscriminatorPATTauDiscriminatorRef
 
typedef edm::RefProd< pat::PATTauDiscriminatorPATTauDiscriminatorRefProd
 
typedef edm::RefVector< pat::PATTauDiscriminatorPATTauDiscriminatorRefVector
 
typedef pat::PATTauDiscriminator::value_type PATTauDiscriminatorVT
 
typedef SingleObjectSelector< std::vector< Tau >, StringCutObjectSelector< Tau >, edm::RefVector< std::vector< Tau > > > PATTauRefSelector
 
typedef SingleObjectSelector< std::vector< Tau >, StringCutObjectSelector< Tau > > PATTauSelector
 
typedef PATTriggerMatchEmbedder< ElectronPATTriggerMatchElectronEmbedder
 
typedef PATTriggerMatchEmbedder< JetPATTriggerMatchJetEmbedder
 
typedef PATTriggerMatchEmbedder< METPATTriggerMatchMETEmbedder
 
typedef PATTriggerMatchEmbedder< MuonPATTriggerMatchMuonEmbedder
 
typedef PATTriggerMatchEmbedder< PhotonPATTriggerMatchPhotonEmbedder
 
typedef PATTriggerMatchEmbedder< TauPATTriggerMatchTauEmbedder
 
typedef SingleObjectSelector< std::vector< TriggerObjectStandAlone >, StringCutObjectSelector< TriggerObjectStandAlone > > PATTriggerObjectStandAloneSelector
 
typedef std::vector< edm::FwdPtr< reco::PFCandidate > > PFCandidateFwdPtrCollection
 
typedef std::vector< PFParticlePFParticleCollection
 
typedef edm::Ref< PFParticleCollectionPFParticleRef
 
typedef edm::RefVector< PFParticleCollectionPFParticleRefVector
 
typedef reco::PFJet::Specific PFSpecific
 
typedef std::vector< PhotonPhotonCollection
 
typedef edm::Ptr< pat::PhotonPhotonPtr
 
typedef edm::Ref< PhotonCollectionPhotonRef
 
typedef edm::RefVector< PhotonCollectionPhotonRefVector
 
typedef std::vector< edm::FwdPtr< reco::BaseTagInfo > > TagInfoFwdPtrCollection
 
typedef std::vector< TauTauCollection
 
typedef edm::Ptr< pat::TauTauPtr
 
typedef edm::Ref< TauCollectionTauRef
 
typedef edm::RefProd< TauCollectionTauRefProd
 
typedef edm::RefVector< TauCollectionTauRefVector
 
typedef std::vector< TriggerAlgorithmTriggerAlgorithmCollection
 Collection of TriggerAlgorithm. More...
 
typedef edm::Ref< TriggerAlgorithmCollectionTriggerAlgorithmRef
 Persistent reference to an item in a TriggerAlgorithmCollection. More...
 
typedef edm::RefProd< TriggerAlgorithmCollectionTriggerAlgorithmRefProd
 Persistent reference to a TriggerAlgorithmCollection product. More...
 
typedef edm::RefVector< TriggerAlgorithmCollectionTriggerAlgorithmRefVector
 Vector of persistent references to items in the same TriggerAlgorithmCollection. More...
 
typedef edm::RefVectorIterator< TriggerAlgorithmCollectionTriggerAlgorithmRefVectorIterator
 Const iterator over vector of persistent references to items in the same TriggerAlgorithmCollection. More...
 
typedef std::vector< TriggerConditionTriggerConditionCollection
 Collection of TriggerCondition. More...
 
typedef edm::Ref< TriggerConditionCollectionTriggerConditionRef
 Persistent reference to an item in a TriggerConditionCollection. More...
 
typedef edm::RefProd< TriggerConditionCollectionTriggerConditionRefProd
 Persistent reference to a TriggerConditionCollection product. More...
 
typedef edm::RefVector< TriggerConditionCollectionTriggerConditionRefVector
 Vector of persistent references to items in the same TriggerConditionCollection. More...
 
typedef edm::RefVectorIterator< TriggerConditionCollectionTriggerConditionRefVectorIterator
 Const iterator over vector of persistent references to items in the same TriggerConditionCollection. More...
 
typedef std::vector< TriggerFilterTriggerFilterCollection
 Collection of TriggerFilter. More...
 
typedef edm::Ref< TriggerFilterCollectionTriggerFilterRef
 Persistent reference to an item in a TriggerFilterCollection. More...
 
typedef edm::RefProd< TriggerFilterCollectionTriggerFilterRefProd
 Persistent reference to a TriggerFilterCollection product. More...
 
typedef edm::RefVector< TriggerFilterCollectionTriggerFilterRefVector
 Vector of persistent references to items in the same TriggerFilterCollection. More...
 
typedef edm::RefVectorIterator< TriggerFilterCollectionTriggerFilterRefVectorIterator
 Const iterator over vector of persistent references to items in the same TriggerFilterCollection. More...
 
typedef std::vector< TriggerObjectTriggerObjectCollection
 Collection of TriggerObject. More...
 
typedef edm::Association< TriggerObjectCollectionTriggerObjectMatch
 Association of TriggerObjects to store matches to Candidates. More...
 
typedef std::map< std::string, TriggerObjectMatchRefProdTriggerObjectMatchContainer
 Container to store references to matches from different producers in the trigger event. More...
 
typedef std::map< std::string, TriggerObjectRefTriggerObjectMatchMap
 Container to store match references from different producers (for one PAT object) More...
 
typedef edm::RefProd< TriggerObjectMatchTriggerObjectMatchRefProd
 Persistent reference to a TriggerObjectMatch product. More...
 
typedef edm::Ref< TriggerObjectCollectionTriggerObjectRef
 Persistent reference to an item in a TriggerObjectCollection. More...
 
typedef edm::RefProd< TriggerObjectCollectionTriggerObjectRefProd
 Persistent reference to a TriggerObjectCollection product. More...
 
typedef edm::RefVector< TriggerObjectCollectionTriggerObjectRefVector
 Vector of persistent references to items in the same TriggerObjectCollection. More...
 
typedef edm::RefVectorIterator< TriggerObjectCollectionTriggerObjectRefVectorIterator
 Const iterator over vector of persistent references to items in the same TriggerObjectCollection. More...
 
typedef std::vector< TriggerObjectStandAloneTriggerObjectStandAloneCollection
 Collection of TriggerObjectStandAlone. More...
 
typedef edm::Association< TriggerObjectStandAloneCollectionTriggerObjectStandAloneMatch
 Association of TriggerObjectStandAlones to store matches to Candidates. More...
 
typedef edm::Ref< TriggerObjectStandAloneCollectionTriggerObjectStandAloneRef
 Persistent reference to an item in a TriggerObjectStandAloneCollection. More...
 
typedef edm::RefProd< TriggerObjectStandAloneCollectionTriggerObjectStandAloneRefProd
 Persistent reference to a TriggerObjectStandAloneCollection product. More...
 
typedef edm::RefVector< TriggerObjectStandAloneCollectionTriggerObjectStandAloneRefVector
 Vector of persistent references to items in the same TriggerObjectStandAloneCollection. More...
 
typedef edm::RefVectorIterator< TriggerObjectStandAloneCollectionTriggerObjectStandAloneRefVectorIterator
 Const iterator over vector of persistent references to items in the same TriggerObjectStandAloneCollection. More...
 
typedef std::vector< TriggerPathTriggerPathCollection
 Collection of TriggerPath. More...
 
typedef edm::Ref< TriggerPathCollectionTriggerPathRef
 Persistent reference to an item in a TriggerPathCollection. More...
 
typedef edm::RefProd< TriggerPathCollectionTriggerPathRefProd
 Persistent reference to a TriggerPathCollection product. More...
 
typedef edm::RefVector< TriggerPathCollectionTriggerPathRefVector
 Vector of persistent references to items in the same TriggerPathCollection. More...
 
typedef edm::RefVectorIterator< TriggerPathCollectionTriggerPathRefVectorIterator
 Const iterator over vector of persistent references to items in the same TriggerPathCollection. More...
 
typedef edm::OwnVector< pat::UserDataUserDataCollection
 

Enumerations

enum  IsolationKeys {
  TrackIso = 0, EcalIso = 1, HcalIso = 2, PfAllParticleIso = 3,
  PfChargedHadronIso = 4, PfNeutralHadronIso = 5, PfGammaIso = 6, User1Iso = 7,
  User2Iso = 8, User3Iso = 9, User4Iso = 10, User5Iso = 11,
  UserBaseIso = 7, CaloIso = -1, PfPUChargedHadronIso = 12, PfChargedAllIso = 13
}
 Enum defining isolation keys. More...
 
enum  ParticleStatus {
  GOOD = 0, BAD, HOVERE, SHOWER,
  MATCHING
}
 Definition of particle status after selection. More...
 
enum  ParticleType {
  UNKNOWN = 0, ELECTRON, MUON, TAU,
  PHOTON, JET, BJET, TOP,
  INVISIBLE
}
 Definition of particle types. More...
 

Functions

float computeSoftMvaRun3 (XGBooster &booster, const Muon &muon)
 
const reco::CandidatePtrVectorget_empty_cpv ()
 
const std::string & get_empty_str ()
 
PFIsolation getMiniPFIsolation (const pat::PackedCandidateCollection *pfcands, const reco::Candidate::PolarLorentzVector &p4, float mindr=0.05, float maxdr=0.2, float kt_scale=10.0, float ptthresh=0.5, float deadcone_ch=0.0001, float deadcone_pu=0.01, float deadcone_ph=0.01, float deadcone_nh=0.01, float dZ_cut=0.0)
 
float miniIsoDr (const reco::Candidate::PolarLorentzVector &p4, float mindr, float maxdr, float kt_scale)
 
double muonRelMiniIsoPUCorrected (const PFIsolation &iso, const reco::Candidate::PolarLorentzVector &p4, double dr, double rho, const std::vector< double > &area)
 
strbitset operator & (const strbitset &l, const strbitset &r)
 
strbitset operator & (const strbitset &l, const strbitset &r)
 
std::ostream & operator<< (std::ostream &out, const strbitset::index_type &r)
 
strbitset operator^ (const strbitset &l, const strbitset &r)
 
strbitset operator| (const strbitset &l, const strbitset &r)
 
void throwMissingLabel (const std::string &what, const std::string &bad_label, const std::vector< std::string > &available)
 

Variables

static const int qualityMap [8] = {1, 0, 1, 1, 4, 4, 5, 6}
 conversion map from quality flags used in PV association and miniAOD one More...
 

Detailed Description

Take as input:

Typedef Documentation

◆ CaloSpecific

Definition at line 67 of file Jet.h.

◆ CaloTowerFwdPtrCollection

Definition at line 74 of file Jet.h.

◆ CandKinResolutionCollection

Definition at line 153 of file CandKinResolution.h.

◆ CandKinResolutionValueMap

Definition at line 154 of file CandKinResolution.h.

◆ CompositeCandidateCollection

Definition at line 22 of file CompositeCandidate.h.

◆ CompositeCandidateRef

Definition at line 24 of file CompositeCandidate.h.

◆ CompositeCandidateRefVector

Definition at line 25 of file CompositeCandidate.h.

◆ ConversionCollection

typedef std::vector<Conversion> pat::ConversionCollection

Definition at line 13 of file Conversion.h.

◆ ConversionRef

Definition at line 15 of file Conversion.h.

◆ ConversionRefVector

Definition at line 16 of file Conversion.h.

◆ ElectronCollection

typedef std::vector<Electron> pat::ElectronCollection

Definition at line 36 of file Electron.h.

◆ ElectronPtr

Definition at line 39 of file CutApplicatorBase.h.

◆ ElectronRef

Definition at line 38 of file Electron.h.

◆ ElectronRefVector

Definition at line 39 of file Electron.h.

◆ GenericParticleCollection

Definition at line 29 of file GenericParticle.h.

◆ GenericParticleRef

Definition at line 31 of file GenericParticle.h.

◆ GenericParticleRefVector

Definition at line 32 of file GenericParticle.h.

◆ HemisphereCollection

typedef std::vector<Hemisphere> pat::HemisphereCollection

Definition at line 9 of file Hemisphere.h.

◆ HemisphereRef

Definition at line 11 of file Hemisphere.h.

◆ HemisphereRefVector

Definition at line 12 of file Hemisphere.h.

◆ IsoDeposit

Definition at line 7 of file Isolation.h.

◆ IsolatedTrackCollection

Definition at line 173 of file IsolatedTrack.h.

◆ IsoTrackSelector

Definition at line 280 of file PATObjectSelector.cc.

◆ JetCollection

typedef std::vector<Jet> pat::JetCollection

Definition at line 53 of file Jet.h.

◆ JetPtrCollection

typedef std::vector<edm::Ptr<pat::Jet> > pat::JetPtrCollection

Definition at line 75 of file Jet.h.

◆ JetRef

Definition at line 55 of file Jet.h.

◆ JetRefVector

Definition at line 56 of file Jet.h.

◆ JPTSpecific

Definition at line 70 of file Jet.h.

◆ L1Seed

typedef std::pair<bool, std::string> pat::L1Seed

Pair to store decision and name of L1 seeds.

Definition at line 33 of file TriggerPath.h.

◆ L1SeedCollection

typedef std::vector<L1Seed> pat::L1SeedCollection

Collection of L1Seed.

Definition at line 35 of file TriggerPath.h.

◆ METCollection

typedef std::vector<MET> pat::METCollection

Definition at line 31 of file MET.h.

◆ METRef

Definition at line 33 of file MET.h.

◆ METRefVector

Definition at line 34 of file MET.h.

◆ MHTCollection

typedef std::vector<pat::MHT> pat::MHTCollection

Definition at line 39 of file MHT.h.

◆ MuonCollection

typedef std::vector<Muon> pat::MuonCollection

Definition at line 35 of file Muon.h.

◆ MuonPtr

Definition at line 41 of file CutApplicatorBase.h.

◆ MuonRef

Definition at line 37 of file Muon.h.

◆ MuonRefPatCount

Definition at line 282 of file PATObjectSelector.cc.

◆ MuonRefVector

Definition at line 38 of file Muon.h.

◆ OverlapList

typedef std::vector<std::pair<size_t, size_t> > pat::OverlapList

A vector of pairs of indices <i1,i2>, for each i1 that overlaps, i2 is the "best" overlap match. if an element of does not overlap with anyone, it will not end up in this list.

Definition at line 15 of file GenericOverlapFinder.h.

◆ PackedCandidateCollection

Definition at line 1166 of file PackedCandidate.h.

◆ PackedCandidatePtr

Definition at line 18 of file PATMuonMerger.cc.

◆ PackedCandidateRef

Definition at line 1167 of file PackedCandidate.h.

◆ PackedCandidateRefVector

Definition at line 1168 of file PackedCandidate.h.

◆ PackedGenParticleCollection

Definition at line 505 of file PackedGenParticle.h.

◆ PackedGenParticleRef

Definition at line 506 of file PackedGenParticle.h.

◆ PackedGenParticleRefVector

Definition at line 507 of file PackedGenParticle.h.

◆ ParticleCollection

typedef std::vector<Particle> pat::ParticleCollection

Definition at line 22 of file Particle.h.

◆ ParticleRef

Definition at line 24 of file Particle.h.

◆ ParticleRefVector

Definition at line 25 of file Particle.h.

◆ PATCandViewCountFilter

Definition at line 13 of file PATObjectFilter.cc.

◆ PATCompositeCandidateRefSelector

Definition at line 277 of file PATObjectSelector.cc.

◆ PATCompositeCandidateSelector

Definition at line 245 of file PATObjectSelector.cc.

◆ PATElectronCleaner

Definition at line 138 of file PATCleaner.cc.

◆ patElectronPtr

Definition at line 38 of file ElectronPFIsolationWithMapBasedVeto.cc.

◆ PATElectronRefSelector

Definition at line 254 of file PATObjectSelector.cc.

◆ PATElectronSelector

Definition at line 231 of file PATObjectSelector.cc.

◆ PATGenericParticleCleaner

Definition at line 144 of file PATCleaner.cc.

◆ PATGenericParticleRefSelector

Definition at line 272 of file PATObjectSelector.cc.

◆ PATGenericParticleSelector

Definition at line 249 of file PATObjectSelector.cc.

◆ PATJetCleaner

Definition at line 142 of file PATCleaner.cc.

◆ PATJetRefSelector

Definition at line 262 of file PATObjectSelector.cc.

◆ PATMETCleaner

Definition at line 143 of file PATCleaner.cc.

◆ PATMETRefSelector

Definition at line 264 of file PATObjectSelector.cc.

◆ PATMETSelector

Definition at line 239 of file PATObjectSelector.cc.

◆ PATMuonCleaner

Definition at line 139 of file PATCleaner.cc.

◆ PATMuonRefSelector

Definition at line 256 of file PATObjectSelector.cc.

◆ PATMuonSelector

Definition at line 232 of file PATObjectSelector.cc.

◆ PATPFParticleCleaner

Definition at line 145 of file PATCleaner.cc.

◆ PATPFParticleRefSelector

Definition at line 268 of file PATObjectSelector.cc.

◆ PATPFParticleSelector

Definition at line 240 of file PATObjectSelector.cc.

◆ PATPhotonCleaner

Definition at line 141 of file PATCleaner.cc.

◆ patPhotonPtr

Definition at line 36 of file PhotonPFIsolationWithMapBasedVeto.cc.

◆ PATPhotonRefSelector

Definition at line 260 of file PATObjectSelector.cc.

◆ PATPhotonSelector

Definition at line 234 of file PATObjectSelector.cc.

◆ PATTauCleaner

Definition at line 140 of file PATCleaner.cc.

◆ PATTauDiscriminatorBase

Definition at line 10 of file PATTauDiscriminator.h.

◆ PATTauDiscriminatorRef

Definition at line 23 of file PATTauDiscriminator.h.

◆ PATTauDiscriminatorRefProd

Definition at line 24 of file PATTauDiscriminator.h.

◆ PATTauDiscriminatorRefVector

Definition at line 25 of file PATTauDiscriminator.h.

◆ PATTauDiscriminatorVT

Definition at line 22 of file PATTauDiscriminator.h.

◆ PATTauRefSelector

Definition at line 258 of file PATObjectSelector.cc.

◆ PATTauSelector

Definition at line 233 of file PATObjectSelector.cc.

◆ PATTriggerMatchElectronEmbedder

Definition at line 55 of file PATTriggerMatchEmbedder.cc.

◆ PATTriggerMatchJetEmbedder

Definition at line 56 of file PATTriggerMatchEmbedder.cc.

◆ PATTriggerMatchMETEmbedder

Definition at line 57 of file PATTriggerMatchEmbedder.cc.

◆ PATTriggerMatchMuonEmbedder

Definition at line 58 of file PATTriggerMatchEmbedder.cc.

◆ PATTriggerMatchPhotonEmbedder

Definition at line 59 of file PATTriggerMatchEmbedder.cc.

◆ PATTriggerMatchTauEmbedder

Definition at line 60 of file PATTriggerMatchEmbedder.cc.

◆ PATTriggerObjectStandAloneSelector

Definition at line 247 of file PATObjectSelector.cc.

◆ PFCandidateFwdPtrCollection

Definition at line 73 of file Jet.h.

◆ PFParticleCollection

typedef std::vector<PFParticle> pat::PFParticleCollection

Definition at line 23 of file PFParticle.h.

◆ PFParticleRef

Definition at line 25 of file PFParticle.h.

◆ PFParticleRefVector

Definition at line 26 of file PFParticle.h.

◆ PFSpecific

Definition at line 71 of file Jet.h.

◆ PhotonCollection

typedef std::vector<Photon> pat::PhotonCollection

Definition at line 31 of file Photon.h.

◆ PhotonPtr

Definition at line 40 of file CutApplicatorBase.h.

◆ PhotonRef

Definition at line 33 of file Photon.h.

◆ PhotonRefVector

Definition at line 34 of file Photon.h.

◆ TagInfoFwdPtrCollection

Definition at line 72 of file Jet.h.

◆ TauCollection

typedef std::vector<Tau> pat::TauCollection

Definition at line 35 of file Tau.h.

◆ TauPtr

Definition at line 42 of file CutApplicatorBase.h.

◆ TauRef

Definition at line 37 of file Tau.h.

◆ TauRefProd

Definition at line 38 of file Tau.h.

◆ TauRefVector

Definition at line 39 of file Tau.h.

◆ TriggerAlgorithmCollection

Collection of TriggerAlgorithm.

Definition at line 144 of file TriggerAlgorithm.h.

◆ TriggerAlgorithmRef

Persistent reference to an item in a TriggerAlgorithmCollection.

Definition at line 146 of file TriggerAlgorithm.h.

◆ TriggerAlgorithmRefProd

Persistent reference to a TriggerAlgorithmCollection product.

Definition at line 148 of file TriggerAlgorithm.h.

◆ TriggerAlgorithmRefVector

Vector of persistent references to items in the same TriggerAlgorithmCollection.

Definition at line 150 of file TriggerAlgorithm.h.

◆ TriggerAlgorithmRefVectorIterator

Const iterator over vector of persistent references to items in the same TriggerAlgorithmCollection.

Definition at line 152 of file TriggerAlgorithm.h.

◆ TriggerConditionCollection

Collection of TriggerCondition.

Definition at line 112 of file TriggerCondition.h.

◆ TriggerConditionRef

Persistent reference to an item in a TriggerConditionCollection.

Definition at line 114 of file TriggerCondition.h.

◆ TriggerConditionRefProd

Persistent reference to a TriggerConditionCollection product.

Definition at line 116 of file TriggerCondition.h.

◆ TriggerConditionRefVector

Vector of persistent references to items in the same TriggerConditionCollection.

Definition at line 118 of file TriggerCondition.h.

◆ TriggerConditionRefVectorIterator

Const iterator over vector of persistent references to items in the same TriggerConditionCollection.

Definition at line 120 of file TriggerCondition.h.

◆ TriggerFilterCollection

Collection of TriggerFilter.

Definition at line 129 of file TriggerFilter.h.

◆ TriggerFilterRef

Persistent reference to an item in a TriggerFilterCollection.

Definition at line 131 of file TriggerFilter.h.

◆ TriggerFilterRefProd

Persistent reference to a TriggerFilterCollection product.

Definition at line 133 of file TriggerFilter.h.

◆ TriggerFilterRefVector

Vector of persistent references to items in the same TriggerFilterCollection.

Definition at line 135 of file TriggerFilter.h.

◆ TriggerFilterRefVectorIterator

Const iterator over vector of persistent references to items in the same TriggerFilterCollection.

Definition at line 137 of file TriggerFilter.h.

◆ TriggerObjectCollection

Collection of TriggerObject.

Definition at line 173 of file TriggerObject.h.

◆ TriggerObjectMatch

Association of TriggerObjects to store matches to Candidates.

Definition at line 185 of file TriggerObject.h.

◆ TriggerObjectMatchContainer

Container to store references to matches from different producers in the trigger event.

Definition at line 189 of file TriggerObject.h.

◆ TriggerObjectMatchMap

typedef std::map<std::string, TriggerObjectRef> pat::TriggerObjectMatchMap

Container to store match references from different producers (for one PAT object)

Definition at line 177 of file TriggerObject.h.

◆ TriggerObjectMatchRefProd

Persistent reference to a TriggerObjectMatch product.

Definition at line 187 of file TriggerObject.h.

◆ TriggerObjectRef

Persistent reference to an item in a TriggerObjectCollection.

Definition at line 175 of file TriggerObject.h.

◆ TriggerObjectRefProd

Persistent reference to a TriggerObjectCollection product.

Definition at line 179 of file TriggerObject.h.

◆ TriggerObjectRefVector

Vector of persistent references to items in the same TriggerObjectCollection.

Definition at line 181 of file TriggerObject.h.

◆ TriggerObjectRefVectorIterator

Const iterator over vector of persistent references to items in the same TriggerObjectCollection.

Definition at line 183 of file TriggerObject.h.

◆ TriggerObjectStandAloneCollection

Collection of TriggerObjectStandAlone.

Definition at line 219 of file TriggerObjectStandAlone.h.

◆ TriggerObjectStandAloneMatch

Association of TriggerObjectStandAlones to store matches to Candidates.

Definition at line 229 of file TriggerObjectStandAlone.h.

◆ TriggerObjectStandAloneRef

Persistent reference to an item in a TriggerObjectStandAloneCollection.

Definition at line 221 of file TriggerObjectStandAlone.h.

◆ TriggerObjectStandAloneRefProd

Persistent reference to a TriggerObjectStandAloneCollection product.

Definition at line 223 of file TriggerObjectStandAlone.h.

◆ TriggerObjectStandAloneRefVector

Vector of persistent references to items in the same TriggerObjectStandAloneCollection.

Definition at line 225 of file TriggerObjectStandAlone.h.

◆ TriggerObjectStandAloneRefVectorIterator

Const iterator over vector of persistent references to items in the same TriggerObjectStandAloneCollection.

Definition at line 227 of file TriggerObjectStandAlone.h.

◆ TriggerPathCollection

Collection of TriggerPath.

Definition at line 160 of file TriggerPath.h.

◆ TriggerPathRef

Persistent reference to an item in a TriggerPathCollection.

Definition at line 162 of file TriggerPath.h.

◆ TriggerPathRefProd

Persistent reference to a TriggerPathCollection product.

Definition at line 164 of file TriggerPath.h.

◆ TriggerPathRefVector

Vector of persistent references to items in the same TriggerPathCollection.

Definition at line 166 of file TriggerPath.h.

◆ TriggerPathRefVectorIterator

Const iterator over vector of persistent references to items in the same TriggerPathCollection.

Definition at line 168 of file TriggerPath.h.

◆ UserDataCollection

Definition at line 86 of file UserData.h.

Enumeration Type Documentation

◆ IsolationKeys

Enum defining isolation keys.

Enumerator
TrackIso 
EcalIso 
HcalIso 
PfAllParticleIso 
PfChargedHadronIso 
PfNeutralHadronIso 
PfGammaIso 
User1Iso 
User2Iso 
User3Iso 
User4Iso 
User5Iso 
UserBaseIso 
CaloIso 
PfPUChargedHadronIso 
PfChargedAllIso 

Definition at line 9 of file Isolation.h.

9  {
10  TrackIso = 0,
11  EcalIso = 1,
12  HcalIso = 2,
13  PfAllParticleIso = 3,
16  PfGammaIso = 6,
17  User1Iso = 7,
18  User2Iso = 8,
19  User3Iso = 9,
20  User4Iso = 10,
21  User5Iso = 11,
22  UserBaseIso = 7, // offset of the first user isolation
23  CaloIso = -1, // keys which are not real indices are mapped to negative numbers.
25  PfChargedAllIso = 13
26  };

◆ ParticleStatus

Definition of particle status after selection.

Enumerator
GOOD 

0: Passed selection

BAD 

1: Failed selection (without additional info)

HOVERE 

2: Bad H/E ratio

SHOWER 

3: Bad ECAL shower shape

MATCHING 

4: Bad matching to track

Definition at line 30 of file ParticleCode.h.

30  {
31  GOOD = 0,
32  BAD,
33  HOVERE,
34  SHOWER,
35  MATCHING
36  };
3: Bad ECAL shower shape
Definition: ParticleCode.h:34
1: Failed selection (without additional info)
Definition: ParticleCode.h:32
4: Bad matching to track
Definition: ParticleCode.h:35
0: Passed selection
Definition: ParticleCode.h:31

◆ ParticleType

Definition of particle types.

Enumerator
UNKNOWN 

0: Unidentified isolated particle

ELECTRON 

1:

MUON 

2:

TAU 

3:

PHOTON 

4:

JET 

5:

BJET 

6:

TOP 

7:

INVISIBLE 

8: Invisible particle (Monte Carlo only)

Definition at line 17 of file ParticleCode.h.

17  {
18  UNKNOWN = 0,
19  ELECTRON,
20  MUON,
21  TAU,
22  PHOTON,
23  JET,
24  BJET,
25  TOP,
26  INVISIBLE
27  };
0: Unidentified isolated particle
Definition: ParticleCode.h:18
8: Invisible particle (Monte Carlo only)
Definition: ParticleCode.h:26

Function Documentation

◆ computeSoftMvaRun3()

float pat::computeSoftMvaRun3 ( pat::XGBooster booster,
const Muon muon 
)

Definition at line 114 of file SoftMuonMvaRun3Estimator.cc.

References fillMatchInfo(), reco::TrackBase::highPurity, reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::MISSING_OUTER_HITS, pat::XGBooster::predict(), pat::XGBooster::set(), and reco::HitPattern::TRACK_HITS.

Referenced by pat::PATMuonProducer::produce().

114  {
115  if (!muon.isTrackerMuon() && !muon.isGlobalMuon())
116  return 0;
117 
118  fillMatchInfo(booster, muon);
119 
120  booster.set("pt", muon.pt());
121  booster.set("eta", muon.eta());
122  booster.set("trkValidFrac", muon.innerTrack()->validFraction());
123  booster.set("glbTrackProbability", muon.combinedQuality().glbTrackProbability);
124  booster.set("nLostHitsInner",
125  muon.innerTrack()->hitPattern().numberOfLostTrackerHits(reco::HitPattern::MISSING_INNER_HITS));
126  booster.set("nLostHitsOuter",
127  muon.innerTrack()->hitPattern().numberOfLostTrackerHits(reco::HitPattern::MISSING_OUTER_HITS));
128  booster.set("trkKink", muon.combinedQuality().trkKink);
129  booster.set("chi2LocalPosition", muon.combinedQuality().chi2LocalPosition);
130  booster.set("nPixels", muon.innerTrack()->hitPattern().numberOfValidPixelHits());
131  booster.set("nValidHits", muon.innerTrack()->hitPattern().numberOfValidTrackerHits());
132  booster.set("nLostHitsOn", muon.innerTrack()->hitPattern().numberOfLostTrackerHits(reco::HitPattern::TRACK_HITS));
133  booster.set("glbNormChi2", muon.isGlobalMuon() ? muon.globalTrack()->normalizedChi2() : 9999.);
134  booster.set("trkLayers", muon.innerTrack()->hitPattern().trackerLayersWithMeasurement());
135  booster.set("highPurity", muon.innerTrack()->quality(reco::Track::highPurity));
136 
137  return booster.predict();
138 }
float predict(const int iterationEnd=0)
Definition: XGBooster.cc:81
void fillMatchInfo(pat::XGBooster &booster, const pat::Muon &muon)
void set(std::string name, float value)
Definition: XGBooster.cc:79

◆ get_empty_cpv()

const reco::CandidatePtrVector & pat::get_empty_cpv ( )

Definition at line 4 of file PATObject.cc.

Referenced by pat::PATObject< reco::Muon >::overlaps().

4  {
5  static const reco::CandidatePtrVector EMPTY_CPV;
6  return EMPTY_CPV;
7  }

◆ get_empty_str()

const std::string & pat::get_empty_str ( )

Definition at line 9 of file PATObject.cc.

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by pat::PATObject< reco::Muon >::userDataObjectType().

9  {
10  static const std::string EMPTY_STR;
11  return EMPTY_STR;
12  }

◆ getMiniPFIsolation()

PFIsolation pat::getMiniPFIsolation ( const pat::PackedCandidateCollection pfcands,
const reco::Candidate::PolarLorentzVector p4,
float  mindr = 0.05,
float  maxdr = 0.2,
float  kt_scale = 10.0,
float  ptthresh = 0.5,
float  deadcone_ch = 0.0001,
float  deadcone_pu = 0.01,
float  deadcone_ph = 0.01,
float  deadcone_nh = 0.01,
float  dZ_cut = 0.0 
)

Definition at line 19 of file MiniIsolation.cc.

References funct::abs(), HLTMuonOfflineAnalyzer_cfi::deltaR2, isotracks_cff::fromPV, MTVHistoProducerAlgoForTrackerBlock_cfi::maxdr, MTVHistoProducerAlgoForTrackerBlock_cfi::mindr, miniIsoDr(), HLT_2024v14_cff::pfcands, displacedMuons_cfi::PFIsolation, and DiDispStaMuonMonitor_cfi::pt.

Referenced by pat::LeptonUpdater< T >::produce(), pat::PATElectronProducer::setElectronMiniIso(), and pat::PATMuonProducer::setMuonMiniIso().

29  {
30  float chiso = 0, nhiso = 0, phiso = 0, puiso = 0;
31  float drcut = miniIsoDr(p4, mindr, maxdr, kt_scale);
32  for (auto const &pc : *pfcands) {
33  float dr2 = deltaR2(p4, pc);
34  if (dr2 > drcut * drcut)
35  continue;
36  float pt = pc.p4().pt();
37  int id = pc.pdgId();
38  if (std::abs(id) == 211) {
39  bool fromPV = (pc.fromPV() > 1 || fabs(pc.dz()) < dZ_cut);
40  if (fromPV && dr2 > deadcone_ch * deadcone_ch) {
41  // if charged hadron and from primary vertex, add to charged hadron isolation
42  chiso += pt;
43  } else if (!fromPV && pt > ptthresh && dr2 > deadcone_pu * deadcone_pu) {
44  // if charged hadron and NOT from primary vertex, add to pileup isolation
45  puiso += pt;
46  }
47  }
48  // if neutral hadron, add to neutral hadron isolation
49  if (std::abs(id) == 130 && pt > ptthresh && dr2 > deadcone_nh * deadcone_nh)
50  nhiso += pt;
51  // if photon, add to photon isolation
52  if (std::abs(id) == 22 && pt > ptthresh && dr2 > deadcone_ph * deadcone_ph)
53  phiso += pt;
54  }
55 
56  return pat::PFIsolation(chiso, nhiso, phiso, puiso);
57  }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
float miniIsoDr(const reco::Candidate::PolarLorentzVector &p4, float mindr, float maxdr, float kt_scale)

◆ miniIsoDr()

float pat::miniIsoDr ( const reco::Candidate::PolarLorentzVector p4,
float  mindr,
float  maxdr,
float  kt_scale 
)

◆ muonRelMiniIsoPUCorrected()

double pat::muonRelMiniIsoPUCorrected ( const PFIsolation iso,
const reco::Candidate::PolarLorentzVector p4,
double  dr,
double  rho,
const std::vector< double > &  area 
)

Definition at line 59 of file MiniIsolation.cc.

References funct::abs(), custom_jme_cff::area, pfMETCorrectionType0_cfi::correction, genparticles_cff::iso, and SiStripPI::max.

Referenced by pat::PATMuonProducer::getRelMiniIsoPUCorrected().

63  {
64  double absEta = std::abs(p4.eta());
65  double ea = 0;
66  //Eta dependent effective area
67  if (absEta < 0.800)
68  ea = area.at(0);
69  else if (absEta < 1.300)
70  ea = area.at(1);
71  else if (absEta < 2.000)
72  ea = area.at(2);
73  else if (absEta < 2.200)
74  ea = area.at(3);
75  else if (absEta < 2.500)
76  ea = area.at(4);
77 
78  double correction = rho * ea * (dr / 0.3) * (dr / 0.3);
79  double correctedIso = iso.chargedHadronIso() + std::max(0.0, iso.neutralHadronIso() + iso.photonIso() - correction);
80  return correctedIso / p4.pt();
81  }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22

◆ operator &() [1/2]

strbitset pat::operator& ( const strbitset l,
const strbitset r 
)

Definition at line 7 of file strbitset.cc.

References MainPageGenerator::l, and runTheMatrix::ret.

7  {
8  strbitset ret = r;
9  ret &= l;
10  return ret;
11  }
ret
prodAgent to be discontinued
Implements a string-indexed bit_vector.

◆ operator &() [2/2]

strbitset pat::operator& ( const strbitset l,
const strbitset r 
)

Definition at line 7 of file strbitset.cc.

References MainPageGenerator::l, and runTheMatrix::ret.

7  {
8  strbitset ret = r;
9  ret &= l;
10  return ret;
11  }
ret
prodAgent to be discontinued
Implements a string-indexed bit_vector.

◆ operator<<()

std::ostream& pat::operator<< ( std::ostream &  out,
const strbitset::index_type r 
)

Definition at line 25 of file strbitset.cc.

References MillePedeFileConverter_cfg::out.

25  {
26  out << r.i_;
27  return out;
28  }

◆ operator^()

strbitset pat::operator^ ( const strbitset l,
const strbitset r 
)

Definition at line 19 of file strbitset.cc.

References MainPageGenerator::l, and runTheMatrix::ret.

19  {
20  strbitset ret = r;
21  ret ^= l;
22  return ret;
23  }
ret
prodAgent to be discontinued
Implements a string-indexed bit_vector.

◆ operator|()

strbitset pat::operator| ( const strbitset l,
const strbitset r 
)

Definition at line 13 of file strbitset.cc.

References MainPageGenerator::l, and runTheMatrix::ret.

13  {
14  strbitset ret = r;
15  ret |= l;
16  return ret;
17  }
ret
prodAgent to be discontinued
Implements a string-indexed bit_vector.

◆ throwMissingLabel()

void pat::throwMissingLabel ( const std::string &  what,
const std::string &  bad_label,
const std::vector< std::string > &  available 
)

Definition at line 7 of file throwMissingLabel.cc.

References Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by pat::PATObject< reco::Muon >::userFloat(), and pat::PATObject< reco::Muon >::userInt().

9  {
10  cms::Exception ex(std::string("Unknown") + what);
11  ex << "Requested " << what << " " << bad_label << " is not available! Possible " << what << "s are: " << std::endl;
12  for (const auto& name : available) {
13  ex << name << ' ';
14  }
15  throw ex;
16  }

Variable Documentation

◆ qualityMap

const int pat::qualityMap[8] = {1, 0, 1, 1, 4, 4, 5, 6}
static

conversion map from quality flags used in PV association and miniAOD one

Definition at line 37 of file PATPackedCandidateProducer.cc.

Referenced by pat::PATPackedCandidateProducer::produce().