ATLAS Offline Software
TBEMECCellEtaCorrection.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 TBREC_TBEMECCELLETACORRECTION_H
6 #define TBREC_TBEMECCELLETACORRECTION_H
7 
8 /********************************************************************
9 
10 NAME: TBEMECCellEtaCorrection.cxx
11 PACKAGE: offline/TestBeam/TBRec
12 
13 AUTHORS: Andrey Minaenko
14 CREATED: 08& February 2006
15 
16 PURPOSE: Apply correction of EMEC response eta-dependence due to
17  sampling ratio variation on the radius
18 
19 UPDATED: to have EMEC and FCAL global scale factor
20 UPDATED: to have also one scale factor per layer (P.Strizenec)
21 
22 ********************************************************************/
23 
25 
26 class LArCell;
27 
29 {
30 
31  public:
32 
33  TBEMECCellEtaCorrection (const std::string& type, const std::string& name,
34  const IInterface* parent);
35 
36  virtual ~TBEMECCellEtaCorrection();
37  virtual StatusCode initialize() override;
38 
39  virtual void MakeCorrection (CaloCell* theCell,
40  const EventContext& ctx) const override;
41 
42  private:
43 
45  double m_EMEC_eta1;
46  double m_EMEC_eta2;
47  double m_EMEC_eta3;
48  double m_EMEC_eta0_1;
49  double m_EMEC_eta0_2;
50  double m_EMEC_beta1;
51  double m_EMEC_alpha1;
52  double m_EMEC_beta2;
53  double m_EMEC_alpha2;
54  // Temporary ramp correction for EMEC cells with eta=2.85
55  double m_ramp_corr;
58  // Change mkA->MeV constant with a scale factor
61  // layer scale factors
64  double m_HEC_0_scale;
65  double m_HEC_1_scale;
66  double m_HEC_2_scale;
69 };
70 
71 #endif
72 
73 
74 
75 
TBEMECCellEtaCorrection::m_EMEC_beta1
double m_EMEC_beta1
Definition: TBEMECCellEtaCorrection.h:50
TBEMECCellEtaCorrection::m_FCAL_1_scale
double m_FCAL_1_scale
Definition: TBEMECCellEtaCorrection.h:68
TBEMECCellEtaCorrection::m_HEC_1_scale
double m_HEC_1_scale
Definition: TBEMECCellEtaCorrection.h:65
TBEMECCellEtaCorrection::m_EMEC_beta2
double m_EMEC_beta2
Definition: TBEMECCellEtaCorrection.h:52
TBEMECCellEtaCorrection::m_EMEC_rescale
double m_EMEC_rescale
Definition: TBEMECCellEtaCorrection.h:59
TBEMECCellEtaCorrection::initialize
virtual StatusCode initialize() override
Definition: TBEMECCellEtaCorrection.cxx:57
CaloCellCorrection
Definition: CaloCellCorrection.h:51
TBEMECCellEtaCorrection::m_EMEC_1_scale
double m_EMEC_1_scale
Definition: TBEMECCellEtaCorrection.h:62
TBEMECCellEtaCorrection::m_HEC_0_scale
double m_HEC_0_scale
Definition: TBEMECCellEtaCorrection.h:64
TBEMECCellEtaCorrection::m_HEC_2_scale
double m_HEC_2_scale
Definition: TBEMECCellEtaCorrection.h:66
TBEMECCellEtaCorrection::m_ramp_corr
double m_ramp_corr
Definition: TBEMECCellEtaCorrection.h:55
TBEMECCellEtaCorrection::m_ramp_corr_eta1
double m_ramp_corr_eta1
Definition: TBEMECCellEtaCorrection.h:56
CaloCellCorrection.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TBEMECCellEtaCorrection::m_EMEC_eta0_2
double m_EMEC_eta0_2
Definition: TBEMECCellEtaCorrection.h:49
TBEMECCellEtaCorrection::m_EMEC_eta3
double m_EMEC_eta3
Definition: TBEMECCellEtaCorrection.h:47
TBEMECCellEtaCorrection::MakeCorrection
virtual void MakeCorrection(CaloCell *theCell, const EventContext &ctx) const override
Definition: TBEMECCellEtaCorrection.cxx:94
TBEMECCellEtaCorrection::m_EMEC_response_eta_correction
bool m_EMEC_response_eta_correction
Definition: TBEMECCellEtaCorrection.h:44
TBEMECCellEtaCorrection::m_EMEC_2_scale
double m_EMEC_2_scale
Definition: TBEMECCellEtaCorrection.h:63
TBEMECCellEtaCorrection::m_ramp_corr_eta2
double m_ramp_corr_eta2
Definition: TBEMECCellEtaCorrection.h:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArCell
Data object for LAr calorimeter readout cell.
Definition: LArCell.h:53
TBEMECCellEtaCorrection::m_EMEC_eta0_1
double m_EMEC_eta0_1
Definition: TBEMECCellEtaCorrection.h:48
TBEMECCellEtaCorrection::m_FCAL_0_scale
double m_FCAL_0_scale
Definition: TBEMECCellEtaCorrection.h:67
TBEMECCellEtaCorrection::m_EMEC_eta1
double m_EMEC_eta1
Definition: TBEMECCellEtaCorrection.h:45
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TBEMECCellEtaCorrection::m_EMEC_eta2
double m_EMEC_eta2
Definition: TBEMECCellEtaCorrection.h:46
TBEMECCellEtaCorrection::m_EMEC_alpha2
double m_EMEC_alpha2
Definition: TBEMECCellEtaCorrection.h:53
TBEMECCellEtaCorrection::m_FCAL_rescale
double m_FCAL_rescale
Definition: TBEMECCellEtaCorrection.h:60
TBEMECCellEtaCorrection::~TBEMECCellEtaCorrection
virtual ~TBEMECCellEtaCorrection()
Definition: TBEMECCellEtaCorrection.cxx:88
TBEMECCellEtaCorrection
Definition: TBEMECCellEtaCorrection.h:29
TBEMECCellEtaCorrection::m_EMEC_alpha1
double m_EMEC_alpha1
Definition: TBEMECCellEtaCorrection.h:51
TBEMECCellEtaCorrection::TBEMECCellEtaCorrection
TBEMECCellEtaCorrection(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TBEMECCellEtaCorrection.cxx:17