Templated PAT object container. More...
#include "DataFormats/PatCandidates/interface/PATObject.h"
Public Types | |
typedef ObjectType | base_type |
Public Member Functions | |
void | addGenParticleRef (const reco::GenParticleRef &ref) |
void | addTriggerObjectMatch (const TriggerObjectStandAlone &trigObj) |
add a trigger match More... | |
void | addUserCand (const std::string &label, const reco::CandidatePtr &data, const bool overwrite=false) |
Set user-defined int. More... | |
template<typename T > | |
void | addUserData (const std::string &label, const T &data, bool transientOnly=false, bool overwrite=false) |
void | addUserDataFromPtr (const std::string &label, const edm::Ptr< pat::UserData > &data, bool overwrite=false) |
void | addUserFloat (const std::string &label, float data, const bool overwrite=false) |
Set user-defined float. More... | |
void | addUserInt (const std::string &label, int32_t data, const bool overwrite=false) |
Set user-defined int. More... | |
std::vector< std::pair< std::string, pat::LookupTableRecord > > | efficiencies () const |
Returns the efficiencies as <name,value> pairs (by value) More... | |
const pat::LookupTableRecord & | efficiency (const std::string &name) const |
Returns an efficiency given its name. More... | |
const std::vector< std::string > & | efficiencyNames () const |
Returns the list of the names of the stored efficiencies. More... | |
const std::vector< pat::LookupTableRecord > & | efficiencyValues () const |
Returns the list of the values of the stored efficiencies (the ordering is the same as in efficiencyNames()) More... | |
void | embedGenParticle () |
const reco::GenParticle * | genParticle (size_t idx=0) const |
reco::GenParticleRef | genParticleById (int pdgId, int status, uint8_t autoCharge=0) const |
reco::GenParticleRef | genParticleRef (size_t idx=0) const |
std::vector< reco::GenParticleRef > | genParticleRefs () const |
size_t | genParticlesSize () const |
Number of generator level particles stored as ref or embedded. More... | |
const pat::CandKinResolution & | getKinResolution (const std::string &label="") const |
bool | hasKinResolution (const std::string &label="") const |
Check if the kinematic resolutions are stored into this object (possibly specifying a label for them) More... | |
bool | hasOverlaps (const std::string &label) const |
Returns true if there was at least one overlap for this test label. More... | |
bool | hasUserCand (const std::string &key) const |
Return true if there is a user-defined int with a given name. More... | |
bool | hasUserData (const std::string &key) const |
Check if user data with a specific type is present. More... | |
bool | hasUserFloat (const std::string &key) const |
Return true if there is a user-defined float with a given name. More... | |
bool | hasUserFloat (const char *key) const |
a CINT-friendly interface More... | |
bool | hasUserInt (const std::string &key) const |
Return true if there is a user-defined int with a given name. More... | |
const reco::Candidate * | originalObject () const |
access to the original object; returns zero for null Ref and throws for unavailable collection More... | |
const edm::Ptr< reco::Candidate > & | originalObjectRef () const |
reference to original object. Returns a null reference if not available More... | |
const std::vector< std::string > & | overlapLabels () const |
Returns the labels of the overlap tests that found at least one overlap. More... | |
const reco::CandidatePtrVector & | overlaps (const std::string &label) const |
PATObject () | |
default constructor More... | |
PATObject (const ObjectType &obj) | |
constructor from a base object (leaves invalid reference to original object!) More... | |
PATObject (const edm::RefToBase< ObjectType > &ref) | |
constructor from reference More... | |
PATObject (const edm::Ptr< ObjectType > &ref) | |
constructor from reference More... | |
double | resolE (const std::string &label="") const |
Resolution on energy, possibly with a label to specify which resolution to use. More... | |
double | resolEt (const std::string &label="") const |
Resolution on et, possibly with a label to specify which resolution to use. More... | |
double | resolEta (const std::string &label="") const |
Resolution on eta, possibly with a label to specify which resolution to use. More... | |
double | resolM (const std::string &label="") const |
double | resolP (const std::string &label="") const |
Resolution on p, possibly with a label to specify which resolution to use. More... | |
double | resolPhi (const std::string &label="") const |
Resolution on phi, possibly with a label to specify which resolution to use. More... | |
double | resolPInv (const std::string &label="") const |
Resolution on 1/p, possibly with a label to specify which resolution to use. More... | |
double | resolPt (const std::string &label="") const |
Resolution on pt, possibly with a label to specify which resolution to use. More... | |
double | resolPx (const std::string &label="") const |
Resolution on px, possibly with a label to specify which resolution to use. More... | |
double | resolPy (const std::string &label="") const |
Resolution on py, possibly with a label to specify which resolution to use. More... | |
double | resolPz (const std::string &label="") const |
Resolution on pz, possibly with a label to specify which resolution to use. More... | |
double | resolTheta (const std::string &label="") const |
Resolution on theta, possibly with a label to specify which resolution to use. More... | |
void | setEfficiency (const std::string &name, const pat::LookupTableRecord &value) |
void | setGenParticle (const reco::GenParticle &particle) |
Set the generator level particle from a particle not in the Event (embedding it, of course) More... | |
void | setGenParticleRef (const reco::GenParticleRef &ref, bool embed=false) |
Set the generator level particle reference. More... | |
void | setKinResolution (const pat::CandKinResolution &resol, const std::string &label="") |
Add a kinematic resolution to this object (possibly with a label) More... | |
void | setOverlaps (const std::string &label, const reco::CandidatePtrVector &overlaps) |
const TriggerObjectStandAlone * | triggerObjectMatch (const size_t idx=0) const |
get one matched trigger object by index More... | |
const TriggerObjectStandAlone * | triggerObjectMatchByAlgorithm (const std::string &nameAlgorithm, const bool algoCondAccepted=true, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByAlgorithm (const char *nameAlgorithm, const bool algoCondAccepted=true, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByAlgorithm (const std::string &nameAlgorithm, const unsigned algoCondAccepted, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByAlgorithm (const char *nameAlgorithm, const unsigned algoCondAccepted, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByCollection (const std::string &coll, const size_t idx=0) const |
get one matched trigger object from a certain collection by index More... | |
const TriggerObjectStandAlone * | triggerObjectMatchByCollection (const char *coll, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByCondition (const std::string &nameCondition, const size_t idx=0) const |
get one matched L1 object used in a succeeding object combination of a certain L1 condition by index More... | |
const TriggerObjectStandAlone * | triggerObjectMatchByCondition (const char *nameCondition, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByFilter (const std::string &labelFilter, const size_t idx=0) const |
get one matched HLT object used in a certain HLT filter by index More... | |
const TriggerObjectStandAlone * | triggerObjectMatchByFilter (const char *labelFilter, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByFilterID (const unsigned triggerObjectType, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByPath (const std::string &namePath, const bool pathLastFilterAccepted=false, const bool pathL3FilterAccepted=true, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByPath (const char *namePath, const bool pathLastFilterAccepted=false, const bool pathL3FilterAccepted=true, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByPath (const std::string &namePath, const unsigned pathLastFilterAccepted, const unsigned pathL3FilterAccepted=1, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByPath (const char *namePath, const unsigned pathLastFilterAccepted, const unsigned pathL3FilterAccepted=1, const size_t idx=0) const |
const TriggerObjectStandAlone * | triggerObjectMatchByType (const trigger::TriggerObjectType triggerObjectType, const size_t idx=0) const |
get one matched trigger object of a certain type by index More... | |
const TriggerObjectStandAlone * | triggerObjectMatchByType (const unsigned triggerObjectType, const size_t idx=0) const |
const TriggerObjectStandAloneCollection & | triggerObjectMatches () const |
get all matched trigger objects More... | |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByAlgorithm (const std::string &nameAlgorithm, const bool algoCondAccepted=true) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByAlgorithm (const char *nameAlgorithm, const bool algoCondAccepted=true) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByAlgorithm (const std::string &nameAlgorithm, const unsigned algoCondAccepted) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByAlgorithm (const char *nameAlgorithm, const unsigned algoCondAccepted) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByCollection (const std::string &coll) const |
get all matched trigger objects from a certain collection More... | |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByCollection (const char *coll) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByCondition (const std::string &nameCondition) const |
get all matched L1 objects used in a succeeding object combination of a certain L1 condition More... | |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByCondition (const char *nameCondition) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByFilter (const std::string &labelFilter) const |
get all matched HLT objects used in a certain HLT filter More... | |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByFilter (const char *labelFilter) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByFilterID (const unsigned triggerObjectType) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByPath (const std::string &namePath, const bool pathLastFilterAccepted=false, const bool pathL3FilterAccepted=true) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByPath (const char *namePath, const bool pathLastFilterAccepted=false, const bool pathL3FilterAccepted=true) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByPath (const std::string &namePath, const unsigned pathLastFilterAccepted, const unsigned pathL3FilterAccepted=1) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByPath (const char *namePath, const unsigned pathLastFilterAccepted, const unsigned pathL3FilterAccepted=1) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByType (const trigger::TriggerObjectType triggerObjectType) const |
const TriggerObjectStandAloneCollection | triggerObjectMatchesByType (const unsigned triggerObjectType) const |
void | unpackTriggerObjectPathNames (const edm::TriggerNames &names) |
unpack path names of matched trigger objects (if they were packed before embedding, which is not normally the case) More... | |
reco::CandidatePtr | userCand (const std::string &key) const |
const std::vector< std::string > & | userCandNames () const |
Get list of user-defined cand names. More... | |
template<typename T > | |
const T * | userData (const std::string &key) const |
Returns user-defined data. Returns NULL if the data is not present, or not of type T. More... | |
const void * | userDataBare (const std::string &key) const |
const std::vector< std::string > & | userDataNames () const |
Get list of user data object names. More... | |
const std::string & | userDataObjectType (const std::string &key) const |
Get human-readable type of user data object, for debugging. More... | |
float | userFloat (const std::string &key) const |
float | userFloat (const char *key) const |
a CINT-friendly interface More... | |
const std::vector< std::string > & | userFloatNames () const |
Get list of user-defined float names. More... | |
std::vector< float > | userFloatRange (const std::string &key) const |
return a range of values corresponding to key More... | |
int32_t | userInt (const std::string &key) const |
const std::vector< std::string > & | userIntNames () const |
Get list of user-defined int names. More... | |
std::vector< int > | userIntRange (const std::string &key) const |
returns a range of values corresponding to key More... | |
~PATObject () override | |
destructor More... | |
Protected Member Functions | |
void | addUserDataObject_ (const std::string &label, std::unique_ptr< pat::UserData > value, bool overwrite=false) |
Protected Attributes | |
std::vector< std::string > | efficiencyNames_ |
vector of the efficiencies (names) More... | |
std::vector< pat::LookupTableRecord > | efficiencyValues_ |
vector of the efficiencies (values) More... | |
std::vector< reco::GenParticle > | genParticleEmbedded_ |
vector to hold an embedded generator level particle More... | |
std::vector< reco::GenParticleRef > | genParticleRef_ |
Reference to a generator level particle. More... | |
std::vector< std::string > | kinResolutionLabels_ |
std::vector< pat::CandKinResolution > | kinResolutions_ |
Kinematic resolutions. More... | |
std::vector< reco::CandidatePtrVector > | overlapItems_ |
Overlapping items (sorted by distance) More... | |
std::vector< std::string > | overlapLabels_ |
Overlapping test labels (only if there are any overlaps) More... | |
edm::Ptr< reco::Candidate > | refToOrig_ |
TriggerObjectStandAloneCollection | triggerObjectMatchesEmbedded_ |
vector of trigger matches More... | |
std::vector< std::string > | userCandLabels_ |
std::vector< reco::CandidatePtr > | userCands_ |
std::vector< std::string > | userDataLabels_ |
User data object. More... | |
pat::UserDataCollection | userDataObjects_ |
std::vector< std::string > | userFloatLabels_ |
std::vector< float > | userFloats_ |
std::vector< std::string > | userIntLabels_ |
std::vector< int32_t > | userInts_ |
Private Member Functions | |
const pat::UserData * | userDataObject_ (const std::string &key) const |
Templated PAT object container.
PATObject is the templated base PAT object that wraps around reco objects.
Please post comments and questions to the Physics Tools hypernews: https://hypernews.cern.ch/HyperNews/CMS/get/physTools.html
Definition at line 49 of file PATObject.h.
typedef ObjectType pat::PATObject< ObjectType >::base_type |
Definition at line 52 of file PATObject.h.
pat::PATObject< ObjectType >::PATObject | ( | ) |
pat::PATObject< ObjectType >::PATObject | ( | const ObjectType & | obj | ) |
constructor from a base object (leaves invalid reference to original object!)
Definition at line 470 of file PATObject.h.
pat::PATObject< ObjectType >::PATObject | ( | const edm::RefToBase< ObjectType > & | ref | ) |
constructor from reference
Definition at line 475 of file PATObject.h.
pat::PATObject< ObjectType >::PATObject | ( | const edm::Ptr< ObjectType > & | ref | ) |
|
inlineoverride |
void pat::PATObject< ObjectType >::addGenParticleRef | ( | const reco::GenParticleRef & | ref | ) |
Add a generator level particle reference If there is already an embedded particle, this ref will be embedded too
Definition at line 678 of file PATObject.h.
References pat::PATObject< ObjectType >::genParticleEmbedded_, pat::PATObject< ObjectType >::genParticleRef_, and edm::Ref< C, T, F >::isNonnull().
Referenced by pat::PATElectronProducer::fillElectron(), pat::PATElectronProducer::fillElectron2(), pat::PATMuonProducer::fillMuon(), pat::PATGenericParticleProducer::produce(), pat::PATPFParticleProducer::produce(), pat::PATTauProducer::produce(), and pat::PATPhotonProducer::produce().
|
inline |
add a trigger match
Definition at line 204 of file PATObject.h.
Referenced by pat::PATMuonProducer::fillHltTriggerInfo(), and pat::PATMuonProducer::fillL1TriggerInfo().
void pat::PATObject< ObjectType >::addUserCand | ( | const std::string & | label, |
const reco::CandidatePtr & | data, | ||
const bool | overwrite = false |
||
) |
Set user-defined int.
Definition at line 884 of file PATObject.h.
References data, SoftLeptonByDistance_cfi::distance, label, pat::PATObject< ObjectType >::userCandLabels_, and pat::PATObject< ObjectType >::userCands_.
|
inline |
Set user-defined data Needs dictionaries for T and for pat::UserHolder<T>, and it will throw exception if they're missing, unless transientOnly is set to true
Definition at line 309 of file PATObject.h.
Referenced by OniaPhotonConversionProducer::makePhotonCandidate(), OniaAddV0TracksProducer::produce(), Onia2MuMuPAT::produce(), and BPHWriteSpecificDecay::write().
|
inline |
Set user-defined data. To be used only to fill from ValueMap<Ptr<UserData>> Do not use unless you know what you are doing.
Definition at line 316 of file PATObject.h.
|
protected |
Definition at line 773 of file PATObject.h.
References edm::OwnVector< T, P >::begin(), SoftLeptonByDistance_cfi::distance, edm::OwnVector< T, P >::insert(), label, eostools::move(), edm::OwnVector< T, P >::set(), pat::PATObject< ObjectType >::userDataLabels_, and pat::PATObject< ObjectType >::userDataObjects_.
void pat::PATObject< ObjectType >::addUserFloat | ( | const std::string & | label, |
float | data, | ||
const bool | overwrite = false |
||
) |
Set user-defined float.
Definition at line 813 of file PATObject.h.
References data, SoftLeptonByDistance_cfi::distance, label, pat::PATObject< ObjectType >::userFloatLabels_, and pat::PATObject< ObjectType >::userFloats_.
Referenced by ZeeCandidateFilter::filter(), EGEtScaleSysModifier::modifyObject(), ZMuMuTrackUserData::produce(), ZMuMuMuonUserData::produce(), pat::PATPhotonSlimmer::produce(), ZMuMuUserData::produce(), ZMuMuUserDataOneTrack::produce(), Onia2MuMuPAT::produce(), PatJPsiProducer::produce(), and BPHWriteSpecificDecay::write().
void pat::PATObject< ObjectType >::addUserInt | ( | const std::string & | label, |
int32_t | data, | ||
const bool | overwrite = false |
||
) |
Set user-defined int.
Definition at line 855 of file PATObject.h.
References data, SoftLeptonByDistance_cfi::distance, label, pat::PATObject< ObjectType >::userIntLabels_, and pat::PATObject< ObjectType >::userInts_.
Referenced by ZeeCandidateFilter::filter(), and Onia2MuMuPAT::produce().
std::vector< std::pair< std::string, pat::LookupTableRecord > > pat::PATObject< ObjectType >::efficiencies | ( | ) | const |
Returns the efficiencies as <name,value> pairs (by value)
Definition at line 644 of file PATObject.h.
References pat::PATObject< ObjectType >::efficiencyNames_, and pat::PATObject< ObjectType >::efficiencyValues_.
const pat::LookupTableRecord & pat::PATObject< ObjectType >::efficiency | ( | const std::string & | name | ) | const |
Returns an efficiency given its name.
Definition at line 633 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, pat::PATObject< ObjectType >::efficiencyNames_, pat::PATObject< ObjectType >::efficiencyValues_, Exception, and dataset::name.
|
inline |
Returns the list of the names of the stored efficiencies.
Definition at line 215 of file PATObject.h.
|
inline |
Returns the list of the values of the stored efficiencies (the ordering is the same as in efficiencyNames())
Definition at line 217 of file PATObject.h.
void pat::PATObject< ObjectType >::embedGenParticle | ( | ) |
Embed the generator level particle(s) in this PATObject Note that generator level particles can only be all embedded or all not embedded.
Definition at line 694 of file PATObject.h.
References pat::PATObject< ObjectType >::genParticleEmbedded_, and pat::PATObject< ObjectType >::genParticleRef_.
Referenced by pat::PATElectronProducer::fillElectron(), pat::PATElectronProducer::fillElectron2(), pat::PATMuonProducer::fillMuon(), Onia2MuMuPAT::produce(), pat::PATGenericParticleProducer::produce(), pat::PATPFParticleProducer::produce(), pat::PATTauProducer::produce(), pat::PATPhotonProducer::produce(), and pat::PATObject< ObjectType >::setGenParticleRef().
|
inline |
Get generator level particle, as C++ pointer (might be 0 if the ref was null) If you stored multiple GenParticles, you can specify which one you want.
Definition at line 244 of file PATObject.h.
Referenced by gamma_radiative_analyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), EmbeddingLHEProducer::assign_4vector(), and pat::Lepton< reco::Muon >::genLepton().
reco::GenParticleRef pat::PATObject< ObjectType >::genParticleById | ( | int | pdgId, |
int | status, | ||
uint8_t | autoCharge = 0 |
||
) | const |
Get a generator level particle reference with a given pdg id and status If there is no MC match with that pdgId and status, it will return a null ref Note: this might be a transient ref if the genParticle was embedded If status == 0, only the pdgId will be checked; likewise, if pdgId == 0, only the status will be checked. When autoCharge is set to true, and a charged reco particle is matched to a charged gen particle, positive pdgId means 'same charge', negative pdgId means 'opposite charge'; for example, electron.genParticleById(11,0,true) will get an e^+ matched to e^+ or e^- matched to e^-, while genParticleById(-15,0,true) will get e^+ matched to e^- or vice versa. If a neutral reco particle is matched to a charged gen particle, the sign of the pdgId passed to getParticleById must match that of the gen particle; for example photon.getParticleById(11) will match gamma to e^-, while genParticleById(-11) will match gamma to e^+ (pdgId=-11)
Definition at line 713 of file PATObject.h.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, reco::LeafCandidate::charge(), end, g, pat::PATObject< ObjectType >::genParticleEmbedded_, pat::PATObject< ObjectType >::genParticleRef_, pat::PATObject< ObjectType >::genParticleRefs(), reco::LeafCandidate::pdgId(), mps_update::status, and reco::LeafCandidate::status().
|
inline |
Get generator level particle reference (might be a transient ref if the genParticle was embedded) If you stored multiple GenParticles, you can specify which one you want.
Definition at line 225 of file PATObject.h.
Referenced by DimuonStatistics::analyze(), and DimuonMCMatcher::produce().
std::vector< reco::GenParticleRef > pat::PATObject< ObjectType >::genParticleRefs | ( | ) | const |
Return the list of generator level particles. Note that the refs can be transient refs to embedded GenParticles
Definition at line 703 of file PATObject.h.
References pat::PATObject< ObjectType >::genParticleEmbedded_, pat::PATObject< ObjectType >::genParticleRef_, mps_fire::i, and gen::n.
Referenced by pat::PATObject< ObjectType >::genParticleById(), and getGenTau().
|
inline |
Number of generator level particles stored as ref or embedded.
Definition at line 249 of file PATObject.h.
const pat::CandKinResolution & pat::PATObject< ObjectType >::getKinResolution | ( | const std::string & | label = "" | ) | const |
Return the kinematic resolutions associated to this object, possibly specifying a label for it. If not present, it will throw an exception.
Definition at line 903 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, Exception, pat::PATObject< ObjectType >::kinResolutionLabels_, pat::PATObject< ObjectType >::kinResolutions_, label, and match().
bool pat::PATObject< ObjectType >::hasKinResolution | ( | const std::string & | label = "" | ) | const |
Check if the kinematic resolutions are stored into this object (possibly specifying a label for them)
Definition at line 931 of file PATObject.h.
References pat::PATObject< ObjectType >::kinResolutionLabels_, pat::PATObject< ObjectType >::kinResolutions_, label, and match().
bool pat::PATObject< ObjectType >::hasOverlaps | ( | const std::string & | label | ) | const |
Returns true if there was at least one overlap for this test label.
Definition at line 736 of file PATObject.h.
References label, match(), and pat::PATObject< ObjectType >::overlapLabels_.
|
inline |
Return true if there is a user-defined int with a given name.
Definition at line 364 of file PATObject.h.
|
inline |
Check if user data with a specific type is present.
Definition at line 286 of file PATObject.h.
Referenced by BPHUserData::getByRef().
|
inline |
Return true if there is a user-defined float with a given name.
Definition at line 334 of file PATObject.h.
Referenced by BPHFittedBasicSelect::accept(), WenuPlots::analyze(), BPHHistoSpecificDecay::endJob(), PFJetIDSelectionFunctor::firstDataCuts(), and Jet.Jet::puMva().
|
inline |
a CINT-friendly interface
Definition at line 339 of file PATObject.h.
Referenced by pat::PATObject< reco::Muon >::hasUserFloat(), and Jet.Jet::puMva().
|
inline |
Return true if there is a user-defined int with a given name.
Definition at line 351 of file PATObject.h.
Referenced by WenuPlots::analyze(), WenuPlots::PassPreselectionCriteria(), ZeePlots::PassPreselectionCriteria1(), and ZeePlots::PassPreselectionCriteria2().
const reco::Candidate * pat::PATObject< ObjectType >::originalObject | ( | ) | const |
access to the original object; returns zero for null Ref and throws for unavailable collection
Definition at line 487 of file PATObject.h.
References Exception, edm::Ptr< T >::get(), edm::Ptr< T >::isAvailable(), edm::Ptr< T >::isNull(), edm::errors::ProductNotFound, and pat::PATObject< ObjectType >::refToOrig_.
Referenced by hitfit::JetTranslatorBase< AJet >::CheckEta(), and hitfit::JetTranslatorBase< AJet >::operator()().
const edm::Ptr< reco::Candidate > & pat::PATObject< ObjectType >::originalObjectRef | ( | ) | const |
reference to original object. Returns a null reference if not available
Definition at line 500 of file PATObject.h.
References pat::PATObject< ObjectType >::refToOrig_.
Referenced by heppy::CMGMuonCleanerBySegmentsAlgo::isSameMuon(), modules::MuonCleanerBySegmentsT< T >::isSameMuon(), TemplatedSecondaryVertexProducer< IPTI, VTX >::matchSubjets(), EGFull5x5ShowerShapeModifierFromValueMaps::modifyObject(), EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), FindCorrectedSubjet::operator()(), and SoftPFMuonTagInfoProducer::produce().
|
inline |
Returns the labels of the overlap tests that found at least one overlap.
Definition at line 273 of file PATObject.h.
const reco::CandidatePtrVector & pat::PATObject< ObjectType >::overlaps | ( | const std::string & | label | ) | const |
Return the list of overlaps for one label (can be empty) The original ordering of items is kept (usually it's by increasing deltaR from this item)
Definition at line 742 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, pat::pat_statics::EMPTY_CPV, label, match(), pat::PATObject< ObjectType >::overlapItems_, and pat::PATObject< ObjectType >::overlapLabels_.
Referenced by pat::PATObject< ObjectType >::setOverlaps().
|
inline |
Resolution on energy, possibly with a label to specify which resolution to use.
Definition at line 390 of file PATObject.h.
|
inline |
Resolution on et, possibly with a label to specify which resolution to use.
Definition at line 393 of file PATObject.h.
|
inline |
Resolution on eta, possibly with a label to specify which resolution to use.
Definition at line 381 of file PATObject.h.
|
inline |
Resolution on mass, possibly with a label to specify which resolution to use Note: this will be zero if a mass-constrained parametrization is used for this object
Definition at line 415 of file PATObject.h.
|
inline |
Resolution on p, possibly with a label to specify which resolution to use.
Definition at line 396 of file PATObject.h.
|
inline |
Resolution on phi, possibly with a label to specify which resolution to use.
Definition at line 387 of file PATObject.h.
|
inline |
Resolution on 1/p, possibly with a label to specify which resolution to use.
Definition at line 402 of file PATObject.h.
|
inline |
Resolution on pt, possibly with a label to specify which resolution to use.
Definition at line 399 of file PATObject.h.
|
inline |
Resolution on px, possibly with a label to specify which resolution to use.
Definition at line 405 of file PATObject.h.
|
inline |
Resolution on py, possibly with a label to specify which resolution to use.
Definition at line 408 of file PATObject.h.
|
inline |
Resolution on pz, possibly with a label to specify which resolution to use.
Definition at line 411 of file PATObject.h.
|
inline |
Resolution on theta, possibly with a label to specify which resolution to use.
Definition at line 384 of file PATObject.h.
void pat::PATObject< ObjectType >::setEfficiency | ( | const std::string & | name, |
const pat::LookupTableRecord & | value | ||
) |
Store one efficiency in this item, in addition to the existing ones If an efficiency with the same name exists, the old value is replaced by this one Calling this method many times with names not sorted alphabetically will be slow
Definition at line 655 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, pat::PATObject< ObjectType >::efficiencyNames_, pat::PATObject< ObjectType >::efficiencyValues_, edm::eventsetup::heterocontainer::insert(), dataset::name, and relativeConstraints::value.
Referenced by pat::helper::EfficiencyLoader::setEfficiencies().
void pat::PATObject< ObjectType >::setGenParticle | ( | const reco::GenParticle & | particle | ) |
Set the generator level particle from a particle not in the Event (embedding it, of course)
Definition at line 687 of file PATObject.h.
References pat::PATObject< ObjectType >::genParticleEmbedded_, and pat::PATObject< ObjectType >::genParticleRef_.
void pat::PATObject< ObjectType >::setGenParticleRef | ( | const reco::GenParticleRef & | ref, |
bool | embed = false |
||
) |
Set the generator level particle reference.
Definition at line 671 of file PATObject.h.
References pat::PATObject< ObjectType >::embedGenParticle(), pat::PATObject< ObjectType >::genParticleEmbedded_, and pat::PATObject< ObjectType >::genParticleRef_.
Referenced by Onia2MuMuPAT::produce(), and pat::Lepton< reco::Muon >::setGenLepton().
void pat::PATObject< ObjectType >::setKinResolution | ( | const pat::CandKinResolution & | resol, |
const std::string & | label = "" |
||
) |
Add a kinematic resolution to this object (possibly with a label)
Definition at line 941 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, pat::PATObject< ObjectType >::kinResolutionLabels_, pat::PATObject< ObjectType >::kinResolutions_, label, and match().
Referenced by pat::helper::KinResolutionsLoader::setResolutions().
void pat::PATObject< ObjectType >::setOverlaps | ( | const std::string & | label, |
const reco::CandidatePtrVector & | overlaps | ||
) |
Sets the list of overlapping items for one label Note that adding an empty PtrVector has no effect at all Items within the list should already be sorted appropriately (this method won't sort them)
Definition at line 750 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, label, match(), pat::PATObject< ObjectType >::overlapItems_, pat::PATObject< ObjectType >::overlapLabels_, and pat::PATObject< ObjectType >::overlaps().
const TriggerObjectStandAlone * pat::PATObject< ObjectType >::triggerObjectMatch | ( | const size_t | idx = 0 | ) | const |
get one matched trigger object by index
Definition at line 503 of file PATObject.h.
References edm::Ref< C, T, F >::get(), edm::Ref< C, T, F >::isNonnull(), findQualityFiles::size, pat::PATObject< ObjectType >::triggerObjectMatches(), and pat::PATObject< ObjectType >::triggerObjectMatchesEmbedded_.
Referenced by pat::PATObject< ObjectType >::triggerObjectMatchByAlgorithm(), pat::PATObject< ObjectType >::triggerObjectMatchByCollection(), pat::PATObject< ObjectType >::triggerObjectMatchByCondition(), pat::PATObject< ObjectType >::triggerObjectMatchByFilter(), pat::PATObject< ObjectType >::triggerObjectMatchByPath(), pat::PATObject< ObjectType >::triggerObjectMatchByType(), pat::PATObject< ObjectType >::triggerObjectMatchesByAlgorithm(), pat::PATObject< ObjectType >::triggerObjectMatchesByCollection(), pat::PATObject< ObjectType >::triggerObjectMatchesByCondition(), pat::PATObject< ObjectType >::triggerObjectMatchesByFilter(), pat::PATObject< ObjectType >::triggerObjectMatchesByPath(), and pat::PATObject< ObjectType >::triggerObjectMatchesByType().
const TriggerObjectStandAlone * pat::PATObject< ObjectType >::triggerObjectMatchByAlgorithm | ( | const std::string & | nameAlgorithm, |
const bool | algoCondAccepted = true , |
||
const size_t | idx = 0 |
||
) | const |
get one matched L1 object used in a succeeding object combination of a condition in a certain L1 (physics) algorithm by index; if 'algoCondAccepted' is set to 'true' (default), only objects used in succeeding conditions of succeeding algorithms are considered ("firing" objects)
Definition at line 581 of file PATObject.h.
References pat::TriggerObjectStandAlone::hasAlgorithmName(), mps_fire::i, edm::Ref< C, T, F >::isNonnull(), pat::PATObject< ObjectType >::triggerObjectMatch(), pat::PATObject< ObjectType >::triggerObjectMatches(), and pat::PATObject< ObjectType >::triggerObjectMatchesEmbedded_.
|
inline |
Definition at line 144 of file PATObject.h.
|
inline |
Definition at line 148 of file PATObject.h.
|
inline |
Definition at line 152 of file PATObject.h.
const TriggerObjectStandAlone * pat::PATObject< ObjectType >::triggerObjectMatchByCollection | ( | const std::string & | coll, |
const size_t | idx = 0 |
||
) | const |
get one matched trigger object from a certain collection by index
Definition at line 539 of file PATObject.h.
References pat::TriggerObjectStandAlone::hasCollection(), mps_fire::i, edm::Ref< C, T, F >::isNonnull(), pat::PATObject< ObjectType >::triggerObjectMatch(), pat::PATObject< ObjectType >::triggerObjectMatches(), and pat::PATObject< ObjectType >::triggerObjectMatchesEmbedded_.
|
inline |
Definition at line 108 of file PATObject.h.
const TriggerObjectStandAlone * pat::PATObject< ObjectType >::triggerObjectMatchByCondition | ( | const std::string & | nameCondition, |
const size_t | idx = 0 |
||
) | const |
get one matched L1 object used in a succeeding object combination of a certain L1 condition by index
Definition at line 561 of file PATObject.h.
References pat::TriggerObjectStandAlone::hasConditionName(), mps_fire::i, edm::Ref< C, T, F >::isNonnull(), pat::PATObject< ObjectType >::triggerObjectMatch(), pat::PATObject< ObjectType >::triggerObjectMatches(), and pat::PATObject< ObjectType >::triggerObjectMatchesEmbedded_.
|
inline |
Definition at line 120 of file PATObject.h.
const TriggerObjectStandAlone * pat::PATObject< ObjectType >::triggerObjectMatchByFilter | ( | const std::string & | labelFilter, |
const size_t | idx = 0 |
||
) | const |
get one matched HLT object used in a certain HLT filter by index
Definition at line 601 of file PATObject.h.
References pat::TriggerObjectStandAlone::hasFilterLabel(), mps_fire::i, edm::Ref< C, T, F >::isNonnull(), pat::PATObject< ObjectType >::triggerObjectMatch(), pat::PATObject< ObjectType >::triggerObjectMatches(), and pat::PATObject< ObjectType >::triggerObjectMatchesEmbedded_.
|
inline |
Definition at line 164 of file PATObject.h.
|
inline |
Definition at line 96 of file PATObject.h.
const TriggerObjectStandAlone * pat::PATObject< ObjectType >::triggerObjectMatchByPath | ( | const std::string & | namePath, |
const bool | pathLastFilterAccepted = false , |
||
const bool | pathL3FilterAccepted = true , |
||
const size_t | idx = 0 |
||
) | const |
get one matched HLT object used in a certain HLT path by index; if 'pathLastFilterAccepted' is set to 'true' (default), only objects used in the final filter of a succeeding path are considered ("firing" objects, old style only valid for single object triggers); if 'pathL3FilterAccepted' is set to 'true' (default), only objects used in L3 filters (identified by the "saveTags" parameter being 'true') of a succeeding path are considered ("firing" objects also valid for x-triggers)
Definition at line 621 of file PATObject.h.
References pat::TriggerObjectStandAlone::hasPathName(), mps_fire::i, edm::Ref< C, T, F >::isNonnull(), pat::PATObject< ObjectType >::triggerObjectMatch(), pat::PATObject< ObjectType >::triggerObjectMatches(), and pat::PATObject< ObjectType >::triggerObjectMatchesEmbedded_.
|
inline |
Definition at line 192 of file PATObject.h.
|
inline |
Definition at line 196 of file PATObject.h.
|
inline |
Definition at line 200 of file PATObject.h.
const TriggerObjectStandAlone * pat::PATObject< ObjectType >::triggerObjectMatchByType | ( | const trigger::TriggerObjectType | triggerObjectType, |
const size_t | idx = 0 |
||
) | const |
get one matched trigger object of a certain type by index
Definition at line 519 of file PATObject.h.
References pat::TriggerObject::hasTriggerObjectType(), mps_fire::i, edm::Ref< C, T, F >::isNonnull(), pat::PATObject< ObjectType >::triggerObjectMatch(), pat::PATObject< ObjectType >::triggerObjectMatches(), and pat::PATObject< ObjectType >::triggerObjectMatchesEmbedded_.
|
inline |
Definition at line 92 of file PATObject.h.
|
inline |
get all matched trigger objects
access to embedded trigger matches: duplicated functions using 'char*' instead of 'std::string' are needed in order to work properly in CINT command lines; duplicated functions using 'unsigned' instead of 'bool' are needed in order to work properly in the cut string parser;
Definition at line 77 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::triggerObjectMatch(), pat::PATObject< ObjectType >::triggerObjectMatchByAlgorithm(), pat::PATObject< ObjectType >::triggerObjectMatchByCollection(), pat::PATObject< ObjectType >::triggerObjectMatchByCondition(), pat::PATObject< ObjectType >::triggerObjectMatchByFilter(), pat::PATObject< ObjectType >::triggerObjectMatchByPath(), pat::PATObject< ObjectType >::triggerObjectMatchByType(), pat::PATObject< ObjectType >::triggerObjectMatchesByAlgorithm(), pat::PATObject< ObjectType >::triggerObjectMatchesByCollection(), pat::PATObject< ObjectType >::triggerObjectMatchesByCondition(), pat::PATObject< ObjectType >::triggerObjectMatchesByFilter(), pat::PATObject< ObjectType >::triggerObjectMatchesByPath(), and pat::PATObject< ObjectType >::triggerObjectMatchesByType().
const TriggerObjectStandAloneCollection pat::PATObject< ObjectType >::triggerObjectMatchesByAlgorithm | ( | const std::string & | nameAlgorithm, |
const bool | algoCondAccepted = true |
||
) | const |
get all matched L1 objects used in a succeeding object combination of a condition in a certain L1 (physics) algorithm; if 'algoCondAccepted' is set to 'true' (default), only objects used in succeeding conditions of succeeding algorithms are considered ("firing" objects)
Definition at line 572 of file PATObject.h.
References pat::TriggerObjectStandAlone::hasAlgorithmName(), mps_fire::i, patRefSel_triggerMatching_cfi::matches, pat::PATObject< ObjectType >::triggerObjectMatch(), and pat::PATObject< ObjectType >::triggerObjectMatches().
|
inline |
Definition at line 128 of file PATObject.h.
|
inline |
Definition at line 132 of file PATObject.h.
|
inline |
Definition at line 136 of file PATObject.h.
const TriggerObjectStandAloneCollection pat::PATObject< ObjectType >::triggerObjectMatchesByCollection | ( | const std::string & | coll | ) | const |
get all matched trigger objects from a certain collection
Definition at line 530 of file PATObject.h.
References pat::TriggerObjectStandAlone::hasCollection(), mps_fire::i, patRefSel_triggerMatching_cfi::matches, pat::PATObject< ObjectType >::triggerObjectMatch(), and pat::PATObject< ObjectType >::triggerObjectMatches().
|
inline |
Definition at line 102 of file PATObject.h.
const TriggerObjectStandAloneCollection pat::PATObject< ObjectType >::triggerObjectMatchesByCondition | ( | const std::string & | nameCondition | ) | const |
get all matched L1 objects used in a succeeding object combination of a certain L1 condition
Definition at line 552 of file PATObject.h.
References pat::TriggerObjectStandAlone::hasConditionName(), mps_fire::i, patRefSel_triggerMatching_cfi::matches, pat::PATObject< ObjectType >::triggerObjectMatch(), and pat::PATObject< ObjectType >::triggerObjectMatches().
|
inline |
Definition at line 114 of file PATObject.h.
const TriggerObjectStandAloneCollection pat::PATObject< ObjectType >::triggerObjectMatchesByFilter | ( | const std::string & | labelFilter | ) | const |
get all matched HLT objects used in a certain HLT filter
Definition at line 592 of file PATObject.h.
References pat::TriggerObjectStandAlone::hasFilterLabel(), mps_fire::i, patRefSel_triggerMatching_cfi::matches, pat::PATObject< ObjectType >::triggerObjectMatch(), and pat::PATObject< ObjectType >::triggerObjectMatches().
|
inline |
Definition at line 158 of file PATObject.h.
|
inline |
Definition at line 87 of file PATObject.h.
const TriggerObjectStandAloneCollection pat::PATObject< ObjectType >::triggerObjectMatchesByPath | ( | const std::string & | namePath, |
const bool | pathLastFilterAccepted = false , |
||
const bool | pathL3FilterAccepted = true |
||
) | const |
get all matched HLT objects used in a certain HLT path; if 'pathLastFilterAccepted' is set to 'true' (default), only objects used in the final filter of a succeeding path are considered ("firing" objects old style only valid for single object triggers); if 'pathL3FilterAccepted' is set to 'true' (default), only objects used in L3 filters (identified by the "saveTags" parameter being 'true') of a succeeding path are considered ("firing" objects old style only valid for single object triggers)
Definition at line 612 of file PATObject.h.
References pat::TriggerObjectStandAlone::hasPathName(), mps_fire::i, patRefSel_triggerMatching_cfi::matches, pat::PATObject< ObjectType >::triggerObjectMatch(), and pat::PATObject< ObjectType >::triggerObjectMatches().
Referenced by testAnalyzer::analyze(), ZMuMu_vtxAnalyzer::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMu_MCanalyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), modules::ZHLTMatchFilter::operator()(), ZMuMuMuonUserData::produce(), and ZToLLEdmNtupleDumper::produce().
|
inline |
Definition at line 174 of file PATObject.h.
|
inline |
Definition at line 178 of file PATObject.h.
|
inline |
Definition at line 182 of file PATObject.h.
const TriggerObjectStandAloneCollection pat::PATObject< ObjectType >::triggerObjectMatchesByType | ( | const trigger::TriggerObjectType | triggerObjectType | ) | const |
get all matched trigger objects of a certain type; trigger object types are defined in 'enum trigger::TriggerObjectType' (DataFormats/HLTReco/interface/TriggerTypeDefs.h)
Definition at line 510 of file PATObject.h.
References pat::TriggerObject::hasTriggerObjectType(), mps_fire::i, patRefSel_triggerMatching_cfi::matches, pat::PATObject< ObjectType >::triggerObjectMatch(), and pat::PATObject< ObjectType >::triggerObjectMatches().
|
inline |
Definition at line 83 of file PATObject.h.
|
inline |
unpack path names of matched trigger objects (if they were packed before embedding, which is not normally the case)
Definition at line 206 of file PATObject.h.
reco::CandidatePtr pat::PATObject< ObjectType >::userCand | ( | const std::string & | key | ) | const |
Get user-defined candidate ptr Note: it will a null pointer if the key is not found; you can check if the key exists with 'hasUserInt' method.
Definition at line 874 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, crabWrapper::key, pat::PATObject< ObjectType >::userCandLabels_, and pat::PATObject< ObjectType >::userCands_.
|
inline |
Get list of user-defined cand names.
Definition at line 362 of file PATObject.h.
|
inline |
Returns user-defined data. Returns NULL if the data is not present, or not of type T.
Definition at line 280 of file PATObject.h.
Referenced by BPHWriteSpecificDecay::fill(), and BPHUserData::getByRef().
|
inline |
Get the data as a void *, for CINT usage. COMPLETELY UNSUPPORTED, USE ONLY FOR DEBUGGING
Definition at line 299 of file PATObject.h.
|
inline |
Get list of user data object names.
Definition at line 295 of file PATObject.h.
|
private |
Definition at line 763 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, crabWrapper::key, pat::PATObject< ObjectType >::userDataLabels_, and pat::PATObject< ObjectType >::userDataObjects_.
|
inline |
Get human-readable type of user data object, for debugging.
Definition at line 290 of file PATObject.h.
float pat::PATObject< ObjectType >::userFloat | ( | const std::string & | key | ) | const |
Get user-defined float Note: throws if the key is not found; you can check if the key exists with 'hasUserFloat' method.
Definition at line 791 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, crabWrapper::key, pat::throwMissingLabel(), pat::PATObject< ObjectType >::userFloatLabels_, and pat::PATObject< ObjectType >::userFloats_.
Referenced by BPHFittedBasicSelect::accept(), ZeePlots::analyze(), WenuPlots::analyze(), PFJetIDSelectionFunctor::firstDataCuts(), EGEtScaleSysModifier::modifyObject(), PhoMVACut::operator()(), PhoAnyPFIsoWithEACut::operator()(), GsfEleMVACut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingCut::operator()(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::operator()(), PhoAnyPFIsoWithEAAndQuadScalingCut::operator()(), Jet.Jet::puMva(), MuScleFitMuonSelector::selectMuons(), PhoMVACut::value(), PhoAnyPFIsoWithEACut::value(), PhoAnyPFIsoWithEAAndExpoScalingEBCut::value(), PhoAnyPFIsoWithEAAndQuadScalingCut::value(), PhoAnyPFIsoWithEAAndExpoScalingCut::value(), and GsfEleMVACut::value().
|
inline |
a CINT-friendly interface
Definition at line 327 of file PATObject.h.
Referenced by Jet.Jet::puMva(), and pat::PATObject< reco::Muon >::userFloat().
|
inline |
Get list of user-defined float names.
Definition at line 332 of file PATObject.h.
std::vector< float > pat::PATObject< ObjectType >::userFloatRange | ( | const std::string & | key | ) | const |
return a range of values corresponding to key
Definition at line 802 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, crabWrapper::key, mps_fire::result, pat::PATObject< ObjectType >::userFloatLabels_, and pat::PATObject< ObjectType >::userFloats_.
int pat::PATObject< ObjectType >::userInt | ( | const std::string & | key | ) | const |
Get user-defined int Note: throws if the key is not found; you can check if the key exists with 'hasUserInt' method.
Definition at line 833 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, crabWrapper::key, SiStripPI::max, pat::throwMissingLabel(), pat::PATObject< ObjectType >::userIntLabels_, and pat::PATObject< ObjectType >::userInts_.
Referenced by WenuPlots::analyze(), PhoMVACut::operator()(), GsfEleMVACut::operator()(), WenuPlots::PassPreselectionCriteria(), ZeePlots::PassPreselectionCriteria1(), and ZeePlots::PassPreselectionCriteria2().
|
inline |
std::vector< int > pat::PATObject< ObjectType >::userIntRange | ( | const std::string & | key | ) | const |
returns a range of values corresponding to key
Definition at line 844 of file PATObject.h.
References SoftLeptonByDistance_cfi::distance, crabWrapper::key, mps_fire::result, pat::PATObject< ObjectType >::userIntLabels_, and pat::PATObject< ObjectType >::userInts_.
|
protected |
vector of the efficiencies (names)
Definition at line 429 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::efficiencies(), pat::PATObject< ObjectType >::efficiency(), and pat::PATObject< ObjectType >::setEfficiency().
|
protected |
vector of the efficiencies (values)
Definition at line 427 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::efficiencies(), pat::PATObject< ObjectType >::efficiency(), and pat::PATObject< ObjectType >::setEfficiency().
|
protected |
vector to hold an embedded generator level particle
Definition at line 434 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::addGenParticleRef(), pat::PATObject< ObjectType >::embedGenParticle(), pat::PATObject< ObjectType >::genParticleById(), pat::PATObject< ObjectType >::genParticleRefs(), pat::PATObject< ObjectType >::setGenParticle(), and pat::PATObject< ObjectType >::setGenParticleRef().
|
protected |
Reference to a generator level particle.
Definition at line 432 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::addGenParticleRef(), pat::PATObject< ObjectType >::embedGenParticle(), pat::PATObject< ObjectType >::genParticleById(), pat::PATObject< ObjectType >::genParticleRefs(), pat::PATObject< ObjectType >::setGenParticle(), and pat::PATObject< ObjectType >::setGenParticleRef().
|
protected |
Labels for the kinematic resolutions. if (kinResolutions_.size() == kinResolutionLabels_.size()+1), then the first resolution has no label.
Definition at line 458 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::getKinResolution(), pat::PATObject< ObjectType >::hasKinResolution(), and pat::PATObject< ObjectType >::setKinResolution().
|
protected |
Kinematic resolutions.
Definition at line 455 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::getKinResolution(), pat::PATObject< ObjectType >::hasKinResolution(), and pat::PATObject< ObjectType >::setKinResolution().
|
protected |
Overlapping items (sorted by distance)
Definition at line 439 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::overlaps(), and pat::PATObject< ObjectType >::setOverlaps().
|
protected |
Overlapping test labels (only if there are any overlaps)
Definition at line 437 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::hasOverlaps(), pat::PATObject< ObjectType >::overlaps(), and pat::PATObject< ObjectType >::setOverlaps().
|
protected |
Definition at line 421 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::originalObject(), pat::PATObject< ObjectType >::originalObjectRef(), pat::PATMuonSlimmer::produce(), pat::PATElectronSlimmer::produce(), pat::PATPhotonSlimmer::produce(), and pat::PATJetUpdater::produce().
|
protected |
vector of trigger matches
Definition at line 424 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::triggerObjectMatch(), pat::PATObject< ObjectType >::triggerObjectMatchByAlgorithm(), pat::PATObject< ObjectType >::triggerObjectMatchByCollection(), pat::PATObject< ObjectType >::triggerObjectMatchByCondition(), pat::PATObject< ObjectType >::triggerObjectMatchByFilter(), pat::PATObject< ObjectType >::triggerObjectMatchByPath(), and pat::PATObject< ObjectType >::triggerObjectMatchByType().
|
protected |
Definition at line 451 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::addUserCand(), and pat::PATObject< ObjectType >::userCand().
|
protected |
Definition at line 452 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::addUserCand(), and pat::PATObject< ObjectType >::userCand().
|
protected |
User data object.
Definition at line 442 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::addUserDataObject_(), and pat::PATObject< ObjectType >::userDataObject_().
|
protected |
Definition at line 443 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::addUserDataObject_(), and pat::PATObject< ObjectType >::userDataObject_().
|
protected |
Definition at line 445 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::addUserFloat(), pat::PATObject< ObjectType >::userFloat(), and pat::PATObject< ObjectType >::userFloatRange().
|
protected |
Definition at line 446 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::addUserFloat(), pat::PATObject< ObjectType >::userFloat(), and pat::PATObject< ObjectType >::userFloatRange().
|
protected |
Definition at line 448 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::addUserInt(), pat::PATObject< ObjectType >::userInt(), and pat::PATObject< ObjectType >::userIntRange().
|
protected |
Definition at line 449 of file PATObject.h.
Referenced by pat::PATObject< ObjectType >::addUserInt(), pat::PATObject< ObjectType >::userInt(), and pat::PATObject< ObjectType >::userIntRange().