/[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.11 by mocchiut, Thu Nov 22 13:53:25 2007 UTC revision 1.13 by mocchiut, Thu Nov 29 14:20:29 2007 UTC
# Line 82  CaloLevel0::CaloLevel0(){ Line 82  CaloLevel0::CaloLevel0(){
82    
83  void CaloLevel0::SetCrossTalk(Bool_t ct){  void CaloLevel0::SetCrossTalk(Bool_t ct){
84    crosst = ct;    crosst = ct;
85  };  }
86    
87  void CaloLevel0::SetCrossTalkType(Bool_t ct){  void CaloLevel0::SetCrossTalkType(Bool_t ct){
88    ctground = ct;    ctground = ct;
89  };  }
90    
91  void CaloLevel0::SetVerbose(Bool_t ct){  void CaloLevel0::SetVerbose(Bool_t ct){
92    verbose = ct;    verbose = ct;
93  };  }
94    
95  /**  /**
96   * Initialize CaloLevel0 object   * Initialize CaloLevel0 object
# Line 726  Int_t CaloLevel0::CalcCrossTalkCorr(GL_T Line 726  Int_t CaloLevel0::CalcCrossTalkCorr(GL_T
726    };    };
727    //    //
728    return(0);    return(0);
729  };  }
730    
731  void CaloLevel0::FindBaseRaw(Int_t l, Int_t m, Int_t pre){  void CaloLevel0::FindBaseRaw(Int_t l, Int_t m, Int_t pre){
732      Float_t minstrip = 100000.;      Float_t minstrip = 100000.;
# 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.11  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.23