|
ATLAS Offline Software
|
Store JO metadata specific to the Bmumu analysis.
More...
#include <Bmumu_metadata.h>
|
| Bmumu_metadata (const std::string &t, const std::string &n, const IInterface *p) |
| Main constructor. More...
|
|
virtual StatusCode | initialize () |
|
virtual StatusCode | finalize () |
|
virtual StatusCode | addBranches () const |
| Pass the thinning service
More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
virtual void | recordPropertyI (const std::string &name, int val) |
|
virtual void | recordPropertyL (const std::string &name, long val) |
|
virtual void | recordPropertyD (const std::string &name, double val) |
|
virtual void | recordPropertyB (const std::string &name, bool val) |
|
virtual void | recordPropertyS (const std::string &name, const std::string &val) |
|
virtual void | recordPropertyVI (const std::string &name, const std::vector< int > &val) |
|
virtual void | recordPropertyVL (const std::string &name, const std::vector< long > &val) |
|
virtual void | recordPropertyVD (const std::string &name, const std::vector< double > &val) |
|
virtual void | recordPropertyVB (const std::string &name, const std::vector< bool > &val) |
|
virtual void | recordPropertyVS (const std::string &name, const std::vector< std::string > &val) |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
|
ServiceHandle< StoreGateSvc > | m_outputMetaStore |
| Object accessing the output metadata store. More...
|
|
std::string | m_derivationName |
|
std::string | m_mdFolderName |
|
std::string | m_prefix |
|
std::map< std::string, int > | m_propInt |
|
std::map< std::string, long > | m_propLong |
|
std::map< std::string, double > | m_propDouble |
|
std::map< std::string, bool > | m_propBool |
|
std::map< std::string, std::string > | m_propString |
|
std::map< std::string, std::vector< int > > | m_propVInt |
|
std::map< std::string, std::vector< long > > | m_propVLong |
|
std::map< std::string, std::vector< double > > | m_propVDouble |
|
std::map< std::string, std::vector< bool > > | m_propVBool |
|
std::map< std::string, std::vector< std::string > > | m_propVString |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Store JO metadata specific to the Bmumu analysis.
- Author
- Wolfgang Walkowiak <Wolfg.nosp@m.ang..nosp@m.Walko.nosp@m.wiak.nosp@m.@cern.nosp@m..ch.>
Store JO metadata specific to the Bmumu analysis in the output file. This class inherits from BPhysMetadataBase.
Definition at line 34 of file Bmumu_metadata.h.
◆ StoreGateSvc_t
◆ Bmumu_metadata()
DerivationFramework::Bmumu_metadata::Bmumu_metadata |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ addBranches()
StatusCode DerivationFramework::BPhysMetadataBase::addBranches |
( |
| ) |
const |
|
virtualinherited |
◆ buildFolderName()
std::string DerivationFramework::BPhysMetadataBase::buildFolderName |
( |
const std::string & |
fname = "" | ) |
const |
|
privatevirtualinherited |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ extraDeps_update_handler()
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
◆ finalize()
StatusCode DerivationFramework::BPhysMetadataBase::finalize |
( |
| ) |
|
|
virtualinherited |
◆ initialize()
StatusCode DerivationFramework::BPhysMetadataBase::initialize |
( |
| ) |
|
|
virtualinherited |
◆ inputHandles()
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.
◆ interfaceID()
static const InterfaceID& DerivationFramework::IAugmentationTool::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
AlgTool interface methods.
Definition at line 31 of file IAugmentationTool.h.
31 {
return IID_IAugmentationTool; }
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
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.
◆ recordPropertyB()
void DerivationFramework::BPhysMetadataBase::recordPropertyB |
( |
const std::string & |
name, |
|
|
bool |
val |
|
) |
| |
|
protectedvirtualinherited |
◆ recordPropertyD()
void DerivationFramework::BPhysMetadataBase::recordPropertyD |
( |
const std::string & |
name, |
|
|
double |
val |
|
) |
| |
|
protectedvirtualinherited |
◆ recordPropertyI()
void DerivationFramework::BPhysMetadataBase::recordPropertyI |
( |
const std::string & |
name, |
|
|
int |
val |
|
) |
| |
|
protectedvirtualinherited |
◆ recordPropertyL()
void DerivationFramework::BPhysMetadataBase::recordPropertyL |
( |
const std::string & |
name, |
|
|
long |
val |
|
) |
| |
|
protectedvirtualinherited |
◆ recordPropertyS()
void DerivationFramework::BPhysMetadataBase::recordPropertyS |
( |
const std::string & |
name, |
|
|
const std::string & |
val |
|
) |
| |
|
protectedvirtualinherited |
◆ recordPropertyVB()
void DerivationFramework::BPhysMetadataBase::recordPropertyVB |
( |
const std::string & |
name, |
|
|
const std::vector< bool > & |
val |
|
) |
| |
|
protectedvirtualinherited |
◆ recordPropertyVD()
void DerivationFramework::BPhysMetadataBase::recordPropertyVD |
( |
const std::string & |
name, |
|
|
const std::vector< double > & |
val |
|
) |
| |
|
protectedvirtualinherited |
◆ recordPropertyVI()
void DerivationFramework::BPhysMetadataBase::recordPropertyVI |
( |
const std::string & |
name, |
|
|
const std::vector< int > & |
val |
|
) |
| |
|
protectedvirtualinherited |
◆ recordPropertyVL()
void DerivationFramework::BPhysMetadataBase::recordPropertyVL |
( |
const std::string & |
name, |
|
|
const std::vector< long > & |
val |
|
) |
| |
|
protectedvirtualinherited |
◆ recordPropertyVS()
void DerivationFramework::BPhysMetadataBase::recordPropertyVS |
( |
const std::string & |
name, |
|
|
const std::vector< std::string > & |
val |
|
) |
| |
|
protectedvirtualinherited |
◆ renounce()
◆ renounceArray()
◆ saveMetaDataBPhys()
StatusCode DerivationFramework::BPhysMetadataBase::saveMetaDataBPhys |
( |
| ) |
const |
|
privatevirtualinherited |
Definition at line 104 of file BPhysMetadataBase.cxx.
106 ATH_MSG_DEBUG(
"BPhysMetaDataBase::saveMetaDataBPhys() -- begin");
112 "xAOD::FileMetaData already in output: "
114 <<
" -- BPhys metadata will NOT be saved!");
117 auto fm = std::make_unique< xAOD::FileMetaData >();
118 auto fmAux = std::make_unique< xAOD::FileMetaDataAuxInfo >();
119 fm->setStore( fmAux.get() );
143 mdFolderKey+
"Aux." ) );
146 return StatusCode::SUCCESS;
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ vecToString() [1/5]
std::string DerivationFramework::BPhysMetadataBase::vecToString |
( |
const std::vector< bool > & |
v | ) |
const |
|
privatevirtualinherited |
◆ vecToString() [2/5]
std::string DerivationFramework::BPhysMetadataBase::vecToString |
( |
const std::vector< double > & |
v | ) |
const |
|
privatevirtualinherited |
◆ vecToString() [3/5]
std::string DerivationFramework::BPhysMetadataBase::vecToString |
( |
const std::vector< int > & |
v | ) |
const |
|
privatevirtualinherited |
◆ vecToString() [4/5]
std::string DerivationFramework::BPhysMetadataBase::vecToString |
( |
const std::vector< long > & |
v | ) |
const |
|
privatevirtualinherited |
◆ vecToString() [5/5]
std::string DerivationFramework::BPhysMetadataBase::vecToString |
( |
const std::vector< std::string > & |
v | ) |
const |
|
privatevirtualinherited |
◆ m_derivationName
std::string DerivationFramework::BPhysMetadataBase::m_derivationName |
|
privateinherited |
◆ m_detStore
◆ m_evtStore
◆ m_mdFolderName
std::string DerivationFramework::BPhysMetadataBase::m_mdFolderName |
|
privateinherited |
◆ m_outputMetaStore
◆ m_prefix
std::string DerivationFramework::BPhysMetadataBase::m_prefix |
|
privateinherited |
◆ m_propBool
std::map<std::string, bool> DerivationFramework::BPhysMetadataBase::m_propBool |
|
privateinherited |
◆ m_propDouble
std::map<std::string, double> DerivationFramework::BPhysMetadataBase::m_propDouble |
|
privateinherited |
◆ m_propInt
std::map<std::string, int> DerivationFramework::BPhysMetadataBase::m_propInt |
|
privateinherited |
◆ m_propLong
std::map<std::string, long> DerivationFramework::BPhysMetadataBase::m_propLong |
|
privateinherited |
◆ m_propString
std::map<std::string, std::string> DerivationFramework::BPhysMetadataBase::m_propString |
|
privateinherited |
◆ m_propVBool
std::map<std::string, std::vector<bool> > DerivationFramework::BPhysMetadataBase::m_propVBool |
|
privateinherited |
◆ m_propVDouble
std::map<std::string, std::vector<double> > DerivationFramework::BPhysMetadataBase::m_propVDouble |
|
privateinherited |
◆ m_propVInt
std::map<std::string, std::vector<int> > DerivationFramework::BPhysMetadataBase::m_propVInt |
|
privateinherited |
◆ m_propVLong
std::map<std::string, std::vector<long> > DerivationFramework::BPhysMetadataBase::m_propVLong |
|
privateinherited |
◆ m_propVString
std::map<std::string, std::vector<std::string> > DerivationFramework::BPhysMetadataBase::m_propVString |
|
privateinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
Helper class to provide type-safe access to aux data.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
virtual void setOwner(IDataHandleHolder *o)=0
#define CHECK(...)
Evaluate an expression and check for errors.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::string to_string(const DetectorType &type)
#define ATH_MSG_WARNING(x)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>