/[PAMELA software]/PamVMC/nd/src/PamVMCNDDig.cxx
ViewVC logotype

Diff of /PamVMC/nd/src/PamVMCNDDig.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by nikolas, Wed Feb 18 17:15:15 2009 UTC revision 1.5 by pam-rm2, Fri Jun 12 18:39:25 2009 UTC
# Line 86  void PamVMCNDDig::Digitize(){ Line 86  void PamVMCNDDig::Digitize(){
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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23