ATLAS Offline Software
H1WeightToolCSC12Generic.h
Go to the documentation of this file.
1 //Dear emacs, this is -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef CALOUTILS_H1WEIGHTTOOLCSC12GENERIC_H
9 #define CALOUTILS_H1WEIGHTTOOLCSC12GENERIC_H
10 /***********************************************************************
11 Filename : H1WeightToolCSC12Generic.h
12 Author : Walter Lampl
13 Created : Feb 2007
14 
15 ***********************************************************************/
16 
17 #include "GaudiKernel/AlgTool.h"
21 #include <string>
22 
23 class CaloCell;
24 
26  public extends<CaloUtils::ToolWithConstants<AthAlgTool>,
27  IHadronicCalibrationTool>
28 {
29  public:
31  using base_class::base_class;
32 
33  virtual StatusCode initialize() override;
34 
35  virtual double etCell(const CaloCell* thisCell, double weight) override;
36  virtual double etCryo(double etAccb3, double etTile1) override;
37  virtual double jetScale(double e, double eta) override;
38  virtual double wtCell(const CaloCell* thisCell) const override;
39  virtual double wtCryo() override;
40 
41 
42 private:
43  Constant<CxxUtils::Array<1> > m_wtEMB0 { this, "wtEMB0" };
44  Constant<CxxUtils::Array<1> > m_wtEME0 { this, "wtEME0" };
45  Constant<CxxUtils::Array<1> > m_wtEMB1 { this, "wtEMB1" };
46  Constant<CxxUtils::Array<1> > m_wtEMB2 { this, "wtEMB2" };
47  Constant<CxxUtils::Array<1> > m_wtEME1 { this, "wtEME1" };
48  Constant<CxxUtils::Array<1> > m_wtEME2 { this, "wtEME2" };
49  Constant<CxxUtils::Array<1> > m_wtTile1 { this, "wtTile1" };
50  Constant<CxxUtils::Array<1> > m_wtTile2 { this, "wtTile2" };
51  Constant<CxxUtils::Array<1> > m_wtHec1 { this, "wtHec1" };
52  Constant<CxxUtils::Array<1> > m_wtHec2 { this, "wtHec2" };
53  Constant<CxxUtils::Array<1> > m_wtFCal1 { this, "wtFCal1" };
54  Constant<CxxUtils::Array<1> > m_wtFCal2 { this, "wtFCal2" };
55  Constant<float> m_wtGap { this, "wtGap" };
56  Constant<float> m_wtScint { this, "wtScint" };
57  Constant<float> m_wtCryo { this, "wtCyo" };
58  Constant<CxxUtils::Array<2> > m_etaFit { this, "etaFit" };
59 };
60 
61 #endif
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
H1WeightToolCSC12Generic::m_wtGap
Constant< float > m_wtGap
Definition: H1WeightToolCSC12Generic.h:55
H1WeightToolCSC12Generic::wtCell
virtual double wtCell(const CaloCell *thisCell) const override
Definition: H1WeightToolCSC12Generic.cxx:41
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
H1WeightToolCSC12Generic::m_wtCryo
Constant< float > m_wtCryo
Definition: H1WeightToolCSC12Generic.h:57
H1WeightToolCSC12Generic::m_etaFit
Constant< CxxUtils::Array< 2 > > m_etaFit
Definition: H1WeightToolCSC12Generic.h:58
ToolWithConstants.h
Hold constants for a tool.
H1WeightToolCSC12Generic::etCell
virtual double etCell(const CaloCell *thisCell, double weight) override
Definition: H1WeightToolCSC12Generic.cxx:32
H1WeightToolCSC12Generic::m_wtTile1
Constant< CxxUtils::Array< 1 > > m_wtTile1
Definition: H1WeightToolCSC12Generic.h:49
H1WeightToolCSC12Generic::jetScale
virtual double jetScale(double e, double eta) override
Definition: H1WeightToolCSC12Generic.cxx:181
H1WeightToolCSC12Generic::m_wtEME1
Constant< CxxUtils::Array< 1 > > m_wtEME1
Definition: H1WeightToolCSC12Generic.h:47
H1WeightToolCSC12Generic
Definition: H1WeightToolCSC12Generic.h:28
H1WeightToolCSC12Generic::m_wtHec2
Constant< CxxUtils::Array< 1 > > m_wtHec2
Definition: H1WeightToolCSC12Generic.h:52
H1WeightToolCSC12Generic::m_wtEMB1
Constant< CxxUtils::Array< 1 > > m_wtEMB1
Definition: H1WeightToolCSC12Generic.h:45
H1WeightToolCSC12Generic::m_wtEME2
Constant< CxxUtils::Array< 1 > > m_wtEME2
Definition: H1WeightToolCSC12Generic.h:48
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
H1WeightToolCSC12Generic::initialize
virtual StatusCode initialize() override
Definition: H1WeightToolCSC12Generic.cxx:26
H1WeightToolCSC12Generic::wtCryo
virtual double wtCryo() override
Definition: H1WeightToolCSC12Generic.cxx:173
H1WeightToolCSC12Generic::m_wtEMB0
Constant< CxxUtils::Array< 1 > > m_wtEMB0
Definition: H1WeightToolCSC12Generic.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
H1WeightToolCSC12Generic::m_wtEMB2
Constant< CxxUtils::Array< 1 > > m_wtEMB2
Definition: H1WeightToolCSC12Generic.h:46
H1WeightToolCSC12Generic::m_wtFCal1
Constant< CxxUtils::Array< 1 > > m_wtFCal1
Definition: H1WeightToolCSC12Generic.h:53
H1WeightToolCSC12Generic::m_wtTile2
Constant< CxxUtils::Array< 1 > > m_wtTile2
Definition: H1WeightToolCSC12Generic.h:50
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
H1WeightToolCSC12Generic::etCryo
virtual double etCryo(double etAccb3, double etTile1) override
Definition: H1WeightToolCSC12Generic.cxx:162
IHadronicCalibrationTool.h
H1WeightToolCSC12Generic::m_wtHec1
Constant< CxxUtils::Array< 1 > > m_wtHec1
Definition: H1WeightToolCSC12Generic.h:51
H1WeightToolCSC12Generic::m_wtEME0
Constant< CxxUtils::Array< 1 > > m_wtEME0
Definition: H1WeightToolCSC12Generic.h:44
H1WeightToolCSC12Generic::m_wtScint
Constant< float > m_wtScint
Definition: H1WeightToolCSC12Generic.h:56
H1WeightToolCSC12Generic::m_wtFCal2
Constant< CxxUtils::Array< 1 > > m_wtFCal2
Definition: H1WeightToolCSC12Generic.h:54