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

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

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

revision 1.1 by mocchiut, Fri May 19 13:15:49 2006 UTC revision 1.2 by mocchiut, Fri Jun 30 09:21:53 2006 UTC
# Line 114  CaloLevel2::CaloLevel2() {     Line 114  CaloLevel2::CaloLevel2() {    
114    estrip = TArrayF(0,NULL);    estrip = TArrayF(0,NULL);
115  };  };
116    
117    void CaloLevel2::Clear() {    
118      //
119      CaloTrk->Clear();
120      //
121      nstrip = 0;
122      qtot = 0.;
123      impx = 0.;
124      impy = 0.;
125      tanx = 0.;
126      tany = 0.;
127      qmax = 0.;
128      nx22 = 0;
129      qx22 = 0.;
130      elen = 0.;
131      selen = 0.;
132      for (Int_t i = 0; i<4 ; i++){
133        qq[i] = 0.;
134        perr[i] = 0;
135        swerr[i] = 0;
136        crc[i] = 0;
137        if ( i < 2 ){
138          planemax[i] = 0;
139          varcfit[i] = 0.;
140          npcfit[i] = 0;
141          for ( Int_t j = 0; j<22; j++){
142            cibar[j][i] = 0;
143            cbar[j][i] = 0.;
144          };
145        };
146      };
147      good = 0;
148      selftrigger = 0;
149      estrip = TArrayF(0,NULL);
150    };
151    
152  /**  /**
153   * Gives the detected energy for the given strip once loaded the event   * Gives the detected energy for the given strip once loaded the event
154  **/  **/

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23