/[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.6 by mocchiut, Fri Aug 4 14:38:46 2006 UTC revision 1.7 by mocchiut, Thu Nov 9 17:05:44 2006 UTC
# Line 12  ClassImp(CaloLevel2); Line 12  ClassImp(CaloLevel2);
12   * CaloTrkVar constructor   * CaloTrkVar constructor
13  **/  **/
14  CaloTrkVar::CaloTrkVar() {  CaloTrkVar::CaloTrkVar() {
15      this->Clear();
16    };
17    
18    /**
19     * Clear variables
20    **/
21    void CaloTrkVar::Clear() {
22    trkseqno = 0;    trkseqno = 0;
23    noint = 0;    noint = 0;
24    ncore = 0;    ncore = 0;
# Line 78  CaloTrkVar::CaloTrkVar(const CaloTrkVar Line 85  CaloTrkVar::CaloTrkVar(const CaloTrkVar
85  CaloLevel2::CaloLevel2() {      CaloLevel2::CaloLevel2() {    
86    //    //
87    CaloTrk = new TClonesArray("CaloTrkVar",1);    CaloTrk = new TClonesArray("CaloTrkVar",1);
   //  
   nstrip = 0;  
   qtot = 0.;  
   impx = 0.;  
   impy = 0.;  
   tanx = 0.;  
   tany = 0.;  
   qmax = 0.;  
   nx22 = 0;  
   qx22 = 0.;  
   elen = 0.;  
   selen = 0.;  
   memset(perr, 0, 4*sizeof(Int_t));  
   memset(swerr, 0, 4*sizeof(Int_t));  
   memset(crc, 0, 4*sizeof(Int_t));  
   memset(qq, 0, 4*sizeof(Int_t));  
   memset(varcfit, 0, 2*sizeof(Float_t));  
   memset(npcfit, 0, 2*sizeof(Int_t));  
   memset(planemax, 0, 2*sizeof(Int_t));  
   memset(cibar, 0, 2*22*sizeof(Int_t));  
   memset(cbar, 0, 2*22*sizeof(Float_t));  
   good = 0;  
   selftrigger = 0;  
88    estrip = TArrayF(0,NULL);    estrip = TArrayF(0,NULL);
89      //
90      this->Clear();
91      //
92  };  };
93    
94  void CaloLevel2::Clear() {      void CaloLevel2::Clear() {    

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

  ViewVC Help
Powered by ViewVC 1.1.23