ATLAS Offline Software
Loading...
Searching...
No Matches
DerivationFramework::Bmumu_metadata Class Reference

Store JO metadata specific to the Bmumu analysis. More...

#include <Bmumu_metadata.h>

Inheritance diagram for DerivationFramework::Bmumu_metadata:
Collaboration diagram for DerivationFramework::Bmumu_metadata:

Public Member Functions

 Bmumu_metadata (const std::string &t, const std::string &n, const IInterface *p)
 Main constructor.
virtual StatusCode initialize ()
virtual StatusCode finalize ()
virtual StatusCode addBranches (const EventContext &ctx) const

Protected Member Functions

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)

Private Member Functions

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

Private Attributes

ServiceHandle< StoreGateSvcm_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

Detailed Description

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.

Constructor & Destructor Documentation

◆ Bmumu_metadata()

DerivationFramework::Bmumu_metadata::Bmumu_metadata ( const std::string & t,
const std::string & n,
const IInterface * p )

Main constructor.

Definition at line 16 of file Bmumu_metadata.cxx.

18 :
19 BPhysMetadataBase(t,n,p) {
20
21 // configuration defaults etc.
22 recordPropertyI("verbose", 0);
23 recordPropertyB("isSimulation", false);
24 recordPropertyS("projectTag", "__NONE__");
25 recordPropertyB("isRelease21" , true);
26 recordPropertyS("mcCampaign", "__NONE__");
27 recordPropertyS("triggerStream", "__NONE__");
28
29 // MC dataset number lists
30 recordPropertyVI("mcBsmumu" , {});
31 recordPropertyVI("mcBplusJpsiKplus" , {});
32 recordPropertyVI("mcBsJpsiPhi" , {});
33 recordPropertyVI("mcBplusJpsiPiplus", {});
34 recordPropertyVI("mcBhh" , {});
35
36 // MC datasets without trigger information
37 recordPropertyVI("mcNoTrigger" , {});
38
39 // special data runs
40 recordPropertyVI("specDataRuns", {});
41
42 // special MC channels
43 recordPropertyVI("specMcChannels", {});
44
45 // blind search
46 recordPropertyB("doBmumuBlinding" , true);
47 recordPropertyB("doCutBlinded" , true);
48 recordPropertyB("blindOnlyAllMuonsTight", true);
49 recordPropertyS("BlindingKey" , "");
50 recordPropertyS("BlindedVars" , "");
51 recordPropertyS("BlindingFlag" , "");
52
53 // include trigger
54 recordPropertyB("doTriggerInfo" , true);
55
56 // include soft B tagging vertex containers
57 recordPropertyB("doAddSoftBVertices" , true);
58
59 // trigger navigation thinning
60 recordPropertyB("doTrigNavThinning", true);
61 recordPropertyVS("TrigNavThinList" , {});
62
63 // wide mumu mass range
64 recordPropertyB("doUseWideMuMuMassRange", false);
65
66 // use mass calculated using the combined muon track information in cuts?
67 recordPropertyB("useMuCalcMass", true);
68
69 // use calibrated muons instead of the original ones
70 recordPropertyI("useCalibratedMuons", 0);
71
72 // adjust primary track to muon kinematics for MUCALC mass
73 recordPropertyB("adjustMucalcKinematics", false);
74
75 // add MUCALC mass from non-modified muons for debugging
76 recordPropertyB("addMucalcMassForDebug", false);
77
78 // primary vertex types to consider for MinChi2ToAnyPV
79 recordPropertyVI("MinChi2ToAnyPVTypes", {1, 3});
80
81 // JpsiFinder: muAndMu or TrackAndTrack option?
82 recordPropertyB("JfTwoMuons" , true );
83 recordPropertyB("JfTwoTracks", false);
84
85 // JpsiFinder: TrackThresholdPt
86 recordPropertyD("JfTrackThresholdPt", 0.);
87
88 // muon calibration and smearing tool configuration
89 recordPropertyS("McstYear" , "Data16");
90 recordPropertyS("McstRelease" , "_NONE_");
91 recordPropertyB("McstStatComb" , true);
92 recordPropertyB("McstSagittaCorr" , true);
93 recordPropertyS("McstSagittaRelease" , "_NONE_");
94 recordPropertyB("McstDoSagittaMCDistortion", false);
95 recordPropertyB("McstSagittaCorrPhaseSpace", true);
96
97 // muon collections
98 recordPropertyS("MuonCollection" , "Muons");
99 recordPropertyS("CalMuonCollection" , "Muons");
100 recordPropertyS("UsedMuonCollection" , "Muons");
101 recordPropertyVS("AllMuonCollections", {} );
102
103 // Global mass values (in MeV, from PDG 2015)
111
112 // mass ranges
113 recordPropertyD("GlobalBMassUpperCut" , 7000.);
114 recordPropertyD("GlobalBMassLowerCut" , 3500.);
115 recordPropertyD("GlobalDiMuonMassUpperCut", 7000.);
116 recordPropertyD("GlobalDiMuonMassLowerCut", 2000.);
117 recordPropertyD("GlobalJpsiMassUpperCut" , 7000.);
118 recordPropertyD("GlobalJpsiMassLowerCut" , 2000.);
119 recordPropertyD("GlobalBlindUpperCut" , 5166.);
120 recordPropertyD("GlobalBlindLowerCut" , 5526.);
121 recordPropertyD("GlobalTrksMassUpperCut" , 7500.);
122 recordPropertyD("GlobalTrksMassLowerCut" , 3000.);
123
124 // Global chi2 cut for vertexing
125 recordPropertyD("GlobalChi2CutBase", 15.0);
126 // Different chi2 cuts for 2-, 3- and 4-prong vertices
127 recordPropertyD("Chi2Cut2Prong" , 30.0);
128 recordPropertyD("Chi2Cut3Prong" , 45.0);
129 recordPropertyD("Chi2Cut4Prong" , 60.0);
130
131 // Cut values for kaon candidates
132 recordPropertyD("GlobalKaonPtCut" , 1000.); // MeV
133 recordPropertyD("GlobalKaonEtaCut", 2.5 );
134
135 // MCP cuts for JpsiFinder
136 recordPropertyB("useJpsiFinderMCPCuts", false);
137
138 // reject muons in JpsiPlus1Track or JpsiPlus2Track finders
139 recordPropertyS("GlobalMuonsUsedInJpsi", "NONE"); // turn off by default
140
141 // run number
142 recordPropertyI("runNumber", -1);
143
144 // MC channel number
145 recordPropertyI("mcChNumber", -1);
146
147 // channels to be processed
148 recordPropertyVS("doChannels", {});
149
150 // vertex types to be done
151 recordPropertyI("doVertexType", 7);
152
153 // minimum number of tracks in PV considered for PV association
154 recordPropertyI("minNTracksInPV", 0);
155
156 // mode of minLogChi2ToAnyPV calculation
157 recordPropertyI("AddMinChi2ToAnyPVMode", 0);
158
159 // record 3-dimensional proper time in addition
160 recordPropertyB("do3dProperTime", false);
161
162 // thinning level
163 recordPropertyI("thinLevel", 0);
164
165 // selection expression
166 recordPropertyS("SelExpression", "");
167
168 // MC truth decay parents
169 recordPropertyVI("TruthDecayParents", {});
170
171 // vertex isolation properties
172 recordPropertyVS("IsoTrackCategoryName" , {});
173 recordPropertyVS("IsoTrackCutLevel" , {});
174 recordPropertyVD("IsoTrackPtCut" , {});
175 recordPropertyVD("IsoTrackEtaCut" , {});
176 recordPropertyVI("IsoTrackPixelHits" , {});
177 recordPropertyVI("IsoTrackSCTHits" , {});
178 recordPropertyVI("IsoTrackbLayerHits" , {});
179 recordPropertyVI("IsoTrackIBLHits" , {});
180 recordPropertyVD("IsolationConeSizes" , {});
181 recordPropertyVD("IsoTrkImpLogChi2Max" , {});
182 recordPropertyVI("IsoDoTrkImpLogChi2Cut", {});
183 recordPropertyVL("useIsoTrackTypes" , {});
184 recordPropertyB("IsoUseOptimizedAlgo" , true);
185 recordPropertyS("IsoTvaWorkingPoint" , "Nominal");
186 recordPropertyVS("IsoIncludes" , {});
187
188
189 // muon isolation properties (muons of B candidate)
190 recordPropertyVS("MuIsoTrackCategoryName" , {});
191 recordPropertyVS("MuIsoTrackCutLevel" , {});
192 recordPropertyVD("MuIsoTrackPtCut" , {});
193 recordPropertyVD("MuIsoTrackEtaCut" , {});
194 recordPropertyVI("MuIsoTrackPixelHits" , {});
195 recordPropertyVI("MuIsoTrackSCTHits" , {});
196 recordPropertyVI("MuIsoTrackbLayerHits" , {});
197 recordPropertyVI("MuIsoTrackIBLHits" , {});
198 recordPropertyVD("MuIsolationConeSizes" , {});
199 recordPropertyVD("MuIsoTrkImpLogChi2Max" , {});
200 recordPropertyVI("MuIsoDoTrkImpLogChi2Cut", {});
201 recordPropertyVL("useMuIsoTrackTypes" , {});
202 recordPropertyS("MuIsoTvaWorkingPoint" , "Nominal");
203 recordPropertyVS("MuIsoIncludes" , {});
204
205 // closest track properties
206 recordPropertyVS("CloseTrackCategoryName" , {});
207 recordPropertyVS("CloseTrackCutLevel" , {});
208 recordPropertyVD("CloseTrackPtCut" , {});
209 recordPropertyVD("CloseTrackEtaCut" , {});
210 recordPropertyVI("CloseTrackPixelHits" , {});
211 recordPropertyVI("CloseTrackSCTHits" , {});
212 recordPropertyVI("CloseTrackbLayerHits" , {});
213 recordPropertyVI("CloseTrackIBLHits" , {});
214 recordPropertyVL("useCloseTrackTypes" , {});
215 recordPropertyVS("CloseTrackChi2SetName" , {});
216 recordPropertyVI("CloseTrackCorrChi2" , {});
217 recordPropertyVB("CloseTrackMinDCAin3D" , {});
218 recordPropertyVD("CloseTrackMaxLogChi2" , {});
219 recordPropertyVD("NCloseTrackMaxLogChi2" , {});
220 recordPropertyS("CloseTrackTvaWorkingPoint", "Nominal");
221 recordPropertyVS("CloseTrackIncludes" , {});
222
223 // debug track types for isolation and closest track tools
224 recordPropertyI("DebugTrackTypes", 0);
225
226 // track-to-vertex association check tool
227 recordPropertyI("DebugTrkToVtxMaxEvents" , 0);
228
229 // output containers and branch prefixes
230 // (mostly used for isolation tools)
231 recordPropertyS("TrkPartContName", "InDetTrackParticles");
232 recordPropertyS("PVContName" , "PrimaryVertices");
233 recordPropertyVS("VtxContNames" , {} );
234 recordPropertyVS("RefPVContNames", {} );
235 recordPropertyVS("BranchPrefixes", {} );
236
237 }
virtual void recordPropertyB(const std::string &name, bool val)
virtual void recordPropertyD(const std::string &name, double val)
virtual void recordPropertyVD(const std::string &name, const std::vector< double > &val)
virtual void recordPropertyS(const std::string &name, const std::string &val)
virtual void recordPropertyVI(const std::string &name, const std::vector< int > &val)
BPhysMetadataBase(const std::string &t, const std::string &n, const IInterface *p)
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 void recordPropertyVL(const std::string &name, const std::vector< long > &val)
virtual void recordPropertyI(const std::string &name, int val)
constexpr double muonMassInMeV
the mass of the muon (in MeV)
constexpr double chargedKaonMassInMeV
the mass of the charged kaon (in MeV)
constexpr double chargedPionMassInMeV
the mass of the charged pion (in MeV)
constexpr double BZeroMassInMeV
the mass of the neutral B0 meson (in MeV)
constexpr double BPlusMassInMeV
the mass of the charged B meson (in MeV)
constexpr double BsMassInMeV
the mass of the Bs meson (in MeV)

Member Function Documentation

◆ addBranches()

StatusCode DerivationFramework::BPhysMetadataBase::addBranches ( const EventContext & ctx) const
virtualinherited

Definition at line 91 of file BPhysMetadataBase.cxx.

91 {
92
93 // nothing to do here
94 return StatusCode::SUCCESS;
95 }

◆ buildFolderName()

std::string DerivationFramework::BPhysMetadataBase::buildFolderName ( const std::string & fname = "") const
privatevirtualinherited

Definition at line 149 of file BPhysMetadataBase.cxx.

149 {
150
151 std::string result = fname;
152 if ( m_mdFolderName != "_NONE_" && m_mdFolderName != "" ) {
154 } else {
155 if ( m_derivationName != "_NOSUCHFORMAT_" && m_derivationName != "" ) {
157 } else {
158 // default to the tool's name
159 result += name();
160 }
161 }
162 return result;
163 }

◆ finalize()

StatusCode DerivationFramework::BPhysMetadataBase::finalize ( )
virtualinherited

Definition at line 83 of file BPhysMetadataBase.cxx.

83 {
84
85 ATH_MSG_DEBUG("BPhysMetaDataBase::finalize()");
86
87 // everything all right
88 return StatusCode::SUCCESS;
89 }
#define ATH_MSG_DEBUG(x)

◆ initialize()

StatusCode DerivationFramework::BPhysMetadataBase::initialize ( )
virtualinherited

Definition at line 63 of file BPhysMetadataBase.cxx.

63 {
64
65 ATH_MSG_DEBUG("BPhysMetaDataBase::initialize() -- begin");
66
67 // handle general prefix
68 if ( m_prefix == "" ) {
69 if ( m_derivationName == "_NOSUCHFORMAT_" ) {
70 m_prefix = name() +"_";
71 } else {
73 }
74 }
75
77
78 ATH_MSG_DEBUG("BPhysMetaDataBase::initialize() -- end");
79
80 return StatusCode::SUCCESS;
81 }
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode saveMetaDataBPhys() const

◆ recordPropertyB()

void DerivationFramework::BPhysMetadataBase::recordPropertyB ( const std::string & name,
bool val )
protectedvirtualinherited

Definition at line 180 of file BPhysMetadataBase.cxx.

180 {
181 ATH_MSG_INFO("Calling recordProperty(bool)");
182 declareProperty(name, m_propBool[name] = val);
183 }
#define ATH_MSG_INFO(x)
std::map< std::string, bool > m_propBool

◆ recordPropertyD()

void DerivationFramework::BPhysMetadataBase::recordPropertyD ( const std::string & name,
double val )
protectedvirtualinherited

Definition at line 175 of file BPhysMetadataBase.cxx.

175 {
176 ATH_MSG_INFO("Calling recordProperty(double)");
177 declareProperty(name, m_propDouble[name] = val);
178 }
std::map< std::string, double > m_propDouble

◆ recordPropertyI()

void DerivationFramework::BPhysMetadataBase::recordPropertyI ( const std::string & name,
int val )
protectedvirtualinherited

Definition at line 165 of file BPhysMetadataBase.cxx.

165 {
166 ATH_MSG_INFO("Calling recordProperty(int)");
167 declareProperty(name, m_propInt[name] = val);
168 }
std::map< std::string, int > m_propInt

◆ recordPropertyL()

void DerivationFramework::BPhysMetadataBase::recordPropertyL ( const std::string & name,
long val )
protectedvirtualinherited

Definition at line 170 of file BPhysMetadataBase.cxx.

170 {
171 ATH_MSG_INFO("Calling recordProperty(long)");
172 declareProperty(name, m_propLong[name] = val);
173 }
std::map< std::string, long > m_propLong

◆ recordPropertyS()

void DerivationFramework::BPhysMetadataBase::recordPropertyS ( const std::string & name,
const std::string & val )
protectedvirtualinherited

Definition at line 185 of file BPhysMetadataBase.cxx.

185 {
186 ATH_MSG_INFO("Calling recordProperty(string)");
187 declareProperty(name, m_propString[name] = val);
188 }
std::map< std::string, std::string > m_propString

◆ recordPropertyVB()

void DerivationFramework::BPhysMetadataBase::recordPropertyVB ( const std::string & name,
const std::vector< bool > & val )
protectedvirtualinherited

Definition at line 208 of file BPhysMetadataBase.cxx.

209 {
210 ATH_MSG_INFO("Calling recordProperty(vector<bool>)");
211 declareProperty(name, m_propVBool[name] = val);
212 }
std::map< std::string, std::vector< bool > > m_propVBool

◆ recordPropertyVD()

void DerivationFramework::BPhysMetadataBase::recordPropertyVD ( const std::string & name,
const std::vector< double > & val )
protectedvirtualinherited

Definition at line 202 of file BPhysMetadataBase.cxx.

203 {
204 ATH_MSG_INFO("Calling recordProperty(vector<double>)");
205 declareProperty(name, m_propVDouble[name] = val);
206 }
std::map< std::string, std::vector< double > > m_propVDouble

◆ recordPropertyVI()

void DerivationFramework::BPhysMetadataBase::recordPropertyVI ( const std::string & name,
const std::vector< int > & val )
protectedvirtualinherited

Definition at line 190 of file BPhysMetadataBase.cxx.

191 {
192 ATH_MSG_INFO("Calling recordProperty(vector<int>)");
193 declareProperty(name, m_propVInt[name] = val);
194 }
std::map< std::string, std::vector< int > > m_propVInt

◆ recordPropertyVL()

void DerivationFramework::BPhysMetadataBase::recordPropertyVL ( const std::string & name,
const std::vector< long > & val )
protectedvirtualinherited

Definition at line 196 of file BPhysMetadataBase.cxx.

197 {
198 ATH_MSG_INFO("Calling recordProperty(vector<long>)");
199 declareProperty(name, m_propVLong[name] = val);
200 }
std::map< std::string, std::vector< long > > m_propVLong

◆ recordPropertyVS()

void DerivationFramework::BPhysMetadataBase::recordPropertyVS ( const std::string & name,
const std::vector< std::string > & val )
protectedvirtualinherited

Definition at line 214 of file BPhysMetadataBase.cxx.

215 {
216 ATH_MSG_INFO("Calling recordProperty(vector<string>)");
217 declareProperty(name, m_propVString[name] = val);
218 }
std::map< std::string, std::vector< std::string > > m_propVString

◆ saveMetaDataBPhys()

StatusCode DerivationFramework::BPhysMetadataBase::saveMetaDataBPhys ( ) const
privatevirtualinherited

Definition at line 103 of file BPhysMetadataBase.cxx.

103 {
104
105 ATH_MSG_DEBUG("BPhysMetaDataBase::saveMetaDataBPhys() -- begin");
106
107 std::string mdFolderKey = buildFolderName() + "_MetaData";
108 // protection
109 if ( m_outputMetaStore->contains< xAOD::FileMetaData >( mdFolderKey ) ) {
110 ATH_MSG_WARNING("saveMetaDataBPhys2: "
111 "xAOD::FileMetaData already in output: "
112 << mdFolderKey
113 << " -- BPhys metadata will NOT be saved!");
114 } else {
115 // create a FileMetaData object
116 auto fm = std::make_unique< xAOD::FileMetaData >();
117 auto fmAux = std::make_unique< xAOD::FileMetaDataAuxInfo >();
118 fm->setStore( fmAux.get() );
119
120 // fill it
121 SG::Accessor<std::string> DerivationNameAcc(m_prefix+"DerivationName");
122 DerivationNameAcc(*fm) = m_derivationName;
123
124 SG::Accessor<std::string> MetaDatafolderNameAcc(m_prefix+"MetaDataFolderName");
125 MetaDatafolderNameAcc(*fm) = m_mdFolderName;
126
127 // fill it with contents of maps
128 SET_VALUES_IMP( int , m_propInt );
129 SET_VALUES_IMP( long , m_propLong );
130 SET_VALUES_IMP( double , m_propDouble );
131 SET_VALUES_IMP( bool , m_propBool );
132 SET_VALUES_IMP( std::string , m_propString );
133 SET_VALUES_IMP( std::vector<int> , m_propVInt );
134 SET_VALUES_IMP( std::vector<long> , m_propVLong );
135 SET_VALUES_IMP( std::vector<double> , m_propVDouble );
136 SET_VALUES_IMP( std::vector<bool> , m_propVBool );
137 SET_VALUES_IMP( std::vector<std::string>, m_propVString );
138
139 // record it
140 ATH_CHECK( m_outputMetaStore->record( std::move(fm), mdFolderKey ) );
141 ATH_CHECK( m_outputMetaStore->record( std::move(fmAux),
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)
#define SET_VALUES_IMP(TYPE, MAP)
ServiceHandle< StoreGateSvc > m_outputMetaStore
Object accessing the output metadata store.
virtual std::string buildFolderName(const std::string &fname="") const
FileMetaData_v1 FileMetaData
Declare the latest version of the class.

◆ vecToString() [1/5]

std::string DerivationFramework::BPhysMetadataBase::vecToString ( const std::vector< bool > & v) const
privatevirtualinherited

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 }
256 str += "]";
257 return str;
258 }

◆ vecToString() [2/5]

std::string DerivationFramework::BPhysMetadataBase::vecToString ( const std::vector< double > & v) const
privatevirtualinherited

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 }
246 str += "]";
247 return str;
248 }

◆ vecToString() [3/5]

std::string DerivationFramework::BPhysMetadataBase::vecToString ( const std::vector< int > & v) const
privatevirtualinherited

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 }
226 str += "]";
227 return str;
228 }

◆ vecToString() [4/5]

std::string DerivationFramework::BPhysMetadataBase::vecToString ( const std::vector< long > & v) const
privatevirtualinherited

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 }
236 str += "]";
237 return str;
238 }

◆ vecToString() [5/5]

std::string DerivationFramework::BPhysMetadataBase::vecToString ( const std::vector< std::string > & v) const
privatevirtualinherited

Definition at line 260 of file BPhysMetadataBase.cxx.

260 {
261 std::string str("[");
262 for (unsigned int i=0; i<v.size(); ++i) {
263 str += "'";
264 str += v[i];
265 str += "'";
266 if ( i < v.size()-1 ) str += ",";
267 }
268 str += "]";
269 return str;
270 }

Member Data Documentation

◆ m_derivationName

std::string DerivationFramework::BPhysMetadataBase::m_derivationName
privateinherited

Definition at line 81 of file BPhysMetadataBase.h.

◆ m_mdFolderName

std::string DerivationFramework::BPhysMetadataBase::m_mdFolderName
privateinherited

Definition at line 82 of file BPhysMetadataBase.h.

◆ m_outputMetaStore

ServiceHandle< StoreGateSvc > DerivationFramework::BPhysMetadataBase::m_outputMetaStore
privateinherited

Object accessing the output metadata store.

Definition at line 78 of file BPhysMetadataBase.h.

◆ m_prefix

std::string DerivationFramework::BPhysMetadataBase::m_prefix
privateinherited

Definition at line 83 of file BPhysMetadataBase.h.

◆ m_propBool

std::map<std::string, bool> DerivationFramework::BPhysMetadataBase::m_propBool
privateinherited

Definition at line 89 of file BPhysMetadataBase.h.

◆ m_propDouble

std::map<std::string, double> DerivationFramework::BPhysMetadataBase::m_propDouble
privateinherited

Definition at line 88 of file BPhysMetadataBase.h.

◆ m_propInt

std::map<std::string, int> DerivationFramework::BPhysMetadataBase::m_propInt
privateinherited

Definition at line 86 of file BPhysMetadataBase.h.

◆ m_propLong

std::map<std::string, long> DerivationFramework::BPhysMetadataBase::m_propLong
privateinherited

Definition at line 87 of file BPhysMetadataBase.h.

◆ m_propString

std::map<std::string, std::string> DerivationFramework::BPhysMetadataBase::m_propString
privateinherited

Definition at line 90 of file BPhysMetadataBase.h.

◆ m_propVBool

std::map<std::string, std::vector<bool> > DerivationFramework::BPhysMetadataBase::m_propVBool
privateinherited

Definition at line 94 of file BPhysMetadataBase.h.

◆ m_propVDouble

std::map<std::string, std::vector<double> > DerivationFramework::BPhysMetadataBase::m_propVDouble
privateinherited

Definition at line 93 of file BPhysMetadataBase.h.

◆ m_propVInt

std::map<std::string, std::vector<int> > DerivationFramework::BPhysMetadataBase::m_propVInt
privateinherited

Definition at line 91 of file BPhysMetadataBase.h.

◆ m_propVLong

std::map<std::string, std::vector<long> > DerivationFramework::BPhysMetadataBase::m_propVLong
privateinherited

Definition at line 92 of file BPhysMetadataBase.h.

◆ m_propVString

std::map<std::string, std::vector<std::string> > DerivationFramework::BPhysMetadataBase::m_propVString
privateinherited

Definition at line 95 of file BPhysMetadataBase.h.


The documentation for this class was generated from the following files: