ATLAS Offline Software
LinearityADC.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ELECTRONPHOTONFOURMOMENTUMCORRECTION_LINEARITYADC_H
6 #define ELECTRONPHOTONFOURMOMENTUMCORRECTION_LINEARITYADC_H
7 #include <PATCore/PATCoreEnums.h>
8 #include <TProfile2D.h>
9 
10 #include <map>
11 #include <memory>
12 #include <string>
13 
15 
26 
27  public:
30  LinearityADC(const std::string& filename,
31  const std::string& name = "ADCNonLinearityCorrection");
33 
37  float getCorr(float etaCalo, float et,
40 
41  private:
42  std::map<PATCore::ParticleType::Type, std::unique_ptr<TProfile2D>> m_hcorr;
43 };
44 #endif
et
Extra patterns decribing particle interation process.
LinearityADC::getCorr
float getCorr(float etaCalo, float et, PATCore::ParticleType::Type ptype=PATCore::ParticleType::Electron) const
get relative correction factor to apply to energy: corrected energy should be original energy * corre...
Definition: LinearityADC.cxx:26
PATCore::ParticleType::Type
Type
Definition: PATCoreEnums.h:35
AsgMessaging.h
LinearityADC::m_hcorr
std::map< PATCore::ParticleType::Type, std::unique_ptr< TProfile2D > > m_hcorr
Definition: LinearityADC.h:42
LinearityADC
parameterization of correction for ADC non linearity
Definition: LinearityADC.h:25
PATCoreEnums.h
LinearityADC::LinearityADC
LinearityADC(const std::string &filename, const std::string &name="ADCNonLinearityCorrection")
constructor (initialization done there reading a root file for the HV maps per period
Definition: LinearityADC.cxx:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition: AsgMessaging.h:40
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
LinearityADC::~LinearityADC
~LinearityADC()
Definition: LinearityADC.h:32
PATCore::ParticleType::Electron
@ Electron
Definition: PATCoreEnums.h:40