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

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

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

revision 1.10 by mocchiut, Tue Aug 4 13:59:15 2009 UTC revision 1.11 by mocchiut, Mon Dec 14 14:35:53 2009 UTC
# Line 36  CaloFranzini::CaloFranzini(PamLevel2 *l2 Line 36  CaloFranzini::CaloFranzini(PamLevel2 *l2
36    PKT = 0;    PKT = 0;
37    atime = 0;    atime = 0;
38    //    //
39      usepl18x = false;
40      //
41    crig = false;    crig = false;
42    sel = true;    sel = true;
43    cont = false;    cont = false;
# Line 201  void CaloFranzini::Process(Int_t itr){ Line 203  void CaloFranzini::Process(Int_t itr){
203        //        //
204        mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip);        mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip);
205        //        //
206          if ( !usepl18x && view==0 && plane==18 ) mip = 0.;
207          //
208        estrip[view][plane][strip] = mip;        estrip[view][plane][strip] = mip;
209        //            //    
210        nplane = 1 - view + 2 * (plane - N);        nplane = 1 - view + 2 * (plane - N);
# Line 294  void CaloFranzini::Process(Int_t itr){ Line 298  void CaloFranzini::Process(Int_t itr){
298        //        //
299        mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip);        mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip);
300        //        //
301          if ( !usepl18x && view==0 && plane==18 ) mip = 0.;
302          //
303        //      nplane = 1 - view + 2 * plane;        //      nplane = 1 - view + 2 * plane;
304        //      if ( nplane > 37 ) nplane--;        //      if ( nplane > 37 ) nplane--;
305        nplane = 1 - view + 2 * (plane - N);        nplane = 1 - view + 2 * (plane - N);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23