/[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.5 by mocchiut, Wed Mar 28 13:35:13 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 180  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 {
182      lShift = 0.5;      lShift = -0.5;
183    };    };
184    //    //
   if ( fView == 2 ) lShift = - lShift;  
   //  
185    shift_.shift = lShift;    shift_.shift = lShift;
186    //    //
187    Float_t zplane[22];    Float_t zplane[22];
# Line 211  void CaloStrip::Set(Int_t view, Int_t pl Line 205  void CaloStrip::Set(Int_t view, Int_t pl
205      fX = (lPos - UXal)/10.;      fX = (lPos - UXal)/10.;
206      fY = 0.;      fY = 0.;
207      fZ = (zplane[fPlane-1] - 5.81 + UZal)/10.;          fZ = (zplane[fPlane-1] - 5.81 + UZal)/10.;    
208    } else {      //
209       } else {
210      //      //
211      // Y view      // Y view
212      //      //

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

  ViewVC Help
Powered by ViewVC 1.1.23