Pluto
v6.3.0
Loading...
Searching...
No Matches
PHUrAddon.h
Go to the documentation of this file.
1
#ifndef __PHUrAddon_h__
2
#define __PHUrAddon_h__
3
4
5
#include "TObject.h"
6
#include "TVector3.h"
7
#include "TLorentzVector.h"
8
9
10
#include <fstream>
11
#include <iostream>
12
#include <iomanip>
13
14
using namespace
std;
15
16
17
class
PHUrAddon
:
public
TObject {
18
19
public
:
20
Int_t
n_in
;
// n ingoing particles
21
Int_t
n_out
;
// n outgoing particles
22
Int_t
process_id
;
// process id
23
Int_t
n_collision
;
// n collision
24
Double_t
t_cre
;
// t : computational frame time of particle in fm/c
25
Double_t
t_abs
;
// t : computational frame time of particle in fm/c
26
Double_t
dens_cre
;
// baryon density at collision point
27
Double_t
dens_abs
;
// baryon density at collision point
28
TVector3
fr_cre
;
// x,y,z coordinate in fm
29
TVector3
fr_abs
;
// x,y,z coordinate in fm
30
Int_t
stable
;
// flag for stable particles
31
Int_t
instance
;
// default -1 , 0 first n last appearance of the particle
32
Int_t
first
;
// default -1 , 0 first n last appearance of the particle
33
Int_t
last
;
// default -1 , 0 first n last appearance of the particle
34
35
using
TObject::Clear;
36
void
Clear
(Option_t *) {
37
n_in
= -2;
38
n_out
= -1;
39
process_id
= -1;
40
n_collision
= -1;
41
t_cre
= -1;
42
t_abs
= -1;
43
dens_cre
= -1;
44
dens_abs
= -1;
45
first
= -1;
46
last
= -1;
47
48
fr_cre
.SetXYZ(-1.,-1.,-1.);
49
fr_abs
.SetXYZ(-1.,-1.,-1.);
50
stable
= -1;
51
instance
=-1;
52
}
53
54
PHUrAddon
(){
Clear
(NULL); }
55
~PHUrAddon
(){}
56
57
Bool_t
IsScattering
() {
return
(
n_in
==2 &&
n_out
==2 ) ; }
58
Bool_t
IsDecay
() {
return
(
n_in
==1 &&
n_out
==2 ) ; }
59
Bool_t
IsAnnihilation
() {
return
(
n_in
==2 &&
n_out
==1 ) ; }
60
Bool_t
IsPauliBlockedCollision
() {
return
(
n_in
==2 &&
n_out
==0 ) ; }
61
Bool_t
IsPauliBlockedDecay
() {
return
(
n_in
==1 &&
n_out
==0 ) ; }
62
Bool_t
IsStringDecay5
() {
return
(
n_in
==2 &&
n_out
==5 ) ; }
63
64
ClassDef(
PHUrAddon
, 1)
65
};
66
67
68
#endif
PHUrAddon
Definition
PHUrAddon.h:17
PHUrAddon::IsAnnihilation
Bool_t IsAnnihilation()
Definition
PHUrAddon.h:59
PHUrAddon::IsScattering
Bool_t IsScattering()
Definition
PHUrAddon.h:57
PHUrAddon::fr_abs
TVector3 fr_abs
Definition
PHUrAddon.h:29
PHUrAddon::n_in
Int_t n_in
Definition
PHUrAddon.h:20
PHUrAddon::IsDecay
Bool_t IsDecay()
Definition
PHUrAddon.h:58
PHUrAddon::process_id
Int_t process_id
Definition
PHUrAddon.h:22
PHUrAddon::stable
Int_t stable
Definition
PHUrAddon.h:30
PHUrAddon::PHUrAddon
PHUrAddon()
Definition
PHUrAddon.h:54
PHUrAddon::instance
Int_t instance
Definition
PHUrAddon.h:31
PHUrAddon::IsPauliBlockedCollision
Bool_t IsPauliBlockedCollision()
Definition
PHUrAddon.h:60
PHUrAddon::dens_abs
Double_t dens_abs
Definition
PHUrAddon.h:27
PHUrAddon::t_abs
Double_t t_abs
Definition
PHUrAddon.h:25
PHUrAddon::~PHUrAddon
~PHUrAddon()
Definition
PHUrAddon.h:55
PHUrAddon::fr_cre
TVector3 fr_cre
Definition
PHUrAddon.h:28
PHUrAddon::dens_cre
Double_t dens_cre
Definition
PHUrAddon.h:26
PHUrAddon::last
Int_t last
Definition
PHUrAddon.h:33
PHUrAddon::Clear
void Clear(Option_t *)
Definition
PHUrAddon.h:36
PHUrAddon::first
Int_t first
Definition
PHUrAddon.h:32
PHUrAddon::IsStringDecay5
Bool_t IsStringDecay5()
Definition
PHUrAddon.h:62
PHUrAddon::t_cre
Double_t t_cre
Definition
PHUrAddon.h:24
PHUrAddon::IsPauliBlockedDecay
Bool_t IsPauliBlockedDecay()
Definition
PHUrAddon.h:61
PHUrAddon::n_out
Int_t n_out
Definition
PHUrAddon.h:21
PHUrAddon::n_collision
Int_t n_collision
Definition
PHUrAddon.h:23
pluto6
plugins
hades
include
PHUrAddon.h
Generated by
1.14.0