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).
PublicToolHandle< 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" }
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 16 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 133 of file V0MainDecorator.cxx.

134{
135
136 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMass_ks(m_decorMass_ks, ctx );
137 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMassErr_ks(m_decorMassErr_ks, ctx );
138 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPt_ks(m_decorPt_ks, ctx );
139 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPtErr_ks(m_decorPtErr_ks, ctx );
140 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxy_ks(m_decorRxy_ks, ctx );
141 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxyErr_ks(m_decorRxyErr_ks, ctx );
142 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPx_ks(m_decorPx_ks, ctx );
143 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPy_ks(m_decorPy_ks, ctx );
144 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPz_ks(m_decorPz_ks, ctx );
145
146 for ( auto ksV0 : *container )
147 {
148 double mass_ks = m_V0Tools->invariantMass(ksV0,m_masspi,m_masspi);
149 double mass_error_ks = m_V0Tools->invariantMassError(ksV0,m_masspi,m_masspi);
150 double pt = m_V0Tools->pT(ksV0);
151 double ptError = m_V0Tools->pTError(ksV0);
152 double rxy = m_V0Tools->rxy(ksV0);
153 double rxyError = m_V0Tools->rxyError(ksV0);
154 Amg::Vector3D momentum = m_V0Tools->V0Momentum(ksV0);
155
156 decorMass_ks( *ksV0 ) = mass_ks;
157 decorMassErr_ks( *ksV0 ) = mass_error_ks;
158 decorPt_ks( *ksV0 ) = pt;
159 decorPtErr_ks( *ksV0 ) = ptError;
160 decorRxy_ks( *ksV0 ) = rxy;
161 decorRxyErr_ks( *ksV0 ) = rxyError;
162 decorPx_ks( *ksV0 ) = momentum.x();
163 decorPy_ks( *ksV0 ) = momentum.y();
164 decorPz_ks( *ksV0 ) = momentum.z();
165 }
166 return StatusCode::SUCCESS;
167}
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)
SG::WriteDecorHandleKey< xAOD::VertexContainer > m_decorPy_ks
PublicToolHandle< Trk::V0Tools > m_V0Tools
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 169 of file V0MainDecorator.cxx.

170{
171 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMass_la(m_decorMass_la, ctx );
172 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMassErr_la(m_decorMassErr_la, ctx );
173 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPt_la(m_decorPt_la, ctx );
174 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPtErr_la(m_decorPtErr_la, ctx );
175 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxy_la(m_decorRxy_la, ctx );
176 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxyErr_la(m_decorRxyErr_la, ctx );
177 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPx_la(m_decorPx_la, ctx );
178 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPy_la(m_decorPy_la, ctx );
179 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPz_la(m_decorPz_la, ctx );
180
181 for ( auto laV0 : *container )
182 {
183 double mass_la = m_V0Tools->invariantMass(laV0,m_massp,m_masspi);
184 double mass_error_la = m_V0Tools->invariantMassError(laV0,m_massp,m_masspi);
185 double pt = m_V0Tools->pT(laV0);
186 double ptError = m_V0Tools->pTError(laV0);
187 double rxy = m_V0Tools->rxy(laV0);
188 double rxyError = m_V0Tools->rxyError(laV0);
189 Amg::Vector3D momentum = m_V0Tools->V0Momentum(laV0);
190
191 decorMass_la( *laV0 ) = mass_la;
192 decorMassErr_la( *laV0 ) = mass_error_la;
193 decorPt_la( *laV0 ) = pt;
194 decorPtErr_la( *laV0 ) = ptError;
195 decorRxy_la( *laV0 ) = rxy;
196 decorRxyErr_la( *laV0 ) = rxyError;
197 decorPx_la( *laV0 ) = momentum.x();
198 decorPy_la( *laV0 ) = momentum.y();
199 decorPz_la( *laV0 ) = momentum.z();
200 }
201 return StatusCode::SUCCESS;
202}
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 204 of file V0MainDecorator.cxx.

205{
206 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMass_lb(m_decorMass_lb, ctx );
207 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorMassErr_lb(m_decorMassErr_lb, ctx );
208 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPt_lb(m_decorPt_lb, ctx );
209 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPtErr_lb(m_decorPtErr_lb, ctx );
210 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxy_lb(m_decorRxy_lb, ctx );
211 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxyErr_lb(m_decorRxyErr_lb, ctx );
212 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPx_lb(m_decorPx_lb, ctx );
213 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPy_lb(m_decorPy_lb, ctx );
214 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPz_lb(m_decorPz_lb, ctx );
215
216 for ( auto lbV0 : *container )
217 {
218 double mass_lb = m_V0Tools->invariantMass(lbV0,m_masspi,m_massp);
219 double mass_error_lb = m_V0Tools->invariantMassError(lbV0,m_masspi,m_massp);
220 double pt = m_V0Tools->pT(lbV0);
221 double ptError = m_V0Tools->pTError(lbV0);
222 double rxy = m_V0Tools->rxy(lbV0);
223 double rxyError = m_V0Tools->rxyError(lbV0);
224 Amg::Vector3D momentum = m_V0Tools->V0Momentum(lbV0);
225
226 decorMass_lb( *lbV0 ) = mass_lb;
227 decorMassErr_lb( *lbV0 ) = mass_error_lb;
228 decorPt_lb( *lbV0 ) = pt;
229 decorPtErr_lb( *lbV0 ) = ptError;
230 decorRxy_lb( *lbV0 ) = rxy;
231 decorRxyErr_lb( *lbV0 ) = rxyError;
232 decorPx_lb( *lbV0 ) = momentum.x();
233 decorPy_lb( *lbV0 ) = momentum.y();
234 decorPz_lb( *lbV0 ) = momentum.z();
235 }
236 return StatusCode::SUCCESS;
237}
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 85 of file V0MainDecorator.cxx.

86{
87
88 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorKsMass(m_decorKsMass, ctx );
89 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorLaMass(m_decorLaMass, ctx );
90 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorLbMass(m_decorLbMass, ctx );
91 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorKsMassErr(m_decorKsMassErr, ctx );
92 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorLaMassErr(m_decorLaMassErr, ctx );
93 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorLbMassErr(m_decorLbMassErr, ctx );
94 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPt_v0(m_decorPt_v0, ctx );
95 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPtErr_v0(m_decorPtErr_v0, ctx );
96 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxy_v0(m_decorRxy_v0, ctx );
97 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorRxyErr_v0(m_decorRxyErr_v0, ctx );
98 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPx_v0(m_decorPx_v0, ctx );
99 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPy_v0(m_decorPy_v0, ctx );
100 SG::WriteDecorHandle<xAOD::VertexContainer, float> decorPz_v0(m_decorPz_v0, ctx );
101
102 for ( auto unconstrV0 : *container )
103 {
104 double mass_ks = m_V0Tools->invariantMass(unconstrV0,m_masspi,m_masspi);
105 double mass_error_ks = m_V0Tools->invariantMassError(unconstrV0,m_masspi,m_masspi);
106 double mass_la = m_V0Tools->invariantMass(unconstrV0,m_massp,m_masspi);
107 double mass_error_la = m_V0Tools->invariantMassError(unconstrV0,m_massp,m_masspi);
108 double mass_lb = m_V0Tools->invariantMass(unconstrV0,m_masspi,m_massp);
109 double mass_error_lb = m_V0Tools->invariantMassError(unconstrV0,m_masspi,m_massp);
110 double pt = m_V0Tools->pT(unconstrV0);
111 double ptError = m_V0Tools->pTError(unconstrV0);
112 double rxy = m_V0Tools->rxy(unconstrV0);
113 double rxyError = m_V0Tools->rxyError(unconstrV0);
114 Amg::Vector3D momentum = m_V0Tools->V0Momentum(unconstrV0);
115
116 decorKsMass( *unconstrV0 ) = mass_ks;
117 decorLaMass( *unconstrV0 ) = mass_la;
118 decorLbMass( *unconstrV0 ) = mass_lb;
119 decorKsMassErr( *unconstrV0 ) = mass_error_ks;
120 decorLaMassErr( *unconstrV0 ) = mass_error_la;
121 decorLbMassErr( *unconstrV0 ) = mass_error_lb;
122 decorPt_v0( *unconstrV0 ) = pt;
123 decorPtErr_v0( *unconstrV0 ) =ptError;
124 decorRxy_v0( *unconstrV0 ) = rxy;
125 decorRxyErr_v0( *unconstrV0 ) =rxyError;
126 decorPx_v0( *unconstrV0 ) = momentum.x();
127 decorPy_v0( *unconstrV0 ) = momentum.y();
128 decorPz_v0( *unconstrV0 ) = momentum.z();
129 }
130 return StatusCode::SUCCESS;
131}
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 auto gendata = std::make_shared<GenData>();
76 m_masspi = gendata->particleMass(MC::PIPLUS).value();
77 m_massp = gendata->particleMass(MC::PROTON).value();
78 m_masse = gendata->particleMass(MC::ELECTRON).value();
79 m_massK0S = gendata->particleMass(MC::K0S).value();
80 m_massLambda = gendata->particleMass(MC::LAMBDA0).value();
81 }
82 return StatusCode::SUCCESS;
83}
#define ATH_CHECK
Evaluate an expression and check for errors.
DoubleProperty m_masse
electron mass (0.510999 MeV)
Gaudi::Property< std::string > m_v0Key
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 >, 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 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 46 of file V0MainDecorator.h.

47{ 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 48 of file V0MainDecorator.h.

49{ 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 50 of file V0MainDecorator.h.

51{ 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 52 of file V0MainDecorator.h.

53{ 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 54 of file V0MainDecorator.h.

55{ 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 56 of file V0MainDecorator.h.

57{ 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 74 of file V0MainDecorator.h.

75{ 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 94 of file V0MainDecorator.h.

95{ 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 114 of file V0MainDecorator.h.

115{ 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 76 of file V0MainDecorator.h.

77{ 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 96 of file V0MainDecorator.h.

97{ 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 116 of file V0MainDecorator.h.

117{ 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 78 of file V0MainDecorator.h.

79{ 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 98 of file V0MainDecorator.h.

99{ 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 118 of file V0MainDecorator.h.

119{ 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 58 of file V0MainDecorator.h.

59{ 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 80 of file V0MainDecorator.h.

81{ 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 100 of file V0MainDecorator.h.

101{ 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 120 of file V0MainDecorator.h.

121{ 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 60 of file V0MainDecorator.h.

61{ 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 86 of file V0MainDecorator.h.

87{ 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 106 of file V0MainDecorator.h.

107{ 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 126 of file V0MainDecorator.h.

127{ 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 66 of file V0MainDecorator.h.

67{ 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 88 of file V0MainDecorator.h.

89{ 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 108 of file V0MainDecorator.h.

109{ 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 128 of file V0MainDecorator.h.

129{ 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 68 of file V0MainDecorator.h.

69{ 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 90 of file V0MainDecorator.h.

91{ 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 110 of file V0MainDecorator.h.

111{ 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 130 of file V0MainDecorator.h.

131{ 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 70 of file V0MainDecorator.h.

71{ 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 82 of file V0MainDecorator.h.

83{ 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 102 of file V0MainDecorator.h.

103{ 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 122 of file V0MainDecorator.h.

123{ 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 62 of file V0MainDecorator.h.

63{ 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 84 of file V0MainDecorator.h.

85{ 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 104 of file V0MainDecorator.h.

105{ 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 124 of file V0MainDecorator.h.

125{ 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 64 of file V0MainDecorator.h.

65{ 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 39 of file V0MainDecorator.h.

39{ 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 40 of file V0MainDecorator.h.

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

◆ m_lbKey

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

Definition at line 42 of file V0MainDecorator.h.

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

◆ m_masse

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

electron mass (0.510999 MeV)

Definition at line 31 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 28 of file V0MainDecorator.h.

28{this, "masses", 1};

◆ m_massK0S

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

Kshort mass (497.672 MeV).

Definition at line 32 of file V0MainDecorator.h.

32{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 33 of file V0MainDecorator.h.

33{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 30 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 29 of file V0MainDecorator.h.

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

◆ m_v0Key

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

Definition at line 37 of file V0MainDecorator.h.

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

◆ m_V0Tools

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

Definition at line 34 of file V0MainDecorator.h.

34{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: