ATLAS Offline Software
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 
10 static 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
23  virtual ~LArShapePeakRecoTool() {};
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
plotBeamSpotCompare.x1
x1
Definition: plotBeamSpotCompare.py:216
ReadCellNoiseFromCoolCompare.s1
s1
Definition: ReadCellNoiseFromCoolCompare.py:378
LArShapePeakRecoTool::GetShapeSampleLimits
void GetShapeSampleLimits(int &s1, int &s2, float sample_max, float delay_max, int nbin, int nsample) const
Definition: LArShapePeakRecoTool.cxx:172
LArShapePeakRecoTool::finalize
virtual StatusCode finalize()
Definition: LArShapePeakRecoTool.cxx:28
plotBeamSpotCompare.x2
x2
Definition: plotBeamSpotCompare.py:218
makeTRTBarrelCans.y1
tuple y1
Definition: makeTRTBarrelCans.py:15
LArShapePeakRecoTool::peak
std::vector< float > peak(const std::vector< float > &samples, const std::vector< double > &wave) const
Definition: LArShapePeakRecoTool.cxx:32
LArShapePeakRecoTool::GetShapeParMax
void GetShapeParMax(float &xmax, float &ymax, float x1, float y1, float x2, float y2, float x3, float y3) const
Definition: LArShapePeakRecoTool.cxx:147
LArShapePeakRecoTool
Definition: LArShapePeakRecoTool.h:14
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
01SubmitToGrid.samples
samples
Definition: 01SubmitToGrid.py:58
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
makeTRTBarrelCans.y2
tuple y2
Definition: makeTRTBarrelCans.py:18
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArShapePeakRecoTool::ParabolaRawToTrueTime
float ParabolaRawToTrueTime(float &QT_fittime, int &layer) const
LArShapePeakRecoTool::LArShapePeakRecoTool
LArShapePeakRecoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: LArShapePeakRecoTool.cxx:18
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
LArShapePeakRecoTool::~LArShapePeakRecoTool
virtual ~LArShapePeakRecoTool()
Definition: LArShapePeakRecoTool.h:23
LArShapePeakRecoTool::interfaceID
static const InterfaceID & interfaceID()
Definition: LArShapePeakRecoTool.h:26
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArShapePeakRecoTool::ParabolaRawToTrueADC
float ParabolaRawToTrueADC(float &QT_true_time, float &ADCref, float &PEDref, int &layer) const
ReadCellNoiseFromCoolCompare.s2
s2
Definition: ReadCellNoiseFromCoolCompare.py:379
xmax
double xmax
Definition: listroot.cxx:61
AthAlgTool
Definition: AthAlgTool.h:26
LArShapePeakRecoTool::initialize
virtual StatusCode initialize()
Definition: LArShapePeakRecoTool.cxx:23
ymax
double ymax
Definition: listroot.cxx:64