ATLAS Offline Software
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
ZDCWaveformLTLinStep::ZDCWaveformLTLinStep
ZDCWaveformLTLinStep(const std::string &tag, double initialTauRise, double initialTauFall, double initialTauLin)
Definition:
ZDCWaveformLTLinStep.h:27
ZDCWaveformLTLinStep::doEvaluate
double doEvaluate(double time) const override
Definition:
ZDCWaveformLTLinStep.cxx:7
ZDCWaveformLTLinStep
Definition:
ZDCWaveformLTLinStep.h:16
ZDCWaveformLTLinStep::ZDCWaveformLTLinStep
ZDCWaveformLTLinStep()
Definition:
ZDCWaveformLTLinStep.h:23
vector
Definition:
MultiHisto.h:13
ZDCWaveformBase
Definition:
ZDCWaveform.h:31
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition:
CaloSwCorrections.py:242
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:24
ZDCWaveformLTLinStep::name
virtual std::string name() const override
Definition:
ZDCWaveformLTLinStep.h:20
Generated on Thu Nov 7 2024 21:32:24 for ATLAS Offline Software by
1.8.18