ATLAS Offline Software
BdKstarMuMu_metadata.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
10 #include "BdKstarMuMu_metadata.h"
12 
13 namespace DerivationFramework {
14 
16  const std::string& n,
17  const IInterface* p):
19 
20  recordPropertyI("verbose" , 0); // verbose athena output
21  recordPropertyB("isSimulation" , false); // input data is MC simulation or real data
22  recordPropertyS("projectTag" , "__NONE__"); // copy reconstruction project tag
23  recordPropertyB("isRelease21" , true); // is processed in release 21
24  recordPropertyS("mcCampaign" , "__NONE__"); // what MC campaign is used
25  recordPropertyS("triggerStream", "__NONE__"); // what data stream is analyzed
26  recordPropertyI("runNumber" , -1); // run number from the input file
27 
28  recordPropertyB("looseCuts" , false); // apply loose cuts (debugging only)
29  recordPropertyB("skimTrig" , false); // skim data by selected triggers
30  recordPropertyB("skimData" , false); // skim data by passed B-candidates
31  recordPropertyB("thinData" , false); // thin ID tracks, muons and PVs
32  recordPropertyB("slimData" , false); // TODO: data slimming
33  recordPropertyB("thinMC" , false); // thin MC-truth (keep wide range of heavy hadrons)
34  recordPropertyB("thinMCsignal", false); // thin MC-truth to signal-only (keep only signal PDG b-hadrons)
35  recordPropertyB("trigObjects" , false); // store trigger objects for B-physics and muons
36 
37  recordPropertyS("version", "v1.0"); // derivation version (update with every update of the derivation)
38 
39  /*
40  Constants (in sync with the JpsiUpsilonTools)
41  */
42  recordPropertyD("mass_mu" , ParticleConstants::muonMassInMeV); // PDG: 105.6583745
43  recordPropertyD("mass_e" , ParticleConstants::electronMassInMeV); // PDG: 0.5109989461
44  recordPropertyD("mass_K" , ParticleConstants::chargedKaonMassInMeV); // PDG: 493.677
45  recordPropertyD("mass_pi" , ParticleConstants::chargedPionMassInMeV ); // PDG: 139.57039
46  recordPropertyD("mass_p" , ParticleConstants::protonMassInMeV); // PDG: 938.272081
47  recordPropertyD("mass_Jpsi" , ParticleConstants::JpsiMassInMeV); // PDG:3096.900
48  recordPropertyD("mass_Kstar", 891.66 ); // PDG: 891.66
49  recordPropertyD("mass_Bd" , 5279.65 ); // PDG:5279.65
50  recordPropertyD("mass_Bs" , ParticleConstants::BsMassInMeV ); // PDG:5366.88
51 
52  } // AthAlgTool
53 } // namespace
DerivationFramework::BPhysMetadataBase::recordPropertyD
virtual void recordPropertyD(const std::string &name, double val)
Definition: BPhysMetadataBase.cxx:175
DerivationFramework::BPhysMetadataBase::recordPropertyB
virtual void recordPropertyB(const std::string &name, bool val)
Definition: BPhysMetadataBase.cxx:180
ParticleConstants::PDG2011::muonMassInMeV
constexpr double muonMassInMeV
the mass of the muon (in MeV)
Definition: ParticleConstants.h:29
ParticleConstants::PDG2011::chargedKaonMassInMeV
constexpr double chargedKaonMassInMeV
the mass of the charged kaon (in MeV)
Definition: ParticleConstants.h:50
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ParticleConstants::PDG2011::chargedPionMassInMeV
constexpr double chargedPionMassInMeV
the mass of the charged pion (in MeV)
Definition: ParticleConstants.h:41
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
ParticleConstants.h
beamspotman.n
n
Definition: beamspotman.py:727
DerivationFramework::BdKstarMuMu_metadata::BdKstarMuMu_metadata
BdKstarMuMu_metadata(const std::string &t, const std::string &n, const IInterface *p)
Main constructor.
Definition: BdKstarMuMu_metadata.cxx:15
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
ParticleConstants::PDG2011::JpsiMassInMeV
constexpr double JpsiMassInMeV
Definition: ParticleConstants.h:56
ParticleConstants::PDG2011::BsMassInMeV
constexpr double BsMassInMeV
the mass of the Bs meson (in MeV)
Definition: ParticleConstants.h:65
DerivationFramework::BPhysMetadataBase::recordPropertyS
virtual void recordPropertyS(const std::string &name, const std::string &val)
Definition: BPhysMetadataBase.cxx:185
BdKstarMuMu_metadata.h
Store JO metadata specific to the Bd->KstarMuMu analysis.
ParticleConstants::PDG2011::protonMassInMeV
constexpr double protonMassInMeV
the mass of the proton (in MeV)
Definition: ParticleConstants.h:71
DerivationFramework::BPhysMetadataBase::recordPropertyI
virtual void recordPropertyI(const std::string &name, int val)
Definition: BPhysMetadataBase.cxx:165
DerivationFramework::BPhysMetadataBase
Definition: BPhysMetadataBase.h:43
ParticleConstants::PDG2011::electronMassInMeV
constexpr double electronMassInMeV
the mass of the electron (in MeV)
Definition: ParticleConstants.h:26