![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TILERECUTILS_TILERAWCHANNELBUILDERFITFILTER_H
6 #define TILERECUTILS_TILERAWCHANNELBUILDERFITFILTER_H
55 Gaudi::Property<bool>
m_bestPhase{
this,
"BestPhase",
false,
"Use best phase from DB"};
60 double pulse(
double x,
const std::vector<double> * xvec,
const std::vector<double>*
yvec,
bool zeroOutside =
false)
const;
62 double scaledPulse(
double x,
const std::vector<double> * xvec,
const std::vector<double> *
yvec)
const {
66 double derivative(
double x,
const std::vector<double> * xvec,
const std::vector<double> *
yvec)
const {
112 "TileCondToolNoiseSample",
"TileCondToolNoiseSample",
"Tile sample noise tool"};
116 #define DTIME 25.0 // 25 ns distance between subsequent samples
std::vector< double > m_gPhysHi
std::vector< double > m_dgPhysLo
double m_noiseThresholdRMS
Gaudi::Property< bool > m_bestPhase
void pulseFit(const TileDigits *digit, double &litude, double &time, double &pedestal, double &chi2, const EventContext &ctx)
Calculate energy, time and chi2 for one channel using fitted pulse shape.
std::vector< double > m_dummy
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
const TilePulseShapesStruct * m_pulseShapes
virtual TileRawChannel * rawChannel(const TileDigits *digits, const EventContext &ctx) override
Builder virtual method to be implemented by subclasses.
ToolHandle< TileCondToolNoiseSample > m_tileToolNoiseSample
::StatusCode StatusCode
StatusCode definition for legacy code.
double chi2(TH1 *h0, TH1 *h1)
double m_saturatedSampleError
std::vector< double > m_gPhysLo
double pulse(double x, const std::vector< double > *xvec, const std::vector< double > *yvec, bool zeroOutside=false) const
pulse interpolation
virtual StatusCode initialize() override
Initializer.
std::vector< double > m_dgPhysHi
def time(flags, cells_name, *args, **kw)
double derivative(double x, const std::vector< double > *xvec, const std::vector< double > *yvec) const
~TileRawChannelBuilderFitFilter()
Destructor.
bool m_disableNegativeAmp
double scaledPulse(double x, const std::vector< double > *xvec, const std::vector< double > *yvec) const
virtual StatusCode finalize() override
TileRawChannelBuilderFitFilter(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.