Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
N21-01-26
ShowerLID
EventLID.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// \file EID.h
3
// \brief A pid object for electron identification based on Jianming
4
// Bian's original EID
5
// \version
6
// \author Alex Smith - smith@physics.umn.edu
7
////////////////////////////////////////////////////////////////////////
8
#ifndef EventLID_H
9
#define EventLID_H
10
11
#include <vector>
12
#include "
RecoBase/PID.h
"
13
14
namespace
slid
{
15
16
class
EventLID
:
public
rb::PID
{
17
public
:
18
19
EventLID
() :
fPIDWithE
(-5.0),
fPIDEPi0
(-5.0){};
20
~EventLID
(){}
21
#ifndef __GCCXML__
22
EventLID
(
int
pdg
,
double
val
);
23
24
void
SetValWithE
(
float
in
) {
fPIDWithE
=
in
; }
25
void
SetValEPi0
(
float
in
) {
fPIDEPi0
=
in
; }
26
void
SetValECos
(
float
in
) {
fPIDECos
=
in
; }
27
28
float
ValueWithE
()
const
{
return
fPIDWithE
; }
29
float
ValueEPi0
()
const
{
return
fPIDEPi0
; }
30
float
ValueECos
()
const
{
return
fPIDECos
; }
31
32
#endif // __GCCXML__
33
34
private
:
35
float
fPIDWithE
;
36
float
fPIDEPi0
;
37
float
fPIDECos
;
38
39
};
40
41
}
42
#endif
rb::PID
A pid value and corresponding pdg code.
Definition:
PID.h:13
slid::EventLID
Definition:
EventLID.h:16
PID.h
pdg code and pid value
slid::EventLID::SetValWithE
void SetValWithE(float in)
Definition:
EventLID.h:24
slid::EventLID::fPIDECos
float fPIDECos
Definition:
EventLID.h:37
slid::EventLID::ValueEPi0
float ValueEPi0() const
Definition:
EventLID.h:29
slid::EventLID::SetValEPi0
void SetValEPi0(float in)
Definition:
EventLID.h:25
slid::EventLID::ValueWithE
float ValueWithE() const
Definition:
EventLID.h:28
in
ifstream in
Definition:
comparison.C:7
make_root_from_grid_output.pdg
pdg
Definition:
make_root_from_grid_output.py:76
slid::EventLID::~EventLID
~EventLID()
Definition:
EventLID.h:20
slid::EventLID::SetValECos
void SetValECos(float in)
Definition:
EventLID.h:26
slid
Build slid::LID objects to store electron ID, if asked for, otherwise, calculate LID info and make av...
Definition:
FillPIDs.h:13
slid::EventLID::EventLID
EventLID()
Definition:
EventLID.h:19
slid::EventLID::fPIDEPi0
float fPIDEPi0
Definition:
EventLID.h:36
slid::EventLID::ValueECos
float ValueECos() const
Definition:
EventLID.h:30
febshutoff_auto.val
val
Definition:
febshutoff_auto.py:277
slid::EventLID::fPIDWithE
float fPIDWithE
Definition:
EventLID.h:35
Generated on Tue Jan 26 2021 14:13:13 for NOvA by
1.8.11