Changeset 145 for MEMPHYS


Ignore:
Timestamp:
Apr 21, 2006, 11:55:08 AM (18 years ago)
Author:
campagne
Message:

JEC 21/4/06 define new ctes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MEMPHYS/HEAD/MEMPHYS/WCDigitizer.hh

    r70 r145  
    5151  }//Threshold
    5252
    53   static const double offset; // hit time offset
    54   static const double pmtgate; // ns
    55   static const double eventgateup; // ns
    56   static const double eventgatedown; // ns
    57   static const double LongTime; // ns
    58   static const int GlobalThreshold; //number of hit PMTs within an <=200ns sliding window that decides the global trigger t0
     53  //JEC 21/4/06 transfert the static variable here, but FIXME: should be put in a data file
     54  static const G4double offset; // hit time offset ns
     55  static const G4double pmtgate; // time window to accept hit for a PMT
     56  static const G4double eventgateup; //time window for the event
     57  static const G4double LongTime;   //arbitrary long time
     58  static const G4int    GlobalThreshold; //# of hits to trigger t0 determination
     59 
     60  static const G4int    TimeHistoMaxBin = 20000; // 20,000*5ns = 100ms: JEC 20/4/06 new var.
     61                                                 // maximum number of bins of the trigger histo to determine the t0
     62  G4int triggerhisto[TimeHistoMaxBin]; // trigger histo for finding t0
     63  static const G4int    TimeHistoStepBin; // time window to count the hits
     64  static const G4float  TimeHistoStep; // time bin width of the trigger histo
    5965
    60   G4int triggerhisto[20000]; // for finding t0
    6166  G4float RealOffset;  // t0 = offset corrected for trigger start
    62   G4float MinTime;  // very first hit time
     67  //JEC not used  G4float MinTime;  // very first hit time
    6368
    6469  WCDigitsCollection*  DigitsCollection;
    6570 
    66   G4float PMTSize;
     71  G4float PMTSize; //not yet used but may be in the future when OD + ID...
    6772};
    6873
Note: See TracChangeset for help on using the changeset viewer.