Pluto v6.3.0
Loading...
Searching...
No Matches
PDensityMatrix.h
Go to the documentation of this file.
1// Author: Ingo Froehlich
2// Written: 24/04/2013
3
4#ifndef _PDENSITYMATRIX_H_
5#define _PDENSITYMATRIX_H_
6
8#include "PProjector.h"
9
10#define DENSITYMATRIX_MAX_MATRICES 16
11#define DENSITYMATRIX_MAX 1000
12
14
15 private:
16
17 Double_t *matrix[DENSITYMATRIX_MAX_MATRICES],
18 *matrix_integral[DENSITYMATRIX_MAX_MATRICES];
19
20 Double_t *axes[3];
21 Int_t axes_size[3];
22 Int_t dimension;
23 Int_t matrixsize;
24 Int_t current_matrix;
25
26 Bool_t IsBorder(Int_t bin);
27
28 PProjector *projector;
29 Double_t *x,*y,*z;
30
31 public:
32
34
35 Bool_t Modify(PParticle **stack, int *decay_done, int *num, int stacksize); //bulk interface
36
37 Bool_t ReadDensityMatrix(const char *filename, Int_t dim, Bool_t use_bin_width,
38 Double_t min_selection, Double_t max_selection);
39
40 Bool_t GetBin(Double_t *x, Int_t *bins);
41 Bool_t GetBin(Int_t bin, Int_t *bins);
42 Double_t GetBinWidth(Int_t dim, Int_t bin);
43 Int_t GetRandomBin(Int_t num);
44
45 void SetMatrix(Int_t i) {current_matrix = i;};
46
47 Bool_t Do(const char *command);
48
49 ClassDef(PDensityMatrix, 0) // Add particles from a density matrix
50};
51#endif
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#define DENSITYMATRIX_MAX_MATRICES
Double_t GetBinWidth(Int_t dim, Int_t bin)
Bool_t GetBin(Double_t *x, Int_t *bins)
Int_t GetRandomBin(Int_t num)
Bool_t Modify(PParticle **stack, int *decay_done, int *num, int stacksize)
Bool_t ReadDensityMatrix(const char *filename, Int_t dim, Bool_t use_bin_width, Double_t min_selection, Double_t max_selection)
Bool_t Do(const char *command)
Bool_t GetBin(Int_t bin, Int_t *bins)
void SetMatrix(Int_t i)
PDistributionManager * dim
Definition eta_disto.C:22
TString filename("eta_dalitz_a")