|
ATLAS Offline Software
|
Go to the documentation of this file.
8 const std::string&
name,
11 declareInterface<ILArHVFraction>(
this);
18 return StatusCode::SUCCESS;
31 unsigned numCellsHVaff=0;
34 if(
cell->caloDDE()->is_tile())
continue;
38 if (corr<=0. || corr>=100.)
continue;
41 energyHVaff+=fabs(
cell->e());
46 return {energyHVaff,numCellsHVaff};
SG::ReadCondHandleKey< ILArHVScaleCorr > m_hvScaleKey
std::pair< double, unsigned > getLArHVFrac(const CaloClusterCellLink *cclc, const EventContext &ctx) const override
Bookkeeping of cells that make up a cluster Simplified replacement for CaloCellLink,...
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize() override
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
StatusCode initialize(bool used=true)
LArHVFraction(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< float > m_threshold
Data object for each calorimeter readout cell.
virtual const float & HVScaleCorr(const HWIdentifier &id) const =0