 |
ATLAS Offline Software
|
#include <MissingMassTool.h>
|
| | MissingMassTool (const std::string &name) |
| | Proper constructor for Athena. More...
|
| |
| | MissingMassTool (const MissingMassTool &other) |
| | Copy constructor for reflex in Athena. More...
|
| |
| virtual | ~MissingMassTool () |
| | virtual destructor More...
|
| |
| virtual StatusCode | initialize () |
| | Initialize the tool. More...
|
| |
| virtual StatusCode | finalize () |
| | Initialize the tool. More...
|
| |
| virtual CP::CorrectionCode | apply (const xAOD::EventInfo &ei, const xAOD::IParticle *part1, const xAOD::IParticle *part2, const xAOD::MissingET *met, const int &njets) |
| |
| virtual void | calculate (const xAOD::EventInfo &ei, const PtEtaPhiMVector &vis_tau1, const PtEtaPhiMVector &vis_tau2, const int &tau1_decay_type, const int &tau2_decay_type, const xAOD::MissingET &met, const int &njets) |
| |
| virtual MissingMassCalculator * | get () |
| |
| virtual double | GetFitStatus (int method) |
| |
| virtual double | GetFittedMass (int method) |
| |
| virtual double | GetFittedMassErrorUp (int method) |
| |
| virtual double | GetFittedMassErrorLow (int method) |
| |
| virtual PtEtaPhiMVector | GetResonanceVec (int method) |
| |
| virtual XYVector | GetFittedMetVec (int method) |
| |
| virtual PtEtaPhiMVector | GetNeutrino4vec (int method, int index) |
| |
| virtual PtEtaPhiMVector | GetTau4vec (int method, int index) |
| |
| virtual int | GetNNoSol () |
| |
| virtual int | GetNMetroReject () |
| |
| virtual int | GetNSol () |
| |
| virtual void | print () const =0 |
| | Print the state of the tool. More...
|
| |
| virtual void | print () const |
| | Print the state of the tool. 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, V, H > &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 |
| |
|
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| | specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
| |
|
| MissingMassCalculator * | m_MMC {} |
| |
| Gaudi::Property< bool > | m_decorate {this, "Decorate", false} |
| |
| Gaudi::Property< bool > | m_float_stop {this, "FloatStoppingCrit", true, "Applying Floating Stopping Criterion to speed up MMC"} |
| |
| Gaudi::Property< int > | m_float_stop_miniter {this, "FloatStoppingCritMinIter", 10000, "Minimum number of iteration to apply Floating Stopping Criterion"} |
| |
| Gaudi::Property< int > | m_float_stop_checkfreq {this, "FloatStoppingCritCheckFreq", 1000, "Number of events frequency for Floating Stopping Criterion to be applied after minimum number of iteration"} |
| |
| Gaudi::Property< double > | m_float_stop_comp {this, "FloatStoppingCritCheckComp", 0.05, "Percentage to assess the sigma compatibilities in the Floating Stopping Criterion"} |
| |
| Gaudi::Property< std::string > | m_calib_set {this, "CalibSet", "2019"} |
| |
| Gaudi::Property< double > | m_n_sigma_met {this, "NsigmaMET", -1} |
| |
| Gaudi::Property< int > | m_tail_cleanup {this, "UseTailCleanup", -1} |
| |
| Gaudi::Property< int > | m_use_verbose {this, "UseVerbose", -1} |
| |
| Gaudi::Property< int > | m_niter_fit_2 {this, "NiterFit2", -1} |
| |
| Gaudi::Property< int > | m_niter_fit_3 {this, "NiterFit3", -1} |
| |
| Gaudi::Property< int > | m_use_tau_probability {this, "UseTauProbability", -1} |
| |
| Gaudi::Property< bool > | m_use_mnu_probability {this, "UseMnuProbability", false} |
| |
| Gaudi::Property< int > | m_use_defaults {this, "UseDefaults", -1} |
| |
| Gaudi::Property< int > | m_use_efficiency_recovery {this, "UseEfficiencyRecovery", -1} |
| |
| Gaudi::Property< bool > | m_use_met_param_dphiLL {this, "UseMETDphiLL", false} |
| |
| Gaudi::Property< std::string > | m_param_file_path {this, "ParamFilePath", "MMC_params_v1_fixed.root"} |
| |
| Gaudi::Property< double > | m_beam_energy {this, "BeamEnergy", 6500.0} |
| |
| Gaudi::Property< bool > | m_lfv_leplep_refit {this, "LFVLeplepRefit", true} |
| |
| Gaudi::Property< bool > | m_save_llh_histo {this, "SaveLlhHisto", false} |
| |
| 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 |
| |
Definition at line 25 of file MissingMassTool.h.
◆ PtEtaPhiMVector
◆ StoreGateSvc_t
◆ XYVector
◆ MissingMassTool() [1/2]
| MissingMassTool::MissingMassTool |
( |
const std::string & |
name | ) |
|
◆ MissingMassTool() [2/2]
◆ ~MissingMassTool()
| virtual DiTauMassTools::MissingMassTool::~MissingMassTool |
( |
| ) |
|
|
inlinevirtual |
◆ apply()
◆ calculate()
◆ 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 MissingMassTool::finalize |
( |
| ) |
|
|
virtual |
◆ get()
◆ GetFitStatus()
| virtual double DiTauMassTools::MissingMassTool::GetFitStatus |
( |
int |
method | ) |
|
|
inlinevirtual |
◆ GetFittedMass()
| virtual double DiTauMassTools::MissingMassTool::GetFittedMass |
( |
int |
method | ) |
|
|
inlinevirtual |
◆ GetFittedMassErrorLow()
| virtual double DiTauMassTools::MissingMassTool::GetFittedMassErrorLow |
( |
int |
method | ) |
|
|
inlinevirtual |
◆ GetFittedMassErrorUp()
| virtual double DiTauMassTools::MissingMassTool::GetFittedMassErrorUp |
( |
int |
method | ) |
|
|
inlinevirtual |
◆ GetFittedMetVec()
| virtual XYVector DiTauMassTools::MissingMassTool::GetFittedMetVec |
( |
int |
method | ) |
|
|
inlinevirtual |
◆ getKey()
Get the (hashed) key of an object that is in the event store.
This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the SG::sgkey_t key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.
In order to allow tools to efficiently perform this operation, they can use this helper function.
- See also
- asg::AsgTool::getName
- Parameters
-
| ptr | The bare pointer to the object that the event store should know about |
- Returns
- The hashed key of the object in the store. If not found, an invalid (zero) key.
Definition at line 119 of file AsgTool.cxx.
121 #ifdef XAOD_STANDALONE
127 return (
proxy ==
nullptr ? 0 :
proxy->sgkey() );
128 #endif // XAOD_STANDALONE
◆ getName()
| const std::string & asg::AsgTool::getName |
( |
const void * |
ptr | ) |
const |
|
inherited |
Get the name of an object that is / should be in the event store.
This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the std::string name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.
In order to allow tools to efficiently perform this operation, they can use this helper function.
- See also
- asg::AsgTool::getKey
- Parameters
-
| ptr | The bare pointer to the object that the event store should know about |
- Returns
- The string name of the object in the store. If not found, an empty string.
Definition at line 106 of file AsgTool.cxx.
108 #ifdef XAOD_STANDALONE
114 static const std::string
dummy =
"";
116 #endif // XAOD_STANDALONE
◆ GetNeutrino4vec()
| virtual PtEtaPhiMVector DiTauMassTools::MissingMassTool::GetNeutrino4vec |
( |
int |
method, |
|
|
int |
index |
|
) |
| |
|
inlinevirtual |
◆ GetNMetroReject()
| virtual int DiTauMassTools::MissingMassTool::GetNMetroReject |
( |
| ) |
|
|
inlinevirtual |
◆ GetNNoSol()
| virtual int DiTauMassTools::MissingMassTool::GetNNoSol |
( |
| ) |
|
|
inlinevirtual |
◆ GetNSol()
| virtual int DiTauMassTools::MissingMassTool::GetNSol |
( |
| ) |
|
|
inlinevirtual |
◆ getProperty()
template<class T >
| const T* asg::AsgTool::getProperty |
( |
const std::string & |
name | ) |
const |
|
inherited |
Get one of the tool's properties.
◆ GetResonanceVec()
| virtual PtEtaPhiMVector DiTauMassTools::MissingMassTool::GetResonanceVec |
( |
int |
method | ) |
|
|
inlinevirtual |
◆ GetTau4vec()
| virtual PtEtaPhiMVector DiTauMassTools::MissingMassTool::GetTau4vec |
( |
int |
method, |
|
|
int |
index |
|
) |
| |
|
inlinevirtual |
◆ initialize()
| StatusCode MissingMassTool::initialize |
( |
| ) |
|
|
virtual |
Initialize the tool.
Reimplemented from asg::AsgTool.
Definition at line 24 of file MissingMassTool.cxx.
42 return StatusCode::FAILURE;
51 ATH_MSG_WARNING(
m_param_file_path <<
" param file not suitable for 2024 calibration set; please use MMC_params_v051224_angle_likelihoodFit.root or MMC_params_v051224_angle_noLikelihoodFit.root");
77 return StatusCode::SUCCESS;
◆ 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.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msg_level_name()
| const std::string & asg::AsgTool::msg_level_name |
( |
| ) |
const |
|
inherited |
A deprecated function for getting the message level's name.
Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:
MSG::name( msg().level() )
This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.
- Returns
- The string name of the current minimum message level that's printed
Definition at line 101 of file AsgTool.cxx.
◆ 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.
◆ print() [1/2]
| void asg::AsgTool::print |
( |
| ) |
const |
|
virtualinherited |
Print the state of the tool.
Implements asg::IAsgTool.
Reimplemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, LundVariablesTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
Definition at line 131 of file AsgTool.cxx.
◆ print() [2/2]
| virtual void asg::IAsgTool::print |
( |
| ) |
const |
|
pure virtualinherited |
Print the state of the tool.
Implemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, LundVariablesTool, asg::AsgTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
◆ renounce()
◆ renounceArray()
◆ 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()
◆ m_beam_energy
| Gaudi::Property<double> DiTauMassTools::MissingMassTool::m_beam_energy {this, "BeamEnergy", 6500.0} |
|
private |
◆ m_calib_set
| Gaudi::Property<std::string> DiTauMassTools::MissingMassTool::m_calib_set {this, "CalibSet", "2019"} |
|
private |
◆ m_decorate
| Gaudi::Property<bool> DiTauMassTools::MissingMassTool::m_decorate {this, "Decorate", false} |
|
private |
◆ m_detStore
◆ m_evtStore
◆ m_float_stop
| Gaudi::Property<bool> DiTauMassTools::MissingMassTool::m_float_stop {this, "FloatStoppingCrit", true, "Applying Floating Stopping Criterion to speed up MMC"} |
|
private |
◆ m_float_stop_checkfreq
| Gaudi::Property<int> DiTauMassTools::MissingMassTool::m_float_stop_checkfreq {this, "FloatStoppingCritCheckFreq", 1000, "Number of events frequency for Floating Stopping Criterion to be applied after minimum number of iteration"} |
|
private |
◆ m_float_stop_comp
| Gaudi::Property<double> DiTauMassTools::MissingMassTool::m_float_stop_comp {this, "FloatStoppingCritCheckComp", 0.05, "Percentage to assess the sigma compatibilities in the Floating Stopping Criterion"} |
|
private |
◆ m_float_stop_miniter
| Gaudi::Property<int> DiTauMassTools::MissingMassTool::m_float_stop_miniter {this, "FloatStoppingCritMinIter", 10000, "Minimum number of iteration to apply Floating Stopping Criterion"} |
|
private |
◆ m_lfv_leplep_refit
| Gaudi::Property<bool> DiTauMassTools::MissingMassTool::m_lfv_leplep_refit {this, "LFVLeplepRefit", true} |
|
private |
◆ m_MMC
◆ m_n_sigma_met
| Gaudi::Property<double> DiTauMassTools::MissingMassTool::m_n_sigma_met {this, "NsigmaMET", -1} |
|
private |
◆ m_niter_fit_2
| Gaudi::Property<int> DiTauMassTools::MissingMassTool::m_niter_fit_2 {this, "NiterFit2", -1} |
|
private |
◆ m_niter_fit_3
| Gaudi::Property<int> DiTauMassTools::MissingMassTool::m_niter_fit_3 {this, "NiterFit3", -1} |
|
private |
◆ m_param_file_path
| Gaudi::Property<std::string> DiTauMassTools::MissingMassTool::m_param_file_path {this, "ParamFilePath", "MMC_params_v1_fixed.root"} |
|
private |
◆ m_save_llh_histo
| Gaudi::Property<bool> DiTauMassTools::MissingMassTool::m_save_llh_histo {this, "SaveLlhHisto", false} |
|
private |
◆ m_tail_cleanup
| Gaudi::Property<int> DiTauMassTools::MissingMassTool::m_tail_cleanup {this, "UseTailCleanup", -1} |
|
private |
◆ m_use_defaults
| Gaudi::Property<int> DiTauMassTools::MissingMassTool::m_use_defaults {this, "UseDefaults", -1} |
|
private |
◆ m_use_efficiency_recovery
| Gaudi::Property<int> DiTauMassTools::MissingMassTool::m_use_efficiency_recovery {this, "UseEfficiencyRecovery", -1} |
|
private |
◆ m_use_met_param_dphiLL
| Gaudi::Property<bool> DiTauMassTools::MissingMassTool::m_use_met_param_dphiLL {this, "UseMETDphiLL", false} |
|
private |
◆ m_use_mnu_probability
| Gaudi::Property<bool> DiTauMassTools::MissingMassTool::m_use_mnu_probability {this, "UseMnuProbability", false} |
|
private |
◆ m_use_tau_probability
| Gaudi::Property<int> DiTauMassTools::MissingMassTool::m_use_tau_probability {this, "UseTauProbability", -1} |
|
private |
◆ m_use_verbose
| Gaudi::Property<int> DiTauMassTools::MissingMassTool::m_use_verbose {this, "UseVerbose", -1} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
uint64_t eventNumber() const
The current event's event number.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
virtual void setOwner(IDataHandleHolder *o)=0
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
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
@ Ok
The correction was done successfully.
#define ATH_MSG_WARNING(x)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.