ATLAS Offline Software
Loading...
Searching...
No Matches
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
8#include <TProfile2D.h>
9
10#include <map>
11#include <memory>
12#include <string>
13
15
24
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
std::map< PATCore::ParticleType::Type, std::unique_ptr< TProfile2D > > m_hcorr
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...
LinearityADC(const std::string &filename, const std::string &name="ADCNonLinearityCorrection")
constructor (initialization done there reading a root file for the HV maps per period
Class mimicking the AthMessaging class from the offline software.
Extra patterns decribing particle interation process.