Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunereco
dunereco
TrackPID
products
CTPResult.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file CTPResult.h
3
/// \brief Class storing the result from the convolutional track PID
4
/// \author Leigh Whitehead - leigh.howard.whitehead@cern.ch
5
////////////////////////////////////////////////////////////////////////
6
7
#ifndef CTPRESULT_H
8
#define CTPRESULT_H
9
10
#include <vector>
11
12
namespace
ctp
13
{
14
15
/// Class containing some utility functions for all things CVN
16
class
CTPResult
17
{
18
public
:
19
CTPResult
();
20
CTPResult
(
const
std::vector<float> &vals);
21
~CTPResult
();
22
23
// Function to calculate the PID for a given track
24
std::vector<float>
GetResults
()
const
;
25
26
bool
IsValid
()
const
;
27
28
// Individual scores
29
float
GetMuonScore
()
const
{
return
fMuonScore
;};
30
float
GetPionScore
()
const
{
return
fPionScore
;};
31
float
GetProtonScore
()
const
{
return
fProtonScore
;};
32
33
void
Print
()
const
;
34
35
private
:
36
37
float
fMuonScore
;
38
float
fPionScore
;
39
float
fProtonScore
;
40
41
};
42
43
}
44
45
#endif // CTPRESULT_H
ctp::CTPResult
Class containing some utility functions for all things CVN.
Definition:
CTPResult.h:16
ctp::CTPResult::GetResults
std::vector< float > GetResults() const
ctp::CTPResult::GetPionScore
float GetPionScore() const
Definition:
CTPResult.h:30
ctp::CTPResult::GetProtonScore
float GetProtonScore() const
Definition:
CTPResult.h:31
ctp::CTPResult::~CTPResult
~CTPResult()
Definition:
CTPResult.cxx:35
ctp::CTPResult::GetMuonScore
float GetMuonScore() const
Definition:
CTPResult.h:29
ctp::CTPResult::CTPResult
CTPResult()
Definition:
CTPResult.cxx:15
ctp
Definition:
CTPHelper.cxx:35
ctp::CTPResult::fPionScore
float fPionScore
Definition:
CTPResult.h:38
ctp::CTPResult::Print
void Print() const
Definition:
CTPResult.cxx:43
ctp::CTPResult::fProtonScore
float fProtonScore
Definition:
CTPResult.h:39
ctp::CTPResult::IsValid
bool IsValid() const
Definition:
CTPResult.cxx:39
ctp::CTPResult::fMuonScore
float fMuonScore
Definition:
CTPResult.h:37
Generated by
1.8.11