/[PAMELA software]/DarthVader/TriggerLevel2/src/TrigLevel2.cpp
ViewVC logotype

Diff of /DarthVader/TriggerLevel2/src/TrigLevel2.cpp

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

revision 1.4 by mocchiut, Fri Aug 4 10:31:34 2006 UTC revision 1.6 by mocchiut, Mon Nov 26 08:01:18 2007 UTC
# Line 3  Line 3 
3  ClassImp(TrigLevel2);  ClassImp(TrigLevel2);
4    
5  TrigLevel2::TrigLevel2() {      TrigLevel2::TrigLevel2() {    
6    evcount = 0;    this->Clear();
   memset(pmtpl, 0, 3*sizeof(Int_t));  
   memset(patternbusy, 0, 3*sizeof(Int_t));  
   memset(trigrate, 0, 6*sizeof(Int_t));  
   memset(patterntrig, 0, 6*sizeof(Int_t));  
   memset(dltime, 0, 2*sizeof(Int_t));  
   memset(s4calcount, 0, 2*sizeof(Int_t));  
   memset(pmtcount1, 0, 24*sizeof(Int_t));  
   memset(pmtcount2, 0, 24*sizeof(Int_t));  
   trigconf = 0;  
7  }  }
8    
9  void TrigLevel2::Clear(){  void TrigLevel2::Clear(Option_t *t){
10    evcount = 0;    evcount = 0;
11    memset(pmtpl, 0, 3*sizeof(Int_t));    memset(pmtpl, 0, 3*sizeof(Int_t));
12    memset(patternbusy, 0, 3*sizeof(Int_t));    memset(patternbusy, 0, 3*sizeof(Int_t));
# Line 26  void TrigLevel2::Clear(){ Line 17  void TrigLevel2::Clear(){
17    memset(pmtcount1, 0, 24*sizeof(Int_t));    memset(pmtcount1, 0, 24*sizeof(Int_t));
18    memset(pmtcount2, 0, 24*sizeof(Int_t));    memset(pmtcount2, 0, 24*sizeof(Int_t));
19    trigconf = 0;    trigconf = 0;
20      unpackError = 0;
21  }  }
22    
23  /**  /**

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

  ViewVC Help
Powered by ViewVC 1.1.23