Skip to content

Commit 210d853

Browse files
ftouchtetongtongcao
authored andcommitted
Fix the wfType description (#928)
1 parent fee3cab commit 210d853

File tree

1 file changed

+7
-7
lines changed
  • common-tools/clas-detector/src/main/java/org/jlab/detector/pulse

1 file changed

+7
-7
lines changed

common-tools/clas-detector/src/main/java/org/jlab/detector/pulse/ModeAHDC.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ public class ModeAHDC extends HipoExtractor {
5757
private int effectiveNumberOfBins;
5858

5959
//Waveform types:
60-
//0 is good,
61-
//-1 is invalid,
62-
//1 is saturating,
63-
//2 has too short of a baseline,
64-
//3 is late and only has a rising edge,
65-
//4 is a trailing edge from a previous wf,
66-
//5 has low ADC ("flat")
60+
//wfType 6 ⇒ too small (nsamples <= 10)
61+
//wfType 5 ⇒ decreasing baseline (or leadingEdgeTime fails)
62+
//wfType 4 ⇒ bad ToT (ToT < 300)
63+
//wfType 3 ⇒ pileUp // TO BE DONE
64+
//wfType 2 ⇒ bad trailingEdgeTime
65+
//wfType 1 ⇒ saturing
66+
//wfType 0 ⇒ OK
6767

6868
/**
6969
*

0 commit comments

Comments
 (0)