#include <BPhysMetadataBase.h>
|
| 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) |
|
| virtual StatusCode | saveMetaDataBPhys () const |
| virtual std::string | buildFolderName (const std::string &fname="") const |
| virtual std::string | vecToString (const std::vector< int > &v) const |
| virtual std::string | vecToString (const std::vector< long > &v) const |
| virtual std::string | vecToString (const std::vector< double > &v) const |
| virtual std::string | vecToString (const std::vector< bool > &v) const |
| virtual std::string | vecToString (const std::vector< std::string > &v) const |
|
| ServiceHandle< StoreGateSvc > | m_outputMetaStore |
| | Object accessing the output metadata store.
|
| 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 |
Definition at line 43 of file BPhysMetadataBase.h.
◆ BPhysMetadataBase()
| DerivationFramework::BPhysMetadataBase::BPhysMetadataBase |
( |
const std::string & | t, |
|
|
const std::string & | n, |
|
|
const IInterface * | p ) |
◆ addBranches()
| StatusCode DerivationFramework::BPhysMetadataBase::addBranches |
( |
const EventContext & | ctx | ) |
const |
|
virtual |
◆ buildFolderName()
| std::string DerivationFramework::BPhysMetadataBase::buildFolderName |
( |
const std::string & | fname = "" | ) |
const |
|
privatevirtual |
◆ finalize()
| StatusCode DerivationFramework::BPhysMetadataBase::finalize |
( |
| ) |
|
|
virtual |
◆ initialize()
| StatusCode DerivationFramework::BPhysMetadataBase::initialize |
( |
| ) |
|
|
virtual |
Definition at line 63 of file BPhysMetadataBase.cxx.
63 {
64
66
67
71 } else {
73 }
74 }
75
77
79
80 return StatusCode::SUCCESS;
81 }
#define CHECK(...)
Evaluate an expression and check for errors.
◆ recordPropertyB()
| void DerivationFramework::BPhysMetadataBase::recordPropertyB |
( |
const std::string & | name, |
|
|
bool | val ) |
|
protectedvirtual |
◆ recordPropertyD()
| void DerivationFramework::BPhysMetadataBase::recordPropertyD |
( |
const std::string & | name, |
|
|
double | val ) |
|
protectedvirtual |
◆ recordPropertyI()
| void DerivationFramework::BPhysMetadataBase::recordPropertyI |
( |
const std::string & | name, |
|
|
int | val ) |
|
protectedvirtual |
◆ recordPropertyL()
| void DerivationFramework::BPhysMetadataBase::recordPropertyL |
( |
const std::string & | name, |
|
|
long | val ) |
|
protectedvirtual |
◆ recordPropertyS()
| void DerivationFramework::BPhysMetadataBase::recordPropertyS |
( |
const std::string & | name, |
|
|
const std::string & | val ) |
|
protectedvirtual |
◆ recordPropertyVB()
| void DerivationFramework::BPhysMetadataBase::recordPropertyVB |
( |
const std::string & | name, |
|
|
const std::vector< bool > & | val ) |
|
protectedvirtual |
◆ recordPropertyVD()
| void DerivationFramework::BPhysMetadataBase::recordPropertyVD |
( |
const std::string & | name, |
|
|
const std::vector< double > & | val ) |
|
protectedvirtual |
◆ recordPropertyVI()
| void DerivationFramework::BPhysMetadataBase::recordPropertyVI |
( |
const std::string & | name, |
|
|
const std::vector< int > & | val ) |
|
protectedvirtual |
◆ recordPropertyVL()
| void DerivationFramework::BPhysMetadataBase::recordPropertyVL |
( |
const std::string & | name, |
|
|
const std::vector< long > & | val ) |
|
protectedvirtual |
◆ recordPropertyVS()
| void DerivationFramework::BPhysMetadataBase::recordPropertyVS |
( |
const std::string & | name, |
|
|
const std::vector< std::string > & | val ) |
|
protectedvirtual |
◆ saveMetaDataBPhys()
| StatusCode DerivationFramework::BPhysMetadataBase::saveMetaDataBPhys |
( |
| ) |
const |
|
privatevirtual |
Definition at line 103 of file BPhysMetadataBase.cxx.
103 {
104
105 ATH_MSG_DEBUG(
"BPhysMetaDataBase::saveMetaDataBPhys() -- begin");
106
108
111 "xAOD::FileMetaData already in output: "
112 << mdFolderKey
113 << " -- BPhys metadata will NOT be saved!");
114 } else {
115
116 auto fm = std::make_unique< xAOD::FileMetaData >();
117 auto fmAux = std::make_unique< xAOD::FileMetaDataAuxInfo >();
118 fm->setStore( fmAux.get() );
119
120
121 SG::Accessor<std::string> DerivationNameAcc(
m_prefix+
"DerivationName");
123
124 SG::Accessor<std::string> MetaDatafolderNameAcc(
m_prefix+
"MetaDataFolderName");
126
127
138
139
142 mdFolderKey+"Aux." ) );
143 }
144
145 return StatusCode::SUCCESS;
146 }
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
FileMetaData_v1 FileMetaData
Declare the latest version of the class.
◆ vecToString() [1/5]
| std::string DerivationFramework::BPhysMetadataBase::vecToString |
( |
const std::vector< bool > & | v | ) |
const |
|
privatevirtual |
Definition at line 250 of file BPhysMetadataBase.cxx.
250 {
251 std::string
str(
"[");
252 for (
unsigned int i=0;
i<
v.size(); ++
i) {
253 str += std::to_string(v[i]);
254 if ( i <
v.size()-1 )
str +=
",";
255 }
258 }
◆ vecToString() [2/5]
| std::string DerivationFramework::BPhysMetadataBase::vecToString |
( |
const std::vector< double > & | v | ) |
const |
|
privatevirtual |
Definition at line 240 of file BPhysMetadataBase.cxx.
240 {
241 std::string
str(
"[");
242 for (
unsigned int i=0;
i<
v.size(); ++
i) {
243 str += std::to_string(v[i]);
244 if ( i <
v.size()-1 )
str +=
",";
245 }
248 }
◆ vecToString() [3/5]
| std::string DerivationFramework::BPhysMetadataBase::vecToString |
( |
const std::vector< int > & | v | ) |
const |
|
privatevirtual |
Definition at line 220 of file BPhysMetadataBase.cxx.
220 {
221 std::string
str(
"[");
222 for (
unsigned int i=0;
i<
v.size(); ++
i) {
223 str += std::to_string(v[i]);
224 if ( i <
v.size()-1 )
str +=
",";
225 }
228 }
◆ vecToString() [4/5]
| std::string DerivationFramework::BPhysMetadataBase::vecToString |
( |
const std::vector< long > & | v | ) |
const |
|
privatevirtual |
Definition at line 230 of file BPhysMetadataBase.cxx.
230 {
231 std::string
str(
"[");
232 for (
unsigned int i=0;
i<
v.size(); ++
i) {
233 str += std::to_string(v[i]);
234 if ( i <
v.size()-1 )
str +=
",";
235 }
238 }
◆ vecToString() [5/5]
| std::string DerivationFramework::BPhysMetadataBase::vecToString |
( |
const std::vector< std::string > & | v | ) |
const |
|
privatevirtual |
Definition at line 260 of file BPhysMetadataBase.cxx.
260 {
261 std::string
str(
"[");
262 for (
unsigned int i=0;
i<
v.size(); ++
i) {
266 if ( i <
v.size()-1 )
str +=
",";
267 }
270 }
◆ m_derivationName
| std::string DerivationFramework::BPhysMetadataBase::m_derivationName |
|
private |
◆ m_mdFolderName
| std::string DerivationFramework::BPhysMetadataBase::m_mdFolderName |
|
private |
◆ m_outputMetaStore
◆ m_prefix
| std::string DerivationFramework::BPhysMetadataBase::m_prefix |
|
private |
◆ m_propBool
| std::map<std::string, bool> DerivationFramework::BPhysMetadataBase::m_propBool |
|
private |
◆ m_propDouble
| std::map<std::string, double> DerivationFramework::BPhysMetadataBase::m_propDouble |
|
private |
◆ m_propInt
| std::map<std::string, int> DerivationFramework::BPhysMetadataBase::m_propInt |
|
private |
◆ m_propLong
| std::map<std::string, long> DerivationFramework::BPhysMetadataBase::m_propLong |
|
private |
◆ m_propString
| std::map<std::string, std::string> DerivationFramework::BPhysMetadataBase::m_propString |
|
private |
◆ m_propVBool
| std::map<std::string, std::vector<bool> > DerivationFramework::BPhysMetadataBase::m_propVBool |
|
private |
◆ m_propVDouble
| std::map<std::string, std::vector<double> > DerivationFramework::BPhysMetadataBase::m_propVDouble |
|
private |
◆ m_propVInt
| std::map<std::string, std::vector<int> > DerivationFramework::BPhysMetadataBase::m_propVInt |
|
private |
◆ m_propVLong
| std::map<std::string, std::vector<long> > DerivationFramework::BPhysMetadataBase::m_propVLong |
|
private |
◆ m_propVString
| std::map<std::string, std::vector<std::string> > DerivationFramework::BPhysMetadataBase::m_propVString |
|
private |
The documentation for this class was generated from the following files: