Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TemperatureCorrection.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TemperatureCorrection.h
1 // $Id: $
2 
11 #ifndef TEMPERATURECORRECTION_H_
12 #define TEMPERATURECORRECTION_H_
13 
15 {
16 public:
17 
18  static
19  double
20  Apply(const double Amplitude, const double T)
21  {
23  // https://indico.bnl.gov/conferenceDisplay.py?confId=2293 : Joey Smiga
24  static const double Slope = -.589 / 16.76; // m / b
25  static const double T0 = 28.86; // reference temperature
26 
27  return Amplitude / (1. + Slope * (T - T0));
28  }
29 
30 };
31 
32 #endif /* TEMPERATURECORRECTION_H_ */