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]; |
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 |
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 |