/[PAMELA software]/calo/flight/CaloPreSampler/src/CaloPreSampler.cpp
ViewVC logotype

Diff of /calo/flight/CaloPreSampler/src/CaloPreSampler.cpp

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

revision 1.4 by mocchiut, Fri Aug 31 15:36:35 2007 UTC revision 1.5 by mocchiut, Mon Nov 26 08:53:47 2007 UTC
# Line 38  CaloPreSampler::CaloPreSampler(PamLevel2 Line 38  CaloPreSampler::CaloPreSampler(PamLevel2
38    simulation = false;    simulation = false;
39    withtrk = true;    withtrk = true;
40    rigdefault = 50.;    rigdefault = 50.;
41      nox = false;
42      noy = false;
43    //    //
44    Clear();    Clear();
45    //    //
# Line 170  void CaloPreSampler::Process(){ Line 172  void CaloPreSampler::Process(){
172      //      //
173      mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip);      mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip);
174      //      //
175        // Mask x or y view if nox and/or noy are true (default false)
176        //
177        if ( nox && view == 0 ) mip = 0.;
178        if ( noy && view == 1 ) mip = 0.;
179        //
180      // Selection mode: fill the matrix only for plane < (22 - N) REMEMBER N = number of W planes to be used as presampler, ie if N = 2 then we want to use planes from 0 to 19      // Selection mode: fill the matrix only for plane < (22 - N) REMEMBER N = number of W planes to be used as presampler, ie if N = 2 then we want to use planes from 0 to 19
181      //                 included so plane < (22 - 2)      //                 included so plane < (22 - 2)
182      //      //

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

  ViewVC Help
Powered by ViewVC 1.1.23