ATLAS Offline Software
Loading...
Searching...
No Matches
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.
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

Protected Member Functions

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.

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, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

IntegerProperty m_masses {this, "masses", 1}
 = 1 if using PDG values, = 2 if user set (1)
DoubleProperty m_masspi {this, "masspi", ParticleConstants::chargedPionMassInMeV}
 pion mass (139.57 MeV)
DoubleProperty m_massp {this, "massp", ParticleConstants::protonMassInMeV}
 proton mass (938.272 MeV)
DoubleProperty m_masse {this, "masse", ParticleConstants::electronMassInMeV}
 electron mass (0.510999 MeV)
DoubleProperty m_massK0S {this, "massK0s", ParticleConstants::KZeroMassInMeV}
 Kshort mass (497.672 MeV)
DoubleProperty m_massLambda {this, "massLambda", ParticleConstants::lambdaMassInMeV}
 Lambda mass (1115.68 MeV)
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)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
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){}
AthAlgTool()
Default constructor:

◆ ~V0MainDecorator()

InDet::V0MainDecorator::~V0MainDecorator ( )
default

Member Function Documentation

◆ 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 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

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

◆ decorateks()

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

Definition at line 142 of file V0MainDecorator.cxx.

143{
144
145 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMass_ks(m_decorMass_ks, ctx );
146 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMassErr_ks(m_decorMassErr_ks, ctx );
147 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPt_ks(m_decorPt_ks, ctx );
148 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPtErr_ks(m_decorPtErr_ks, ctx );
149 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxy_ks(m_decorRxy_ks, ctx );
150 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxyErr_ks(m_decorRxyErr_ks, ctx );
151 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPx_ks(m_decorPx_ks, ctx );
152 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPy_ks(m_decorPy_ks, ctx );
153 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPz_ks(m_decorPz_ks, ctx );
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}
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPx_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMassErr_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPt_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPtErr_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMass_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxyErr_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPz_ks
DoubleProperty m_masspi
pion mass (139.57 MeV)
ToolHandle< Trk::V0Tools > m_V0Tools
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPy_ks
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxy_ks
Eigen::Matrix< double, 3, 1 > Vector3D

◆ decoratela()

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

Definition at line 178 of file V0MainDecorator.cxx.

179{
180 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMass_la(m_decorMass_la, ctx );
181 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMassErr_la(m_decorMassErr_la, ctx );
182 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPt_la(m_decorPt_la, ctx );
183 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPtErr_la(m_decorPtErr_la, ctx );
184 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxy_la(m_decorRxy_la, ctx );
185 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxyErr_la(m_decorRxyErr_la, ctx );
186 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPx_la(m_decorPx_la, ctx );
187 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPy_la(m_decorPy_la, ctx );
188 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPz_la(m_decorPz_la, ctx );
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}
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMassErr_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxyErr_la
DoubleProperty m_massp
proton mass (938.272 MeV)
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPtErr_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPy_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxy_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPt_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPx_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMass_la
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPz_la

◆ decoratelb()

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

Definition at line 213 of file V0MainDecorator.cxx.

214{
215 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMass_lb(m_decorMass_lb, ctx );
216 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMassErr_lb(m_decorMassErr_lb, ctx );
217 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPt_lb(m_decorPt_lb, ctx );
218 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPtErr_lb(m_decorPtErr_lb, ctx );
219 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxy_lb(m_decorRxy_lb, ctx );
220 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxyErr_lb(m_decorRxyErr_lb, ctx );
221 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPx_lb(m_decorPx_lb, ctx );
222 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPy_lb(m_decorPy_lb, ctx );
223 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPz_lb(m_decorPz_lb, ctx );
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}
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPz_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPy_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPtErr_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMass_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorMassErr_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPt_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxyErr_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPx_lb
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxy_lb

◆ decorateV0()

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

Definition at line 94 of file V0MainDecorator.cxx.

95{
96
97 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorKsMass(m_decorKsMass, ctx );
98 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorLaMass(m_decorLaMass, ctx );
99 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorLbMass(m_decorLbMass, ctx );
100 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorKsMassErr(m_decorKsMassErr, ctx );
101 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorLaMassErr(m_decorLaMassErr, ctx );
102 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorLbMassErr(m_decorLbMassErr, ctx );
103 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPt_v0(m_decorPt_v0, ctx );
104 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPtErr_v0(m_decorPtErr_v0, ctx );
105 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxy_v0(m_decorRxy_v0, ctx );
106 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxyErr_v0(m_decorRxyErr_v0, ctx );
107 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPx_v0(m_decorPx_v0, ctx );
108 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPy_v0(m_decorPy_v0, ctx );
109 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPz_v0(m_decorPz_v0, ctx );
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}
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPx_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxyErr_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPy_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorLbMassErr
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPtErr_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorLbMass
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorKsMassErr
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPt_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorKsMass
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorRxy_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPz_v0
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorLaMassErr
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorLaMass

◆ 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

◆ 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}
#define ATH_CHECK
Evaluate an expression and check for errors.
DoubleProperty m_masse
electron mass (0.510999 MeV)
Gaudi::Property< std::string > m_v0Key
ServiceHandle< IPartPropSvc > m_partPropSvc
DoubleProperty m_massK0S
Kshort mass (497.672 MeV)
Gaudi::Property< std::string > m_lbKey
DoubleProperty m_massLambda
Lambda mass (1115.68 MeV)
StatusCode initKey(const std::string &, SG::WriteDecorHandleKey< xAOD::VertexContainer > &decokey) const
IntegerProperty m_masses
= 1 if using PDG values, = 2 if user set (1)
Gaudi::Property< std::string > m_laKey
Gaudi::Property< std::string > m_ksKey
static const int ELECTRON
static const int K0S
static const int PIPLUS
static const int LAMBDA0
static const int PROTON

◆ 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}
#define ATH_MSG_DEBUG(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.

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

◆ 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();
384 }
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)

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

◆ 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) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka

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.

48{ this, "KsMass_v0", ".Kshort_mass", "Ks mass for v0" };

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

50{ this, "KsMassErr_v0", ".Kshort_massError", "Ks mass error for v0" };

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

52{ this, "LaMass_v0", ".Lambda_mass", "Lambda mass for v0" };

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

54{ this, "LaMassErr_v0", ".Lambda_massError", "Lambda mass error for v0" };

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

56{ this, "LbMass_v0", ".Lambdabar_mass", "Lambdabar mass for v0" };

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

58{ this, "LbMassErr_v0", ".Lambdabar_massError", "Lambdabar mass error for v0" };

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

76{ this, "Mass_ks", ".mass", "mass for Ks" };

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

96{ this, "Mass_la", ".mass", "mass for Lambda" };

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

116{ this, "Mass_lb", ".mass", "mass for Lambdabar" };

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

78{ this, "MassErr_ks", ".massError", "mass error for Ks" };

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

98{ this, "MassErr_la", ".massError", "mass error for Lambda" };

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

118{ this, "MassErr_lb", ".massError", "mass error for Lambdabar" };

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

80{ this, "Pt_ks", ".pT", "Transverse momentum for Ks" };

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

100{ this, "Pt_la", ".pT", "Transverse momentum for Lambda" };

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

120{ this, "Pt_lb", ".pT", "Transverse momentum for Lambdabar" };

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

60{ this, "Pt_v0", ".pT", "Transverse momentum for v0" };

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

82{ this, "PtErr_ks", ".pTError", "Transverse momentum error for Ks" };

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

102{ this, "PtErr_la", ".pTError", "Transverse momentum error for Lambda" };

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

122{ this, "PtErr_lb", ".pTError", "Transverse momentum error for Lambdabar" };

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

62{ this, "PtErr_v0", ".pTError", "Transverse momentum error for v0" };

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

88{ this, "Px_ks", ".px", "Px for Ks" };

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

108{ this, "Px_la", ".px", "Px for Lambda" };

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

128{ this, "Px_lb", ".px", "Px for Lambdabar" };

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

68{ this, "Px_v0", ".px", "Px for v0" };

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

90{ this, "Py_ks", ".py", "Py for Ks" };

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

110{ this, "Py_la", ".py", "Py for Lambda" };

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

130{ this, "Py_lb", ".py", "Py for Lambdabar" };

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

70{ this, "Py_v0", ".py", "Py for v0" };

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

92{ this, "Pz_ks", ".pz", "Pz for Ks" };

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

112{ this, "Pz_la", ".pz", "Pz for Lambda" };

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

132{ this, "Pz_lb", ".pz", "Pz for Lambdabar" };

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

72{ this, "Pz_v0", ".pz", "Pz for v0" };

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

84{ this, "Rxy_ks", ".Rxy", "Rxy for Ks" };

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

104{ this, "Rxy_la", ".Rxy", "Rxy for la" };

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

124{ this, "Rxy_lb", ".Rxy", "Rxy for Lambdabar" };

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

64{ this, "Rxy_v0", ".Rxy", "Rxy for v0" };

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

86{ this, "RxyErr_ks", ".RxyError", "Rxy error for Ks" };

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

106{ this, "RxyErr_la", ".RxyError", "Rxy error for Lambda" };

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

126{ this, "RxyErr_lb", ".RxyError", "Rxy error for Lambdabar" };

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

66{ this, "RxyErr_v0", ".RxyError", "Rxy error for v0" };

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

40{ this, "KshortContainerName", "KshortCandidates", "Ks container" };

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

41 { this, "LambdaContainerName", "LambdaCandidates",
42 "Lambda container" };

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

43 { this, "LambdabarContainerName", "LambdabarCandidates",
44 "Lambdabar container" };

◆ m_masse

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

electron mass (0.510999 MeV)

Definition at line 32 of file V0MainDecorator.h.

constexpr double electronMassInMeV
the mass of the electron (in MeV)

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

29{this, "masses", 1};

◆ m_massK0S

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

Kshort mass (497.672 MeV)

Definition at line 33 of file V0MainDecorator.h.

33{this, "massK0s", ParticleConstants::KZeroMassInMeV};
constexpr double KZeroMassInMeV
the mass of the neutral kaon (K0) (in MeV)

◆ m_massLambda

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

Lambda mass (1115.68 MeV)

Definition at line 34 of file V0MainDecorator.h.

34{this, "massLambda", ParticleConstants::lambdaMassInMeV};
constexpr double lambdaMassInMeV
the mass of the lambda baryon (in MeV)

◆ m_massp

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

proton mass (938.272 MeV)

Definition at line 31 of file V0MainDecorator.h.

constexpr double protonMassInMeV
the mass of the proton (in MeV)

◆ m_masspi

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

pion mass (139.57 MeV)

Definition at line 30 of file V0MainDecorator.h.

constexpr double chargedPionMassInMeV
the mass of the charged pion (in MeV)

◆ m_partPropSvc

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

Definition at line 134 of file V0MainDecorator.h.

134{this, "PartPropSvc", "PartPropSvc"};

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

39{ this, "V0ContainerName", "V0Candidates", "V0 container name (same calling alg)" };

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

35{this, "V0Tools", "Trk::V0Tools", "V0 tools to calculate things like Lxy"};

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