ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
};
AthAlgTool.h
CaloClusterCellLink.h
ILArHVFraction.h
ILArHVScaleCorr.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloClusterCellLink
Bookkeeping of cells that make up a cluster Simplified replacement for CaloCellLink,...
Definition
CaloClusterCellLink.h:24
ILArHVFraction
Definition
ILArHVFraction.h:26
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
LArHVFraction::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArHVFraction.h:33
LArHVFraction::initialize
StatusCode initialize() override
Definition
LArHVFraction.cxx:15
LArHVFraction::m_threshold
Gaudi::Property< float > m_threshold
Definition
LArHVFraction.h:37
LArHVFraction::LArHVFraction
LArHVFraction(const std::string &type, const std::string &name, const IInterface *parent)
Definition
LArHVFraction.cxx:7
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
type
Generated on
for ATLAS Offline Software by
1.17.0