#include <HypStatDecay.h>
|
Int_t | iEvent |
|
Int_t | fev |
|
const Char_t * | fFileName |
| Event number. More...
|
|
TRandom | r |
| Input file name. More...
|
|
double | she |
|
int | an |
|
int | zn |
|
int | hn |
|
Int_t | fNtr |
|
std::vector< int > | fPid |
|
TVector3 | fMom |
|
TLorentzVector | v |
|
TLorentzVector | vN |
|
TVector3 | tvL |
|
TVector3 | tNvL |
|
std::vector< double > | fPx |
|
std::vector< double > | fPy |
|
std::vector< double > | fPz |
|
std::vector< double > | fMass |
|
std::vector< double > | fEx |
|
std::vector< int > | A |
|
std::vector< int > | Z |
|
std::vector< int > | H |
|
Definition at line 28 of file HypStatDecay.h.
HypStatDecay::HypStatDecay |
( |
| ) |
|
Default constructor (should not be used)
Definition at line 32 of file HypStatDecay.cxx.
36 fMom.SetXYZ(0.,0.,0.);
HypStatDecay::HypStatDecay |
( |
const Char_t * |
fileName | ) |
|
Standard constructor
- Parameters
-
fileName | The input file name |
Definition at line 46 of file HypStatDecay.cxx.
References initia_().
50 fMom.SetXYZ(0.,0.,0.);
58 std::cout<<
" 12C + Xi- --> 13BLL "<<std::endl;
63 std::cout<<
" 13C + Xi- --> 14BLL "<<std::endl;
68 std::cout<<
" 10B + Xi- --> 11BeLL "<<std::endl;
73 std::cout<<
" 11B + Xi- --> 12BeLL "<<std::endl;
78 std::cout<<
" 9Be + Xi- --> 10LiLL "<<std::endl;
void initia_(double *she, int *an, int *zn, int *hn)
const Char_t * fFileName
Event number.
HypStatDecay::~HypStatDecay |
( |
| ) |
|
|
virtual |
void HypStatDecay::CloseInput |
( |
| ) |
|
|
private |
Private method CloseInput. Just for convenience. Closes the input file properly. Called from destructor and from ReadEvent.
Definition at line 367 of file HypStatDecay.cxx.
void HypStatDecay::GetAZH |
( |
Int_t |
ion, |
|
|
Int_t & |
AI, |
|
|
Int_t & |
ZI, |
|
|
Int_t & |
L |
|
) |
| |
Definition at line 224 of file HypStatDecay.cxx.
References L.
Referenced by PndSciTAnaIdeal::SetSciTEventCorr().
228 if(ion>1000000000&&(ion<1010000000))
234 cout<<
" ion charge "<<ZI<<
" "<<AI<<
" "<<
L<<endl;
238 if((ion>1010000000||ion>1020000000))
246 cout<<
L<<
" hypernuclei charge "<<ZI<<
" "<<AI<<
" "<<
L<<endl;
251 if(ion==2212){AI=1;ZI=1;
L=0;}
252 if(ion==2112){AI=1;ZI=0;
L=0;}
253 if(ion==3122){AI=1;ZI=0;
L=1;}
254 if(ion==22){AI=0;ZI=0;
L=0;}
void HypStatDecay::GetData |
( |
Int_t |
tr, |
|
|
TVector3 & |
p, |
|
|
Int_t & |
pid, |
|
|
Double_t & |
mass |
|
) |
| |
Double_t HypStatDecay::GetEtot |
( |
Float_t |
mass, |
|
|
TVector3 |
P |
|
) |
| |
|
private |
void HypStatDecay::GetFragment |
( |
Int_t |
primGen | ) |
|
Reads on event from the input file and pushes the tracks onto the stack. Abstract method in base class.
Definition at line 102 of file HypStatDecay.cxx.
References frag_, i, r, razhyp_gen__(), v, and Z.
Referenced by PndSciTAnaIdeal::SetSciTEventCorr().
105 A.clear();
Z.clear();
H.clear();
112 cout<<
" npart razhyp "<<npart<<endl;
131 fPx.push_back(
v.Px()/1000);
132 fPy.push_back(
v.Py()/1000);
133 fPz.push_back(
v.Pz()/1000);
145 fPx.push_back(
vN.Px()/1000);
146 fPy.push_back(
vN.Py()/1000);
147 fPz.push_back(
vN.Pz()/1000);
182 fPid.push_back(2112);
194 fPid.push_back(3122);
203 cout<<
" after gamma emision npart razhyp "<<
fPx.size()<<endl;
TLorentzVector GetPgCMSLab(float mass, float &Delta, TVector3 &PL, TRandom &rd)
std::vector< double > fPz
std::vector< double > fPx
void razhyp_gen__(double *shell)
TRandom r
Input file name.
void SetNtr(Int_t t)
return multiplicity
TLorentzVector GetPNuCMSLab(float mass, float &Delta, TVector3 &PL, TRandom &rd)
std::vector< double > fPy
std::vector< double > fMass
std::vector< double > fEx
Int_t HypStatDecay::GetNtr |
( |
| ) |
const |
|
inline |
TLorentzVector HypStatDecay::GetPgCMSLab |
( |
float |
mass, |
|
|
float & |
Delta, |
|
|
TVector3 & |
PL, |
|
|
TRandom & |
rd |
|
) |
| |
|
private |
Definition at line 260 of file HypStatDecay.cxx.
References Double_t, res, and CAMath::Sqrt().
262 Double_t Mex,Pgam,Xgam,Ygam,Zgam,EL,PLmag;
265 TLorentzVector
res,PNlab,resLab;
274 Pgam = ((Mex*Mex) - (mass*mass))/(2*Mex);
277 Xgam= Ygam = Zgam = 0.;
280 rd.Sphere(Xgam,Ygam,Zgam,Pgam);
290 res.SetPxPyPzE(Xgam,Ygam,Zgam,Pgam);
295 PNlab.SetPxPyPzE(PL.X(),PL.Y(),PL.Z(),EL);
298 res.Boost(PL.X()/EL,PL.Y()/EL,PL.Z()/EL);
static T Sqrt(const T &x)
TLorentzVector HypStatDecay::GetPNuCMSLab |
( |
float |
mass, |
|
|
float & |
Delta, |
|
|
TVector3 & |
PL, |
|
|
TRandom & |
rd |
|
) |
| |
|
private |
Definition at line 309 of file HypStatDecay.cxx.
References Double_t, and CAMath::Sqrt().
311 Double_t Mex,Pgam,Xgam,Ygam,Zgam,EL,PLmag;
312 TLorentzVector result,PNlab,resLab;
322 Pgam = ((Mex*Mex) - (mass*mass))/(2*Mex);
325 Xgam= Ygam = Zgam = 0.;
327 rd.Sphere(Xgam,Ygam,Zgam,-Pgam);
336 result.SetPxPyPzE(Xgam,Ygam,Zgam,
TMath::Sqrt((Pgam*Pgam) + (mass*mass)));
341 PNlab.SetPxPyPzE(PL.X(),PL.Y(),PL.Z(),EL);
344 result.Boost(PL.X()/EL,PL.Y()/EL,PL.Z()/EL);
static T Sqrt(const T &x)
void HypStatDecay::SetNtr |
( |
Int_t |
t | ) |
|
|
inline |
std::vector<int> HypStatDecay::A |
|
private |
std::vector<double> HypStatDecay::fEx |
|
private |
const Char_t* HypStatDecay::fFileName |
|
private |
std::vector<double> HypStatDecay::fMass |
|
private |
TVector3 HypStatDecay::fMom |
|
private |
std::vector<int> HypStatDecay::fPid |
|
private |
std::vector<double> HypStatDecay::fPx |
|
private |
std::vector<double> HypStatDecay::fPy |
|
private |
std::vector<double> HypStatDecay::fPz |
|
private |
std::vector<int> HypStatDecay::H |
|
private |
Int_t HypStatDecay::iEvent |
|
private |
TVector3 HypStatDecay::tNvL |
|
private |
TVector3 HypStatDecay::tvL |
|
private |
TLorentzVector HypStatDecay::v |
|
private |
TLorentzVector HypStatDecay::vN |
|
private |
std::vector<int> HypStatDecay::Z |
|
private |
The documentation for this class was generated from the following files: