ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcUtils
ZdcUtils
ZDCWaveformLTLinStep.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ZDCUTILS_ZDCWAVEFORMLTLINSTEP_H
6
#define ZDCUTILS_ZDCWAVEFORMLTLINSTEP_H
7
8
#include "
ZDCWaveform.h
"
9
10
//
11
// The waveform generated by a combined low-pass (tauRise) / high-pass (tauFall) filter with a linear "step" (tauLin) turn-on of the input
12
// instead of a true step function.
13
//
14
//
15
class
ZDCWaveformLTLinStep
:
virtual
public
ZDCWaveformBase
16
{
17
protected
:
18
double
doEvaluate
(
double
time)
const override
;
19
20
virtual
std::string
name
()
const override
{
return
"LTLinStep"
;}
21
22
public
:
23
ZDCWaveformLTLinStep
() :
24
ZDCWaveformBase
(
"default"
, 1, 6,
std
::
vector
<
std
::
string
>({
"tauLin"
}), std::vector<double>({1.0}))
25
{ }
26
27
ZDCWaveformLTLinStep
(
const
std::string& tag,
double
initialTauRise,
double
initialTauFall,
double
initialTauLin) :
28
ZDCWaveformBase
(tag, initialTauRise, initialTauFall,
std
::
vector
<
std
::
string
>({
"tauLin"
}), std::vector<double>({initialTauLin}))
29
{}
30
31
};
32
33
#endif
ZDCWaveform.h
ZDCWaveformBase::ZDCWaveformBase
ZDCWaveformBase()=delete
ZDCWaveformLTLinStep::ZDCWaveformLTLinStep
ZDCWaveformLTLinStep(const std::string &tag, double initialTauRise, double initialTauFall, double initialTauLin)
Definition
ZDCWaveformLTLinStep.h:27
ZDCWaveformLTLinStep::ZDCWaveformLTLinStep
ZDCWaveformLTLinStep()
Definition
ZDCWaveformLTLinStep.h:23
ZDCWaveformLTLinStep::name
virtual std::string name() const override
Definition
ZDCWaveformLTLinStep.h:20
ZDCWaveformLTLinStep::doEvaluate
double doEvaluate(double time) const override
Definition
ZDCWaveformLTLinStep.cxx:7
string
STL class.
vector
Definition
MultiHisto.h:13
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.14.0