ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
p4Decorator Struct Reference
Collaboration diagram for p4Decorator:

Public Member Functions

 p4Decorator (const SG::WriteDecorHandleKey< xAOD::JetContainer > &ptKey, const SG::WriteDecorHandleKey< xAOD::JetContainer > &etaKey, const SG::WriteDecorHandleKey< xAOD::JetContainer > &phiKey, const SG::WriteDecorHandleKey< xAOD::JetContainer > &massKey)
 
void decorateP4 (const xAOD::Jet &jet, const xAOD::JetFourMom_t &p4)
 

Public Attributes

SG::WriteDecorHandle< xAOD::JetContainer, float > ptHandle
 
SG::WriteDecorHandle< xAOD::JetContainer, float > etaHandle
 
SG::WriteDecorHandle< xAOD::JetContainer, float > phiHandle
 
SG::WriteDecorHandle< xAOD::JetContainer, float > massHandle
 

Detailed Description

Definition at line 11 of file JetEMScaleMomTool.cxx.

Constructor & Destructor Documentation

◆ p4Decorator()

Definition at line 18 of file JetEMScaleMomTool.cxx.

21  :
22  ptHandle(ptKey),
23  etaHandle(etaKey),
24  phiHandle(phiKey),
25  massHandle(massKey)
26  {}

Member Function Documentation

◆ decorateP4()

void p4Decorator::decorateP4 ( const xAOD::Jet jet,
const xAOD::JetFourMom_t p4 
)
inline

Definition at line 28 of file JetEMScaleMomTool.cxx.

28  {
29  ptHandle(jet) = p4.Pt();
30  etaHandle(jet) = p4.Eta();
31  phiHandle(jet) = p4.Phi();
32  massHandle(jet) = p4.M();
33  }

Member Data Documentation

◆ etaHandle

SG::WriteDecorHandle<xAOD::JetContainer, float > p4Decorator::etaHandle

Definition at line 14 of file JetEMScaleMomTool.cxx.

◆ massHandle

SG::WriteDecorHandle<xAOD::JetContainer, float > p4Decorator::massHandle

Definition at line 16 of file JetEMScaleMomTool.cxx.

◆ phiHandle

SG::WriteDecorHandle<xAOD::JetContainer, float > p4Decorator::phiHandle

Definition at line 15 of file JetEMScaleMomTool.cxx.

◆ ptHandle

SG::WriteDecorHandle<xAOD::JetContainer, float > p4Decorator::ptHandle

Definition at line 13 of file JetEMScaleMomTool.cxx.


The documentation for this struct was generated from the following file:
p4Decorator::massHandle
SG::WriteDecorHandle< xAOD::JetContainer, float > massHandle
Definition: JetEMScaleMomTool.cxx:16
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
p4Decorator::phiHandle
SG::WriteDecorHandle< xAOD::JetContainer, float > phiHandle
Definition: JetEMScaleMomTool.cxx:15
p4Decorator::ptHandle
SG::WriteDecorHandle< xAOD::JetContainer, float > ptHandle
Definition: JetEMScaleMomTool.cxx:13
p4Decorator::etaHandle
SG::WriteDecorHandle< xAOD::JetContainer, float > etaHandle
Definition: JetEMScaleMomTool.cxx:14