![]() |
ATLAS Offline Software
|
#include <V0MainDecorator.h>
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< StoreGateSvc > | StoreGateSvc_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::V0Tools > | m_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::VertexContainer > | m_decorKsMass { this, "KsMass_v0", ".Kshort_mass", "Ks mass for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorKsMassErr { this, "KsMassErr_v0", ".Kshort_massError", "Ks mass error for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorLaMass { this, "LaMass_v0", ".Lambda_mass", "Lambda mass for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorLaMassErr { this, "LaMassErr_v0", ".Lambda_massError", "Lambda mass error for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorLbMass { this, "LbMass_v0", ".Lambdabar_mass", "Lambdabar mass for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorLbMassErr { this, "LbMassErr_v0", ".Lambdabar_massError", "Lambdabar mass error for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPt_v0 { this, "Pt_v0", ".pT", "Transverse momentum for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPtErr_v0 { this, "PtErr_v0", ".pTError", "Transverse momentum error for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorRxy_v0 { this, "Rxy_v0", ".Rxy", "Rxy for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorRxyErr_v0 { this, "RxyErr_v0", ".RxyError", "Rxy error for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPx_v0 { this, "Px_v0", ".px", "Px for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPy_v0 { this, "Py_v0", ".py", "Py for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPz_v0 { this, "Pz_v0", ".pz", "Pz for v0" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorMass_ks { this, "Mass_ks", ".mass", "mass for Ks" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorMassErr_ks { this, "MassErr_ks", ".massError", "mass error for Ks" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPt_ks { this, "Pt_ks", ".pT", "Transverse momentum for Ks" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPtErr_ks { this, "PtErr_ks", ".pTError", "Transverse momentum error for Ks" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorRxy_ks { this, "Rxy_ks", ".Rxy", "Rxy for Ks" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorRxyErr_ks { this, "RxyErr_ks", ".RxyError", "Rxy error for Ks" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPx_ks { this, "Px_ks", ".px", "Px for Ks" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPy_ks { this, "Py_ks", ".py", "Py for Ks" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPz_ks { this, "Pz_ks", ".pz", "Pz for Ks" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorMass_la { this, "Mass_la", ".mass", "mass for Lambda" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorMassErr_la { this, "MassErr_la", ".massError", "mass error for Lambda" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPt_la { this, "Pt_la", ".pT", "Transverse momentum for Lambda" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPtErr_la { this, "PtErr_la", ".pTError", "Transverse momentum error for Lambda" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorRxy_la { this, "Rxy_la", ".Rxy", "Rxy for la" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorRxyErr_la { this, "RxyErr_la", ".RxyError", "Rxy error for Lambda" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPx_la { this, "Px_la", ".px", "Px for Lambda" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPy_la { this, "Py_la", ".py", "Py for Lambda" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPz_la { this, "Pz_la", ".pz", "Pz for Lambda" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorMass_lb { this, "Mass_lb", ".mass", "mass for Lambdabar" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorMassErr_lb { this, "MassErr_lb", ".massError", "mass error for Lambdabar" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPt_lb { this, "Pt_lb", ".pT", "Transverse momentum for Lambdabar" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPtErr_lb { this, "PtErr_lb", ".pTError", "Transverse momentum error for Lambdabar" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorRxy_lb { this, "Rxy_lb", ".Rxy", "Rxy for Lambdabar" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorRxyErr_lb { this, "RxyErr_lb", ".RxyError", "Rxy error for Lambdabar" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPx_lb { this, "Px_lb", ".px", "Px for Lambdabar" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_decorPy_lb { this, "Py_lb", ".py", "Py for Lambdabar" } |
| SG::WriteDecorHandleKey< xAOD::VertexContainer > | m_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 |
Definition at line 16 of file V0MainDecorator.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDet::V0MainDecorator::V0MainDecorator | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Definition at line 12 of file V0MainDecorator.cxx.
|
default |
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
| StatusCode InDet::V0MainDecorator::decorateks | ( | xAOD::VertexContainer * | container, |
| const EventContext & | ctx ) const |
Definition at line 133 of file V0MainDecorator.cxx.
| StatusCode InDet::V0MainDecorator::decoratela | ( | xAOD::VertexContainer * | container, |
| const EventContext & | ctx ) const |
Definition at line 169 of file V0MainDecorator.cxx.
| StatusCode InDet::V0MainDecorator::decoratelb | ( | xAOD::VertexContainer * | container, |
| const EventContext & | ctx ) const |
Definition at line 204 of file V0MainDecorator.cxx.
| StatusCode InDet::V0MainDecorator::decorateV0 | ( | xAOD::VertexContainer * | container, |
| const EventContext & | ctx ) const |
Definition at line 85 of file V0MainDecorator.cxx.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
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
| StatusCode InDet::V0MainDecorator::initialize | ( | ) |
Definition at line 26 of file V0MainDecorator.cxx.
|
private |
Definition at line 18 of file V0MainDecorator.cxx.
|
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.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
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.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
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 >.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 46 of file V0MainDecorator.h.
|
private |
Definition at line 48 of file V0MainDecorator.h.
|
private |
Definition at line 50 of file V0MainDecorator.h.
|
private |
Definition at line 52 of file V0MainDecorator.h.
|
private |
Definition at line 54 of file V0MainDecorator.h.
|
private |
Definition at line 56 of file V0MainDecorator.h.
|
private |
Definition at line 74 of file V0MainDecorator.h.
|
private |
Definition at line 94 of file V0MainDecorator.h.
|
private |
Definition at line 114 of file V0MainDecorator.h.
|
private |
Definition at line 76 of file V0MainDecorator.h.
|
private |
Definition at line 96 of file V0MainDecorator.h.
|
private |
Definition at line 116 of file V0MainDecorator.h.
|
private |
Definition at line 78 of file V0MainDecorator.h.
|
private |
Definition at line 98 of file V0MainDecorator.h.
|
private |
Definition at line 118 of file V0MainDecorator.h.
|
private |
Definition at line 58 of file V0MainDecorator.h.
|
private |
Definition at line 80 of file V0MainDecorator.h.
|
private |
Definition at line 100 of file V0MainDecorator.h.
|
private |
Definition at line 120 of file V0MainDecorator.h.
|
private |
Definition at line 60 of file V0MainDecorator.h.
|
private |
Definition at line 86 of file V0MainDecorator.h.
|
private |
Definition at line 106 of file V0MainDecorator.h.
|
private |
Definition at line 126 of file V0MainDecorator.h.
|
private |
Definition at line 66 of file V0MainDecorator.h.
|
private |
Definition at line 88 of file V0MainDecorator.h.
|
private |
Definition at line 108 of file V0MainDecorator.h.
|
private |
Definition at line 128 of file V0MainDecorator.h.
|
private |
Definition at line 68 of file V0MainDecorator.h.
|
private |
Definition at line 90 of file V0MainDecorator.h.
|
private |
Definition at line 110 of file V0MainDecorator.h.
|
private |
Definition at line 130 of file V0MainDecorator.h.
|
private |
Definition at line 70 of file V0MainDecorator.h.
|
private |
Definition at line 82 of file V0MainDecorator.h.
|
private |
Definition at line 102 of file V0MainDecorator.h.
|
private |
Definition at line 122 of file V0MainDecorator.h.
|
private |
Definition at line 62 of file V0MainDecorator.h.
|
private |
Definition at line 84 of file V0MainDecorator.h.
|
private |
Definition at line 104 of file V0MainDecorator.h.
|
private |
Definition at line 124 of file V0MainDecorator.h.
|
private |
Definition at line 64 of file V0MainDecorator.h.
|
privateinherited |
Pointer to StoreGate (detector store by default).
Definition at line 393 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (event store by default).
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 39 of file V0MainDecorator.h.
|
private |
Definition at line 40 of file V0MainDecorator.h.
|
private |
Definition at line 42 of file V0MainDecorator.h.
|
private |
electron mass (0.510999 MeV)
Definition at line 31 of file V0MainDecorator.h.
|
private |
= 1 if using PDG values, = 2 if user set (1)
Definition at line 28 of file V0MainDecorator.h.
|
private |
Kshort mass (497.672 MeV).
Definition at line 32 of file V0MainDecorator.h.
|
private |
Lambda mass (1115.68 MeV).
Definition at line 33 of file V0MainDecorator.h.
|
private |
proton mass (938.272 MeV)
Definition at line 30 of file V0MainDecorator.h.
|
private |
pion mass (139.57 MeV)
Definition at line 29 of file V0MainDecorator.h.
|
private |
Definition at line 37 of file V0MainDecorator.h.
|
private |
Definition at line 34 of file V0MainDecorator.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.