ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
InDet::V0MainDecorator Class Reference

#include <V0MainDecorator.h>

Inheritance diagram for InDet::V0MainDecorator:
Collaboration diagram for InDet::V0MainDecorator:

Public Member Functions

 V0MainDecorator (const std::string &t, const std::string &n, const IInterface *p)
 
 ~V0MainDecorator ()
 
StatusCode initialize ()
 
StatusCode decorateV0 (xAOD::VertexContainer *container, const EventContext &ctx) const
 
StatusCode decorateks (xAOD::VertexContainer *container, const EventContext &ctx) const
 
StatusCode decoratela (xAOD::VertexContainer *container, const EventContext &ctx) const
 
StatusCode decoratelb (xAOD::VertexContainer *container, const EventContext &ctx) const
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
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. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

StatusCode initKey (const std::string &, SG::WriteDecorHandleKey< xAOD::VertexContainer > &decokey) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

IntegerProperty m_masses {this, "masses", 1}
 = 1 if using PDG values, = 2 if user set (1) More...
 
DoubleProperty m_masspi {this, "masspi", 139.57}
 pion mass (139.57 MeV) More...
 
DoubleProperty m_massp {this, "massp", 938.272}
 proton mass (938.272 MeV) More...
 
DoubleProperty m_masse {this, "masse", 0.510999}
 electron mass (0.510999 MeV) More...
 
DoubleProperty m_massK0S {this, "massK0s", 497.672}
 Kshort mass (497.672 MeV) More...
 
DoubleProperty m_massLambda {this, "massLambda", 1115.68}
 Lambda mass (1115.68 MeV) More...
 
ToolHandle< Trk::V0Toolsm_V0Tools {this, "V0Tools", "Trk::V0Tools", "V0 tools to calculate things like Lxy"}
 
Gaudi::Property< std::string > m_v0Key { this, "V0ContainerName", "V0Candidates", "V0 container name (same calling alg)" }
 
Gaudi::Property< std::string > m_ksKey { this, "KshortContainerName", "KshortCandidates", "Ks container" }
 
Gaudi::Property< std::string > m_laKey
 
Gaudi::Property< std::string > m_lbKey
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorKsMass { this, "KsMass_v0", ".Kshort_mass", "Ks mass for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorKsMassErr { this, "KsMassErr_v0", ".Kshort_massError", "Ks mass error for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorLaMass { this, "LaMass_v0", ".Lambda_mass", "Lambda mass for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorLaMassErr { this, "LaMassErr_v0", ".Lambda_massError", "Lambda mass error for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorLbMass { this, "LbMass_v0", ".Lambdabar_mass", "Lambdabar mass for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorLbMassErr { this, "LbMassErr_v0", ".Lambdabar_massError", "Lambdabar mass error for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPt_v0 { this, "Pt_v0", ".pT", "Transverse momentum for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPtErr_v0 { this, "PtErr_v0", ".pTError", "Transverse momentum error for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorRxy_v0 { this, "Rxy_v0", ".Rxy", "Rxy for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorRxyErr_v0 { this, "RxyErr_v0", ".RxyError", "Rxy error for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPx_v0 { this, "Px_v0", ".px", "Px for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPy_v0 { this, "Py_v0", ".py", "Py for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPz_v0 { this, "Pz_v0", ".pz", "Pz for v0" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorMass_ks { this, "Mass_ks", ".mass", "mass for Ks" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorMassErr_ks { this, "MassErr_ks", ".massError", "mass error for Ks" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPt_ks { this, "Pt_ks", ".pT", "Transverse momentum for Ks" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPtErr_ks { this, "PtErr_ks", ".pTError", "Transverse momentum error for Ks" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorRxy_ks { this, "Rxy_ks", ".Rxy", "Rxy for Ks" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorRxyErr_ks { this, "RxyErr_ks", ".RxyError", "Rxy error for Ks" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPx_ks { this, "Px_ks", ".px", "Px for Ks" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPy_ks { this, "Py_ks", ".py", "Py for Ks" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPz_ks { this, "Pz_ks", ".pz", "Pz for Ks" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorMass_la { this, "Mass_la", ".mass", "mass for Lambda" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorMassErr_la { this, "MassErr_la", ".massError", "mass error for Lambda" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPt_la { this, "Pt_la", ".pT", "Transverse momentum for Lambda" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPtErr_la { this, "PtErr_la", ".pTError", "Transverse momentum error for Lambda" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorRxy_la { this, "Rxy_la", ".Rxy", "Rxy for la" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorRxyErr_la { this, "RxyErr_la", ".RxyError", "Rxy error for Lambda" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPx_la { this, "Px_la", ".px", "Px for Lambda" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPy_la { this, "Py_la", ".py", "Py for Lambda" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPz_la { this, "Pz_la", ".pz", "Pz for Lambda" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorMass_lb { this, "Mass_lb", ".mass", "mass for Lambdabar" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorMassErr_lb { this, "MassErr_lb", ".massError", "mass error for Lambdabar" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPt_lb { this, "Pt_lb", ".pT", "Transverse momentum for Lambdabar" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPtErr_lb { this, "PtErr_lb", ".pTError", "Transverse momentum error for Lambdabar" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorRxy_lb { this, "Rxy_lb", ".Rxy", "Rxy for Lambdabar" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorRxyErr_lb { this, "RxyErr_lb", ".RxyError", "Rxy error for Lambdabar" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPx_lb { this, "Px_lb", ".px", "Px for Lambdabar" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPy_lb { this, "Py_lb", ".py", "Py for Lambdabar" }
 
SG::WriteDecorHandleKey< xAOD::VertexContainerm_decorPz_lb { this, "Pz_lb", ".pz", "Pz for Lambdabar" }
 
ServiceHandle< IPartPropSvc > m_partPropSvc {this, "PartPropSvc", "PartPropSvc"}
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 17 of file V0MainDecorator.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ V0MainDecorator()

InDet::V0MainDecorator::V0MainDecorator ( const std::string &  t,
const std::string &  n,
const IInterface *  p 
)

Definition at line 12 of file V0MainDecorator.cxx.

13  :
14  AthAlgTool(t,n,p){}

◆ ~V0MainDecorator()

InDet::V0MainDecorator::~V0MainDecorator ( )
default

Member Function Documentation

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

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

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ decorateks()

StatusCode InDet::V0MainDecorator::decorateks ( xAOD::VertexContainer container,
const EventContext &  ctx 
) const

Definition at line 142 of file V0MainDecorator.cxx.

143 {
144 
154 
155  for ( auto ksV0 : *container )
156  {
157  double mass_ks = m_V0Tools->invariantMass(ksV0,m_masspi,m_masspi);
158  double mass_error_ks = m_V0Tools->invariantMassError(ksV0,m_masspi,m_masspi);
159  double pt = m_V0Tools->pT(ksV0);
160  double ptError = m_V0Tools->pTError(ksV0);
161  double rxy = m_V0Tools->rxy(ksV0);
162  double rxyError = m_V0Tools->rxyError(ksV0);
163  Amg::Vector3D momentum = m_V0Tools->V0Momentum(ksV0);
164 
165  decorMass_ks( *ksV0 ) = mass_ks;
166  decorMassErr_ks( *ksV0 ) = mass_error_ks;
167  decorPt_ks( *ksV0 ) = pt;
168  decorPtErr_ks( *ksV0 ) = ptError;
169  decorRxy_ks( *ksV0 ) = rxy;
170  decorRxyErr_ks( *ksV0 ) = rxyError;
171  decorPx_ks( *ksV0 ) = momentum.x();
172  decorPy_ks( *ksV0 ) = momentum.y();
173  decorPz_ks( *ksV0 ) = momentum.z();
174  }
175  return StatusCode::SUCCESS;
176 }

◆ decoratela()

StatusCode InDet::V0MainDecorator::decoratela ( xAOD::VertexContainer container,
const EventContext &  ctx 
) const

Definition at line 178 of file V0MainDecorator.cxx.

179 {
189 
190  for ( auto laV0 : *container )
191  {
192  double mass_la = m_V0Tools->invariantMass(laV0,m_massp,m_masspi);
193  double mass_error_la = m_V0Tools->invariantMassError(laV0,m_massp,m_masspi);
194  double pt = m_V0Tools->pT(laV0);
195  double ptError = m_V0Tools->pTError(laV0);
196  double rxy = m_V0Tools->rxy(laV0);
197  double rxyError = m_V0Tools->rxyError(laV0);
198  Amg::Vector3D momentum = m_V0Tools->V0Momentum(laV0);
199 
200  decorMass_la( *laV0 ) = mass_la;
201  decorMassErr_la( *laV0 ) = mass_error_la;
202  decorPt_la( *laV0 ) = pt;
203  decorPtErr_la( *laV0 ) = ptError;
204  decorRxy_la( *laV0 ) = rxy;
205  decorRxyErr_la( *laV0 ) = rxyError;
206  decorPx_la( *laV0 ) = momentum.x();
207  decorPy_la( *laV0 ) = momentum.y();
208  decorPz_la( *laV0 ) = momentum.z();
209  }
210  return StatusCode::SUCCESS;
211 }

◆ decoratelb()

StatusCode InDet::V0MainDecorator::decoratelb ( xAOD::VertexContainer container,
const EventContext &  ctx 
) const

Definition at line 213 of file V0MainDecorator.cxx.

214 {
224 
225  for ( auto lbV0 : *container )
226  {
227  double mass_lb = m_V0Tools->invariantMass(lbV0,m_masspi,m_massp);
228  double mass_error_lb = m_V0Tools->invariantMassError(lbV0,m_masspi,m_massp);
229  double pt = m_V0Tools->pT(lbV0);
230  double ptError = m_V0Tools->pTError(lbV0);
231  double rxy = m_V0Tools->rxy(lbV0);
232  double rxyError = m_V0Tools->rxyError(lbV0);
233  Amg::Vector3D momentum = m_V0Tools->V0Momentum(lbV0);
234 
235  decorMass_lb( *lbV0 ) = mass_lb;
236  decorMassErr_lb( *lbV0 ) = mass_error_lb;
237  decorPt_lb( *lbV0 ) = pt;
238  decorPtErr_lb( *lbV0 ) = ptError;
239  decorRxy_lb( *lbV0 ) = rxy;
240  decorRxyErr_lb( *lbV0 ) = rxyError;
241  decorPx_lb( *lbV0 ) = momentum.x();
242  decorPy_lb( *lbV0 ) = momentum.y();
243  decorPz_lb( *lbV0 ) = momentum.z();
244  }
245  return StatusCode::SUCCESS;
246 }

◆ decorateV0()

StatusCode InDet::V0MainDecorator::decorateV0 ( xAOD::VertexContainer container,
const EventContext &  ctx 
) const

Definition at line 94 of file V0MainDecorator.cxx.

95 {
96 
110 
111  for ( auto unconstrV0 : *container )
112  {
113  double mass_ks = m_V0Tools->invariantMass(unconstrV0,m_masspi,m_masspi);
114  double mass_error_ks = m_V0Tools->invariantMassError(unconstrV0,m_masspi,m_masspi);
115  double mass_la = m_V0Tools->invariantMass(unconstrV0,m_massp,m_masspi);
116  double mass_error_la = m_V0Tools->invariantMassError(unconstrV0,m_massp,m_masspi);
117  double mass_lb = m_V0Tools->invariantMass(unconstrV0,m_masspi,m_massp);
118  double mass_error_lb = m_V0Tools->invariantMassError(unconstrV0,m_masspi,m_massp);
119  double pt = m_V0Tools->pT(unconstrV0);
120  double ptError = m_V0Tools->pTError(unconstrV0);
121  double rxy = m_V0Tools->rxy(unconstrV0);
122  double rxyError = m_V0Tools->rxyError(unconstrV0);
123  Amg::Vector3D momentum = m_V0Tools->V0Momentum(unconstrV0);
124 
125  decorKsMass( *unconstrV0 ) = mass_ks;
126  decorLaMass( *unconstrV0 ) = mass_la;
127  decorLbMass( *unconstrV0 ) = mass_lb;
128  decorKsMassErr( *unconstrV0 ) = mass_error_ks;
129  decorLaMassErr( *unconstrV0 ) = mass_error_la;
130  decorLbMassErr( *unconstrV0 ) = mass_error_lb;
131  decorPt_v0( *unconstrV0 ) = pt;
132  decorPtErr_v0( *unconstrV0 ) =ptError;
133  decorRxy_v0( *unconstrV0 ) = rxy;
134  decorRxyErr_v0( *unconstrV0 ) =rxyError;
135  decorPx_v0( *unconstrV0 ) = momentum.x();
136  decorPy_v0( *unconstrV0 ) = momentum.y();
137  decorPz_v0( *unconstrV0 ) = momentum.z();
138  }
139  return StatusCode::SUCCESS;
140 }

◆ 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.

95 { return m_detStore; }

◆ evtStore() [1/2]

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.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ 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

◆ initialize()

StatusCode InDet::V0MainDecorator::initialize ( )

Definition at line 26 of file V0MainDecorator.cxx.

26  {
27 
28  ATH_CHECK( m_V0Tools.retrieve() );
35 
42 
71 
72 
73 
74  if (m_masses == 1) {
75  // get the Particle Properties Service
76  ATH_CHECK(m_partPropSvc.retrieve());
77  auto *particleDataTable = m_partPropSvc->PDT();
78 
79  const HepPDT::ParticleData* pd_pi = particleDataTable->particle(MC::PIPLUS);
80  const HepPDT::ParticleData* pd_p = particleDataTable->particle(MC::PROTON);
81  const HepPDT::ParticleData* pd_e = particleDataTable->particle(MC::ELECTRON);
82  const HepPDT::ParticleData* pd_K = particleDataTable->particle(MC::K0S);
83  const HepPDT::ParticleData* pd_L = particleDataTable->particle(MC::LAMBDA0);
84 
85  m_masspi = pd_pi->mass();
86  m_massp = pd_p->mass();
87  m_masse = pd_e->mass();
88  m_massK0S = pd_K->mass();
89  m_massLambda = pd_L->mass();
90  }
91  return StatusCode::SUCCESS;
92 }

◆ initKey()

StatusCode InDet::V0MainDecorator::initKey ( const std::string &  containerKey,
SG::WriteDecorHandleKey< xAOD::VertexContainer > &  decokey 
) const
private

Definition at line 18 of file V0MainDecorator.cxx.

19  {
20  decokey = containerKey + decokey.key();
21  ATH_MSG_DEBUG(" : " << decokey.key());
22  ATH_CHECK(decokey.initialize(!containerKey.empty()));
23  return StatusCode::SUCCESS;
24 }

◆ 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() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ 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.

◆ 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 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

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

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ 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 DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ 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 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_decorKsMass

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorKsMass { this, "KsMass_v0", ".Kshort_mass", "Ks mass for v0" }
private

Definition at line 47 of file V0MainDecorator.h.

◆ m_decorKsMassErr

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorKsMassErr { this, "KsMassErr_v0", ".Kshort_massError", "Ks mass error for v0" }
private

Definition at line 49 of file V0MainDecorator.h.

◆ m_decorLaMass

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorLaMass { this, "LaMass_v0", ".Lambda_mass", "Lambda mass for v0" }
private

Definition at line 51 of file V0MainDecorator.h.

◆ m_decorLaMassErr

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorLaMassErr { this, "LaMassErr_v0", ".Lambda_massError", "Lambda mass error for v0" }
private

Definition at line 53 of file V0MainDecorator.h.

◆ m_decorLbMass

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorLbMass { this, "LbMass_v0", ".Lambdabar_mass", "Lambdabar mass for v0" }
private

Definition at line 55 of file V0MainDecorator.h.

◆ m_decorLbMassErr

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorLbMassErr { this, "LbMassErr_v0", ".Lambdabar_massError", "Lambdabar mass error for v0" }
private

Definition at line 57 of file V0MainDecorator.h.

◆ m_decorMass_ks

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorMass_ks { this, "Mass_ks", ".mass", "mass for Ks" }
private

Definition at line 75 of file V0MainDecorator.h.

◆ m_decorMass_la

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorMass_la { this, "Mass_la", ".mass", "mass for Lambda" }
private

Definition at line 95 of file V0MainDecorator.h.

◆ m_decorMass_lb

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorMass_lb { this, "Mass_lb", ".mass", "mass for Lambdabar" }
private

Definition at line 115 of file V0MainDecorator.h.

◆ m_decorMassErr_ks

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorMassErr_ks { this, "MassErr_ks", ".massError", "mass error for Ks" }
private

Definition at line 77 of file V0MainDecorator.h.

◆ m_decorMassErr_la

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorMassErr_la { this, "MassErr_la", ".massError", "mass error for Lambda" }
private

Definition at line 97 of file V0MainDecorator.h.

◆ m_decorMassErr_lb

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorMassErr_lb { this, "MassErr_lb", ".massError", "mass error for Lambdabar" }
private

Definition at line 117 of file V0MainDecorator.h.

◆ m_decorPt_ks

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPt_ks { this, "Pt_ks", ".pT", "Transverse momentum for Ks" }
private

Definition at line 79 of file V0MainDecorator.h.

◆ m_decorPt_la

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPt_la { this, "Pt_la", ".pT", "Transverse momentum for Lambda" }
private

Definition at line 99 of file V0MainDecorator.h.

◆ m_decorPt_lb

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPt_lb { this, "Pt_lb", ".pT", "Transverse momentum for Lambdabar" }
private

Definition at line 119 of file V0MainDecorator.h.

◆ m_decorPt_v0

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPt_v0 { this, "Pt_v0", ".pT", "Transverse momentum for v0" }
private

Definition at line 59 of file V0MainDecorator.h.

◆ m_decorPtErr_ks

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPtErr_ks { this, "PtErr_ks", ".pTError", "Transverse momentum error for Ks" }
private

Definition at line 81 of file V0MainDecorator.h.

◆ m_decorPtErr_la

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPtErr_la { this, "PtErr_la", ".pTError", "Transverse momentum error for Lambda" }
private

Definition at line 101 of file V0MainDecorator.h.

◆ m_decorPtErr_lb

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPtErr_lb { this, "PtErr_lb", ".pTError", "Transverse momentum error for Lambdabar" }
private

Definition at line 121 of file V0MainDecorator.h.

◆ m_decorPtErr_v0

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPtErr_v0 { this, "PtErr_v0", ".pTError", "Transverse momentum error for v0" }
private

Definition at line 61 of file V0MainDecorator.h.

◆ m_decorPx_ks

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPx_ks { this, "Px_ks", ".px", "Px for Ks" }
private

Definition at line 87 of file V0MainDecorator.h.

◆ m_decorPx_la

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPx_la { this, "Px_la", ".px", "Px for Lambda" }
private

Definition at line 107 of file V0MainDecorator.h.

◆ m_decorPx_lb

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPx_lb { this, "Px_lb", ".px", "Px for Lambdabar" }
private

Definition at line 127 of file V0MainDecorator.h.

◆ m_decorPx_v0

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPx_v0 { this, "Px_v0", ".px", "Px for v0" }
private

Definition at line 67 of file V0MainDecorator.h.

◆ m_decorPy_ks

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPy_ks { this, "Py_ks", ".py", "Py for Ks" }
private

Definition at line 89 of file V0MainDecorator.h.

◆ m_decorPy_la

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPy_la { this, "Py_la", ".py", "Py for Lambda" }
private

Definition at line 109 of file V0MainDecorator.h.

◆ m_decorPy_lb

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPy_lb { this, "Py_lb", ".py", "Py for Lambdabar" }
private

Definition at line 129 of file V0MainDecorator.h.

◆ m_decorPy_v0

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPy_v0 { this, "Py_v0", ".py", "Py for v0" }
private

Definition at line 69 of file V0MainDecorator.h.

◆ m_decorPz_ks

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPz_ks { this, "Pz_ks", ".pz", "Pz for Ks" }
private

Definition at line 91 of file V0MainDecorator.h.

◆ m_decorPz_la

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPz_la { this, "Pz_la", ".pz", "Pz for Lambda" }
private

Definition at line 111 of file V0MainDecorator.h.

◆ m_decorPz_lb

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPz_lb { this, "Pz_lb", ".pz", "Pz for Lambdabar" }
private

Definition at line 131 of file V0MainDecorator.h.

◆ m_decorPz_v0

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorPz_v0 { this, "Pz_v0", ".pz", "Pz for v0" }
private

Definition at line 71 of file V0MainDecorator.h.

◆ m_decorRxy_ks

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorRxy_ks { this, "Rxy_ks", ".Rxy", "Rxy for Ks" }
private

Definition at line 83 of file V0MainDecorator.h.

◆ m_decorRxy_la

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorRxy_la { this, "Rxy_la", ".Rxy", "Rxy for la" }
private

Definition at line 103 of file V0MainDecorator.h.

◆ m_decorRxy_lb

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorRxy_lb { this, "Rxy_lb", ".Rxy", "Rxy for Lambdabar" }
private

Definition at line 123 of file V0MainDecorator.h.

◆ m_decorRxy_v0

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorRxy_v0 { this, "Rxy_v0", ".Rxy", "Rxy for v0" }
private

Definition at line 63 of file V0MainDecorator.h.

◆ m_decorRxyErr_ks

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorRxyErr_ks { this, "RxyErr_ks", ".RxyError", "Rxy error for Ks" }
private

Definition at line 85 of file V0MainDecorator.h.

◆ m_decorRxyErr_la

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorRxyErr_la { this, "RxyErr_la", ".RxyError", "Rxy error for Lambda" }
private

Definition at line 105 of file V0MainDecorator.h.

◆ m_decorRxyErr_lb

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorRxyErr_lb { this, "RxyErr_lb", ".RxyError", "Rxy error for Lambdabar" }
private

Definition at line 125 of file V0MainDecorator.h.

◆ m_decorRxyErr_v0

SG::WriteDecorHandleKey<xAOD::VertexContainer> InDet::V0MainDecorator::m_decorRxyErr_v0 { this, "RxyErr_v0", ".RxyError", "Rxy error for v0" }
private

Definition at line 65 of file V0MainDecorator.h.

◆ m_detStore

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

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_ksKey

Gaudi::Property<std::string> InDet::V0MainDecorator::m_ksKey { this, "KshortContainerName", "KshortCandidates", "Ks container" }
private

Definition at line 40 of file V0MainDecorator.h.

◆ m_laKey

Gaudi::Property<std::string> InDet::V0MainDecorator::m_laKey
private
Initial value:
{ this, "LambdaContainerName", "LambdaCandidates",
"Lambda container" }

Definition at line 41 of file V0MainDecorator.h.

◆ m_lbKey

Gaudi::Property<std::string> InDet::V0MainDecorator::m_lbKey
private
Initial value:
{ this, "LambdabarContainerName", "LambdabarCandidates",
"Lambdabar container" }

Definition at line 43 of file V0MainDecorator.h.

◆ m_masse

DoubleProperty InDet::V0MainDecorator::m_masse {this, "masse", 0.510999}
private

electron mass (0.510999 MeV)

Definition at line 32 of file V0MainDecorator.h.

◆ m_masses

IntegerProperty InDet::V0MainDecorator::m_masses {this, "masses", 1}
private

= 1 if using PDG values, = 2 if user set (1)

Definition at line 29 of file V0MainDecorator.h.

◆ m_massK0S

DoubleProperty InDet::V0MainDecorator::m_massK0S {this, "massK0s", 497.672}
private

Kshort mass (497.672 MeV)

Definition at line 33 of file V0MainDecorator.h.

◆ m_massLambda

DoubleProperty InDet::V0MainDecorator::m_massLambda {this, "massLambda", 1115.68}
private

Lambda mass (1115.68 MeV)

Definition at line 34 of file V0MainDecorator.h.

◆ m_massp

DoubleProperty InDet::V0MainDecorator::m_massp {this, "massp", 938.272}
private

proton mass (938.272 MeV)

Definition at line 31 of file V0MainDecorator.h.

◆ m_masspi

DoubleProperty InDet::V0MainDecorator::m_masspi {this, "masspi", 139.57}
private

pion mass (139.57 MeV)

Definition at line 30 of file V0MainDecorator.h.

◆ m_partPropSvc

ServiceHandle<IPartPropSvc> InDet::V0MainDecorator::m_partPropSvc {this, "PartPropSvc", "PartPropSvc"}
private

Definition at line 134 of file V0MainDecorator.h.

◆ m_v0Key

Gaudi::Property<std::string> InDet::V0MainDecorator::m_v0Key { this, "V0ContainerName", "V0Candidates", "V0 container name (same calling alg)" }
private

Definition at line 38 of file V0MainDecorator.h.

◆ m_V0Tools

ToolHandle<Trk::V0Tools> InDet::V0MainDecorator::m_V0Tools {this, "V0Tools", "Trk::V0Tools", "V0 tools to calculate things like Lxy"}
private

Definition at line 35 of file V0MainDecorator.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
InDet::V0MainDecorator::m_decorPx_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPx_v0
Definition: V0MainDecorator.h:68
InDet::V0MainDecorator::m_decorPy_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPy_ks
Definition: V0MainDecorator.h:90
InDet::V0MainDecorator::m_decorMass_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMass_la
Definition: V0MainDecorator.h:96
InDet::V0MainDecorator::m_decorLbMass
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorLbMass
Definition: V0MainDecorator.h:56
InDet::V0MainDecorator::m_decorPz_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPz_v0
Definition: V0MainDecorator.h:72
InDet::V0MainDecorator::m_decorMassErr_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMassErr_la
Definition: V0MainDecorator.h:98
InDet::V0MainDecorator::initKey
StatusCode initKey(const std::string &, SG::WriteDecorHandleKey< xAOD::VertexContainer > &decokey) const
Definition: V0MainDecorator.cxx:18
InDet::V0MainDecorator::m_massLambda
DoubleProperty m_massLambda
Lambda mass (1115.68 MeV)
Definition: V0MainDecorator.h:34
InDet::V0MainDecorator::m_massK0S
DoubleProperty m_massK0S
Kshort mass (497.672 MeV)
Definition: V0MainDecorator.h:33
InDet::V0MainDecorator::m_V0Tools
ToolHandle< Trk::V0Tools > m_V0Tools
Definition: V0MainDecorator.h:35
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
InDet::V0MainDecorator::m_decorKsMassErr
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorKsMassErr
Definition: V0MainDecorator.h:50
InDet::V0MainDecorator::m_decorLaMass
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorLaMass
Definition: V0MainDecorator.h:52
InDet::V0MainDecorator::m_laKey
Gaudi::Property< std::string > m_laKey
Definition: V0MainDecorator.h:41
test_pyathena.pt
pt
Definition: test_pyathena.py:11
InDet::V0MainDecorator::m_massp
DoubleProperty m_massp
proton mass (938.272 MeV)
Definition: V0MainDecorator.h:31
InDet::V0MainDecorator::m_decorPy_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPy_v0
Definition: V0MainDecorator.h:70
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
InDet::V0MainDecorator::m_decorPtErr_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPtErr_la
Definition: V0MainDecorator.h:102
InDet::V0MainDecorator::m_decorPx_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPx_la
Definition: V0MainDecorator.h:108
InDet::V0MainDecorator::m_decorPt_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPt_la
Definition: V0MainDecorator.h:100
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
InDet::V0MainDecorator::m_decorRxy_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxy_ks
Definition: V0MainDecorator.h:84
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
InDet::V0MainDecorator::m_decorRxy_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxy_v0
Definition: V0MainDecorator.h:64
InDet::V0MainDecorator::m_decorRxyErr_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxyErr_lb
Definition: V0MainDecorator.h:126
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
InDet::V0MainDecorator::m_decorPtErr_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPtErr_ks
Definition: V0MainDecorator.h:82
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:27
InDet::V0MainDecorator::m_lbKey
Gaudi::Property< std::string > m_lbKey
Definition: V0MainDecorator.h:43
InDet::V0MainDecorator::m_decorPy_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPy_lb
Definition: V0MainDecorator.h:130
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
InDet::V0MainDecorator::m_decorPt_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPt_lb
Definition: V0MainDecorator.h:120
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
ParticleGun_EoverP_Config.momentum
momentum
Definition: ParticleGun_EoverP_Config.py:63
InDet::V0MainDecorator::m_decorRxyErr_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxyErr_v0
Definition: V0MainDecorator.h:66
InDet::V0MainDecorator::m_decorMassErr_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMassErr_lb
Definition: V0MainDecorator.h:118
beamspotman.n
n
Definition: beamspotman.py:731
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
InDet::V0MainDecorator::m_partPropSvc
ServiceHandle< IPartPropSvc > m_partPropSvc
Definition: V0MainDecorator.h:134
SG::WriteDecorHandle
Handle class for adding a decoration to an object.
Definition: StoreGate/StoreGate/WriteDecorHandle.h:100
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
InDet::V0MainDecorator::m_decorPy_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPy_la
Definition: V0MainDecorator.h:110
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
InDet::V0MainDecorator::m_masse
DoubleProperty m_masse
electron mass (0.510999 MeV)
Definition: V0MainDecorator.h:32
InDet::V0MainDecorator::m_decorPtErr_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPtErr_v0
Definition: V0MainDecorator.h:62
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
InDet::V0MainDecorator::m_decorRxyErr_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxyErr_la
Definition: V0MainDecorator.h:106
InDet::V0MainDecorator::m_masses
IntegerProperty m_masses
= 1 if using PDG values, = 2 if user set (1)
Definition: V0MainDecorator.h:29
InDet::V0MainDecorator::m_ksKey
Gaudi::Property< std::string > m_ksKey
Definition: V0MainDecorator.h:40
InDet::V0MainDecorator::m_decorPt_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPt_v0
Definition: V0MainDecorator.h:60
InDet::V0MainDecorator::m_v0Key
Gaudi::Property< std::string > m_v0Key
Definition: V0MainDecorator.h:39
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
InDet::V0MainDecorator::m_decorPz_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPz_la
Definition: V0MainDecorator.h:112
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
InDet::V0MainDecorator::m_decorMass_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMass_ks
Definition: V0MainDecorator.h:76
InDet::V0MainDecorator::m_decorRxy_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxy_lb
Definition: V0MainDecorator.h:124
InDet::V0MainDecorator::m_decorRxy_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxy_la
Definition: V0MainDecorator.h:104
InDet::V0MainDecorator::m_decorLaMassErr
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorLaMassErr
Definition: V0MainDecorator.h:54
InDet::V0MainDecorator::m_decorRxyErr_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxyErr_ks
Definition: V0MainDecorator.h:86
a
TList * a
Definition: liststreamerinfos.cxx:10
SG::WriteDecorHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
h
InDet::V0MainDecorator::m_decorPt_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPt_ks
Definition: V0MainDecorator.h:80
InDet::V0MainDecorator::m_masspi
DoubleProperty m_masspi
pion mass (139.57 MeV)
Definition: V0MainDecorator.h:30
InDet::V0MainDecorator::m_decorPz_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPz_ks
Definition: V0MainDecorator.h:92
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
InDet::V0MainDecorator::m_decorPx_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPx_ks
Definition: V0MainDecorator.h:88
InDet::V0MainDecorator::m_decorMass_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMass_lb
Definition: V0MainDecorator.h:116
InDet::V0MainDecorator::m_decorLbMassErr
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorLbMassErr
Definition: V0MainDecorator.h:58
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
InDet::V0MainDecorator::m_decorPtErr_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPtErr_lb
Definition: V0MainDecorator.h:122
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
InDet::V0MainDecorator::m_decorMassErr_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMassErr_ks
Definition: V0MainDecorator.h:78
fitman.k
k
Definition: fitman.py:528
InDet::V0MainDecorator::m_decorPz_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPz_lb
Definition: V0MainDecorator.h:132
InDet::V0MainDecorator::m_decorKsMass
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorKsMass
Definition: V0MainDecorator.h:48
InDet::V0MainDecorator::m_decorPx_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPx_lb
Definition: V0MainDecorator.h:128