CMS 3D CMS Logo

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

Namespaces

 eventhypothesis
 
 helper
 
 pat_statics
 
 tau
 

Classes

class  __class__
 
class  __class__Producer
 
class  BadPFCandidateJetsEEnoiseProducer
 
class  bJetSelector
 
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  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  HardEventHypothesis
 HardEventHypothesis is a pure virtual base class to implement a "hard" event hypothesis class. 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  JetSelector
 Selects good Jets. More...
 
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  MuonMvaEstimator
 
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  PackedGenParticle
 
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  SelectorByFlags
 
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
 Analysis-level HLTrigger path class. More...
 
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
 

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 edm::ValueMap< double > JetValueMap
 
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

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)
 
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

Definition at line 69 of file Jet.h.

Definition at line 76 of file Jet.h.

Definition at line 153 of file CandKinResolution.h.

Definition at line 154 of file CandKinResolution.h.

Definition at line 23 of file CompositeCandidate.h.

Definition at line 25 of file CompositeCandidate.h.

Definition at line 26 of file CompositeCandidate.h.

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

Definition at line 13 of file Conversion.h.

Definition at line 15 of file Conversion.h.

Definition at line 16 of file Conversion.h.

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

Definition at line 37 of file Electron.h.

Definition at line 39 of file CutApplicatorBase.h.

Definition at line 39 of file Electron.h.

Definition at line 40 of file Electron.h.

Definition at line 29 of file GenericParticle.h.

Definition at line 31 of file GenericParticle.h.

Definition at line 32 of file GenericParticle.h.

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

Definition at line 9 of file Hemisphere.h.

Definition at line 11 of file Hemisphere.h.

Definition at line 12 of file Hemisphere.h.

Definition at line 7 of file Isolation.h.

Definition at line 130 of file IsolatedTrack.h.

Definition at line 125 of file PATObjectSelector.h.

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

Definition at line 55 of file Jet.h.

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

Definition at line 77 of file Jet.h.

Definition at line 57 of file Jet.h.

Definition at line 58 of file Jet.h.

Definition at line 34 of file JetSelector.h.

Definition at line 72 of file Jet.h.

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

Pair to store decision and name of L1 seeds.

Definition at line 35 of file TriggerPath.h.

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

Collection of L1Seed.

Definition at line 37 of file TriggerPath.h.

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

Definition at line 31 of file MET.h.

Definition at line 33 of file MET.h.

Definition at line 34 of file MET.h.

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

Definition at line 41 of file MHT.h.

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

Definition at line 35 of file Muon.h.

Definition at line 41 of file CutApplicatorBase.h.

Definition at line 37 of file Muon.h.

Definition at line 130 of file PATObjectSelector.h.

Definition at line 38 of file Muon.h.

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.

Definition at line 1098 of file PackedCandidate.h.

Definition at line 18 of file PATMuonMerger.cc.

Definition at line 1099 of file PackedCandidate.h.

Definition at line 1100 of file PackedCandidate.h.

Definition at line 379 of file PackedGenParticle.h.

Definition at line 380 of file PackedGenParticle.h.

Definition at line 381 of file PackedGenParticle.h.

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

Definition at line 23 of file Particle.h.

Definition at line 25 of file Particle.h.

Definition at line 26 of file Particle.h.

Definition at line 18 of file PATObjectFilter.h.

Definition at line 120 of file PATObjectSelector.h.

Definition at line 66 of file PATObjectSelector.h.

Definition at line 5 of file PATCleaner.cc.

Definition at line 39 of file ElectronPFIsolationWithMapBasedVeto.cc.

Definition at line 80 of file PATObjectSelector.h.

Definition at line 38 of file PATObjectSelector.h.

Definition at line 11 of file PATCleaner.cc.

Definition at line 115 of file PATObjectSelector.h.

Definition at line 74 of file PATObjectSelector.h.

Definition at line 9 of file PATCleaner.cc.

Definition at line 100 of file PATObjectSelector.h.

Definition at line 10 of file PATCleaner.cc.

Definition at line 105 of file PATObjectSelector.h.

Definition at line 58 of file PATObjectSelector.h.

Definition at line 6 of file PATCleaner.cc.

Definition at line 85 of file PATObjectSelector.h.

Definition at line 42 of file PATObjectSelector.h.

Definition at line 12 of file PATCleaner.cc.

Definition at line 110 of file PATObjectSelector.h.

Definition at line 62 of file PATObjectSelector.h.

Definition at line 8 of file PATCleaner.cc.

Definition at line 37 of file PhotonPFIsolationWithMapBasedVeto.cc.

Definition at line 95 of file PATObjectSelector.h.

Definition at line 50 of file PATObjectSelector.h.

Definition at line 7 of file PATCleaner.cc.

Definition at line 10 of file PATTauDiscriminator.h.

Definition at line 23 of file PATTauDiscriminator.h.

Definition at line 24 of file PATTauDiscriminator.h.

Definition at line 25 of file PATTauDiscriminator.h.

Definition at line 22 of file PATTauDiscriminator.h.

Definition at line 90 of file PATObjectSelector.h.

Definition at line 46 of file PATObjectSelector.h.

Definition at line 60 of file PATTriggerMatchEmbedder.cc.

Definition at line 61 of file PATTriggerMatchEmbedder.cc.

Definition at line 62 of file PATTriggerMatchEmbedder.cc.

Definition at line 63 of file PATTriggerMatchEmbedder.cc.

Definition at line 64 of file PATTriggerMatchEmbedder.cc.

Definition at line 65 of file PATTriggerMatchEmbedder.cc.

Definition at line 70 of file PATObjectSelector.h.

Definition at line 75 of file Jet.h.

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

Definition at line 24 of file PFParticle.h.

Definition at line 26 of file PFParticle.h.

Definition at line 27 of file PFParticle.h.

Definition at line 73 of file Jet.h.

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

Definition at line 32 of file Photon.h.

Definition at line 40 of file CutApplicatorBase.h.

Definition at line 34 of file Photon.h.

Definition at line 35 of file Photon.h.

Definition at line 74 of file Jet.h.

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

Definition at line 37 of file Tau.h.

Definition at line 42 of file CutApplicatorBase.h.

Definition at line 39 of file Tau.h.

Definition at line 40 of file Tau.h.

Definition at line 41 of file Tau.h.

Collection of TriggerAlgorithm.

Definition at line 133 of file TriggerAlgorithm.h.

Persistent reference to an item in a TriggerAlgorithmCollection.

Definition at line 135 of file TriggerAlgorithm.h.

Persistent reference to a TriggerAlgorithmCollection product.

Definition at line 137 of file TriggerAlgorithm.h.

Vector of persistent references to items in the same TriggerAlgorithmCollection.

Definition at line 139 of file TriggerAlgorithm.h.

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

Definition at line 141 of file TriggerAlgorithm.h.

Collection of TriggerCondition.

Definition at line 109 of file TriggerCondition.h.

Persistent reference to an item in a TriggerConditionCollection.

Definition at line 111 of file TriggerCondition.h.

Persistent reference to a TriggerConditionCollection product.

Definition at line 113 of file TriggerCondition.h.

Vector of persistent references to items in the same TriggerConditionCollection.

Definition at line 115 of file TriggerCondition.h.

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

Definition at line 117 of file TriggerCondition.h.

Collection of TriggerFilter.

Definition at line 117 of file TriggerFilter.h.

Persistent reference to an item in a TriggerFilterCollection.

Definition at line 119 of file TriggerFilter.h.

Persistent reference to a TriggerFilterCollection product.

Definition at line 121 of file TriggerFilter.h.

Vector of persistent references to items in the same TriggerFilterCollection.

Definition at line 123 of file TriggerFilter.h.

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

Definition at line 125 of file TriggerFilter.h.

Collection of TriggerObject.

Definition at line 145 of file TriggerObject.h.

Association of TriggerObjects to store matches to Candidates.

Definition at line 157 of file TriggerObject.h.

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

Definition at line 161 of file TriggerObject.h.

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

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

Definition at line 149 of file TriggerObject.h.

Persistent reference to a TriggerObjectMatch product.

Definition at line 159 of file TriggerObject.h.

Persistent reference to an item in a TriggerObjectCollection.

Definition at line 147 of file TriggerObject.h.

Persistent reference to a TriggerObjectCollection product.

Definition at line 151 of file TriggerObject.h.

Vector of persistent references to items in the same TriggerObjectCollection.

Definition at line 153 of file TriggerObject.h.

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

Definition at line 155 of file TriggerObject.h.

Collection of TriggerObjectStandAlone.

Definition at line 192 of file TriggerObjectStandAlone.h.

Association of TriggerObjectStandAlones to store matches to Candidates.

Definition at line 202 of file TriggerObjectStandAlone.h.

Persistent reference to an item in a TriggerObjectStandAloneCollection.

Definition at line 194 of file TriggerObjectStandAlone.h.

Persistent reference to a TriggerObjectStandAloneCollection product.

Definition at line 196 of file TriggerObjectStandAlone.h.

Vector of persistent references to items in the same TriggerObjectStandAloneCollection.

Definition at line 198 of file TriggerObjectStandAlone.h.

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

Definition at line 200 of file TriggerObjectStandAlone.h.

typedef std::vector< TriggerPath > pat::TriggerPathCollection

Collection of TriggerPath.

Definition at line 153 of file TriggerPath.h.

Persistent reference to an item in a TriggerPathCollection.

Definition at line 155 of file TriggerPath.h.

Persistent reference to a TriggerPathCollection product.

Definition at line 157 of file TriggerPath.h.

Vector of persistent references to items in the same TriggerPathCollection.

Definition at line 159 of file TriggerPath.h.

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

Definition at line 161 of file TriggerPath.h.

Definition at line 84 of file UserData.h.

Enumeration Type Documentation

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.

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 32 of file ParticleCode.h.

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

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 18 of file ParticleCode.h.

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

Function Documentation

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(), reco::deltaR2(), isotracks_cff::fromPV, miniIsoDr(), muons2muons_cfi::PFIsolation, and EnergyCorrector::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 
58 }
double p4[4]
Definition: TauolaWrapper.h:92
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)
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:16
float pat::miniIsoDr ( const reco::Candidate::PolarLorentzVector p4,
float  mindr,
float  maxdr,
float  kt_scale 
)
double pat::muonRelMiniIsoPUCorrected ( const PFIsolation iso,
const reco::Candidate::PolarLorentzVector p4,
double  dr,
double  rho,
const std::vector< double > &  area 
)

Definition at line 60 of file MiniIsolation.cc.

References funct::abs(), pat::PFIsolation::chargedHadronIso(), SiStripPI::max, pat::PFIsolation::neutralHadronIso(), and pat::PFIsolation::photonIso().

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

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

Definition at line 9 of file strbitset.cc.

References checklumidiff::l, and alignCSCRings::r.

9  {
10  strbitset ret = r;
11  ret &= l;
12  return ret;
13  }
Implements a string-indexed bit_vector.
std::ostream& pat::operator<< ( std::ostream &  out,
const strbitset::index_type r 
)

Definition at line 27 of file strbitset.cc.

References pat::strbitset::index_type::i_, and MillePedeFileConverter_cfg::out.

27  {
28  out << r.i_;
29  return out;
30  }
strbitset pat::operator^ ( const strbitset l,
const strbitset r 
)

Definition at line 21 of file strbitset.cc.

References checklumidiff::l, and alignCSCRings::r.

21  {
22  strbitset ret = r;
23  ret ^= l;
24  return ret;
25  }
Implements a string-indexed bit_vector.
strbitset pat::operator| ( const strbitset l,
const strbitset r 
)

Definition at line 15 of file strbitset.cc.

References checklumidiff::l, and alignCSCRings::r.

15  {
16  strbitset ret = r;
17  ret |= l;
18  return ret;
19  }
Implements a string-indexed bit_vector.
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 dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

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

8  {
9  cms::Exception ex(std::string("Unknown")+what);
10  ex << "Requested " << what << " " << bad_label
11  << " 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

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().