ATLAS Offline Software
LArPhysWaveTool.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 LARPHYSWAVETOOL_H
9 #define LARPHYSWAVETOOL_H
10 
12 
17 
18 static const InterfaceID IID_LArPhysWaveTool("LArPhysWaveTool", 1 , 0);
19 
21 {
22  public:
23 
24  // Retrieve interface ID
25  static const InterfaceID& interfaceID() { return IID_LArPhysWaveTool; }
26 
27  LArPhysWaveTool(const std::string& type, const std::string& name,
28  const IInterface* parent ) ;
29 
30  virtual ~LArPhysWaveTool();
31 
32  virtual StatusCode initialize(){return StatusCode::SUCCESS;}
33  virtual StatusCode finalize(){return StatusCode::SUCCESS;}
34 
36  int region, int layer,
37  LArPhysWave & predLArPhysWave,
38  float & MphysMcali) const;
39 
40 
41  private:
42 
46 
47  LArWave exp2Tri(const LArWave &,const unsigned N, const double dt, const LArWFParams& params) const ;
49  static double caliPhysCorr ( double t, const LArWFParams& params) ;
50  static LArWave caliPhysCorr(const unsigned N, const double dt, const LArWFParams& params) ;
51  LArWave injResp (const LArWave& w,unsigned N, double dt, const LArWFParams& params) const;
52  LArWave stepResp (const LArCaliWave& gCali, const LArWFParams& params) const;
53  LArWave step2Tri (const LArWave& w, unsigned N, double dt, const LArWFParams& params) const;
54  static double stepPhysCorr ( double t, const double dT) ;
55  static LArWave stepPhysCorr(unsigned N, double dt, const double dT) ;
56  static LArWave stepCorr(unsigned N, double dt, const LArWFParams& params) ;
57  static double stepCorr ( double t, const LArWFParams& params) ;
58  static LArWave injCorr(unsigned N, double dt, const LArWFParams& params) ;
59  static double injCorr ( double t, const LArWFParams& params) ;
60 
61 
62 };
63 
64 #endif
LArWave
Definition: LArWave.h:31
LArPhysWaveTool::makeLArPhysWave
StatusCode makeLArPhysWave(const LArWFParams &, const LArCaliWave &, int region, int layer, LArPhysWave &predLArPhysWave, float &MphysMcali) const
Definition: LArPhysWaveTool.cxx:37
LArPhysWaveTool::caliPhysCorr
static double caliPhysCorr(double t, const LArWFParams &params)
Definition: LArPhysWaveTool.cxx:135
LArPhysWaveTool::m_timeOriginShift
bool m_timeOriginShift
Definition: LArPhysWaveTool.h:44
LArPhysWave.h
LArPhysWaveTool::m_injPointCorrLayer
std::vector< bool > m_injPointCorrLayer
Definition: LArPhysWaveTool.h:45
LArPhysWaveTool::m_injPointUseTauR
std::vector< bool > m_injPointUseTauR
Definition: LArPhysWaveTool.h:45
LArPhysWaveTool::stepPhysCorr
static double stepPhysCorr(double t, const double dT)
Definition: LArPhysWaveTool.cxx:188
LArWFParams
Definition: LArWFParams.h:20
JetTiledMap::N
@ N
Definition: TiledEtaPhiMap.h:44
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
LArCaliWave.h
LArPhysWave
Definition: LArPhysWave.h:14
LArPhysWaveTool::interfaceID
static const InterfaceID & interfaceID()
Definition: LArPhysWaveTool.h:25
LArPhysWaveTool::m_normalizeCali
bool m_normalizeCali
Definition: LArPhysWaveTool.h:43
LArPhysWaveTool::stepCorr
static LArWave stepCorr(unsigned N, double dt, const LArWFParams &params)
Definition: LArPhysWaveTool.cxx:199
LArPhysWaveTool
Definition: LArPhysWaveTool.h:21
LArPhysWaveTool::LArPhysWaveTool
LArPhysWaveTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: LArPhysWaveTool.cxx:7
LArCaliWave
Definition: LArCaliWave.h:44
LArPhysWaveTool::m_injPointCorr
bool m_injPointCorr
Definition: LArPhysWaveTool.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloNoise_fillDB.dt
dt
Definition: CaloNoise_fillDB.py:58
LArPhysWaveTool::m_subtractBaseline
bool m_subtractBaseline
Definition: LArPhysWaveTool.h:44
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
LArPhysWaveTool::injResp
LArWave injResp(const LArWave &w, unsigned N, double dt, const LArWFParams &params) const
Definition: LArPhysWaveTool.cxx:172
AthAlgTool.h
LArPhysWaveTool::finalize
virtual StatusCode finalize()
Definition: LArPhysWaveTool.h:33
LArPhysWaveTool::stepResp
LArWave stepResp(const LArCaliWave &gCali, const LArWFParams &params) const
Definition: LArPhysWaveTool.cxx:176
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArPhysWaveTool::initialize
virtual StatusCode initialize()
Definition: LArPhysWaveTool.h:32
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArPhysWaveTool::exp2Tri
LArWave exp2Tri(const LArWave &, const unsigned N, const double dt, const LArWFParams &params) const
Definition: LArPhysWaveTool.cxx:119
LArPhysWaveTool::step2Tri
LArWave step2Tri(const LArWave &w, unsigned N, double dt, const LArWFParams &params) const
Definition: LArPhysWaveTool.cxx:182
LArWaveHelper.h
LArPhysWaveTool::physPred
LArWave physPred(LArCaliWave &)
LArWFParams.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArPhysWaveTool::~LArPhysWaveTool
virtual ~LArPhysWaveTool()
PowhegControl_ttFCNC_NLO.params
params
Definition: PowhegControl_ttFCNC_NLO.py:226
AthAlgTool
Definition: AthAlgTool.h:26
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200
LArPhysWaveTool::injCorr
static LArWave injCorr(unsigned N, double dt, const LArWFParams &params)
Definition: LArPhysWaveTool.cxx:211