/[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.8 by mocchiut, Tue Mar 11 16:15:13 2008 UTC revision 1.9 by mocchiut, Mon Apr 7 13:51:52 2008 UTC
# Line 42  CaloPreSampler::CaloPreSampler(PamLevel2 Line 42  CaloPreSampler::CaloPreSampler(PamLevel2
42    nox = false;    nox = false;
43    noy = false;    noy = false;
44    forcecalo = false;    forcecalo = false;
45      memset(mask,0,2*22*sizeof(Int_t));
46    //    //
47    Clear();    Clear();
48    //    //
# Line 200  void CaloPreSampler::Process(){ Line 201  void CaloPreSampler::Process(){
201      //      //
202      // Mask x or y view if nox and/or noy are true (default false)      // Mask x or y view if nox and/or noy are true (default false)
203      //      //
204        if ( mask[view][plane] ) mip = 0.;
205      if ( nox && view == 0 ) mip = 0.;      if ( nox && view == 0 ) mip = 0.;
206      if ( noy && view == 1 ) mip = 0.;      if ( noy && view == 1 ) mip = 0.;
207      //      //

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23