LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
optdata Namespace Reference

Classes

class  ChannelData
 
class  ChannelDataGroup
 
class  FIFOChannel
 
class  OpticalRawDigit
 
class  PMTTrigger
 

Typedefs

typedef uint16_t ADC_Count_t
 
typedef unsigned int Channel_t
 
typedef unsigned int TimeSlice_t
 
typedef unsigned int Frame_t
 
typedef enum optdata::_optical_category_t Optical_Category_t
 

Enumerations

enum  _optical_category_t {
  kUndefined, kHighGain, kLowGain, kLogicPulse,
  kFEMCosmicHighGain, kFEMCosmicLowGain, kFEMCosmicLogicPulse, kFEMBeamHighGain,
  kFEMBeamLowGain, kFEMBeamLogicPulse, kBeamPMTTrigger, kCosmicPMTTrigger
}
 

Functions

bool operator< (const ChannelData &lhs, const ChannelData &rhs)
 
bool operator< (const FIFOChannel &lhs, const FIFOChannel &rhs)
 
bool operator< (const OpticalRawDigit &lhs, const OpticalRawDigit &rhs)
 
bool operator< (const PMTTrigger &lhs, const PMTTrigger &rhs)
 

Detailed Description

ChannelDataGroup.h William Seligman selig.nosp@m.man@.nosp@m.nevis.nosp@m..col.nosp@m.umbia.nosp@m..edu

This a general container class for vectors of ADC counts. It can be used for collections of ADC counts from the PMTS, channels output by the Front End Modules (FEMs), etc.

FIFOChannel.h William Seligman selig.nosp@m.man@.nosp@m.nevis.nosp@m..col.nosp@m.umbia.nosp@m..edu

The information associated with a given FEM channel as stored in its FIFO memory.

OpticalRawDigit.h Kazuhiro Terao kazuh.nosp@m.iro@.nosp@m.nevis.nosp@m..col.nosp@m.umbia.nosp@m..edu

Equivalent of raw::RawDigit (waveform for TPC) for Optical system except the code is a complete copy from FIFOChannel written by William Seligman. William Seligman selig.nosp@m.man@.nosp@m.nevis.nosp@m..col.nosp@m.umbia.nosp@m..edu

PMTTrigger.h William Seligman selig.nosp@m.man@.nosp@m.nevis.nosp@m..col.nosp@m.umbia.nosp@m..edu

The information associated with a PMT trigger issued by a Front End Module (FEM).

Typedef Documentation

typedef uint16_t optdata::ADC_Count_t

Definition at line 16 of file OpticalTypes.h.

typedef unsigned int optdata::Channel_t

Definition at line 19 of file OpticalTypes.h.

typedef unsigned int optdata::Frame_t

Definition at line 21 of file OpticalTypes.h.

typedef unsigned int optdata::TimeSlice_t

Definition at line 20 of file OpticalTypes.h.

Enumeration Type Documentation

Enumerator
kUndefined 
kHighGain 
kLowGain 
kLogicPulse 
kFEMCosmicHighGain 
kFEMCosmicLowGain 
kFEMCosmicLogicPulse 
kFEMBeamHighGain 
kFEMBeamLowGain 
kFEMBeamLogicPulse 
kBeamPMTTrigger 
kCosmicPMTTrigger 

Definition at line 24 of file OpticalTypes.h.

Function Documentation

bool optdata::operator< ( const OpticalRawDigit lhs,
const OpticalRawDigit rhs 
)

Definition at line 38 of file OpticalRawDigit.h.

References optdata::ChannelData::ChannelNumber(), optdata::FIFOChannel::Frame(), and optdata::FIFOChannel::TimeSlice().

39  {
40  // Sort by channel, frame number, and time associated with the first bin.
41  if (lhs.ChannelNumber() < rhs.ChannelNumber() && lhs.Frame() < rhs.Frame() &&
42  lhs.TimeSlice() < rhs.TimeSlice())
43  return true;
44  return false;
45  }
bool optdata::operator< ( const ChannelData lhs,
const ChannelData rhs 
)

Definition at line 45 of file ChannelData.h.

References optdata::ChannelData::ChannelNumber().

46  {
47  // Sort by channel.
48  if (lhs.ChannelNumber() < rhs.ChannelNumber()) return true;
49  return false;
50  }
bool optdata::operator< ( const PMTTrigger lhs,
const PMTTrigger rhs 
)

Definition at line 49 of file PMTTrigger.h.

References optdata::PMTTrigger::Category(), optdata::PMTTrigger::Frame(), and optdata::PMTTrigger::TimeSlice().

50  {
51  // Sort by channel, frame number, and time associated with the first bin.
52  if (lhs.Frame() < rhs.Frame() && lhs.TimeSlice() < rhs.TimeSlice() &&
53  lhs.Category() < rhs.Category())
54  return true;
55  return false;
56  }
bool optdata::operator< ( const FIFOChannel lhs,
const FIFOChannel rhs 
)

Definition at line 55 of file FIFOChannel.h.

References optdata::ChannelData::ChannelNumber(), optdata::FIFOChannel::Frame(), and optdata::FIFOChannel::TimeSlice().

56  {
57  // Sort by channel, frame number, and time associated with the first bin.
58  if (lhs.ChannelNumber() < rhs.ChannelNumber() && lhs.Frame() < rhs.Frame() &&
59  lhs.TimeSlice() < rhs.TimeSlice())
60  return true;
61  return false;
62  }