/[PAMELA software]/DarthVader/CalorimeterLevel2/src/CaloLevel1.cpp
ViewVC logotype

Diff of /DarthVader/CalorimeterLevel2/src/CaloLevel1.cpp

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

revision 1.6 by mocchiut, Fri Mar 30 11:17:16 2007 UTC revision 1.7 by mocchiut, Fri Mar 30 11:22:07 2007 UTC
# Line 144  void CaloStrip::UseStandardAlig(){ Line 144  void CaloStrip::UseStandardAlig(){
144    //    //
145  };  };
146    
   
147  /**  /**
148   * Given a strip returns its position in the PAMELA reference system   * Given a strip returns its position in the PAMELA reference system
149  **/  **/
# Line 176  void CaloStrip::Set(Int_t view, Int_t pl Line 175  void CaloStrip::Set(Int_t view, Int_t pl
175    fView = view + 1;    fView = view + 1;
176    fPlane = plane + 1;    fPlane = plane + 1;
177    fStrip = strip + 1;    fStrip = strip + 1;
178      //
179    if ( fPlane%2 ){    if ( fPlane%2 ){
180      lShift = +0.5;      lShift = +0.5;
181    } else {    } else {
# Line 397  Float_t CaloLevel1::DecodeEstrip(Int_t e Line 397  Float_t CaloLevel1::DecodeEstrip(Int_t e
397    //    //
398    Float_t mip = ((Float_t)(eval - fbi*1000000000 -plom*10000000 -strip*100000))/tim;    Float_t mip = ((Float_t)(eval - fbi*1000000000 -plom*10000000 -strip*100000))/tim;
399    //    //
  //  if ( view == 0 ){  
 //     if ( plane%2 ){  
 //       plane -= 1;  
 //     } else {  
 //       plane += 1;  
 //     };  
 //   };  
   //  
   //  
400    if ( mip > 0. && mip < 99999. ) return(mip);    if ( mip > 0. && mip < 99999. ) return(mip);
401    //    //
402    printf(" WARNING: problems decoding value %i at entry %i \n",estrip.At(entry),entry);    printf(" WARNING: problems decoding value %i at entry %i \n",estrip.At(entry),entry);
# Line 426  Float_t CaloLevel1::qtotpl(Int_t nplane) Line 417  Float_t CaloLevel1::qtotpl(Int_t nplane)
417    //    //
418    Int_t splane = nplane-(sview+1)/2;    Int_t splane = nplane-(sview+1)/2;
419    //    //
 //   if ( sview == 0 ){  
 //     if ( splane%2 ){  
 //       splane += 1;  
 //     } else {  
 //       splane -= 1;  
 //     };  
 //   };  
   //  
420    Float_t totmip = qtotpl(sview,splane);    Float_t totmip = qtotpl(sview,splane);
421    //    //
422    return(totmip);    return(totmip);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23