ATLAS Offline Software
PtAbsMassUncertaintyComponent.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JETUNCERTAINTIES_PTABSMASSUNCERTAINTYCOMPONENT_H
6 #define JETUNCERTAINTIES_PTABSMASSUNCERTAINTYCOMPONENT_H
7 
9 
10 namespace jet
11 {
12 
14 {
15  public:
16  // Constructor/destructor/initialization
19  virtual PtAbsMassUncertaintyComponent* clone() const;
21 
22  protected:
23 
24  // Uncertainty/validity retrieval helper methods
25  virtual bool getValidityImpl(const xAOD::Jet& jet, const xAOD::EventInfo& eInfo) const;
26  virtual double getUncertaintyImpl(const xAOD::Jet& jet, const xAOD::EventInfo& eInfo) const;
27 
28  private:
29  PtAbsMassUncertaintyComponent(const std::string& name = "");
31 
32  // In rare cases, this may only be applied for a given truth label
33  std::string m_truthLabelName;
34  std::vector<LargeRJetTruthLabel::TypeEnum> m_truthLabels;
35 };
36 
37 } // end jet namespace
38 
39 #endif
40 
41 
jet::CompMassDef::TypeEnum
TypeEnum
Definition: UncertaintyEnum.h:71
jet::PtAbsMassUncertaintyComponent::getValidityImpl
virtual bool getValidityImpl(const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const
Definition: PtAbsMassUncertaintyComponent.cxx:56
jet::ComponentHelper
Definition: ConfigHelper.h:24
jet::UncertaintyComponent
Definition: UncertaintyComponent.h:25
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
jet::PtAbsMassUncertaintyComponent::getUncertaintyImpl
virtual double getUncertaintyImpl(const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const
Definition: PtAbsMassUncertaintyComponent.cxx:61
jet::PtAbsMassUncertaintyComponent::~PtAbsMassUncertaintyComponent
virtual ~PtAbsMassUncertaintyComponent()
Definition: PtAbsMassUncertaintyComponent.h:20
jet::PtAbsMassUncertaintyComponent::PtAbsMassUncertaintyComponent
PtAbsMassUncertaintyComponent(const ComponentHelper &component)
Definition: PtAbsMassUncertaintyComponent.cxx:26
jet::PtAbsMassUncertaintyComponent::m_truthLabelName
std::string m_truthLabelName
Definition: PtAbsMassUncertaintyComponent.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
jet::PtAbsMassUncertaintyComponent::clone
virtual PtAbsMassUncertaintyComponent * clone() const
Definition: PtAbsMassUncertaintyComponent.cxx:44
jet::PtAbsMassUncertaintyComponent
Definition: PtAbsMassUncertaintyComponent.h:14
UncertaintyComponent.h
jet::PtAbsMassUncertaintyComponent::m_truthLabels
std::vector< LargeRJetTruthLabel::TypeEnum > m_truthLabels
Definition: PtAbsMassUncertaintyComponent.h:34
jet::PtAbsMassUncertaintyComponent::m_massDef
const CompMassDef::TypeEnum m_massDef
Definition: PtAbsMassUncertaintyComponent.h:30