ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArDigitization
src
IFCalDigitModifierTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARDIGITIZATION_IFCALDIGITMODIFIERTOOL_H
6
#define LARDIGITIZATION_IFCALDIGITMODIFIERTOOL_H
7
8
#include "GaudiKernel/IAlgTool.h"
9
#include "GaudiKernel/EventContext.h"
10
#include "GaudiKernel/StatusCode.h"
11
#include "Identifier/Identifier.h"
12
#include "
LArRecConditions/LArFcalDegFactors.h
"
13
14
#include <span>
15
21
class
IFCalDigitModifierTool
:
virtual
public
IAlgTool {
22
public
:
23
DeclareInterfaceID
(
IFCalDigitModifierTool
, 2, 0);
24
virtual
~IFCalDigitModifierTool
() =
default
;
25
27
struct
EventData
{
28
const
LArFcalDegFactors
*
degradation
{
nullptr
};
29
double
mu
{0.};
30
};
31
32
virtual
StatusCode
prepareEvent
(
const
EventContext& ctx,
EventData
& data)
const
= 0;
33
35
virtual
void
modifySamples
(
const
EventData
& data,
36
const
Identifier
& cellId,
37
std::span<double> samples)
const
= 0;
38
};
39
40
#endif
// LARDIGITIZATION_IFCALDIGITMODIFIERTOOL_H
LArFcalDegFactors.h
IFCalDigitModifierTool
Interface for a tool modelling the FCal signal degradation in digitization.
Definition
IFCalDigitModifierTool.h:21
IFCalDigitModifierTool::modifySamples
virtual void modifySamples(const EventData &data, const Identifier &cellId, std::span< double > samples) const =0
Energy samples of one FCal cell, before noise and pedestal are added.
IFCalDigitModifierTool::DeclareInterfaceID
DeclareInterfaceID(IFCalDigitModifierTool, 2, 0)
IFCalDigitModifierTool::prepareEvent
virtual StatusCode prepareEvent(const EventContext &ctx, EventData &data) const =0
IFCalDigitModifierTool::~IFCalDigitModifierTool
virtual ~IFCalDigitModifierTool()=default
LArFcalDegFactors
Definition
LArFcalDegFactors.h:17
Identifier
Definition
IdentifierFieldParser.cxx:14
IFCalDigitModifierTool::EventData
Per-event input of the tool, filled once per event by prepareEvent().
Definition
IFCalDigitModifierTool.h:27
IFCalDigitModifierTool::EventData::mu
double mu
Definition
IFCalDigitModifierTool.h:29
IFCalDigitModifierTool::EventData::degradation
const LArFcalDegFactors * degradation
Definition
IFCalDigitModifierTool.h:28
Generated on
for ATLAS Offline Software by
1.17.0