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
PseudoJetPlus.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PseudoJetPlus.h
1
9
#ifndef PSEUDOJETPLUS_H
10
#define PSEUDOJETPLUS_H
11
12
#include <fastjet/PseudoJet.hh>
13
#include "TString.h"
14
15
21
class
PseudoJetPlusUserInfoBase
:
public
fastjet::PseudoJet::UserInfoBase {
22
public
:
24
PseudoJetPlusUserInfoBase
(
int
qc, TString
Type
) :
25
quarkcharge
( qc ),
26
Type ( Type )
27
{ };
28
30
int
GetQuarkCharge
()
const
{
return
quarkcharge
; };
32
void
SetQuarkCharge
(
const
int
qc ) {
quarkcharge
=qc; };
33
35
double
GetCharge
()
const
{
return
quarkcharge
/ 3.0; };
37
void
SetCharge
(
const
double
c
) {
quarkcharge
= 3*
c
; };
38
41
TString
GetType
() {
return
Type
; };
42
43
private
:
44
int
quarkcharge
;
45
const
TString
Type
;
46
};
47
51
class
PseudoJetPlusUserInfoTrack
:
public
PseudoJetPlusUserInfoBase
{
52
public
:
54
PseudoJetPlusUserInfoTrack
() :
55
PseudoJetPlusUserInfoBase
( -999,
"TRACK"
)
56
{ };
57
58
private
:
60
};
61
62
63
class
PseudoJetPlus
:
public
fastjet::PseudoJet
64
{
65
public
:
66
PseudoJetPlus
();
67
68
private
:
69
70
};
71
72
73
74
#endif // PSEUDOJETPLUS_H
analysis
blob
master
sPhenixAj
src
PseudoJetPlus.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:57
using
1.8.2 with
sPHENIX GitHub integration