ATLAS Offline Software
Loading...
Searching...
No Matches
LArShapePeakRecoTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARCALIBUTILS_LARSHAPEPEAKRECOTOOL_H
6#define LARCALIBUTILS_LARSHAPEPEAKRECOTOOL_H
7
9
10static const InterfaceID IID_LArShapePeakRecoTool("LArShapePeakRecoTool", 1 , 0);
11
13
14{
15 public:
16
17 // constructor
18 LArShapePeakRecoTool(const std::string& type,
19 const std::string& name,
20 const IInterface* parent);
21
22 // destructor
24
25 // Retrieve interface ID
26 static const InterfaceID& interfaceID() { return IID_LArShapePeakRecoTool; }
27
28
29 std::vector<float> peak (const std::vector<float>& samples, const std::vector<double>& wave ) const ;
30 void GetShapeParMax(float &xmax, float &ymax, float x1, float y1, float x2, float y2, float x3, float y3) const;
31 void GetShapeSampleLimits(int &s1, int &s2, float sample_max, float delay_max, int nbin, int nsample) const;
32
33 // initialize and finalize methods
34 virtual StatusCode initialize();
35 virtual StatusCode finalize();
36
37 float ParabolaRawToTrueTime(float& QT_fittime, int& layer) const ;
38 float ParabolaRawToTrueADC(float& QT_true_time, float& ADCref, float& PEDref, int& layer) const ;
39};
40
41
42#endif
static const InterfaceID IID_LArShapePeakRecoTool("LArShapePeakRecoTool", 1, 0)
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
LArShapePeakRecoTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode finalize()
void GetShapeSampleLimits(int &s1, int &s2, float sample_max, float delay_max, int nbin, int nsample) const
float ParabolaRawToTrueTime(float &QT_fittime, int &layer) const
static const InterfaceID & interfaceID()
virtual StatusCode initialize()
void GetShapeParMax(float &xmax, float &ymax, float x1, float y1, float x2, float y2, float x3, float y3) const
float ParabolaRawToTrueADC(float &QT_true_time, float &ADCref, float &PEDref, int &layer) const
std::vector< float > peak(const std::vector< float > &samples, const std::vector< double > &wave) const
double xmax
Definition listroot.cxx:61
double ymax
Definition listroot.cxx:64