CbmRoot
Loading...
Searching...
No Matches
CbmTrddEdxUtils.cxx
Go to the documentation of this file.
1/* Copyright (C) 2021 Goethe-University Frankfurt, Frankfurt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pascal Raisig [committer] */
4
5#include "CbmTrddEdxUtils.h"
6
7#include <RtypesCore.h>
8
9#include <iostream> // for cout
10
11#include <cmath> // for Sqrt/Pow/Log
12
15
16// ---- GetMipNormedBB ----
17Double_t CbmTrddEdxUtils::GetMipNormedBB(Double_t betaGamma)
18{
19 const Double_t beta = betaGamma / std::sqrt(1. + betaGamma * betaGamma);
20
21 Double_t nominator = (4.4 - std::pow(beta, 2.26) - std::log(0.004 + 1 / std::pow(betaGamma, 0.95)));
22
23 Double_t denominator = std::pow(beta, 2.26);
24
25 Double_t bb = 0.2 * nominator / denominator;
26
27 return bb;
28}
29
ClassImp(CbmConverterManager)
Double_t denominator
Class containing definitions and functions correlated to the dEdx behavior of the CbmTrd.
static Double_t GetMipNormedBB(Double_t betaGamma)
Get the Mip normalized Bethe-Bloch dEdx value Returns Q/Q_MIP based on a given parametrization of the...
CbmTrddEdxUtils()
Construct a new CbmTrd dEdx Utils object.
virtual ~CbmTrddEdxUtils()
Destroy the CbmTrd dEdx Utils object.