All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Enumerations | Functions
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 41 of file OpticalRawDigit.h.

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

Definition at line 49 of file ChannelData.h.

50  {
51  // Sort by channel.
52  if ( lhs.ChannelNumber() < rhs.ChannelNumber() )
53  return true;
54  return false;
55  }
bool optdata::operator< ( const PMTTrigger &  lhs,
const PMTTrigger &  rhs 
)

Definition at line 58 of file lardataobj/lardataobj/OpticalDetectorData/PMTTrigger.h.

59  {
60  // Sort by channel, frame number, and time associated with the first bin.
61  if (
62  lhs.Frame() < rhs.Frame() &&
63  lhs.TimeSlice() < rhs.TimeSlice() &&
64  lhs.Category() < rhs.Category() )
65  return true;
66  return false;
67  }
bool optdata::operator< ( const FIFOChannel &  lhs,
const FIFOChannel &  rhs 
)

Definition at line 63 of file FIFOChannel.h.

64  {
65  // Sort by channel, frame number, and time associated with the first bin.
66  if ( lhs.ChannelNumber() < rhs.ChannelNumber() &&
67  lhs.Frame() < rhs.Frame() &&
68  lhs.TimeSlice() < rhs.TimeSlice() )
69  return true;
70  return false;
71  }