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
13
CbmTrddEdxUtils::CbmTrddEdxUtils
() {}
14
CbmTrddEdxUtils::~CbmTrddEdxUtils
() {}
15
16
// ---- GetMipNormedBB ----
17
Double_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
30
ClassImp
(
CbmTrddEdxUtils
)
ClassImp
ClassImp(CbmConverterManager)
denominator
Double_t denominator
Definition
CbmMvdSensorDigiToHitTask.cxx:61
CbmTrddEdxUtils.h
Class containing definitions and functions correlated to the dEdx behavior of the CbmTrd.
CbmTrddEdxUtils
Definition
CbmTrddEdxUtils.h:22
CbmTrddEdxUtils::GetMipNormedBB
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...
Definition
CbmTrddEdxUtils.cxx:17
CbmTrddEdxUtils::CbmTrddEdxUtils
CbmTrddEdxUtils()
Construct a new CbmTrd dEdx Utils object.
Definition
CbmTrddEdxUtils.cxx:13
CbmTrddEdxUtils::~CbmTrddEdxUtils
virtual ~CbmTrddEdxUtils()
Destroy the CbmTrd dEdx Utils object.
Definition
CbmTrddEdxUtils.cxx:14
core
detectors
trd
CbmTrddEdxUtils.cxx
Generated on Sun Dec 22 2024 23:04:10 for CbmRoot by
1.12.0