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
14using namespace std;
15
16
17class PHUrAddon : public TObject {
18
19public:
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); }
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
Bool_t IsAnnihilation()
Definition PHUrAddon.h:59
Bool_t IsScattering()
Definition PHUrAddon.h:57
TVector3 fr_abs
Definition PHUrAddon.h:29
Int_t n_in
Definition PHUrAddon.h:20
Bool_t IsDecay()
Definition PHUrAddon.h:58
Int_t process_id
Definition PHUrAddon.h:22
Int_t stable
Definition PHUrAddon.h:30
Int_t instance
Definition PHUrAddon.h:31
Bool_t IsPauliBlockedCollision()
Definition PHUrAddon.h:60
Double_t dens_abs
Definition PHUrAddon.h:27
Double_t t_abs
Definition PHUrAddon.h:25
TVector3 fr_cre
Definition PHUrAddon.h:28
Double_t dens_cre
Definition PHUrAddon.h:26
Int_t last
Definition PHUrAddon.h:33
void Clear(Option_t *)
Definition PHUrAddon.h:36
Int_t first
Definition PHUrAddon.h:32
Bool_t IsStringDecay5()
Definition PHUrAddon.h:62
Double_t t_cre
Definition PHUrAddon.h:24
Bool_t IsPauliBlockedDecay()
Definition PHUrAddon.h:61
Int_t n_out
Definition PHUrAddon.h:21
Int_t n_collision
Definition PHUrAddon.h:23