source: ZHANGProjects/ICOSIM/CPP/trunk/source/partcrys.h @ 2

Last change on this file since 2 was 2, checked in by zhangj, 10 years ago

Initial import

File size: 1.6 KB
Line 
1#include <iostream>
2#include <cmath>
3#include "crystal.h"
4using namespace std;
5/*This class describes the particule at the beginning.*/
6
7
8
9class Partcrys
10{
11
12public:
13
14    //==================Constructeurs, destructeur=========================================
15
16    Partcrys( double x = 0.00001, double xp = 0, double y = 0, double yp = 0, double PC = 0);
17
18
19    ~Partcrys() {};
20
21    //private:
22    /* Other parameters that depend on the inital one and it will simplify or calculation*/
23    double x;             //coordinate of the particule [m]
24    double xp;            //coordinate of the particule [rad]
25    double y;             //coordinate of the particule [m]
26    double yp;            //coordinate of the particule [rad]
27    double PC;            //coordinate of the particule [GeV]
28    double s;             //long coordinates of the particle [m]
29    double xp_rel;        //xp-miscut angle [mrad]
30    int n_part;
31
32    double Ang_rms;       //Volume reflection mean angle [mrad]
33    double Ang_avr;       //Volume reflection mean angle [mrad] (Defini ds parameters et utilise ensuite...)
34
35    double Dechan;        //probability for dechanneling
36    double Vcapt;         //volume capture probability
37    double Chann;         //channeling probability
38
39
40    //the next parameters count the number of particule that is for exple channeling!!
41    int nchann;
42    int ndechann;
43    int namor;
44    int nvcapt;
45    int nvrefl;
46    int nout;
47    int effet;        //Number that defini the effect :1 --> Out ;;; 2 --> Amorphous ;;; 3 --> Channeling ;;; 4 --> Dechanneling ;;; 5 --> V. Reflection ;;; 6 --> V. Capture
48
49};
50
51
52
Note: See TracBrowser for help on using the repository browser.