| 86 |
Uback += keVtomV*(hit0->GetEREL())*1.e6*Exp((hit0->GetTOF()-/*hit1->GetTOF()*/hit->GetTOF())/Abs(tauHits[i].at(k-1))); |
Uback += keVtomV*(hit0->GetEREL())*1.e6*Exp((hit0->GetTOF()-/*hit1->GetTOF()*/hit->GetTOF())/Abs(tauHits[i].at(k-1))); |
| 87 |
} |
} |
| 88 |
|
|
| 89 |
tauHits[i].push_back(gRandom->Gaus(Tau,SigmaTau)); |
tauHits[i].push_back(frandom->Gaus(Tau,SigmaTau)); |
| 90 |
if (DEBUG){ |
if (DEBUG){ |
| 91 |
cout<<"++++++HIT+++++++"<<endl; |
cout<<"++++++HIT+++++++"<<endl; |
| 92 |
cout<<"TubeNo="<<hit->GetPOS()<<endl |
cout<<"TubeNo="<<hit->GetPOS()<<endl |