ATLAS Offline Software
LArDeltaRespTool.h
Go to the documentation of this file.
1 //Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef LARDELTARESPTOOL_H
9 #define LARDELTARESPTOOL_H
10 
12 
16 
17 static const InterfaceID IID_LArDeltaRespTool("LArDeltaRespTool", 1 , 0);
18 
20 {
21  public:
22 
23  // Retrieve interface ID
24  static const InterfaceID& interfaceID() { return IID_LArDeltaRespTool; }
25 
26  // constructor
27  LArDeltaRespTool(const std::string& type, const std::string& name, const IInterface* parent ) ;
28 
29  // destructor
30  virtual ~LArDeltaRespTool();
31 
32  virtual StatusCode initialize(){return StatusCode::SUCCESS;}
33  virtual StatusCode finalize(){return StatusCode::SUCCESS;}
34 
36 
37  private:
38 
39  static const int DEFAULT;
40 
42 
44 
46  unsigned m_Tstart;
47 
48  void compute_deltaresp();
49 
50  LArWave deltaResp( const LArWave & ) const ;
51  LArWave deltaCorr() const;
52  double deltaCorr( double t ) const;
53 
54  LArWave injResp (const LArWave& w) const;
55  LArWave injCorr() const;
56  double injCorr ( double t ) const;
57 
58 };
59 
60 #endif
LArWave
Definition: LArWave.h:31
LArDeltaRespTool::injCorr
LArWave injCorr() const
Definition: LArDeltaRespTool.cxx:132
LArDeltaRespTool::m_subtractBaseline
bool m_subtractBaseline
Definition: LArDeltaRespTool.h:43
LArDeltaRespTool::deltaResp
LArWave deltaResp(const LArWave &) const
Definition: LArDeltaRespTool.cxx:104
LArDeltaRespTool::m_Tcal
double m_Tcal
Definition: LArDeltaRespTool.h:45
LArDeltaRespTool::m_gCali
LArCaliWave m_gCali
Definition: LArDeltaRespTool.h:41
LArDeltaRespTool::m_injPointCorr
bool m_injPointCorr
Definition: LArDeltaRespTool.h:43
LArDeltaRespTool::~LArDeltaRespTool
virtual ~LArDeltaRespTool()
LArWFParams
Definition: LArWFParams.h:20
LArDeltaRespTool::m_gDelta
LArCaliWave m_gDelta
Definition: LArDeltaRespTool.h:41
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
LArCaliWave.h
LArDeltaRespTool::m_Tdrift
double m_Tdrift
Definition: LArDeltaRespTool.h:45
LArDeltaRespTool::injResp
LArWave injResp(const LArWave &w) const
Definition: LArDeltaRespTool.cxx:128
LArDeltaRespTool::deltaCorr
LArWave deltaCorr() const
Definition: LArDeltaRespTool.cxx:112
LArDeltaRespTool::finalize
virtual StatusCode finalize()
Definition: LArDeltaRespTool.h:33
LArCaliWave
Definition: LArCaliWave.h:44
LArDeltaRespTool::makeLArDeltaResp
LArCaliWave makeLArDeltaResp(const LArWFParams &, const LArCaliWave &)
Definition: LArDeltaRespTool.cxx:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
LArDeltaRespTool::m_Tstart
unsigned m_Tstart
Definition: LArDeltaRespTool.h:46
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArDeltaRespTool::m_Fstep
double m_Fstep
Definition: LArDeltaRespTool.h:45
LArDeltaRespTool::m_Omega0
double m_Omega0
Definition: LArDeltaRespTool.h:45
LArDeltaRespTool::DEFAULT
static const int DEFAULT
Definition: LArDeltaRespTool.h:39
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArDeltaRespTool::LArDeltaRespTool
LArDeltaRespTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: LArDeltaRespTool.cxx:11
LArDeltaRespTool::m_timeOriginShift
bool m_timeOriginShift
Definition: LArDeltaRespTool.h:43
LArDeltaRespTool::m_normalizeCali
bool m_normalizeCali
Definition: LArDeltaRespTool.h:43
LArDeltaRespTool
Definition: LArDeltaRespTool.h:20
LArDeltaRespTool::m_Taur
double m_Taur
Definition: LArDeltaRespTool.h:45
LArWaveHelper.h
LArWFParams.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArDeltaRespTool::compute_deltaresp
void compute_deltaresp()
Definition: LArDeltaRespTool.cxx:47
AthAlgTool
Definition: AthAlgTool.h:26
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200
LArDeltaRespTool::interfaceID
static const InterfaceID & interfaceID()
Definition: LArDeltaRespTool.h:24
LArDeltaRespTool::initialize
virtual StatusCode initialize()
Definition: LArDeltaRespTool.h:32