Skip to content

Commit 02515a9

Browse files
authored
Merge branch 'develop' into feature/lnguyen_decodedTDC_ps
2 parents 0118c4d + e665b76 commit 02515a9

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/**
2+
* \class TPCChannelInfo
3+
*
4+
* \ingroup anab
5+
*
6+
* \brief TPCChannel Analysis Info
7+
*
8+
*/
9+
10+
#ifndef TPCChannelInfo_hh_
11+
#define TPCChannelInfo_hh_
12+
13+
14+
namespace anab {
15+
16+
struct TPCChannelInfo{
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
22+
};
23+
24+
}
25+
26+
27+
#endif

sbnobj/Common/Analysis/classes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "canvas/Persistency/Common/Wrapper.h"
22
#include "canvas/Persistency/Common/Assns.h"
33
#include "sbnobj/Common/Analysis/TPCPurityInfo.hh"
4+
#include "sbnobj/Common/Analysis/TPCChannelInfo.hh"
45
#include <vector>

sbnobj/Common/Analysis/classes_def.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<lcgdict>
22

3+
<class name="anab::TPCChannelInfo" ClassVersion="10">
4+
<version ClassVersion="10" checksum="3801257877"/>
5+
</class>
6+
<class name="std::vector<anab::TPCChannelInfo>"/>
7+
<class name="art::Wrapper< anab::TPCChannelInfo>"/>
8+
<class name="art::Wrapper< std::vector<anab::TPCChannelInfo>>"/>
9+
310
<class name="anab::TPCPurityInfo" ClassVersion="12">
411
<version ClassVersion="12" checksum="2429165902"/>
512
<version ClassVersion="11" checksum="3124295666"/>

0 commit comments

Comments
 (0)