LISTSERV mailing list manager LISTSERV 16.5

Help for HPS-SVN Archives


HPS-SVN Archives

HPS-SVN Archives


HPS-SVN@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

HPS-SVN Home

HPS-SVN Home

HPS-SVN  August 2015

HPS-SVN August 2015

Subject:

r3378 - in /java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal: EcalRawConverter.java EcalRawConverterDriver.java

From:

[log in to unmask]

Reply-To:

Notification of commits to the hps svn repository <[log in to unmask]>

Date:

Thu, 20 Aug 2015 18:28:22 -0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (193 lines)

Author: [log in to unmask]
Date: Thu Aug 20 11:28:20 2015
New Revision: 3378

Log:
converting /* to /** so javadoc works

Modified:
    java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverter.java
    java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverterDriver.java

Modified: java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverter.java
 =============================================================================
--- java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverter.java	(original)
+++ java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverter.java	Thu Aug 20 11:28:20 2015
@@ -62,12 +62,12 @@
     private boolean useFit = false;
     private EcalPulseFitter pulseFitter = new EcalPulseFitter();
     
-    /*
+    /**
      * The time for one FADC sample (units = ns).
      */
     private static final int nsPerSample = 4;
     
-    /*
+    /**
      * The leading-edge threshold, relative to pedestal, for pulse-finding and
      * time determination.  Units = ADC.  Used to convert mode-1 readout into
      * mode-3/7 used by clustering.
@@ -76,7 +76,7 @@
      */
     private double leadingEdgeThreshold = 12;
     
-    /*
+    /**
      * Integration range after (NSA) and before (NSB) threshold crossing.  Units=ns,
      * same as the DAQ configuration files.  These must be multiples of 4 ns.  Used
      * for pulse integration in Mode-1, and pedestal subtraction in all modes.
@@ -86,7 +86,7 @@
     private int NSB = 20;
     private int NSA = 100;
   
-    /*
+    /**
      * The number of samples in the FADC readout window.  Needed in order to
      * properly pedestal-correct clipped pulses for Mode-3/7.  Ignored for
      * mode-1 input, since it already knows its number of samples.
@@ -97,12 +97,12 @@
      */
     private int windowSamples = -1;
     
-    /*
+    /**
      * The maximum number of peaks to be searched for.
      */
     private int nPeak = 3;
    
-    /*
+    /**
      * Convert Mode-1 into Mode-7, else Mode-3.
      */
     private boolean mode7 = false;
@@ -220,7 +220,7 @@
     
 
 
-    /*
+    /**
      * This should probably be deprecated.  It just integrates the entire window.
      */
     public int sumADC(RawTrackerHit hit) {
@@ -241,7 +241,7 @@
         return sum;
     }
 
-    /*
+    /**
      * This should probably be deprecated.  HitDtoA(EventHeader,RawTrackerHit)
      * has the same functionality if NSA+NSB > windowSamples, with the exception
      * that that one also finds pulse time instead of this one's always reporting zero.
@@ -253,7 +253,7 @@
         return CalorimeterHitUtilities.create(rawEnergy, time, id);
     }
 
-    /*
+    /**
      * Get pedestal for a single ADC sample.
      * Choose whether to use static pedestal from database or running pedestal from mode-7.
      */
@@ -282,7 +282,7 @@
         return findChannel(cellID).getCalibration().getPedestal();
     }
 
-    /*
+    /**
      * Get pedestal for entire pulse integral.  Account for clipping if
      * windowSamples is greater than zero.
      */
@@ -305,7 +305,7 @@
     }
    
     
-    /*
+    /**
      * Emulate the FADC250 firmware in conversion of Mode-1 waveform to a Mode-3/7 pulse,
      * given a time for threshold crossing.
      */
@@ -416,7 +416,7 @@
     }
    
     
-    /*
+    /**
      * This HitDtoA is for emulating the conversion of Mode-1 readout (RawTrackerHit)
      * into what EcalRawConverter would have created from a Mode-3 or Mode-7 readout.
      * Clustering classes will read the resulting CalorimeterHits same as if they were
@@ -514,7 +514,7 @@
         return newHits;
     }
 
-    /*
+    /**
      * This HitDtoA is for Mode-3 data.  A time-walk correction can be applied.
      */
     public CalorimeterHit HitDtoA(EventHeader event,RawCalorimeterHit hit, double timeOffset) {
@@ -533,7 +533,7 @@
         return CalorimeterHitUtilities.create(rawEnergy, time + timeOffset, id);
     }
 
-    /*
+    /**
      * This HitDtoA is exclusively for Mode-7 data, hence the GenericObject parameter.
      */
     public CalorimeterHit HitDtoA(EventHeader event,RawCalorimeterHit hit, GenericObject mode7Data, double timeOffset) {
@@ -546,7 +546,7 @@
         return CalorimeterHitUtilities.create(rawEnergy, time + timeOffset, id);
     }
 
-    /*
+    /**
      * This converts a corrected pulse integral (pedestal-subtracted and gain-scaled)
      * back into raw pulse integral with units ADC.
      */
@@ -567,7 +567,7 @@
         return h;
     }
 
-    /*
+    /**
      * return energy (units of GeV) corresponding to the ADC sum and crystal ID
      */
     private double adcToEnergy(double adcSum, long cellID) {

Modified: java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverterDriver.java
 =============================================================================
--- java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverterDriver.java	(original)
+++ java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/EcalRawConverterDriver.java	Thu Aug 20 11:28:20 2015
@@ -47,28 +47,28 @@
         converter = new EcalRawConverter();
     }
 
-    /*
+    /**
      * Set to <code>true</code> to use pulse fitting instead of arithmetic integration:<br/>
      */
     public void setUseFit(boolean useFit) { converter.setUseFit(useFit); }
     
-    /*
+    /**
      * Fix 3-pole function width to be the same for all 442 ECal channels.  Units=samples.
      */
     public void setGlobalFixedPulseWidth(double width) { converter.setGlobalFixedPulseWidth(width); }
     
-    /*
+    /**
      * Set to <code>true</code> to fix fitted pulse widths to their channel's mean value:<br/>
      */
     public void setFixShapeParameter(boolean fix) { converter.setFixShapeParameter(fix); }
    
-    /*
+    /**
      * Limit threshold crossing range that is candidate for pulse-fitting.   Units=samples.
      */
     public void setFitThresholdTimeLo(int sample) { converter.setFitThresholdTimeLo(sample); }
     public void setFitThresholdTimeHi(int sample) { converter.setFitThresholdTimeHi(sample); }
     
-    /*
+    /**
      * Constrain pulse fit time0 parameter.  Units=samples. 
      */
     public void setFitLimitTimeLo(int sample) { converter.setFitLimitTimeLo(sample); }

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

November 2017
August 2017
July 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use