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

Diff of /PamelaDigitizer/Digitizer.cxx

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

revision 1.13 by pamelats, Wed May 6 05:18:41 2009 UTC revision 1.14 by pizzolot, Fri Oct 16 09:15:50 2009 UTC
# Line 11  extern "C"{ Line 11  extern "C"{
11  };  };
12  //  //
13    
14  Digitizer::Digitizer(TTree* tree, char* &file_raw,int nspe1=200,int ntof1=200,int ncat1=50,int ncas1=50,int ncar1=100,int ncal1=1000,int nnd1=200,int nstr1=1000){  Digitizer::Digitizer(TTree* tree, char* &file_raw,
15                         int nspe1=200,int ntof1=200,int ncat1=50,
16                         int ncas1=50,int ncar1=100,int ncal1=1000,
17                         int nnd1=200,int nstr1=1000, int comprcalomod=0){
18      
19    nspe=new int[1];    nspe=new int[1];
20    ntof=new int[1];    ntof=new int[1];
21    ncat=new int[1];    ncat=new int[1];
# Line 35  Digitizer::Digitizer(TTree* tree, char* Line 39  Digitizer::Digitizer(TTree* tree, char*
39    fCounter = 0;    fCounter = 0;
40    fCounterPhys = 0; // SO 5/12/'07    fCounterPhys = 0; // SO 5/12/'07
41    fOBT = 0;    fOBT = 0;
42      fModCalo = comprcalomod ;
43    
44    //    //
45    // DB  connections    // DB  connections
# Line 344  void Digitizer::Loop() { Line 349  void Digitizer::Loop() {
349    Long64_t nbytes = 0;    Long64_t nbytes = 0;
350    for (Int_t i=0; i<nentries;i++) {    for (Int_t i=0; i<nentries;i++) {
351       nbytes += fhBookTree->GetEntry(i);       nbytes += fhBookTree->GetEntry(i);
352         fEvent=i; //  cecilia for calo compress mode
353        // read detectors sequentially:        // read detectors sequentially:
354        // http://www.ts.infn.it/fileadmin/documents/physics/experiments/wizard/cpu/gen_arch/RM_Acquisition.pdf        // http://www.ts.infn.it/fileadmin/documents/physics/experiments/wizard/cpu/gen_arch/RM_Acquisition.pdf
355        // on pamelatov: /cvs/yoda/techmodel/physics/NeutronDetectorReader.cpp        // on pamelatov: /cvs/yoda/techmodel/physics/NeutronDetectorReader.cpp

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.23