ATLAS Offline Software
ValidityHistogram.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_VALIDITYHISTOGRAM_H
6 #define JETUNCERTAINTIES_VALIDITYHISTOGRAM_H
7 
8 #include "xAODJet/Jet.h"
9 
12 
13 namespace jet
14 {
15 
16 class InfoHelper;
17 
19 {
20  public:
21  // Constructor/destructor/initialization
22  ValidityHistogram(const std::string& histName, const CompParametrization::TypeEnum parametrization, const float energyScale, const CompMassDef::TypeEnum massDef);
23  ValidityHistogram(const TString& histName, const CompParametrization::TypeEnum parametrization, const float energyScale, const CompMassDef::TypeEnum massDef);
24  ValidityHistogram(const char* histName, const CompParametrization::TypeEnum parametrization, const float energyScale, const CompMassDef::TypeEnum massDef);
25  ValidityHistogram(const ValidityHistogram& toCopy);
26  virtual ~ValidityHistogram();
27  virtual StatusCode initialize(TFile* histFile);
28 
29  // Member retrieval methods
31 
32  // Validity information access
33  bool getValidity(const xAOD::Jet& jet) const;
34 
35  private:
36  // Private members
37  bool m_isInit;
39  const float m_energyScale;
42 
43 };
44 
45 } // end jet namespace
46 
47 
48 
49 
50 #endif
51 
jet::CompMassDef::TypeEnum
TypeEnum
Definition: UncertaintyEnum.h:71
jet::ValidityHistogram
Definition: ValidityHistogram.h:19
Jet.h
UncertaintyHistogram.h
AddEmptyComponent.histName
string histName
Definition: AddEmptyComponent.py:64
jet::ValidityHistogram::m_energyScale
const float m_energyScale
Definition: ValidityHistogram.h:39
jet::ValidityHistogram::initialize
virtual StatusCode initialize(TFile *histFile)
Definition: ValidityHistogram.cxx:316
jet::ValidityHistogram::m_massDef
const CompMassDef::TypeEnum m_massDef
Definition: ValidityHistogram.h:40
UncertaintyEnum.h
jet::ValidityHistogram::getParam
CompParametrization::TypeEnum getParam() const
Definition: ValidityHistogram.h:30
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
jet::ValidityHistogram::m_isInit
bool m_isInit
Definition: ValidityHistogram.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
jet::ValidityHistogram::~ValidityHistogram
virtual ~ValidityHistogram()
Definition: ValidityHistogram.cxx:311
jet::ValidityHistogram::m_helper
InfoHelper * m_helper
Definition: ValidityHistogram.h:41
jet::ValidityHistogram::m_param
const CompParametrization::TypeEnum m_param
Definition: ValidityHistogram.h:38
jet::ValidityHistogram::ValidityHistogram
ValidityHistogram(const std::string &histName, const CompParametrization::TypeEnum parametrization, const float energyScale, const CompMassDef::TypeEnum massDef)
Definition: ValidityHistogram.cxx:280
jet::CompParametrization::TypeEnum
TypeEnum
Definition: UncertaintyEnum.h:45
jet::UncertaintyHistogram
Definition: UncertaintyHistogram.h:25
jet::ValidityHistogram::getValidity
bool getValidity(const xAOD::Jet &jet) const
Definition: ValidityHistogram.cxx:431
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
jet::InfoHelper
Definition: ValidityHistogram.cxx:21
LArG4GenerateShowerLib.parametrization
parametrization
Definition: LArG4GenerateShowerLib.py:19