Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
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
14
class
TemperatureCorrection
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_ */
analysis
blob
master
Prototype3
tutorial
ExampleAnalysisModule
TemperatureCorrection.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:56
using
1.8.2 with
sPHENIX GitHub integration