Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
sPHElectronPairv1.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file sPHElectronPairv1.h
1
#ifndef SPHELECTRONPAIRV1_H
2
#define SPHELECTRONPAIRV1_H
3
4
#include <climits>
5
#include <cmath>
6
#include <iostream>
7
8
#include "
sPHElectronPair.h
"
9
#include "
sPHElectronv1.h
"
10
11
class
sPHElectronPairv1
:
public
sPHElectronPair
12
{
13
public
:
14
sPHElectronPairv1
();
15
sPHElectronPairv1
(
sPHElectronv1
* e1,
sPHElectronv1
* e2);
16
virtual
~sPHElectronPairv1
() {}
17
18
virtual
void
identify
(std::ostream&
os
= std::cout)
const
19
{
os
<<
"sPHElectronPairv1 object class"
<< std::endl; }
20
virtual
void
Reset
() {}
21
virtual
int
isValid
()
const
{
return
1; }
22
virtual
PHObject
*
CloneMe
()
const
{
return
new
sPHElectronPairv1
(*
this
); }
23
24
virtual
sPHElectron
*
get_first
() {
return
&
_e1
; }
25
virtual
sPHElectron
*
get_second
() {
return
&
_e2
; }
26
27
virtual
int
get_id
()
const
{
return
_id
; }
28
virtual
int
get_type
()
const
{
return
_type
; }
29
virtual
double
get_mass
()
const
;
30
virtual
double
get_pt
()
const
;
31
virtual
double
get_eta
()
const
;
32
virtual
double
get_phiv
()
const
;
33
virtual
double
get_min_mass
()
const
{
return
_min_mass
; }
34
35
virtual
void
set_id
(
int
id
) {
_id
=
id
;}
36
virtual
void
set_type
(
int
type
) {
_type
=
type
;}
37
virtual
void
set_min_mass
(
double
mm
) {
_min_mass
=
mm
;}
38
39
protected
:
40
41
int
_id
;
42
int
_type
;
43
double
_min_mass
;
44
sPHElectronv1
_e1
;
45
sPHElectronv1
_e2
;
46
47
ClassDef(
sPHElectronPairv1
, 1)
48
};
49
50
#endif
analysis
blob
master
EventMix
src
sPHElectronPairv1.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:51
using
1.8.2 with
sPHENIX GitHub integration