Public Member Functions | Private Attributes | List of all members
brb::BeamlineDigit Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/BeamlineRecoBase/BeamlineDigit.h"

Public Member Functions

 BeamlineDigit ()
 
 BeamlineDigit (beamlinegeo::ChannelID channel_number, double start_time_ns, double peak_time_ns, double end_time_ns, int peak_adc, int amplitude_adc, double area_adcns, double width_ns)
 
beamlinegeo::ChannelID ChannelID () const
 
double StartTimeInNanoSec () const
 
double PeakTimeInNanoSec () const
 
double EndTimeInNanoSec () const
 
int PeakADC () const
 
int AmplitudeInADC () const
 
double AreaInADCNanoSec () const
 
double WidthInNanoSec () const
 
void SetChannelID (beamlinegeo::ChannelID channel)
 
void SetStartTimeInNanoSec (double time_ns)
 
void SetPeakTimeInNanoSec (double time_ns)
 
void SetEndTimeInNanoSec (double time_ns)
 
void SetPeakADC (int adc)
 
void SetAmplitudeInADC (int adc)
 
void SetAreaInADCNanoSec (double area_adcns)
 
void SetWidthInNanoSec (double width_ns)
 

Private Attributes

beamlinegeo::ChannelID fChannelID
 
double fStartTimeInNanoSec
 
double fPeakTimeInNanoSec
 
double fEndTimeInNanoSec
 
int fPeakADC
 
int fAmplitudeInADC
 
double fAreaInADCNanoSec
 
double fWidthInNanoSec
 

Detailed Description

Definition at line 24 of file BeamlineDigit.h.

Constructor & Destructor Documentation

brb::BeamlineDigit::BeamlineDigit ( )

Definition at line 13 of file BeamlineDigit.cxx.

13  {
14 }
brb::BeamlineDigit::BeamlineDigit ( beamlinegeo::ChannelID  channel_number,
double  start_time_ns,
double  peak_time_ns,
double  end_time_ns,
int  peak_adc,
int  amplitude_adc,
double  area_adcns,
double  width_ns 
)

Definition at line 17 of file BeamlineDigit.cxx.

24  :
25  fChannelID(channel),
26  fStartTimeInNanoSec(start_time_ns),
27  fPeakTimeInNanoSec(peak_time_ns),
28  fEndTimeInNanoSec(end_time_ns),
29  fPeakADC(peak_adc),
30  fAmplitudeInADC(amplitude_adc),
31  fAreaInADCNanoSec(area_adcns),
32  fWidthInNanoSec(width_ns) {
33 }
beamlinegeo::ChannelID fChannelID
Definition: BeamlineDigit.h:61
double fStartTimeInNanoSec
Definition: BeamlineDigit.h:62

Member Function Documentation

int brb::BeamlineDigit::AmplitudeInADC ( ) const

Definition at line 56 of file BeamlineDigit.cxx.

References fAmplitudeInADC.

Referenced by beamlinereco::ToFSingleCounterAnalysis::calculateTime().

56  {
57  return fAmplitudeInADC;
58 }
double brb::BeamlineDigit::AreaInADCNanoSec ( ) const

Definition at line 61 of file BeamlineDigit.cxx.

References fAreaInADCNanoSec.

61  {
62  return fAreaInADCNanoSec;
63 }
beamlinegeo::ChannelID brb::BeamlineDigit::ChannelID ( ) const

Definition at line 71 of file BeamlineDigit.cxx.

References fChannelID.

71  {
72  return fChannelID;
73 }
beamlinegeo::ChannelID fChannelID
Definition: BeamlineDigit.h:61
double brb::BeamlineDigit::EndTimeInNanoSec ( ) const

Definition at line 46 of file BeamlineDigit.cxx.

References fEndTimeInNanoSec.

46  {
47  return fEndTimeInNanoSec;
48 }
int brb::BeamlineDigit::PeakADC ( ) const

Definition at line 51 of file BeamlineDigit.cxx.

References fPeakADC.

51  {
52  return fPeakADC;
53 }
double brb::BeamlineDigit::PeakTimeInNanoSec ( ) const

Definition at line 41 of file BeamlineDigit.cxx.

References fPeakTimeInNanoSec.

41  {
42  return fPeakTimeInNanoSec;
43 }
void brb::BeamlineDigit::SetAmplitudeInADC ( int  adc)

Definition at line 96 of file BeamlineDigit.cxx.

References fAmplitudeInADC.

Referenced by beamlinereco::ToFCalibration::produce(), and beamlinereco::CFDHitReco::produce().

96  {
97  fAmplitudeInADC = adc;
98 }
void brb::BeamlineDigit::SetAreaInADCNanoSec ( double  area_adcns)

Definition at line 101 of file BeamlineDigit.cxx.

References fAreaInADCNanoSec.

Referenced by beamlinereco::ToFCalibration::produce(), and beamlinereco::CFDHitReco::produce().

101  {
102  fAreaInADCNanoSec = adcns;
103 }
void brb::BeamlineDigit::SetChannelID ( beamlinegeo::ChannelID  channel)

Definition at line 111 of file BeamlineDigit.cxx.

References fChannelID.

Referenced by beamlinereco::ToFCalibration::produce(), beamlinereco::LEHitReco::produce(), and beamlinereco::CFDHitReco::produce().

111  {
112  fChannelID = channel;
113 }
beamlinegeo::ChannelID fChannelID
Definition: BeamlineDigit.h:61
void brb::BeamlineDigit::SetEndTimeInNanoSec ( double  time_ns)
void brb::BeamlineDigit::SetPeakADC ( int  adc)
void brb::BeamlineDigit::SetPeakTimeInNanoSec ( double  time_ns)
void brb::BeamlineDigit::SetStartTimeInNanoSec ( double  time_ns)
void brb::BeamlineDigit::SetWidthInNanoSec ( double  width_ns)

Definition at line 106 of file BeamlineDigit.cxx.

References fWidthInNanoSec.

Referenced by beamlinereco::ToFCalibration::produce(), and beamlinereco::CFDHitReco::produce().

106  {
107  fWidthInNanoSec = width_ns;
108 }
double brb::BeamlineDigit::StartTimeInNanoSec ( ) const
double brb::BeamlineDigit::WidthInNanoSec ( ) const

Definition at line 66 of file BeamlineDigit.cxx.

References fWidthInNanoSec.

66  {
67  return fWidthInNanoSec;
68 }

Member Data Documentation

int brb::BeamlineDigit::fAmplitudeInADC
private

Definition at line 66 of file BeamlineDigit.h.

Referenced by AmplitudeInADC(), and SetAmplitudeInADC().

double brb::BeamlineDigit::fAreaInADCNanoSec
private

Definition at line 67 of file BeamlineDigit.h.

Referenced by AreaInADCNanoSec(), and SetAreaInADCNanoSec().

beamlinegeo::ChannelID brb::BeamlineDigit::fChannelID
private

Definition at line 61 of file BeamlineDigit.h.

Referenced by ChannelID(), and SetChannelID().

double brb::BeamlineDigit::fEndTimeInNanoSec
private

Definition at line 64 of file BeamlineDigit.h.

Referenced by EndTimeInNanoSec(), and SetEndTimeInNanoSec().

int brb::BeamlineDigit::fPeakADC
private

Definition at line 65 of file BeamlineDigit.h.

Referenced by PeakADC(), and SetPeakADC().

double brb::BeamlineDigit::fPeakTimeInNanoSec
private

Definition at line 63 of file BeamlineDigit.h.

Referenced by PeakTimeInNanoSec(), and SetPeakTimeInNanoSec().

double brb::BeamlineDigit::fStartTimeInNanoSec
private

Definition at line 62 of file BeamlineDigit.h.

Referenced by SetStartTimeInNanoSec(), and StartTimeInNanoSec().

double brb::BeamlineDigit::fWidthInNanoSec
private

Definition at line 68 of file BeamlineDigit.h.

Referenced by SetWidthInNanoSec(), and WidthInNanoSec().


The documentation for this class was generated from the following files: