ATLAS Offline Software
LArCalorimeter
LArCellRec
src
LArHVFraction.h
Go to the documentation of this file.
1
//Dear emacs, this is -*-c++-*-
2
/*
3
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
4
*/
5
6
7
#include "
AthenaBaseComps/AthAlgTool.h
"
8
#include "
StoreGate/ReadCondHandleKey.h
"
9
#include "
LArCabling/LArOnOffIdMapping.h
"
10
#include "
LArElecCalib/ILArHVScaleCorr.h
"
11
#include "
CaloEvent/CaloClusterCellLink.h
"
12
#include "Gaudi/Property.h"
13
#include "
CaloInterface/ILArHVFraction.h
"
14
15
16
17
class
LArHVFraction
:
18
virtual
public
ILArHVFraction
,
19
public
AthAlgTool
{
20
21
public
:
22
LArHVFraction
(
const
std::string&
type
,
23
const
std::string&
name
,
24
const
IInterface*
parent
);
25
26
27
StatusCode
initialize
()
override
;
28
29
30
std::pair<double,unsigned>
getLArHVFrac
(
const
CaloClusterCellLink
* cclc,
const
EventContext& ctx)
const override
;
31
32
private
:
33
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"LArCablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LAr Cabling object"
};
34
35
SG::ReadCondHandleKey<ILArHVScaleCorr>
m_hvScaleKey
{
this
,
"HVScaleCorrKey"
,
"LArHVScaleCorr"
,
"SG key of HVScaleCorr conditions object"
};
36
37
Gaudi::Property<float>
m_threshold
{
this
,
"Threshold"
,0.2,
"Threshold to consider a cell 'affected' by HV issues"
};
38
39
};
LArHVFraction::m_hvScaleKey
SG::ReadCondHandleKey< ILArHVScaleCorr > m_hvScaleKey
Definition:
LArHVFraction.h:35
LArHVFraction::getLArHVFrac
std::pair< double, unsigned > getLArHVFrac(const CaloClusterCellLink *cclc, const EventContext &ctx) const override
Definition:
LArHVFraction.cxx:21
CaloClusterCellLink
Bookkeeping of cells that make up a cluster Simplified replacement for CaloCellLink,...
Definition:
CaloClusterCellLink.h:24
LArOnOffIdMapping.h
ILArHVScaleCorr.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
LArHVFraction
Definition:
LArHVFraction.h:19
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
LArHVFraction::initialize
StatusCode initialize() override
Definition:
LArHVFraction.cxx:15
ReadCondHandleKey.h
LArHVFraction::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition:
LArHVFraction.h:33
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
LArHVFraction::LArHVFraction
LArHVFraction(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
LArHVFraction.cxx:7
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArHVFraction::m_threshold
Gaudi::Property< float > m_threshold
Definition:
LArHVFraction.h:37
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
CaloClusterCellLink.h
ILArHVFraction
Definition:
ILArHVFraction.h:26
AthAlgTool
Definition:
AthAlgTool.h:26
ILArHVFraction.h
Generated on Thu Nov 7 2024 21:19:42 for ATLAS Offline Software by
1.8.18