88 |
void GenSpe(Double_t PEmin, Double_t PEmax, Bool_t isEnergy=kFALSE); |
void GenSpe(Double_t PEmin, Double_t PEmax, Bool_t isEnergy=kFALSE); |
89 |
//power law spectra, gamma - differential spectral index |
//power law spectra, gamma - differential spectral index |
90 |
void GenSpe(Double_t PEmin, Double_t PEmax, Double_t gamma, Bool_t isEnergy=kFALSE); |
void GenSpe(Double_t PEmin, Double_t PEmax, Double_t gamma, Bool_t isEnergy=kFALSE); |
91 |
|
void GenSpe_Flat(Double_t PEmin, Double_t PEmax, Double_t gamma, Bool_t isEnergy=kFALSE); |
92 |
|
void GenSpe_3par(Double_t PEmin, Double_t PEmax, Double_t a, Double_t b, Double_t c); |
93 |
|
void GenSphericalPhiThe(); // cecilia // flusso istropo // sets phi the |
94 |
|
void GenSphPhiThe(Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, |
95 |
|
Double_t zmin, Double_t zmax); // flusso isotropo entro S2 S3 |
96 |
|
// sets position and phi the |
97 |
|
|
98 |
|
|
99 |
// get methods |
// get methods |
100 |
Int_t GetParticle(){ return fprim.fPDG; }; |
Int_t GetParticle(){ return fprim.fPDG; }; |
134 |
Double_t KinEToMomentum(Double_t E0); |
Double_t KinEToMomentum(Double_t E0); |
135 |
Double_t MomentumToRig(Double_t P0) { return P0/fcharge; }; |
Double_t MomentumToRig(Double_t P0) { return P0/fcharge; }; |
136 |
Double_t RigToMomentum(Double_t R0){ return R0*fcharge; }; |
Double_t RigToMomentum(Double_t R0){ return R0*fcharge; }; |
137 |
|
Double_t function3par(Double_t xx, Double_t a, Double_t b, Double_t c){return 5.*pow((xx + b * exp(-c * sqrt(xx))),-a);}; |
138 |
|
|
139 |
// data members |
// data members |
140 |
TVirtualMCStack* fStack; |
TVirtualMCStack* fStack; |