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

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

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

revision 1.12 by mocchiut, Fri Nov 23 16:42:33 2007 UTC revision 1.13 by mocchiut, Thu Nov 29 14:20:29 2007 UTC
# Line 1094  Int_t CaloLevel0::Calibrate(Int_t ei){ Line 1094  Int_t CaloLevel0::Calibrate(Int_t ei){
1094              if ( clevel1->estrip[j4][m][l] > clevel1->emin ){              if ( clevel1->estrip[j4][m][l] > clevel1->emin ){
1095                //                //
1096                Float_t savel1 = clevel1->estrip[j4][m][l];                Float_t savel1 = clevel1->estrip[j4][m][l];
1097                if ( dexyc[j4][m][l] == 32767. ) savel1 += 5000.;                if ( dexyc[j4][m][l] == 32767. ){
1098                    savel1 += 5000.;
1099                    clevel2->nsatstrip += 1.;
1100                  };
1101                //                //
1102                tim = 100000.;                tim = 100000.;
1103                plo = m;                plo = m;
# Line 1246  void CaloLevel0::FillCommonVar(CaloLevel Line 1249  void CaloLevel0::FillCommonVar(CaloLevel
1249    memcpy(ca->swerr,clevel2->swerr,sizeof(clevel2->swerr));    memcpy(ca->swerr,clevel2->swerr,sizeof(clevel2->swerr));
1250    memcpy(ca->crc,clevel2->crc,sizeof(clevel2->crc));    memcpy(ca->crc,clevel2->crc,sizeof(clevel2->crc));
1251    ca->nstrip = (Int_t)clevel2->nstrip;    ca->nstrip = (Int_t)clevel2->nstrip;
1252      ca->nsatstrip = (Int_t)clevel2->nsatstrip;
1253    ca->qtot = clevel2->qtot;    ca->qtot = clevel2->qtot;
1254    //  ca->impx = clevel2->impx;    //  ca->impx = clevel2->impx;
1255    //  ca->impy = clevel2->impy;    //  ca->impy = clevel2->impy;
# Line 1336  void CaloLevel0::ClearCommonVar(){ Line 1340  void CaloLevel0::ClearCommonVar(){
1340    clevel2->wartrig = 0.;    clevel2->wartrig = 0.;
1341    clevel2->good = 0;    clevel2->good = 0;
1342    clevel2->nstrip = 0.;    clevel2->nstrip = 0.;
1343      clevel2->nsatstrip = 0.;
1344    clevel2->qtot = 0.;    clevel2->qtot = 0.;
1345    //  clevel2->impx = 0.;    //  clevel2->impx = 0.;
1346    //  clevel2->impy = 0.;    //  clevel2->impy = 0.;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.23