ATLAS Offline Software
PunchthroughUncertaintyComponent.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JETUNCERTAINTIES_PUNCHTHROUGHUNCERTAINTYCOMPONENT_H
6 #define JETUNCERTAINTIES_PUNCHTHROUGHUNCERTAINTYCOMPONENT_H
7 
9 
10 namespace jet
11 {
12 
14 {
15  public:
16  // Constructor/destructor/initialization
19  virtual PunchthroughUncertaintyComponent* 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  PunchthroughUncertaintyComponent(const std::string& name = "");
30  const bool m_absEta;
31  int getNumSegments(const xAOD::Jet& jet) const;
32 };
33 
34 } // end jet namespace
35 
36 #endif
37 
jet::PunchthroughUncertaintyComponent::getValidityImpl
virtual bool getValidityImpl(const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const
Definition: PunchthroughUncertaintyComponent.cxx:50
jet::PunchthroughUncertaintyComponent::~PunchthroughUncertaintyComponent
virtual ~PunchthroughUncertaintyComponent()
Definition: PunchthroughUncertaintyComponent.h:20
jet::PunchthroughUncertaintyComponent
Definition: PunchthroughUncertaintyComponent.h:14
jet::ComponentHelper
Definition: ConfigHelper.h:24
jet::UncertaintyComponent
Definition: UncertaintyComponent.h:25
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
jet::PunchthroughUncertaintyComponent::getNumSegments
int getNumSegments(const xAOD::Jet &jet) const
Definition: PunchthroughUncertaintyComponent.cxx:60
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
jet::PunchthroughUncertaintyComponent::getUncertaintyImpl
virtual double getUncertaintyImpl(const xAOD::Jet &jet, const xAOD::EventInfo &eInfo) const
Definition: PunchthroughUncertaintyComponent.cxx:55
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
jet::PunchthroughUncertaintyComponent::PunchthroughUncertaintyComponent
PunchthroughUncertaintyComponent(const ComponentHelper &component)
Definition: PunchthroughUncertaintyComponent.cxx:24
UncertaintyComponent.h
jet::PunchthroughUncertaintyComponent::clone
virtual PunchthroughUncertaintyComponent * clone() const
Definition: PunchthroughUncertaintyComponent.cxx:38
jet::PunchthroughUncertaintyComponent::m_absEta
const bool m_absEta
Definition: PunchthroughUncertaintyComponent.h:30