/[PAMELA software]/PamelaDigitizer/DigitizeND.cxx
ViewVC logotype

Contents of /PamelaDigitizer/DigitizeND.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Oct 15 14:03:16 2008 UTC (16 years, 1 month ago) by pamelats
Branch: MAIN
CVS Tags: v3r04, v3r05, v3r03, HEAD
Changes since 1.1: +0 -41 lines
Cambiamenti principali: TOF, AC; cambiamenti di struttura (tutti *h esterni si trovano in Digitizer.h)

1 #include "Digitizer.h"
2
3 void Digitizer::DigitizeND(){
4 // creato: S. Borisov, INFN Roma2 e MEPHI, Sett 2007
5 Int_t i=0;
6 UShort_t NdN=0;
7 //cout<<"n="<<Nthnd<<" "<<NdN<<"\n";
8 for(i=0;i<Nthnd;i++){
9 if(Iparnd[i]==13){
10 NdN++;
11 }
12 }
13 //NdN=100; //only for debug
14
15 for(i=0;i<3;i++){
16 fDataND[2*i]=0x0000;
17 fDataND[2*i+1]=0x010F;
18 }
19 fDataND[0]=0xFF00 & (256*NdN);
20 }

  ViewVC Help
Powered by ViewVC 1.1.23