ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ECCEhpDIRCFastPIDMap.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ECCEhpDIRCFastPIDMap.h
1
// $Id: $
2
11
#ifndef ECCEHPDIRCFASTPIDMAP_H_
12
#define ECCEHPDIRCFASTPIDMAP_H_
13
14
#include "
ECCEFastPIDMap.h
"
15
16
#include <string>
17
18
class
TH2F;
19
class
TF1;
20
25
class
ECCEhpDIRCFastPIDMap
:
public
ECCEFastPIDMap
{
26
public
:
27
ECCEhpDIRCFastPIDMap
();
28
virtual
~ECCEhpDIRCFastPIDMap
();
29
30
PIDCandidate_LogLikelihood_map
31
getFastSmearLogLikelihood
(
int
truth_pid,
const
double
momentum
,
32
const
double
theta
)
const override
;
33
35
void
ReadMap
(
const
std::string &
name
);
36
37
TH2F *
GetTrrMap
() {
return
fTrrMap
; }
38
39
private
:
44
struct
DrcPidInfo
{
45
double
probability
[5] = {0};
46
double
sigma
[5] = {0};
47
double
cangle
= 0;
48
double
cctr
= 0;
49
};
50
51
static
int
get_pid
(
int
pdg
);
52
static
EICPIDDefs::PIDCandidate
get_PIDCandidate
(
int
id
);
53
54
TH2F *
fTrrMap
=
nullptr
;
55
double
fMass
[5] = {0};
56
TF1 *
fMs_mom
=
nullptr
;
57
TF1 *
fMs_thickness
=
nullptr
;
58
double
fMs_thickness_max
= (0);
59
};
60
61
#endif
/* ECCEHPDIRCFASTPIDMAP_H_ */
ecce-detectors
blob
master
FastPID
ECCEhpDIRCFastPIDMap.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:45
using
1.8.2 with
ECCE GitHub integration