ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCellRec
src
LArCellEmMiscalib.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARCELLREC_LARCELLEMMISCALIB_H
6
#define LARCELLREC_LARCELLEMMISCALIB_H
7
16
17
#include <utility>
18
#include <vector>
19
20
#include "
StoreGate/StoreGateSvc.h
"
21
#include "
CaloUtils/CaloCellCorrection.h
"
22
23
#include "
CaloDetDescr/CaloDetDescrManager.h
"
24
25
#include "
AthenaKernel/IAthRNGSvc.h
"
26
27
class
LArEM_ID
;
28
class
CaloIdManager
;
29
30
namespace
CLHEP
{
31
class
HepRandomEngine;
32
}
33
34
class
LArCellEmMiscalib
:
public
CaloCellCorrection
35
36
{
37
38
public
:
39
40
LArCellEmMiscalib
(
const
std::string&
type
,
41
const
std::string& name,
42
const
IInterface* parent) ;
43
44
virtual
~LArCellEmMiscalib
()=
default
;
45
47
virtual
StatusCode
initialize
()
override
;
48
49
virtual
void
MakeCorrection
(
CaloCell
* theCell,
50
const
EventContext& ctx)
const override
;
51
52
private
:
53
54
static
int
region
(
int
barrelec,
double
eta
,
double
phi
);
55
void
smearingPerRegion
(CLHEP::HepRandomEngine* engine);
56
57
const
LArEM_ID
*
m_larem_id
;
58
const
CaloIdManager
*
m_caloIdMgr
=
nullptr
;
59
const
CaloDetDescrManager
*
m_calodetdescrmgr
=
nullptr
;
60
61
ServiceHandle<IAthRNGSvc>
m_rngSvc
62
{
this
,
"RndmSvc"
,
"AthRNGSvc"
,
""
};
63
64
int
m_seed
;
65
double
m_sigmaPerRegion
;
66
double
m_sigmaPerCell
;
67
bool
m_undo
;
68
69
unsigned
int
m_ncellem
;
70
std::vector<float>
m_spread1
;
71
std::vector<float>
m_calib
;
72
73
mutable
std::once_flag
m_initOnce
;
74
void
initOnce
(
const
EventContext& ctx);
75
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{
this
,
"CaloDetDescrManager"
,
"CaloDetDescrManager"
};
76
};
77
78
#endif
// not LARCELLREC_LARCELLEMMISCALIB_H
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
CaloCellCorrection.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
IAthRNGSvc.h
StoreGateSvc.h
CaloCellCorrection
Definition
CaloCellCorrection.h:46
CaloCell
Data object for each calorimeter readout cell.
Definition
CaloCell.h:57
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition
CaloDetDescrManager.h:469
CaloIdManager
This class initializes the Calo (LAr and Tile) offline identifiers.
Definition
CaloIdManager.h:45
LArCellEmMiscalib::m_spread1
std::vector< float > m_spread1
Definition
LArCellEmMiscalib.h:70
LArCellEmMiscalib::m_initOnce
std::once_flag m_initOnce
Definition
LArCellEmMiscalib.h:73
LArCellEmMiscalib::LArCellEmMiscalib
LArCellEmMiscalib(const std::string &type, const std::string &name, const IInterface *parent)
Definition
LArCellEmMiscalib.cxx:36
LArCellEmMiscalib::m_undo
bool m_undo
Definition
LArCellEmMiscalib.h:67
LArCellEmMiscalib::region
static int region(int barrelec, double eta, double phi)
Definition
LArCellEmMiscalib.cxx:168
LArCellEmMiscalib::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
LArCellEmMiscalib.h:75
LArCellEmMiscalib::m_calodetdescrmgr
const CaloDetDescrManager * m_calodetdescrmgr
Definition
LArCellEmMiscalib.h:59
LArCellEmMiscalib::m_ncellem
unsigned int m_ncellem
Definition
LArCellEmMiscalib.h:69
LArCellEmMiscalib::initOnce
void initOnce(const EventContext &ctx)
Definition
LArCellEmMiscalib.cxx:69
LArCellEmMiscalib::MakeCorrection
virtual void MakeCorrection(CaloCell *theCell, const EventContext &ctx) const override
Definition
LArCellEmMiscalib.cxx:210
LArCellEmMiscalib::initialize
virtual StatusCode initialize() override
Constructor.
Definition
LArCellEmMiscalib.cxx:61
LArCellEmMiscalib::m_seed
int m_seed
Definition
LArCellEmMiscalib.h:64
LArCellEmMiscalib::m_calib
std::vector< float > m_calib
Definition
LArCellEmMiscalib.h:71
LArCellEmMiscalib::m_larem_id
const LArEM_ID * m_larem_id
Definition
LArCellEmMiscalib.h:57
LArCellEmMiscalib::m_sigmaPerCell
double m_sigmaPerCell
Definition
LArCellEmMiscalib.h:66
LArCellEmMiscalib::smearingPerRegion
void smearingPerRegion(CLHEP::HepRandomEngine *engine)
Definition
LArCellEmMiscalib.cxx:122
LArCellEmMiscalib::~LArCellEmMiscalib
virtual ~LArCellEmMiscalib()=default
LArCellEmMiscalib::m_rngSvc
ServiceHandle< IAthRNGSvc > m_rngSvc
Definition
LArCellEmMiscalib.h:62
LArCellEmMiscalib::m_caloIdMgr
const CaloIdManager * m_caloIdMgr
Definition
LArCellEmMiscalib.h:58
LArCellEmMiscalib::m_sigmaPerRegion
double m_sigmaPerRegion
Definition
LArCellEmMiscalib.h:65
LArEM_ID
Helper class for LArEM offline identifiers.
Definition
LArEM_ID.h:111
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
ServiceHandle
Definition
ClusterMakerTool.h:36
CLHEP
STD'S.
Definition
CaloNoiseCompCondAlg.h:57
type
Generated on
for ATLAS Offline Software by
1.17.0