ATLAS Offline Software
Loading...
Searching...
No Matches
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
10namespace 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
std::vector< LargeRJetTruthLabel::TypeEnum > m_truthLabels
PtAbsMassUncertaintyComponent(const ComponentHelper &component)
virtual PtAbsMassUncertaintyComponent * clone() const
virtual bool getValidityImpl(const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const
virtual double getUncertaintyImpl(const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const
UncertaintyComponent(const ComponentHelper &component, const size_t numHist=1)
Jet_v1 Jet
Definition of the current "jet version".
EventInfo_v1 EventInfo
Definition of the latest event info version.