ATLAS Offline Software
Loading...
Searching...
No Matches
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
12#include "Gaudi/Property.h"
14
15
16
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
32private:
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(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
SG::ReadCondHandleKey< ILArHVScaleCorr > m_hvScaleKey
std::pair< double, unsigned > getLArHVFrac(const CaloClusterCellLink *cclc, const EventContext &ctx) const override
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
StatusCode initialize() override
Gaudi::Property< float > m_threshold
LArHVFraction(const std::string &type, const std::string &name, const IInterface *parent)