ATLAS Offline Software
Loading...
Searching...
No Matches
CorrectPFOTool Class Reference

Applies various corrections to PFO. More...

#include <CorrectPFOTool.h>

Inheritance diagram for CorrectPFOTool:
Collaboration diagram for CorrectPFOTool:

Public Member Functions

 CorrectPFOTool (const std::string &name)
StatusCode initialize () override final
 Dummy implementation of the initialisation function.
StatusCode process (xAOD::IParticleContainer *cont, const EventContext &ctx) const override final
void setInputContainer (const std::string &cont)
void setOutputContainer (const std::string &cont)
void setInputChargedContainer (const std::string &cont)
void setOutputChargedContainer (const std::string &cont)
void setInputNeutralContainer (const std::string &cont)
void setOutputNeutralContainer (const std::string &cont)
virtual void print () const
 Print the state of the tool.
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const
Additional helper functions, not directly mimicking Athena
template<class T>
const T * getProperty (const std::string &name) const
 Get one of the tool's properties.
const std::string & msg_level_name () const __attribute__((deprecated))
 A deprecated function for getting the message level's name.
const std::string & getName (const void *ptr) const
 Get the name of an object that is / should be in the event store.
SG::sgkey_t getKey (const void *ptr) const
 Get the (hashed) key of an object that is in the event store.

Protected Member Functions

StatusCode setEtaPhi (xAOD::IParticle *obj, float eta, float phi) const
StatusCode setEnergyPt (xAOD::IParticle *obj, float e, float pt) const
StatusCode setP4 (xAOD::IParticle *obj, const xAOD::JetFourMom_t &p4) const
float getCorrectionFactor (xAOD::IParticle *obj, const float &corrected_energy, const float &corrected_pt) const
float getCorrectionFactor (xAOD::IParticle *obj, const xAOD::JetFourMom_t &corrected_p4) const
void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Protected Attributes

unsigned int m_inputType =xAOD::Type::Other
std::string m_inputContainer
std::string m_outputContainer
std::string m_inputChargedContainer
std::string m_inputNeutralContainer
std::string m_outputChargedContainer
std::string m_outputNeutralContainer
bool m_applyToChargedPFO =true
bool m_applyToNeutralPFO =true

Private Types

typedef ServiceHandle< StoreGateSvc > StoreGateSvc_t

Private Member Functions

StatusCode process_impl (xAOD::IParticleContainer *cont, const EventContext &ctx) const override final
StatusCode configure_decor_handle_keys () override final
StatusCode correctPFO (xAOD::PFOContainer &cont, const EventContext &ctx) const
StatusCode correctPFO (xAOD::FlowElementContainer &cont, const EventContext &ctx) const
StatusCode correctPFOByVertex (xAOD::PFOContainer &cont, const EventContext &ctx) const
StatusCode correctPFOByVertex (xAOD::FlowElementContainer &cont, const EventContext &ctx) const
const xAOD::Vertex * getPrimaryVertex (const EventContext &ctx) const
StatusCode applyNeutralCorrection (xAOD::PFO &pfo, const xAOD::Vertex &vtx) const
StatusCode applyNeutralCorrection (xAOD::FlowElement &pfo, const xAOD::Vertex &vtx) const
StatusCode applyChargedCorrection (xAOD::PFO &pfo) const
StatusCode applyChargedCorrection (xAOD::FlowElement &pfo) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

bool m_inputIsEM
bool m_calibrate
 If true EM clusters are used for neutral PFOs.
bool m_correctneutral
 If true, EM PFOs are calibrated to LC.
bool m_correctcharged
bool m_useChargedWeights
bool m_doByVertex
ToolHandle< CP::IWeightPFOTool > m_weightPFOTool
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer_key
Gaudi::Property< std::string > m_constituentCopyIndexDecor {this, "ConstituentCopyIndexDecor", "ConstituentCopyIndex", "Decoration storing the index of the vertex associated with each neutral PFO copy"}
SG::ReadDecorHandleKey< xAOD::IParticleContainer > m_constituentCopyIndexKey {this, "ConstituentCopyIndexKey", "", "Decoration storing the index of the vertex associated with each neutral PFO copy"}
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Applies various corrections to PFO.

Properties: InputIsEM - If true, EM-scale is used for the neutral pflow CalibratePFO - If true the EM-scale pflow is calibrated

Author
Jennifer Roloff, John Stupak, and Steven Schramm - based on PFlowPseudoJetGetter by P-A Delsart, D. Adams

Definition at line 34 of file CorrectPFOTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 376 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ CorrectPFOTool()

CorrectPFOTool::CorrectPFOTool ( const std::string & name)

Definition at line 14 of file CorrectPFOTool.cxx.

14 :
16 m_weightPFOTool("",this) {
17
18 // Configuration
19 declareProperty("WeightPFOTool", m_weightPFOTool, "Name of tool that extracts the cPFO weights.");
20 declareProperty("InputIsEM", m_inputIsEM = true, "True if neutral PFOs are EM scale clusters.");
21 declareProperty("CalibratePFO", m_calibrate = false, "True if LC calibration should be applied to EM PFOs.");
22 declareProperty("CorrectNeutral", m_correctneutral = true, "True to use the neutral component of PFlow.");
23 declareProperty("CorrectCharged", m_correctcharged = true, "True if use the charged component of PFlow.");
24 declareProperty("UseChargedWeights",m_useChargedWeights = true, "True if we make use of weighting scheme for charged PFO");
25 declareProperty("DoByVertex", m_doByVertex = false, "True to add vertex-by-vertex corrections for neutral PFOs");
26
27 // Input properties
28 declareProperty("VertexContainerKey",
29 m_vertexContainer_key="PrimaryVertices",
30 "Datahandle key for the primary vertex container");
31}
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
bool m_calibrate
If true EM clusters are used for neutral PFOs.
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer_key
ToolHandle< CP::IWeightPFOTool > m_weightPFOTool
bool m_correctneutral
If true, EM PFOs are calibrated to LC.
JetConstituentModifierBase(const std::string &name)

Member Function Documentation

◆ applyChargedCorrection() [1/2]

StatusCode CorrectPFOTool::applyChargedCorrection ( xAOD::FlowElement & pfo) const
private

Definition at line 330 of file CorrectPFOTool.cxx.

330 {
332 float weight = 0.0;
333 ATH_CHECK( m_weightPFOTool->fillWeight( pfo, weight ) );
334 ATH_MSG_VERBOSE("Fill pseudojet for CPFO with weighted pt: " << pfo.pt()*weight);
335 pfo.setP4(pfo.p4()*weight);
336 }//if should use charged PFO weighting scheme
337 return StatusCode::SUCCESS;
338}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x,...)
virtual double pt() const override
void setP4(float pt, float eta, float phi, float m)
virtual FourMom_t p4() const override
The full 4-momentum of the particle.

◆ applyChargedCorrection() [2/2]

StatusCode CorrectPFOTool::applyChargedCorrection ( xAOD::PFO & pfo) const
private

Definition at line 320 of file CorrectPFOTool.cxx.

320 {
322 float weight = 0.0;
323 ATH_CHECK( m_weightPFOTool->fillWeight( pfo, weight ) );
324 ATH_MSG_VERBOSE("Fill pseudojet for CPFO with weighted pt: " << pfo.pt()*weight);
325 pfo.setP4(pfo.p4()*weight);
326 }//if should use charged PFO weighting scheme
327 return StatusCode::SUCCESS;
328}
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Definition PFO_v1.cxx:95
void setP4(const FourMom_t &vec)
set the 4-vec
Definition PFO_v1.cxx:107
virtual double pt() const
The transverse momentum ( ) of the particle.
Definition PFO_v1.cxx:52

◆ applyNeutralCorrection() [1/2]

StatusCode CorrectPFOTool::applyNeutralCorrection ( xAOD::FlowElement & pfo,
const xAOD::Vertex & vtx ) const
private

Definition at line 309 of file CorrectPFOTool.cxx.

309 {
310 if (pfo.e() < FLT_MIN) { //This is necessary to avoid changing sign of pT for pT<0 PFO
311 pfo.setP4(0,0,0,0);
312 }
313 // Only apply origin correction if we really reconstructed a vertex
314 else if(vtx.vertexType() == xAOD::VxType::PriVtx) {
316 }
317 return StatusCode::SUCCESS;
318}
virtual double e() const override
The total energy of the particle.
VxType::VertexType vertexType() const
The type of the vertex.
TLorentzVector getVertexCorrectedFourVec(const xAOD::FlowElement &fe, const xAOD::Vertex &vertexToCorrectTo)
Definition FEHelpers.cxx:14
@ PriVtx
Primary vertex.

◆ applyNeutralCorrection() [2/2]

StatusCode CorrectPFOTool::applyNeutralCorrection ( xAOD::PFO & pfo,
const xAOD::Vertex & vtx ) const
private

Definition at line 290 of file CorrectPFOTool.cxx.

290 {
291 if (pfo.e() < FLT_MIN) { //This is necessary to avoid changing sign of pT for pT<0 PFO
292 pfo.setP4(0,0,0,0);
293 } else {
294 if ( !m_inputIsEM || m_calibrate ) { // Use LC four-vector
295 // Only correct if we really reconstructed a vertex
297 pfo.setP4(pfo.GetVertexCorrectedFourVec(vtx));
298 }
299 } else { // Use EM four-vector
300 // Only apply origin correction if we really reconstructed a vertex
303 } else {pfo.setP4(pfo.p4EM());} // Just set EM 4-vec
304 }
305 }
306 return StatusCode::SUCCESS;
307}
TLorentzVector GetVertexCorrectedFourVec(const xAOD::Vertex &vertexToCorrectTo) const
Correct 4-vector to point at a vertex.
Definition PFO_v1.cxx:722
FourMom_t p4EM() const
get EM scale 4-vector
Definition PFO_v1.cxx:144
TLorentzVector GetVertexCorrectedEMFourVec(const xAOD::Vertex &vertexToCorrectTo) const
Correct EM scale 4-vector to point at a vertex.
Definition PFO_v1.cxx:737
virtual double e() const
The total energy of the particle.
Definition PFO_v1.cxx:81

◆ configure_decor_handle_keys()

StatusCode CorrectPFOTool::configure_decor_handle_keys ( )
finaloverrideprivatevirtual

Reimplemented from JetConstituentModifierBase.

Definition at line 65 of file CorrectPFOTool.cxx.

65 {
66 if(m_doByVertex){
70 }
71 return StatusCode::SUCCESS;
72}
Gaudi::Property< std::string > m_constituentCopyIndexDecor
SG::ReadDecorHandleKey< xAOD::IParticleContainer > m_constituentCopyIndexKey

◆ correctPFO() [1/2]

StatusCode CorrectPFOTool::correctPFO ( xAOD::FlowElementContainer & cont,
const EventContext & ctx ) const
private

Definition at line 154 of file CorrectPFOTool.cxx.

154 {
155 ATH_MSG_DEBUG("Using correctPFO");
156 const xAOD::Vertex* vtx = nullptr;
157 if(m_correctneutral) {
158 vtx = getPrimaryVertex(ctx);
159 if(vtx==nullptr) {
160 ATH_MSG_ERROR("Primary vertex container was empty or no valid vertex found!");
161 return StatusCode::FAILURE;
162 } else if (vtx->vertexType()==xAOD::VxType::NoVtx) {
163 ATH_MSG_VERBOSE("No genuine primary vertex found. Will not apply origin correction");
164 }
165 }
166
167 for ( xAOD::FlowElement* ppfo : cont ) {
168
169 if ( !ppfo->isCharged()) { // Neutral PFOs
170 if(m_correctneutral) {
171 ATH_CHECK( applyNeutralCorrection(*ppfo, *vtx) );
172 }
173 } else { // Charged PFOs
174 if(m_correctcharged) {
176 }
177 }
178 } // PFO loop
179
180 return StatusCode::SUCCESS;
181}
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_ERROR(x,...)
const xAOD::Vertex * getPrimaryVertex(const EventContext &ctx) const
StatusCode applyChargedCorrection(xAOD::PFO &pfo) const
StatusCode applyNeutralCorrection(xAOD::PFO &pfo, const xAOD::Vertex &vtx) const
@ NoVtx
Dummy vertex. TrackParticle was not used in vertex fit.
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Definition FlowElement.h:16
Vertex_v1 Vertex
Define the latest version of the vertex class.

◆ correctPFO() [2/2]

StatusCode CorrectPFOTool::correctPFO ( xAOD::PFOContainer & cont,
const EventContext & ctx ) const
private

Definition at line 125 of file CorrectPFOTool.cxx.

125 {
126
127 const xAOD::Vertex* vtx = nullptr;
128 if(m_correctneutral) {
129 vtx = getPrimaryVertex(ctx);
130 if(vtx==nullptr) {
131 ATH_MSG_ERROR("Primary vertex container was empty or no valid vertex found!");
132 return StatusCode::FAILURE;
133 } else if (vtx->vertexType()==xAOD::VxType::NoVtx) {
134 ATH_MSG_VERBOSE("No genuine primary vertex found. Will not apply origin correction");
135 }
136 }
137
138 for ( xAOD::PFO* ppfo : cont ) {
139
140 if ( std::abs(ppfo->charge())<FLT_MIN) { // Neutral PFOs
141 if(m_correctneutral) {
142 ATH_CHECK( applyNeutralCorrection(*ppfo, *vtx) );
143 }
144 } else { // Charged PFOs
145 if(m_correctcharged) {
147 }
148 }
149 } // PFO loop
150
151 return StatusCode::SUCCESS;
152}
PFO_v1 PFO
Definition of the current "pfo version".
Definition PFO.h:17

◆ correctPFOByVertex() [1/2]

StatusCode CorrectPFOTool::correctPFOByVertex ( xAOD::FlowElementContainer & cont,
const EventContext & ctx ) const
private

Definition at line 237 of file CorrectPFOTool.cxx.

237 {
238 ATH_MSG_DEBUG("Using correctPFOByVertex");
239
240 SG::ReadDecorHandle<xAOD::IParticleContainer, unsigned> copyIndex_handle(m_constituentCopyIndexKey, ctx);
241
242 // Retrieve Primary Vertices
244 if (!handle.isValid()){
245 ATH_MSG_ERROR(" This event has no primary vertex container" );
246 return StatusCode::FAILURE;
247 }
248
249 const xAOD::VertexContainer* pvtxs = handle.cptr();
250 if(pvtxs->empty()){
251 ATH_MSG_ERROR(" Failed to retrieve valid primary vertex container" );
252 return StatusCode::FAILURE;
253 }
254
255 for ( xAOD::FlowElement* ppfo : cont ) {
256
257 if ( !ppfo->isCharged()) { // Neutral PFOs
258 if(m_correctneutral) {
259 // Neutral PFOs - there are copies, one per vertex, already created
260 // We need to now need to correct each copy to point to the corresponding vertex
261
262 const unsigned iVtx = copyIndex_handle(*ppfo);
263 if (iVtx >= pvtxs->size())
264 {
265 ATH_MSG_ERROR("Encountered a neutral per-vertex PFO object with an index beyond the size of the vertex container");
266 return StatusCode::FAILURE;
267 }
268 const xAOD::Vertex* vtx = pvtxs->at(iVtx);
269 // Determine the correct four-vector interpretation for a neutral PFO associated with this vertex
270 // Cannot use applyNeutralCorrection as that only used VxType::PriVtx, but we want to apply to all primary vertices
271 // As such, extract the relevant parts and modify appropriately here
272 // This is necessary to avoid changing sign of pT for pT<0 PFO
273 if (ppfo->e() < FLT_MIN) {
274 ppfo->setP4(0, 0, 0, 0);
275 }
276 ppfo->setP4(FEHelpers::getVertexCorrectedFourVec(*ppfo, *vtx));
277 }
278 } else { // Charged PFOs
279 if(m_correctcharged) {
281 }
282 }
283 } // PFO loop
284
285
286 return StatusCode::SUCCESS;
287}
const T * at(size_type n) const
Access an element, as an rvalue.
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.
virtual void handle(const Incident &inc)
Handle end of run incidents to save the metadata at that point.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".

◆ correctPFOByVertex() [2/2]

StatusCode CorrectPFOTool::correctPFOByVertex ( xAOD::PFOContainer & cont,
const EventContext & ctx ) const
private

Definition at line 183 of file CorrectPFOTool.cxx.

183 {
184 SG::ReadDecorHandle<xAOD::IParticleContainer, unsigned> copyIndex_handle(m_constituentCopyIndexKey, ctx);
185
186 // Retrieve Primary Vertices
188 if (!handle.isValid()){
189 ATH_MSG_ERROR(" This event has no primary vertex container" );
190 return StatusCode::FAILURE;
191 }
192
193 const xAOD::VertexContainer* pvtxs = handle.cptr();
194 if(pvtxs->empty()){
195 ATH_MSG_ERROR(" Failed to retrieve valid primary vertex container" );
196 return StatusCode::FAILURE;
197 }
198
199 for ( xAOD::PFO* ppfo : cont ) {
200
201 if ( std::abs(ppfo->charge())<FLT_MIN) { // Neutral PFOs
202 if(m_correctneutral) {
203 // Neutral PFOs - there are copies, one per vertex, already created
204 // We need to now need to correct each copy to point to the corresponding vertex
205
206 const unsigned iVtx = copyIndex_handle(*ppfo);
207 if (iVtx >= pvtxs->size())
208 {
209 ATH_MSG_ERROR("Encountered a neutral per-vertex PFO object with an index beyond the size of the vertex container");
210 return StatusCode::FAILURE;
211 }
212 const xAOD::Vertex* vtx = pvtxs->at(iVtx);
213 // Determine the correct four-vector interpretation for a neutral PFO associated with this vertex
214 // Cannot use applyNeutralCorrection as that only used VxType::PriVtx, but we want to apply to all primary vertices
215 // As such, extract the relevant parts and modify appropriately here
216 // This is necessary to avoid changing sign of pT for pT<0 PFO
217 if (ppfo->e() < FLT_MIN) {
218 ppfo->setP4(0, 0, 0, 0);
219 }
220 if (!m_inputIsEM || m_calibrate) { // Use LC four-vector
221 ppfo->setP4(ppfo->GetVertexCorrectedFourVec(*vtx));
222 } else { // Use EM four-vector
223 ppfo->setP4(ppfo->GetVertexCorrectedEMFourVec(*vtx));
224 }
225 }
226 } else { // Charged PFOs
227 if(m_correctcharged) {
229 }
230 }
231 } // PFO loop
232
233
234 return StatusCode::SUCCESS;
235}

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ getCorrectionFactor() [1/2]

float JetConstituentModifierBase::getCorrectionFactor ( xAOD::IParticle * obj,
const float & corrected_energy,
const float & corrected_pt ) const
protectedinherited

Definition at line 158 of file JetConstituentModifierBase.cxx.

158 {
159 float factor = 0.;
160 switch(m_inputType) {
162 {
163 xAOD::CaloCluster* clus = static_cast<xAOD::CaloCluster*>(obj);
164 factor = clus->calE() > 0. ? corrected_energy / clus->calE() : 0.;
165 }
166 break;
168 {
169 xAOD::PFO* pfo = static_cast<xAOD::PFO*>(obj);
170 factor = pfo->pt() > 0. ? corrected_pt / pfo->pt() : 0.;
171 }
172 break;
174 {
175 xAOD::FlowElement* pfo = static_cast<xAOD::FlowElement*>(obj);
176 factor = pfo->pt() > 0. ? corrected_pt / pfo->pt() : 0.;
177 }
178 break;
180 {
182 factor = tcc->pt() > 0. ? corrected_pt / tcc->pt() : 0.;
183 }
184 break;
185 default:
186 ATH_MSG_ERROR("No specialisation for object type " << m_inputType);
187 }
188 return factor;
189}
flt_t calE() const
Geet Energy in signal state CALIBRATED.
virtual double pt() const
The transverse momentum ( ) of the particle.
@ ParticleFlow
The object is a particle-flow object.
Definition ObjectType.h:41
@ FlowElement
The object is a track-calo-cluster.
Definition ObjectType.h:52
@ CaloCluster
The object is a calorimeter cluster.
Definition ObjectType.h:39
@ TrackCaloCluster
The object is a track-calo-cluster.
Definition ObjectType.h:51
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
TrackCaloCluster_v1 TrackCaloCluster
Reference the current persistent version:

◆ getCorrectionFactor() [2/2]

float JetConstituentModifierBase::getCorrectionFactor ( xAOD::IParticle * obj,
const xAOD::JetFourMom_t & corrected_p4 ) const
protectedinherited

Definition at line 191 of file JetConstituentModifierBase.cxx.

191 {
192 float weight = 0.;
193 switch(m_inputType) {
195 {
196 xAOD::CaloCluster* clus = static_cast<xAOD::CaloCluster*>(obj);
197 weight = clus->calE() > 0. ? corrected_p4.e() / clus->calE() : 0.;
198 }
199 break;
201 {
202 xAOD::PFO* pfo = static_cast<xAOD::PFO*>(obj);
203 // The PFO setter defaults to m=0
204 if( (m_applyToChargedPFO && pfo->isCharged()) || (m_applyToNeutralPFO && !pfo->isCharged()) ) {
205 weight = pfo->pt() > 0. ? corrected_p4.pt() / pfo->pt() : 0.;
206 }
207 }
208 break;
210 {
211 xAOD::FlowElement* pfo = static_cast<xAOD::FlowElement*>(obj);
212 if( (m_applyToChargedPFO && pfo->isCharged()) || (m_applyToNeutralPFO && !pfo->isCharged()) ) {
213 weight = pfo->pt() > 0. ? corrected_p4.pt() / pfo->pt() : 0.;
214 }
215 }
216 break;
218 {
220 if( tcc->taste() != 0) {
221 weight = tcc->pt() > 0. ? corrected_p4.pt() / tcc->pt() : 0.;
222 }
223 break;
224 }
225
226 default:
227 throw std::runtime_error("No specialisation for object type " + std::to_string(m_inputType));
228 }
229 return weight;
230}
bool isCharged() const
is a charged PFO
Definition PFO_v1.cxx:251
virtual int taste() const
The taste of the particle.

◆ getKey()

SG::sgkey_t asg::AsgTool::getKey ( const void * ptr) const
inherited

Get the (hashed) key of an object that is in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::Event both provide ways for getting the SG::sgkey_t key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getName
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The hashed key of the object in the store. If not found, an invalid (zero) key.

Definition at line 119 of file AsgTool.cxx.

119 {
120
121#ifdef XAOD_STANDALONE
122 // In case we use @c xAOD::Event, we have a direct function call
123 // for this.
124 return evtStore()->event()->getKey( ptr );
125#else
126 const SG::DataProxy* proxy = evtStore()->proxy( ptr );
127 return ( proxy == nullptr ? 0 : proxy->sgkey() );
128#endif // XAOD_STANDALONE
129 }
ServiceHandle< StoreGateSvc > & evtStore()

◆ getName()

const std::string & asg::AsgTool::getName ( const void * ptr) const
inherited

Get the name of an object that is / should be in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::Event both provide ways for getting the std::string name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getKey
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The string name of the object in the store. If not found, an empty string.

Definition at line 106 of file AsgTool.cxx.

106 {
107
108#ifdef XAOD_STANDALONE
109 // In case we use @c xAOD::Event, we have a direct function call
110 // for this.
111 return evtStore()->event()->getName( ptr );
112#else
113 const SG::DataProxy* proxy = evtStore()->proxy( ptr );
114 static const std::string dummy = "";
115 return ( proxy == nullptr ? dummy : proxy->name() );
116#endif // XAOD_STANDALONE
117 }

◆ getPrimaryVertex()

const xAOD::Vertex * CorrectPFOTool::getPrimaryVertex ( const EventContext & ctx) const
private

Definition at line 90 of file CorrectPFOTool.cxx.

90 {
91 // Retrieve Primary Vertices
93 if (!handle.isValid()){
94 ATH_MSG_WARNING(" This event has no primary vertex container" );
95 return nullptr;
96 }
97
98 const xAOD::VertexContainer* pvtxs = handle.cptr();
99 if(pvtxs->empty()){
100 ATH_MSG_WARNING(" Failed to retrieve valid primary vertex container" );
101 return nullptr;
102 }
103
104 //Usually the 0th vertex is the primary one, but this is not always
105 // the case. So we will choose the first vertex of type PriVtx
106 for (const auto *theVertex : *pvtxs) {
107 if (theVertex->vertexType()==xAOD::VxType::PriVtx) {
108 return theVertex;
109 }//If we have a vertex of type primary vertex
110 }//iterate over the vertices and check their type
111
112 // If we failed to find an appropriate vertex, return the dummy vertex
113 ATH_MSG_DEBUG("Could not find a primary vertex in this event " );
114 for (const auto *theVertex : *pvtxs) {
115 if (theVertex->vertexType()==xAOD::VxType::NoVtx) {
116 return theVertex;
117 }
118 }
119
120 // If there is no primary vertex, then we cannot do PV matching.
121 ATH_MSG_WARNING("Primary vertex container was empty");
122 return nullptr;
123}
#define ATH_MSG_WARNING(x,...)

◆ getProperty()

template<class T>
const T * asg::AsgTool::getProperty ( const std::string & name) const
inherited

Get one of the tool's properties.

◆ initialize()

StatusCode CorrectPFOTool::initialize ( void )
finaloverridevirtual

Dummy implementation of the initialisation function.

It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...

Reimplemented from asg::AsgTool.

Definition at line 33 of file CorrectPFOTool.cxx.

33 {
35 ATH_MSG_ERROR("This tool is configured to do nothing!");
36 return StatusCode::FAILURE;
37 }
39 ATH_MSG_ERROR("CorrectPFOTool requires PFO inputs. It cannot operate on objects of type "
40 << m_inputType);
41 return StatusCode::FAILURE;
42 }
44 ATH_CHECK( m_weightPFOTool.retrieve() );
45 }
46 ATH_CHECK( m_vertexContainer_key.initialize() );
47
48 if(m_doByVertex){
49 ATH_MSG_INFO("Running CorrectPFOTool by vertex:" << m_doByVertex);
50 }
51
52 if(!m_constituentCopyIndexKey.key().empty()) {
53 ATH_MSG_ERROR("CorrectPFOTool: ConstituentCopyIndexKey is not empty: " << m_constituentCopyIndexKey.key() << " Use ConstituentCopyIndexDecor to set decoration!");
54 return StatusCode::FAILURE;
55 }
56
57 if (!m_doByVertex) {
59 }
60
61
62 return StatusCode::SUCCESS;
63}
#define ATH_MSG_INFO(x,...)
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ msg()

MsgStream & AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msg_level_name()

const std::string & asg::AsgTool::msg_level_name ( ) const
inherited

A deprecated function for getting the message level's name.

Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:

MSG::name( msg().level() )

This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.

Returns
The string name of the current minimum message level that's printed

Definition at line 101 of file AsgTool.cxx.

101 {
102
103 return MSG::name( msg().level() );
104 }
MsgStream & msg() const
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
Definition MsgLevel.cxx:19

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ print()

void asg::AsgTool::print ( ) const
virtualinherited

Print the state of the tool.

Implements asg::IAsgTool.

Reimplemented in AsgHelloTool, HI::HIPileupTool, JetFromPseudojet, JetPileupLabelingTool, JetPseudojetRetriever, JetSubStructureMomentToolsBase, JetTruthLabelingTool, and KtDeltaRTool.

Definition at line 131 of file AsgTool.cxx.

131 {
132
133 ATH_MSG_INFO( "AsgTool " << name() << " @ " << this );
134 return;
135 }

◆ process()

StatusCode JetConstituentModifierBase::process ( xAOD::IParticleContainer * cont,
const EventContext & ctx ) const
finaloverridevirtualinherited

Implements IJetConstituentModifier.

Definition at line 25 of file JetConstituentModifierBase.cxx.

26{
27 // Test that we are operating on the type of object that
28 // we will be writing out.
29 // By implication, any supporting containers should not
30 // be the ones passed to this method...
31 if(!cont->empty() && cont->front()->type() != m_inputType) {
32 ATH_MSG_ERROR("Object type mismatch! This tool expects " << m_inputType
33 << ", but received " << cont->front()->type());
34 return StatusCode::FAILURE;
35 }
36
37 ATH_CHECK(process_impl(cont, ctx));
38
39 return StatusCode::SUCCESS;
40}
const T * front() const
Access the first element in the collection as an rvalue.
virtual StatusCode process_impl(xAOD::IParticleContainer *, const EventContext &) const

◆ process_impl()

StatusCode CorrectPFOTool::process_impl ( xAOD::IParticleContainer * cont,
const EventContext & ctx ) const
finaloverrideprivatevirtual

Reimplemented from JetConstituentModifierBase.

Definition at line 75 of file CorrectPFOTool.cxx.

75 {
76 // Type-checking happens in the JetConstituentModifierBase class
77 // so it is safe just to static_cast
79 xAOD::FlowElementContainer* feCont = static_cast<xAOD::FlowElementContainer*>(cont);
80 if(!feCont->empty() && !(feCont->front()->signalType() & xAOD::FlowElement::PFlow)){
81 ATH_MSG_ERROR("CorrectPFOTool received FlowElements that aren't PFOs");
82 return StatusCode::FAILURE;
83 }
84 return m_doByVertex ? correctPFOByVertex(*feCont, ctx) : correctPFO(*feCont, ctx);
85 }
86 xAOD::PFOContainer* pfoCont = static_cast<xAOD::PFOContainer*> (cont);
87 return m_doByVertex ? correctPFOByVertex(*pfoCont, ctx) : correctPFO(*pfoCont, ctx);
88}
StatusCode correctPFO(xAOD::PFOContainer &cont, const EventContext &ctx) const
StatusCode correctPFOByVertex(xAOD::PFOContainer &cont, const EventContext &ctx) const
signal_t signalType() const
FlowElementContainer_v1 FlowElementContainer
Definition of the current "pfo container version".
PFOContainer_v1 PFOContainer
Definition of the current "pfo container version".

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 368 of file AthCommonDataStore.h.

369 {
370 h.renounce();
372 }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 352 of file AthCommonDataStore.h.

352 {
354 }

◆ setEnergyPt()

StatusCode JetConstituentModifierBase::setEnergyPt ( xAOD::IParticle * obj,
float e,
float pt ) const
protectedinherited

Definition at line 63 of file JetConstituentModifierBase.cxx.

64{
65 switch(m_inputType) {
67 {
68 xAOD::CaloCluster* clus = static_cast<xAOD::CaloCluster*>(obj);
69 // Clusters get pt via the energy
70 // This currently leaves the mass unaltered.
71 clus->setCalE(e);
72 }
73 break;
75 {
76 xAOD::PFO* pfo = static_cast<xAOD::PFO*>(obj);
77 if( (m_applyToChargedPFO && pfo->isCharged()) ||
78 (m_applyToNeutralPFO && !pfo->isCharged()) ) {
79 // KTJ: Temporary fix
80 // Defeats the purpose, but we need to use this to reset the 4-vec cache
81 pfo->setP4(pt, pfo->eta(), pfo->phi());
82 }
83 }
84 break;
86 {
87 xAOD::FlowElement* pfo = static_cast<xAOD::FlowElement*>(obj);
88 if( (m_applyToChargedPFO && pfo->isCharged()) ||
89 (m_applyToNeutralPFO && !pfo->isCharged()) ) {
90 pfo->setP4(pt, pfo->eta(), pfo->phi(), 0.);
91 }
92 }
93 break;
95 {
97 if( tcc->taste() != 0) {
98 tcc->setParameters(pt, tcc->eta(), tcc->phi(), tcc->m(), xAOD::TrackCaloCluster::Taste(tcc->taste()), tcc->trackParticleLink(), tcc->caloClusterLinks());
99 }
100 }
101 break;
102 default:
103 // Should not get here, because type-checking should happen in process()
104 ATH_MSG_ERROR("No specialisation for object type " << m_inputType);
105 return StatusCode::FAILURE;
106 }
107 return StatusCode::SUCCESS;
108}
void setCalE(flt_t)
Set Energy for signal state CALIBRATED.
virtual double phi() const override
The azimuthal angle ( ) of the particle.
virtual double eta() const override
The pseudorapidity ( ) of the particle.
virtual double eta() const
The pseudorapidity ( ) of the particle.
Definition PFO_v1.cxx:60
virtual double phi() const
The azimuthal angle ( ) of the particle.
Definition PFO_v1.cxx:67
virtual double m() const
The invariant mass of the particle..
virtual double phi() const
The azimuthal angle ( ) of the particle (has range to .).
Taste
Type of TrackCaloCluster - Charged - Neutral - Combined.
const ElementLink< xAOD::TrackParticleContainer > & trackParticleLink() const
virtual double eta() const
The pseudorapidity ( ) of the particle.
const std::vector< ElementLink< xAOD::CaloClusterContainer > > & caloClusterLinks() const
Returns a vector to the links (which can be invalid) to the xAOD::CaloClusters associated with this T...
void setParameters(float pt, float eta, float phi, float m, TrackCaloCluster_v1::Taste taste, const ElementLink< xAOD::TrackParticleContainer > &particle, const std::vector< ElementLink< xAOD::CaloClusterContainer > > &clusters)

◆ setEtaPhi()

StatusCode JetConstituentModifierBase::setEtaPhi ( xAOD::IParticle * obj,
float eta,
float phi ) const
protectedinherited

Definition at line 43 of file JetConstituentModifierBase.cxx.

44{
45 switch(m_inputType) {
46 // The main (only?) application is origin-correcting LC topoclusters
47 // By convention we leave the raw p4 unmodified
49 {
50 xAOD::CaloCluster* clus = static_cast<xAOD::CaloCluster*>(obj);
51 clus->setCalEta(eta);
52 clus->setCalPhi(phi);
53 }
54 break;
55 default:
56 // Should not get here, because type-checking should happen in process()
57 ATH_MSG_ERROR("No specialisation for object type " << m_inputType);
58 return StatusCode::FAILURE;
59 }
60 return StatusCode::SUCCESS;
61}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
void setCalPhi(flt_t)
Set for signal state CALIBRATED.
void setCalEta(flt_t)
Set for signal state CALIBRATED.

◆ setInputChargedContainer()

void JetConstituentModifierBase::setInputChargedContainer ( const std::string & cont)
inlineinherited

Definition at line 47 of file JetConstituentModifierBase.h.

◆ setInputContainer()

void JetConstituentModifierBase::setInputContainer ( const std::string & cont)
inlineinherited

Definition at line 45 of file JetConstituentModifierBase.h.

◆ setInputNeutralContainer()

void JetConstituentModifierBase::setInputNeutralContainer ( const std::string & cont)
inlineinherited

Definition at line 49 of file JetConstituentModifierBase.h.

◆ setOutputChargedContainer()

void JetConstituentModifierBase::setOutputChargedContainer ( const std::string & cont)
inlineinherited

Definition at line 48 of file JetConstituentModifierBase.h.

◆ setOutputContainer()

void JetConstituentModifierBase::setOutputContainer ( const std::string & cont)
inlineinherited

Definition at line 46 of file JetConstituentModifierBase.h.

◆ setOutputNeutralContainer()

void JetConstituentModifierBase::setOutputNeutralContainer ( const std::string & cont)
inlineinherited

Definition at line 50 of file JetConstituentModifierBase.h.

◆ setP4()

StatusCode JetConstituentModifierBase::setP4 ( xAOD::IParticle * obj,
const xAOD::JetFourMom_t & p4 ) const
protectedinherited

Definition at line 110 of file JetConstituentModifierBase.cxx.

110 {
111 switch(m_inputType) {
113 {
114 xAOD::CaloCluster* clus = static_cast<xAOD::CaloCluster*>(obj);
115 // This currently leaves the mass unaltered
116 clus->setCalE(p4.e());
117 clus->setCalEta(p4.eta());
118 clus->setCalPhi(p4.phi());
119 }
120 break;
122 {
123 xAOD::PFO* pfo = static_cast<xAOD::PFO*>(obj);
124 // The PFO setter defaults to m=0
125 if( (m_applyToChargedPFO && pfo->isCharged()) ||
126 (m_applyToNeutralPFO && !pfo->isCharged()) ) {
127 pfo->setP4(p4.pt(),p4.eta(),p4.phi(),p4.mass());
128 }
129 }
130 break;
132 {
133 xAOD::FlowElement* pfo = static_cast<xAOD::FlowElement*>(obj);
134 if( (m_applyToChargedPFO && pfo->isCharged()) ||
135 (m_applyToNeutralPFO && !pfo->isCharged()) ) {
136 pfo->setP4(p4.pt(),p4.eta(),p4.phi(),p4.mass());
137 }
138 }
139 break;
141 {
143 if( tcc->taste() != 0) {
144 tcc->setParameters(p4.pt(), p4.eta(), p4.phi(), p4.mass(), xAOD::TrackCaloCluster::Taste(tcc->taste()), tcc->trackParticleLink(), tcc->caloClusterLinks());
145 }
146 break;
147 }
148
149 default:
150 // Should not get here, because type-checking should happen in process()
151 ATH_MSG_ERROR("No specialisation for object type " << m_inputType);
152 return StatusCode::FAILURE;
153 }
154 return StatusCode::SUCCESS;
155}

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, and AthCheckedComponent<::AthAlgTool >.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 298 of file AthCommonDataStore.h.

298 {
299 for (auto &a : m_vhka) {
301 for (auto k : keys) {
302 k->setOwner(this);
303 }
304 }
305 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_applyToChargedPFO

bool JetConstituentModifierBase::m_applyToChargedPFO =true
protectedinherited

Definition at line 84 of file JetConstituentModifierBase.h.

◆ m_applyToNeutralPFO

bool JetConstituentModifierBase::m_applyToNeutralPFO =true
protectedinherited

Definition at line 85 of file JetConstituentModifierBase.h.

◆ m_calibrate

bool CorrectPFOTool::m_calibrate
private

If true EM clusters are used for neutral PFOs.

Definition at line 62 of file CorrectPFOTool.h.

◆ m_constituentCopyIndexDecor

Gaudi::Property<std::string> CorrectPFOTool::m_constituentCopyIndexDecor {this, "ConstituentCopyIndexDecor", "ConstituentCopyIndex", "Decoration storing the index of the vertex associated with each neutral PFO copy"}
private

Definition at line 70 of file CorrectPFOTool.h.

70{this, "ConstituentCopyIndexDecor", "ConstituentCopyIndex", "Decoration storing the index of the vertex associated with each neutral PFO copy"};

◆ m_constituentCopyIndexKey

SG::ReadDecorHandleKey<xAOD::IParticleContainer> CorrectPFOTool::m_constituentCopyIndexKey {this, "ConstituentCopyIndexKey", "", "Decoration storing the index of the vertex associated with each neutral PFO copy"}
private

Definition at line 71 of file CorrectPFOTool.h.

71{this, "ConstituentCopyIndexKey", "", "Decoration storing the index of the vertex associated with each neutral PFO copy"};

◆ m_correctcharged

bool CorrectPFOTool::m_correctcharged
private

Definition at line 64 of file CorrectPFOTool.h.

◆ m_correctneutral

bool CorrectPFOTool::m_correctneutral
private

If true, EM PFOs are calibrated to LC.

Definition at line 63 of file CorrectPFOTool.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 381 of file AthCommonDataStore.h.

◆ m_doByVertex

bool CorrectPFOTool::m_doByVertex
private

Definition at line 66 of file CorrectPFOTool.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 378 of file AthCommonDataStore.h.

◆ m_inputChargedContainer

std::string JetConstituentModifierBase::m_inputChargedContainer
protectedinherited

Definition at line 78 of file JetConstituentModifierBase.h.

◆ m_inputContainer

std::string JetConstituentModifierBase::m_inputContainer
protectedinherited

Definition at line 76 of file JetConstituentModifierBase.h.

◆ m_inputIsEM

bool CorrectPFOTool::m_inputIsEM
private

Definition at line 61 of file CorrectPFOTool.h.

◆ m_inputNeutralContainer

std::string JetConstituentModifierBase::m_inputNeutralContainer
protectedinherited

Definition at line 79 of file JetConstituentModifierBase.h.

◆ m_inputType

unsigned int JetConstituentModifierBase::m_inputType =xAOD::Type::Other
protectedinherited

Definition at line 74 of file JetConstituentModifierBase.h.

◆ m_outputChargedContainer

std::string JetConstituentModifierBase::m_outputChargedContainer
protectedinherited

Definition at line 80 of file JetConstituentModifierBase.h.

◆ m_outputContainer

std::string JetConstituentModifierBase::m_outputContainer
protectedinherited

Definition at line 77 of file JetConstituentModifierBase.h.

◆ m_outputNeutralContainer

std::string JetConstituentModifierBase::m_outputNeutralContainer
protectedinherited

Definition at line 81 of file JetConstituentModifierBase.h.

◆ m_useChargedWeights

bool CorrectPFOTool::m_useChargedWeights
private

Definition at line 65 of file CorrectPFOTool.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 387 of file AthCommonDataStore.h.

◆ m_vertexContainer_key

SG::ReadHandleKey<xAOD::VertexContainer> CorrectPFOTool::m_vertexContainer_key
private

Definition at line 69 of file CorrectPFOTool.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 386 of file AthCommonDataStore.h.

◆ m_weightPFOTool

ToolHandle<CP::IWeightPFOTool> CorrectPFOTool::m_weightPFOTool
private

Definition at line 67 of file CorrectPFOTool.h.


The documentation for this class was generated from the following files: