Skip to content

Commit 8b132d1

Browse files
committed
Document variables. Add in even and 0xBAD fractions.
1 parent 53e3b0c commit 8b132d1

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

sbnobj/Common/Analysis/TPCChannelInfo.hh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
namespace anab {
1515

1616
struct TPCChannelInfo{
17-
unsigned channel;
18-
float baseline;
19-
float rms;
17+
unsigned channel; //!< Channel number
18+
float baseline; //!< Channel baseline
19+
float rms; //!< Channel RMS
20+
float even_fraction; //!< Fraction of even samples in waveform
21+
float xbad_fraction; //!< Fraction of samples equal to 0xBAD in the waveform
2022
};
2123

2224
}

sbnobj/Common/Analysis/classes_def.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<lcgdict>
22

3-
<class name="anab::TPCChannelInfo" ClassVersion="12">
4-
<version ClassVersion="12" checksum="332166564"/>
5-
</class>
3+
<class name="anab::TPCChannelInfo"/>
64
<class name="std::vector<anab::TPCChannelInfo>"/>
75
<class name="art::Wrapper< anab::TPCChannelInfo>"/>
86
<class name="art::Wrapper< std::vector<anab::TPCChannelInfo>>"/>

0 commit comments

Comments
 (0)