ATLAS Offline Software
Loading...
Searching...
No Matches
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//
16{
17protected:
18 double doEvaluate(double time) const override;
19
20 virtual std::string name() const override {return "LTLinStep";}
21
22public:
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
ZDCWaveformBase()=delete
ZDCWaveformLTLinStep(const std::string &tag, double initialTauRise, double initialTauFall, double initialTauLin)
virtual std::string name() const override
double doEvaluate(double time) const override
STL class.
STL namespace.