ATLAS Offline Software
Loading...
Searching...
No Matches
met Namespace Reference

Namespaces

namespace  softCaloAffSyst
namespace  softTrkAffSyst
namespace  jetTrkAffSyst

Classes

class  METAssociationTool
class  METAssociator
class  METBuilderTool
class  METCaloRegionsTool
class  METEgammaAssociator
class  METElectronAssociator
class  METJetAssocTool
class  METJetTool
class  METMuonAssociator
class  METPhotonAssociator
class  METRecoTool
class  METRefinerTool
class  METRegionsTool
class  METSoftAssociator
class  METSoftTermsTool
class  METTauAssociator
class  METTrackFilterTool
class  METTruthAssociator
class  METTruthTool
class  METAssocTestAlg
class  METReaderAlg
class  METRecoAlg
class  ColumnarMETMaker
class  METMaker
class  METNet
 METNet tool class used to create a missing transverse momentum estimate using a pre-trained neural network. More...
class  METNetHandler
class  METNetSig
 METNetSig tool class used to create a missing transverse momentum estimate using a pre-trained neural network. More...
class  METNetSigHandler
class  METSignificance
struct  missingEt
class  METSystematicsTool
class  METMakerAlg
class  string
 STL class. More...
struct  MissingETComposition
 Collection of functions managing the MET composition map and association map. More...
class  vector
 STL class. More...
class  IParticle
 Class providing the definition of the 4-vector interface. More...
class  JetConstituentVector
 A vector of jet constituents at the scale used during jet finding. More...

Typedefs

typedef ElementLink< xAOD::IParticleContainerobj_link_t
using iplink_t = ElementLink<xAOD::IParticleContainer>
typedef MissingET_v1 MissingET
 Version control by type defintion.
typedef MissingETComponentMap_v1 MissingETComponentMap
 Version control by type definition.
typedef CaloCluster_v1 CaloCluster
 Define the latest version of the calorimeter cluster class.
typedef CaloClusterContainer_v1 CaloClusterContainer
 Define the latest version of the calorimeter cluster container.
typedef MissingET_v1 MissingET
 Version control by type defintion.
typedef MissingETContainer_v1 MissingETContainer
typedef MissingET_v1 MissingET
 Version control by type defintion.
typedef MissingETContainer_v1 MissingETContainer
typedef MissingETComponentMap_v1 MissingETComponentMap
 Version control by type definition.
typedef MissingETAuxContainer_v1 MissingETAuxContainer
typedef MissingETAuxComponentMap_v1 MissingETAuxComponentMap
 Version control by type definition.
typedef MissingET_v1 MissingET
 Version control by type defintion.
typedef MissingETComponentMap_v1 MissingETComponentMap
 Version control by type definition.
typedef MissingET_v1 MissingET
 Version control by type defintion.
typedef MissingETContainer_v1 MissingETContainer
typedef MissingETComponent_v1 MissingETComponent
 Version control by type definition.
typedef MissingETComponentMap_v1 MissingETComponentMap
 Version control by type definition.
typedef TrackParticle_v1 TrackParticle
 Reference the current persistent version:
typedef TrackParticleContainer_v1 TrackParticleContainer
 Definition of the current "TrackParticle container version".
typedef VertexContainer_v1 VertexContainer
 Definition of the current "Vertex container version".
typedef CaloCluster_v1 CaloCluster
 Define the latest version of the calorimeter cluster class.
typedef CaloClusterContainer_v1 CaloClusterContainer
 Define the latest version of the calorimeter cluster container.
typedef MissingET_v1 MissingET
 Version control by type defintion.
typedef MissingETComponent_v1 MissingETComponent
 Version control by type definition.
typedef MissingETComponentMap_v1 MissingETComponentMap
 Version control by type definition.
typedef TruthEvent_v1 TruthEvent
 Typedef to implementation.
typedef TruthEventContainer_v1 TruthEventContainer
 Declare the latest version of the truth event container.
typedef TruthParticle_v1 TruthParticle
 Typedef to implementation.
typedef TruthParticleContainer_v1 TruthParticleContainer
 Declare the latest version of the truth particle container.
typedef MissingET_v1 MissingET
 Version control by type defintion.
typedef MissingETComponentMap_v1 MissingETComponentMap
 Version control by type definition.
typedef MissingET_v1 MissingET
 Version control by type defintion.
typedef MissingETContainer_v1 MissingETContainer
typedef MissingETAssociation_v1 MissingETAssociation
 Version control by type definition.
typedef MissingETAssociationMap_v1 MissingETAssociationMap
 Version control by type defintion.
typedef MissingETAuxContainer_v1 MissingETAuxContainer
typedef DataVector< IParticleIParticleContainer
 Simple convenience declaration of IParticleContainer.
typedef JetContainer_v1 JetContainer
 Definition of the current "jet container version".
typedef TrackParticle_v1 TrackParticle
 Reference the current persistent version:
typedef MissingET_v1 MissingET
 Version control by type defintion.
typedef MissingETContainer_v1 MissingETContainer
typedef MissingETAssociation_v1 MissingETAssociation
 Version control by type definition.
typedef MissingETAssociationMap_v1 MissingETAssociationMap
 Version control by type defintion.
typedef MissingETAuxContainer_v1 MissingETAuxContainer
typedef DataVector< IParticleIParticleContainer
 Simple convenience declaration of IParticleContainer.
typedef JetContainer_v1 JetContainer
 Definition of the current "jet container version".
typedef TrackParticle_v1 TrackParticle
 Reference the current persistent version:

Enumerations

enum  SoftTermParams { Random = 0 , PthardParam = 1 , TSTParam = 2 }
enum  METSignificanceResoTerms {
  ResoNone = 0 , ResoJet = 1 , ResoSoft = 2 , ResoEle = 3 ,
  ResoMuo = 4 , ResoPho = 5 , ResoTau = 6
}
enum  SystType { INVALID =-1 , SOFTCALO , SOFTTRK , JETTRK }
enum  SWClusterMatchMethod { DeltaR , ClusterLink }
enum  SystApplied {
  NONE , MET_SOFTTRK_SCALEUP , MET_SOFTTRK_SCALEDOWN , MET_SOFTTRK_RESOPARA ,
  MET_SOFTTRK_RESOPERP , MET_SOFTTRK_RESOCORR , MET_SOFTCALO_SCALEUP , MET_SOFTCALO_SCALEDOWN ,
  MET_SOFTCALO_RESOPARA , MET_SOFTCALO_RESOPERP , MET_SOFTCALO_RESOCORR , MET_JETTRK_SCALEUP ,
  MET_JETTRK_SCALEDOWN
}

Functions

SystType getSystType (const CP::SystematicVariation &systematic)
static const SG::Decorator< std::vector< ElementLink< IParticleContainer > > > dec_softConst ("softConstituents")
void addGhostMuonsToJets (const xAOD::MuonContainer &muons, xAOD::JetContainer &jets)
StatusCode buildMETSum (const std::string &totalName, xAOD::MissingETContainer *metCont)
StatusCode buildMETSum (const std::string &totalName, xAOD::MissingETContainer *metCont, MissingETBase::Types::bitmask_t softTermsSource)
StatusCode fillMET (xAOD::MissingET *&met, xAOD::MissingETContainer *metCont, const std::string &metKey, const MissingETBase::Types::bitmask_t metSource)
template<class T = xAOD::IParticle>
std::vector< const T * > getMETElements (const xAOD::MissingET &met)
template<class T = xAOD::IParticle>
std::vector< std::pair< const T *, float > > getMETElementsWeights (const xAOD::MissingET &met)
static const SG::AuxElement::ConstAccessor< iplink_tacc_originalObject ("originalObjectLink")
static const SG::AuxElement::ConstAccessor< iplink_tacc_nominalObject ("nominalObjectLink")
static const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > acc_ghostMuons ("GhostMuon")
static const SG::AuxElement::ConstAccessor< floatacc_Eloss ("EnergyLoss")
static const SG::AuxElement::Accessor< std::vector< iplink_t > > dec_constitObjLinks ("ConstitObjectLinks")
static const SG::AuxElement::Accessor< std::vector< float > > dec_constitObjWeights ("ConstitObjectWeights")
template std::vector< const xAOD::Electron * > getMETElements< xAOD::Electron > (const xAOD::MissingET &met)
template std::vector< const xAOD::Photon * > getMETElements< xAOD::Photon > (const xAOD::MissingET &met)
template std::vector< const xAOD::Muon * > getMETElements< xAOD::Muon > (const xAOD::MissingET &met)
template std::vector< const xAOD::TauJet * > getMETElements< xAOD::TauJet > (const xAOD::MissingET &met)
template std::vector< const xAOD::Jet * > getMETElements< xAOD::Jet > (const xAOD::MissingET &met)
template std::vector< std::pair< const xAOD::Electron *, float > > getMETElementsWeights< xAOD::Electron > (const xAOD::MissingET &met)
template std::vector< std::pair< const xAOD::Photon *, float > > getMETElementsWeights< xAOD::Photon > (const xAOD::MissingET &met)
template std::vector< std::pair< const xAOD::Muon *, float > > getMETElementsWeights< xAOD::Muon > (const xAOD::MissingET &met)
template std::vector< std::pair< const xAOD::TauJet *, float > > getMETElementsWeights< xAOD::TauJet > (const xAOD::MissingET &met)
template std::vector< std::pair< const xAOD::Jet *, float > > getMETElementsWeights< xAOD::Jet > (const xAOD::MissingET &met)
template<>
std::vector< const xAOD::IParticle * > getMETElements (const xAOD::MissingET &met)
template<>
std::vector< std::pair< const xAOD::IParticle *, float > > getMETElementsWeights (const xAOD::MissingET &met)
static const SG::AuxElement::ConstAccessor< iplink_tacc_originalObject ("originalObjectLink")
static const SG::AuxElement::ConstAccessor< iplink_tacc_nominalObject ("nominalObjectLink")
static const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > acc_ghostMuons ("GhostMuon")
static const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > acc_ghostElecs ("GhostElec")
static const SG::AuxElement::ConstAccessor< std::vector< int > > acc_trkN ("NumTrkPt500")
static const SG::AuxElement::ConstAccessor< std::vector< float > > acc_trksumpt ("SumPtTrkPt500")
static const SG::AuxElement::ConstAccessor< std::vector< float > > acc_sampleE ("EnergyPerSampling")
static const SG::AuxElement::ConstAccessor< floatacc_emf ("EMFrac")
static const SG::AuxElement::ConstAccessor< floatacc_psf ("PSFrac")
static const SG::AuxElement::ConstAccessor< floatacc_width ("Width")
static const SG::AuxElement::ConstAccessor< floatacc_Eloss ("EnergyLoss")
static const SG::AuxElement::Accessor< std::vector< iplink_t > > dec_constitObjLinks ("ConstitObjectLinks")
static const SG::AuxElement::Accessor< std::vector< float > > dec_constitObjWeights ("ConstitObjectWeights")
static const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > acc_constitObjLinks ("ConstitObjectLinks")
static const SG::AuxElement::Decorator< std::vector< iplink_t > > dec_constitObjLinks ("ConstitObjectLinks")
static const SG::AuxElement::ConstAccessor< std::vector< float > > acc_inputvalues ("input_values")
static const SG::AuxElement::ConstAccessor< std::vector< std::string > > acc_inputnames ("input_names")
static const SG::AuxElement::Decorator< std::vector< float > > dec_inputvalues ("input_values")
static const SG::AuxElement::Decorator< std::vector< std::string > > dec_inputnames ("input_names")
static const SG::AuxElement::ConstAccessor< std::string > acc_name ("name")
static const SG::AuxElement::ConstAccessor< MissingETBase::Types::bitmask_tacc_source ("source")
static const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > acc_constitObjLinks ("ConstitObjectLinks")
static const SG::AuxElement::Decorator< std::vector< iplink_t > > dec_constitObjLinks ("ConstitObjectLinks")
static const SG::AuxElement::ConstAccessor< std::vector< float > > acc_inputvalues ("input_values")
static const SG::AuxElement::ConstAccessor< std::vector< std::string > > acc_inputnames ("input_names")
static const SG::AuxElement::Decorator< std::vector< float > > dec_inputvalues ("input_values")
static const SG::AuxElement::Decorator< std::vector< std::string > > dec_inputnames ("input_names")
static const SG::AuxElement::ConstAccessor< floatacc_varX ("varX")
static const SG::AuxElement::ConstAccessor< floatacc_varY ("varY")
static const SG::AuxElement::ConstAccessor< floatacc_covXY ("covXY")
static const SG::AuxElement::ConstAccessor< floatacc_jvt ("Jvt")
static const SG::AuxElement::ConstAccessor< floatacc_fjvt ("fJvt")
static const SG::AuxElement::ConstAccessor< floatacc_fjvt_der ("DFCommonJets_fJvt")
static const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > acc_constitObjLinks ("ConstitObjectLinks")
static const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > acc_constitObjLinks ("ConstitObjectLinks")
static const SG::AuxElement::ConstAccessor< iplink_tacc_originalObject ("originalObjectLink")

Variables

static const SG::ConstAccessor< charPVMatchedAcc ("matchedToPV")
static const SG::ConstAccessor< charPVMatchedAcc ("matchedToPV")
static const SG::ConstAccessor< std::vector< ElementLink< IParticleContainer > > > cacc_ghosttruth ("GhostTruth")
static const MissingETBase::Types::bitmask_t invisSource = 0x100000
static const MissingETBase::Types::bitmask_t invisSource = 0x100000

Typedef Documentation

◆ CaloCluster [1/2]

Define the latest version of the calorimeter cluster class.

Definition at line 19 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h.

◆ CaloCluster [2/2]

Define the latest version of the calorimeter cluster class.

Definition at line 19 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h.

◆ CaloClusterContainer [1/2]

Define the latest version of the calorimeter cluster container.

Define the cluster container as a simple DataVector.

Definition at line 17 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h.

◆ CaloClusterContainer [2/2]

Define the latest version of the calorimeter cluster container.

Define the cluster container as a simple DataVector.

Definition at line 17 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h.

◆ IParticleContainer [1/2]

Simple convenience declaration of IParticleContainer.

Note that this structure should be used with care. It should mainly be used in tool interfaces, and nowhere else. For instance it is possible to put view containers of this type into StoreGate, but it is not possible to write out an object of this type into an output file.

Author
Attila Krasznahorkay Attil.nosp@m.a.Kr.nosp@m.aszna.nosp@m.hork.nosp@m.ay@ce.nosp@m.rn.c.nosp@m.h
Revision
567380
Date
2013-10-28 11:48:26 +0100 (Mon, 28 Oct 2013)

Definition at line 32 of file xAOD/xAODBase/xAODBase/IParticleContainer.h.

◆ IParticleContainer [2/2]

Simple convenience declaration of IParticleContainer.

Note that this structure should be used with care. It should mainly be used in tool interfaces, and nowhere else. For instance it is possible to put view containers of this type into StoreGate, but it is not possible to write out an object of this type into an output file.

Author
Attila Krasznahorkay Attil.nosp@m.a.Kr.nosp@m.aszna.nosp@m.hork.nosp@m.ay@ce.nosp@m.rn.c.nosp@m.h
Revision
567380
Date
2013-10-28 11:48:26 +0100 (Mon, 28 Oct 2013)

Definition at line 32 of file xAOD/xAODBase/xAODBase/IParticleContainer.h.

◆ iplink_t

◆ JetContainer [1/2]

Definition of the current "jet container version".

Definition of the current container version.

Definition at line 17 of file JetContainer.h.

◆ JetContainer [2/2]

Definition of the current "jet container version".

Definition of the current container version.

Definition at line 17 of file JetContainer.h.

◆ MissingET [1/9]

Version control by type defintion.

Definition at line 15 of file Event/xAOD/xAODMissingET/xAODMissingET/MissingET.h.

◆ MissingET [2/9]

Version control by type defintion.

Definition at line 15 of file Event/xAOD/xAODMissingET/xAODMissingET/MissingET.h.

◆ MissingET [3/9]

Version control by type defintion.

Definition at line 15 of file Event/xAOD/xAODMissingET/xAODMissingET/MissingET.h.

◆ MissingET [4/9]

Version control by type defintion.

Definition at line 15 of file Event/xAOD/xAODMissingET/xAODMissingET/MissingET.h.

◆ MissingET [5/9]

Version control by type defintion.

Definition at line 15 of file Event/xAOD/xAODMissingET/xAODMissingET/MissingET.h.

◆ MissingET [6/9]

Version control by type defintion.

Definition at line 15 of file Event/xAOD/xAODMissingET/xAODMissingET/MissingET.h.

◆ MissingET [7/9]

Version control by type defintion.

Definition at line 15 of file Event/xAOD/xAODMissingET/xAODMissingET/MissingET.h.

◆ MissingET [8/9]

Version control by type defintion.

Definition at line 15 of file Event/xAOD/xAODMissingET/xAODMissingET/MissingET.h.

◆ MissingET [9/9]

Version control by type defintion.

Definition at line 15 of file Event/xAOD/xAODMissingET/xAODMissingET/MissingET.h.

◆ MissingETAssociation [1/2]

Version control by type definition.

Definition at line 15 of file MissingETAssociation.h.

◆ MissingETAssociation [2/2]

Version control by type definition.

Definition at line 15 of file MissingETAssociation.h.

◆ MissingETAssociationMap [1/2]

Version control by type defintion.

Definition at line 16 of file MissingETAssociationMap.h.

◆ MissingETAssociationMap [2/2]

Version control by type defintion.

Definition at line 16 of file MissingETAssociationMap.h.

◆ MissingETAuxComponentMap

Version control by type definition.

Definition at line 15 of file MissingETAuxComponentMap.h.

◆ MissingETAuxContainer [1/3]

◆ MissingETAuxContainer [2/3]

◆ MissingETAuxContainer [3/3]

◆ MissingETComponent [1/2]

Version control by type definition.

Definition at line 15 of file MissingETComponent.h.

◆ MissingETComponent [2/2]

Version control by type definition.

Definition at line 15 of file MissingETComponent.h.

◆ MissingETComponentMap [1/6]

Version control by type definition.

Definition at line 16 of file MissingETComponentMap.h.

◆ MissingETComponentMap [2/6]

Version control by type definition.

Definition at line 16 of file MissingETComponentMap.h.

◆ MissingETComponentMap [3/6]

Version control by type definition.

Definition at line 16 of file MissingETComponentMap.h.

◆ MissingETComponentMap [4/6]

Version control by type definition.

Definition at line 16 of file MissingETComponentMap.h.

◆ MissingETComponentMap [5/6]

Version control by type definition.

Definition at line 16 of file MissingETComponentMap.h.

◆ MissingETComponentMap [6/6]

Version control by type definition.

Definition at line 16 of file MissingETComponentMap.h.

◆ MissingETContainer [1/5]

◆ MissingETContainer [2/5]

◆ MissingETContainer [3/5]

◆ MissingETContainer [4/5]

◆ MissingETContainer [5/5]

◆ obj_link_t

◆ TrackParticle [1/3]

Reference the current persistent version:

Definition at line 13 of file Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h.

◆ TrackParticle [2/3]

Reference the current persistent version:

Definition at line 13 of file Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h.

◆ TrackParticle [3/3]

Reference the current persistent version:

Definition at line 13 of file Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h.

◆ TrackParticleContainer

Definition of the current "TrackParticle container version".

Provide a forward declaration for TrackParticleContainer.

Definition at line 14 of file Event/xAOD/xAODTracking/xAODTracking/TrackParticleContainer.h.

◆ TruthEvent

Typedef to implementation.

Definition at line 17 of file TruthEvent.h.

◆ TruthEventContainer

Declare the latest version of the truth event container.

Definition at line 18 of file TruthEventContainer.h.

◆ TruthParticle

Typedef to implementation.

Definition at line 15 of file Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h.

◆ TruthParticleContainer

Declare the latest version of the truth particle container.

Provide a forward declaration for TruthParticleContainer.

Definition at line 17 of file Event/xAOD/xAODTruth/xAODTruth/TruthParticleContainer.h.

◆ VertexContainer

Definition of the current "Vertex container version".

Provide a forward declaration for VertexContainer.

Definition at line 14 of file VertexContainer.h.

Enumeration Type Documentation

◆ METSignificanceResoTerms

Enumerator
ResoNone 
ResoJet 
ResoSoft 
ResoEle 
ResoMuo 
ResoPho 
ResoTau 

Definition at line 31 of file IMETSignificance.h.

31 {
32 ResoNone = 0,
33 ResoJet = 1,
34 ResoSoft = 2,
35 ResoEle = 3,
36 ResoMuo = 4,
37 ResoPho = 5,
38 ResoTau = 6
39 };

◆ SoftTermParams

Enumerator
Random 
PthardParam 
TSTParam 

Definition at line 26 of file IMETSignificance.h.

26 {
27 Random = 0,
28 PthardParam = 1,
29 TSTParam = 2
30 };

◆ SWClusterMatchMethod

Enumerator
DeltaR 
ClusterLink 

Definition at line 10 of file METRecoCommon.h.

10 {
11 DeltaR,
13 };
@ ClusterLink

◆ SystApplied

Enumerator
NONE 
MET_SOFTTRK_SCALEUP 
MET_SOFTTRK_SCALEDOWN 
MET_SOFTTRK_RESOPARA 
MET_SOFTTRK_RESOPERP 
MET_SOFTTRK_RESOCORR 
MET_SOFTCALO_SCALEUP 
MET_SOFTCALO_SCALEDOWN 
MET_SOFTCALO_RESOPARA 
MET_SOFTCALO_RESOPERP 
MET_SOFTCALO_RESOCORR 
MET_JETTRK_SCALEUP 
MET_JETTRK_SCALEDOWN 

Definition at line 68 of file METSystematicsTool.h.

◆ SystType

Enumerator
INVALID 
SOFTCALO 
SOFTTRK 
JETTRK 

Definition at line 48 of file IMETSystematicsTool.h.

48 {
49 INVALID=-1,
51 SOFTTRK,
52 JETTRK
53 };

Function Documentation

◆ acc_constitObjLinks() [1/4]

const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > met::acc_constitObjLinks ( "ConstitObjectLinks" )
static

◆ acc_constitObjLinks() [2/4]

const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > met::acc_constitObjLinks ( "ConstitObjectLinks" )
static

◆ acc_constitObjLinks() [3/4]

const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > met::acc_constitObjLinks ( "ConstitObjectLinks" )
static

◆ acc_constitObjLinks() [4/4]

const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > met::acc_constitObjLinks ( "ConstitObjectLinks" )
static

◆ acc_covXY()

const SG::AuxElement::ConstAccessor< float > met::acc_covXY ( "covXY" )
static

◆ acc_Eloss() [1/2]

const SG::AuxElement::ConstAccessor< float > met::acc_Eloss ( "EnergyLoss" )
static

◆ acc_Eloss() [2/2]

const SG::AuxElement::ConstAccessor< float > met::acc_Eloss ( "EnergyLoss" )
static

◆ acc_emf()

const SG::AuxElement::ConstAccessor< float > met::acc_emf ( "EMFrac" )
static

◆ acc_fjvt()

const SG::AuxElement::ConstAccessor< float > met::acc_fjvt ( "fJvt" )
static

◆ acc_fjvt_der()

const SG::AuxElement::ConstAccessor< float > met::acc_fjvt_der ( "DFCommonJets_fJvt" )
static

◆ acc_ghostElecs()

const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > met::acc_ghostElecs ( "GhostElec" )
static

◆ acc_ghostMuons() [1/2]

const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > met::acc_ghostMuons ( "GhostMuon" )
static

◆ acc_ghostMuons() [2/2]

const SG::AuxElement::ConstAccessor< std::vector< iplink_t > > met::acc_ghostMuons ( "GhostMuon" )
static

◆ acc_inputnames() [1/2]

const SG::AuxElement::ConstAccessor< std::vector< std::string > > met::acc_inputnames ( "input_names" )
static

◆ acc_inputnames() [2/2]

const SG::AuxElement::ConstAccessor< std::vector< std::string > > met::acc_inputnames ( "input_names" )
static

◆ acc_inputvalues() [1/2]

const SG::AuxElement::ConstAccessor< std::vector< float > > met::acc_inputvalues ( "input_values" )
static

◆ acc_inputvalues() [2/2]

const SG::AuxElement::ConstAccessor< std::vector< float > > met::acc_inputvalues ( "input_values" )
static

◆ acc_jvt()

const SG::AuxElement::ConstAccessor< float > met::acc_jvt ( "Jvt" )
static

◆ acc_name()

const SG::AuxElement::ConstAccessor< std::string > met::acc_name ( "name" )
static

◆ acc_nominalObject() [1/2]

const SG::AuxElement::ConstAccessor< iplink_t > met::acc_nominalObject ( "nominalObjectLink" )
static

◆ acc_nominalObject() [2/2]

const SG::AuxElement::ConstAccessor< iplink_t > met::acc_nominalObject ( "nominalObjectLink" )
static

◆ acc_originalObject() [1/3]

const SG::AuxElement::ConstAccessor< iplink_t > met::acc_originalObject ( "originalObjectLink" )
static

◆ acc_originalObject() [2/3]

const SG::AuxElement::ConstAccessor< iplink_t > met::acc_originalObject ( "originalObjectLink" )
static

◆ acc_originalObject() [3/3]

const SG::AuxElement::ConstAccessor< iplink_t > met::acc_originalObject ( "originalObjectLink" )
static

◆ acc_psf()

const SG::AuxElement::ConstAccessor< float > met::acc_psf ( "PSFrac" )
static

◆ acc_sampleE()

const SG::AuxElement::ConstAccessor< std::vector< float > > met::acc_sampleE ( "EnergyPerSampling" )
static

◆ acc_source()

const SG::AuxElement::ConstAccessor< MissingETBase::Types::bitmask_t > met::acc_source ( "source" )
static

◆ acc_trkN()

const SG::AuxElement::ConstAccessor< std::vector< int > > met::acc_trkN ( "NumTrkPt500" )
static

◆ acc_trksumpt()

const SG::AuxElement::ConstAccessor< std::vector< float > > met::acc_trksumpt ( "SumPtTrkPt500" )
static

◆ acc_varX()

const SG::AuxElement::ConstAccessor< float > met::acc_varX ( "varX" )
static

◆ acc_varY()

const SG::AuxElement::ConstAccessor< float > met::acc_varY ( "varY" )
static

◆ acc_width()

const SG::AuxElement::ConstAccessor< float > met::acc_width ( "Width" )
static

◆ addGhostMuonsToJets()

void met::addGhostMuonsToJets ( const xAOD::MuonContainer & muons,
xAOD::JetContainer & jets )

Definition at line 33 of file METHelpers.cxx.

34 {
35 std::vector<const xAOD::TrackParticle*> jet_tracks;
36 for (xAOD::Jet* jet: jets) {
37 // Fill this with muons to be associated
38 std::vector<const xAOD::Muon*> muons_in_jet;
39 // Get the tracks associated to the jet
40 jet_tracks.clear();
41 if ( jet->getAssociatedObjects("GhostTrack", jet_tracks) ) {
42
43 for(const auto *const muon : muons) {
44 const xAOD::TrackParticle* idtrack = muon->trackParticle( xAOD::Muon::InnerDetectorTrackParticle );
45 if(!idtrack) continue;
46 // check if this is ghost associated to a jet
47 // make sure the jet is close first
48 if(xAOD::P4Helpers::deltaR2(*jet,*muon)>0.36) continue;
49
50 for(unsigned jtrk=0; jtrk<jet_tracks.size(); ++jtrk) {
51 // check if the track pointers match
52 if(jet_tracks.at(jtrk)==idtrack) {
53 muons_in_jet.push_back(muon);
54 break;
55 }
56 } // loop over jet tracks
57 } // loop over muons
58 } // jet has associated tracks
59 jet->setAssociatedObjects( "GhostMuon", muons_in_jet) ;
60 } // loop over jets
61 }
double deltaR2(double rapidity1, double phi1, double rapidity2, double phi2)
from bare rapidity,phi
Jet_v1 Jet
Definition of the current "jet version".
TrackParticle_v1 TrackParticle
Reference the current persistent version:

◆ buildMETSum() [1/2]

StatusCode met::buildMETSum ( const std::string & totalName,
xAOD::MissingETContainer * metCont )

Definition at line 63 of file METHelpers.cxx.

65 {
66 using namespace msgMET;
67 ANA_MSG_DEBUG("Build MET total: " << totalName);
68
69 xAOD::MissingET* metFinal = nullptr;
70 if(fillMET(metFinal, metCont, totalName, MissingETBase::Source::total()) != StatusCode::SUCCESS){
71 ANA_MSG_ERROR("failed to fill MET term");
72 return StatusCode::FAILURE;
73 }
74
75 for(xAOD::MissingETContainer::const_iterator iMET=metCont->begin(); iMET!=metCont->end(); ++iMET) {
76 if(*iMET==metFinal) continue;
77 *metFinal += **iMET;
78 }
79
80 ANA_MSG_DEBUG( "Rebuilt MET Final --"
81 << " mpx: " << metFinal->mpx()
82 << " mpy: " << metFinal->mpy()
83 );
84
85 return StatusCode::SUCCESS;
86 }
#define ANA_MSG_ERROR(xmsg)
Macro printing error messages.
#define ANA_MSG_DEBUG(xmsg)
Macro printing debug messages.
DataModel_detail::const_iterator< DataVector > const_iterator
Definition DataVector.h:838
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
float mpx() const
Returns .
float mpy() const
Returns .
StatusCode fillMET(xAOD::MissingET *&met, xAOD::MissingETContainer *metCont, const std::string &metKey, const MissingETBase::Types::bitmask_t metSource)
MissingET_v1 MissingET
Version control by type defintion.
static Types::bitmask_t total(Region reg=Region::FullAcceptance)
Standard full reconstructed MET.

◆ buildMETSum() [2/2]

StatusCode met::buildMETSum ( const std::string & totalName,
xAOD::MissingETContainer * metCont,
MissingETBase::Types::bitmask_t softTermsSource )

Definition at line 88 of file METHelpers.cxx.

91 {
92 using namespace msgMET;
93 ANA_MSG_DEBUG("Build MET total: " << totalName);
94
95 xAOD::MissingET* metFinal = nullptr;
96 if( fillMET(metFinal, metCont, totalName, MissingETBase::Source::total()) != StatusCode::SUCCESS) {
97 ANA_MSG_ERROR("failed to fill MET term \"" << totalName << "\"");
98 return StatusCode::FAILURE;
99 }
100
101 // not using a reference, because the iterator doesn't return a reference
102 for(const auto met : *metCont) {
103 if(MissingETBase::Source::isTotalTerm(met->source())) continue;
104 if(met->source()==invisSource) continue;
105 if(softTermsSource && MissingETBase::Source::isSoftTerm(met->source())) {
106 if(!MissingETBase::Source::hasPattern(met->source(),softTermsSource)) continue;
107 }
108 ANA_MSG_VERBOSE("Add MET term " << met->name() );
109 *metFinal += *met;
110 }
111
112 ANA_MSG_DEBUG( "Rebuilt MET Final --"
113 << " mpx: " << metFinal->mpx()
114 << " mpy: " << metFinal->mpy()
115 );
116
117 return StatusCode::SUCCESS;
118 }
#define ANA_MSG_VERBOSE(xmsg)
Macro printing verbose messages.
static const MissingETBase::Types::bitmask_t invisSource
Definition METHelpers.h:38
static bool isSoftTerm(Types::bitmask_t bits, Region reg=Region::FullAcceptance)
static bool hasPattern(E bits, F mask)
Generic check for given pattern.
static bool isTotalTerm(Types::bitmask_t bits, Region reg=Region::FullAcceptance)

◆ dec_constitObjLinks() [1/4]

const SG::AuxElement::Accessor< std::vector< iplink_t > > met::dec_constitObjLinks ( "ConstitObjectLinks" )
static

◆ dec_constitObjLinks() [2/4]

const SG::AuxElement::Accessor< std::vector< iplink_t > > met::dec_constitObjLinks ( "ConstitObjectLinks" )
static

◆ dec_constitObjLinks() [3/4]

const SG::AuxElement::Decorator< std::vector< iplink_t > > met::dec_constitObjLinks ( "ConstitObjectLinks" )
static

◆ dec_constitObjLinks() [4/4]

const SG::AuxElement::Decorator< std::vector< iplink_t > > met::dec_constitObjLinks ( "ConstitObjectLinks" )
static

◆ dec_constitObjWeights() [1/2]

const SG::AuxElement::Accessor< std::vector< float > > met::dec_constitObjWeights ( "ConstitObjectWeights" )
static

◆ dec_constitObjWeights() [2/2]

const SG::AuxElement::Accessor< std::vector< float > > met::dec_constitObjWeights ( "ConstitObjectWeights" )
static

◆ dec_inputnames() [1/2]

const SG::AuxElement::Decorator< std::vector< std::string > > met::dec_inputnames ( "input_names" )
static

◆ dec_inputnames() [2/2]

const SG::AuxElement::Decorator< std::vector< std::string > > met::dec_inputnames ( "input_names" )
static

◆ dec_inputvalues() [1/2]

const SG::AuxElement::Decorator< std::vector< float > > met::dec_inputvalues ( "input_values" )
static

◆ dec_inputvalues() [2/2]

const SG::AuxElement::Decorator< std::vector< float > > met::dec_inputvalues ( "input_values" )
static

◆ dec_softConst()

const SG::Decorator< std::vector< ElementLink< IParticleContainer > > > met::dec_softConst ( "softConstituents" )
static

◆ fillMET()

StatusCode met::fillMET ( xAOD::MissingET *& met,
xAOD::MissingETContainer * metCont,
const std::string & metKey,
const MissingETBase::Types::bitmask_t metSource )

Definition at line 122 of file METHelpers.cxx.

125 {
126 using namespace msgMET;
127 if(met != nullptr){
128 ANA_MSG_ERROR("You can't fill a filled MET value");
129 return StatusCode::FAILURE;
130 }
131 if(metCont->find(metKey)!=metCont->end()){
132 ANA_MSG_ERROR("Attempted to add a duplicate MET term: " << metKey);
133 return StatusCode::FAILURE;
134 }
135
136 met = new xAOD::MissingET();
137 metCont->push_back(met);
138
139 met->setName (metKey);
140 met->setSource(metSource);
141
142 return StatusCode::SUCCESS;
143 }
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator find(const std::string &name) const
Find non-modifiable MET object by name.
void setSource(MissingETBase::Types::bitmask_t src)
Set the source of the MET object.
void setName(const std::string &name)
Set the name of the MET object.

◆ getMETElements() [1/2]

template<class T = xAOD::IParticle>
std::vector< const T * > met::getMETElements ( const xAOD::MissingET & met)

◆ getMETElements() [2/2]

template<>
std::vector< const xAOD::IParticle * > met::getMETElements ( const xAOD::MissingET & met)

Definition at line 162 of file METHelpers.cxx.

162 {
163 using namespace msgMET;
164
165 const auto& uniqueLinks = accessors::constitObjLinks(met);
166 std::vector<const xAOD::IParticle*> objs_out{};
167 objs_out.reserve(uniqueLinks.size());
168 // Loop through links
169 for (const auto& link: uniqueLinks){
170 if (link.isValid()) {
171 objs_out.push_back(*link);
172 } else {
173 ANA_MSG_WARNING("Invalid ElementLink from MET term " << met.name());
174 objs_out.push_back(nullptr);
175 }
176 }
177
178 return objs_out;
179 }
#define ANA_MSG_WARNING(xmsg)
Macro printing warning messages.
const std::string & name() const
Identifier getters.

◆ getMETElements< xAOD::Electron >()

template std::vector< const xAOD::Electron * > met::getMETElements< xAOD::Electron > ( const xAOD::MissingET & met)
extern

◆ getMETElements< xAOD::Jet >()

template std::vector< const xAOD::Jet * > met::getMETElements< xAOD::Jet > ( const xAOD::MissingET & met)
extern

◆ getMETElements< xAOD::Muon >()

template std::vector< const xAOD::Muon * > met::getMETElements< xAOD::Muon > ( const xAOD::MissingET & met)
extern

◆ getMETElements< xAOD::Photon >()

template std::vector< const xAOD::Photon * > met::getMETElements< xAOD::Photon > ( const xAOD::MissingET & met)
extern

◆ getMETElements< xAOD::TauJet >()

template std::vector< const xAOD::TauJet * > met::getMETElements< xAOD::TauJet > ( const xAOD::MissingET & met)
extern

◆ getMETElementsWeights() [1/2]

template<class T = xAOD::IParticle>
std::vector< std::pair< const T *, float > > met::getMETElementsWeights ( const xAOD::MissingET & met)

◆ getMETElementsWeights() [2/2]

template<>
std::vector< std::pair< const xAOD::IParticle *, float > > met::getMETElementsWeights ( const xAOD::MissingET & met)

Definition at line 183 of file METHelpers.cxx.

183 {
184 using namespace msgMET;
185
186 const auto& uniqueLinks = accessors::constitObjLinks(met);
187 const auto& uniqueWeights = accessors::constitObjWeights(met);
188 std::vector<std::pair<const xAOD::IParticle*,float> > objs_weights_out{};
189 objs_weights_out.reserve(uniqueLinks.size());
190 // Loop through links
191 for (size_t i=0; i<uniqueLinks.size(); ++i) {
192 auto& link = uniqueLinks[i];
193 float weight = uniqueWeights[i];
194 if (link.isValid()) {
195 objs_weights_out.push_back(std::make_pair(*link,weight));
196 } else {
197 ANA_MSG_WARNING("Invalid ElementLink from MET term " << met.name());
198 objs_weights_out.push_back(std::make_pair(nullptr,0));
199 }
200 }
201
202 return objs_weights_out;
203 }

◆ getMETElementsWeights< xAOD::Electron >()

template std::vector< std::pair< const xAOD::Electron *, float > > met::getMETElementsWeights< xAOD::Electron > ( const xAOD::MissingET & met)
extern

◆ getMETElementsWeights< xAOD::Jet >()

template std::vector< std::pair< const xAOD::Jet *, float > > met::getMETElementsWeights< xAOD::Jet > ( const xAOD::MissingET & met)
extern

◆ getMETElementsWeights< xAOD::Muon >()

template std::vector< std::pair< const xAOD::Muon *, float > > met::getMETElementsWeights< xAOD::Muon > ( const xAOD::MissingET & met)
extern

◆ getMETElementsWeights< xAOD::Photon >()

template std::vector< std::pair< const xAOD::Photon *, float > > met::getMETElementsWeights< xAOD::Photon > ( const xAOD::MissingET & met)
extern

◆ getMETElementsWeights< xAOD::TauJet >()

template std::vector< std::pair< const xAOD::TauJet *, float > > met::getMETElementsWeights< xAOD::TauJet > ( const xAOD::MissingET & met)
extern

◆ getSystType()

SystType met::getSystType ( const CP::SystematicVariation & systematic)
inline

Definition at line 55 of file IMETSystematicsTool.h.

56 {
69 return INVALID;
70 }
static const CP::SystematicVariation MET_JetTrk_ScaleDown("MET_JetTrk_Scale__1down")
static const CP::SystematicVariation MET_JetTrk_ScaleUp("MET_JetTrk_Scale__1up")
static const CP::SystematicVariation MET_SoftCalo_ResoPara("MET_SoftCalo_ResoPara")
static const CP::SystematicVariation MET_SoftCalo_ResoPerp("MET_SoftCalo_ResoPerp")
static const CP::SystematicVariation MET_SoftCalo_ScaleUp("MET_SoftCalo_Scale__1up")
static const CP::SystematicVariation MET_SoftCalo_ScaleDown("MET_SoftCalo_Scale__1down")
static const CP::SystematicVariation MET_SoftCalo_ResoCorr("MET_SoftCalo_ResoCorr")
static const CP::SystematicVariation MET_SoftTrk_ResoPara("MET_SoftTrk_ResoPara")
static const CP::SystematicVariation MET_SoftTrk_ResoPerp("MET_SoftTrk_ResoPerp")
static const CP::SystematicVariation MET_SoftTrk_ResoCorr("MET_SoftTrk_ResoCorr")
static const CP::SystematicVariation MET_SoftTrk_ScaleDown("MET_SoftTrk_Scale__1down")
static const CP::SystematicVariation MET_SoftTrk_ScaleUp("MET_SoftTrk_Scale__1up")

Variable Documentation

◆ cacc_ghosttruth

const SG::ConstAccessor< std::vector< ElementLink< IParticleContainer > > > met::cacc_ghosttruth("GhostTruth") ( "GhostTruth" )
static

◆ invisSource [1/2]

const MissingETBase::Types::bitmask_t met::invisSource = 0x100000
static

Definition at line 38 of file METHelpers.h.

◆ invisSource [2/2]

const MissingETBase::Types::bitmask_t met::invisSource = 0x100000
static

Definition at line 52 of file METSignificance.cxx.

◆ PVMatchedAcc [1/2]

const SG::ConstAccessor< char > met::PVMatchedAcc("matchedToPV") ( "matchedToPV" )
static

◆ PVMatchedAcc [2/2]

const SG::ConstAccessor< char > met::PVMatchedAcc("matchedToPV") ( "matchedToPV" )
static