/[PAMELA software]/trieste/pamVMC/cal/src/PamVMCCaloDig.cxx
ViewVC logotype

Diff of /trieste/pamVMC/cal/src/PamVMCCaloDig.cxx

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

revision 1.1 by pamelats, Wed Mar 4 12:51:26 2009 UTC revision 1.2 by pizzolot, Tue Mar 24 14:03:59 2009 UTC
# Line 532  void PamVMCCaloDig::DigitizeCaloRaw(){ Line 532  void PamVMCCaloDig::DigitizeCaloRaw(){
532          //          //
533          // Add random gaussian noise of RMS rms and Centered in the pedestal          // Add random gaussian noise of RMS rms and Centered in the pedestal
534          //          //
535          pedenoise = gRandom->Gaus((Double_t)pedestal,(Double_t)rms);          pedenoise = rnd->Gaus((Double_t)pedestal,(Double_t)rms);
536          //          //
537          // Sum all contribution          // Sum all contribution
538          //          //
# Line 542  void PamVMCCaloDig::DigitizeCaloRaw(){ Line 542  void PamVMCCaloDig::DigitizeCaloRaw(){
542          //          //
543          if ( adc > 0x7FFF ) adc = 0x7FFF;          if ( adc > 0x7FFF ) adc = 0x7FFF;
544          //          //
545            //if(adc>1.) cout<<" EMILIANO NON SI FIDAAAAAAAAA adc calo "<<adc<<endl;
546          // save value          // save value
547          //          //
548          if ( sec == 1 ){          if ( sec == 1 ){

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

  ViewVC Help
Powered by ViewVC 1.1.23