LArSoft  v07_07_03
Liquid Argon Software toolkit - http://larsoft.org/
recob::OpHit Class Reference

#include "OpHit.h"

Public Member Functions

 OpHit ()
 
 OpHit (int opchannel, double peaktime, double peaktimeabs, unsigned short frame, double width, double area, double peakheight, double pe, double fasttototal)
 
int OpChannel () const
 
double PeakTimeAbs () const
 
double PeakTime () const
 
unsigned short Frame () const
 
double Width () const
 
double Area () const
 
double Amplitude () const
 
double PE () const
 
double FastToTotal () const
 

Private Attributes

int fOpChannel
 
unsigned short fFrame
 
double fPeakTime
 
double fPeakTimeAbs
 
double fWidth
 
double fArea
 
double fAmplitude
 
double fPE
 
double fFastToTotal
 

Friends

bool operator< (const OpHit &a, const OpHit &b)
 

Detailed Description

hits are 2D representations of charge deposited in the tdc/wire plane hits are assumed to be made from deconvoluted, unipolar signals

Definition at line 16 of file OpHit.h.

Constructor & Destructor Documentation

recob::OpHit::OpHit ( )

Definition at line 16 of file OpHit.cxx.

17  : fOpChannel (-1)
18  , fFrame (0 )
19  , fPeakTime (0 )
20  , fPeakTimeAbs (0 )
21  , fWidth (0 )
22  , fArea (0 )
23  , fAmplitude (0.)
24  , fPE (0.)
25  , fFastToTotal (0.)
26  {
27 
28  }
double fAmplitude
Definition: OpHit.h:28
double fFastToTotal
Definition: OpHit.h:30
double fWidth
Definition: OpHit.h:26
unsigned short fFrame
Definition: OpHit.h:23
double fPeakTimeAbs
Definition: OpHit.h:25
int fOpChannel
Definition: OpHit.h:22
double fPeakTime
Definition: OpHit.h:24
double fPE
Definition: OpHit.h:29
double fArea
Definition: OpHit.h:27
recob::OpHit::OpHit ( int  opchannel,
double  peaktime,
double  peaktimeabs,
unsigned short  frame,
double  width,
double  area,
double  peakheight,
double  pe,
double  fasttototal 
)

Definition at line 31 of file OpHit.cxx.

40  : fOpChannel (opchannel )
41  , fFrame (frame )
42  , fPeakTime (peaktime )
43  , fPeakTimeAbs (peaktimeabs )
44  , fWidth (width )
45  , fArea (area )
46  , fAmplitude (amplitude )
47  , fPE (pe )
48  , fFastToTotal (fasttototal )
49  {
50 
51  }
double fAmplitude
Definition: OpHit.h:28
double fFastToTotal
Definition: OpHit.h:30
double fWidth
Definition: OpHit.h:26
unsigned short fFrame
Definition: OpHit.h:23
double fPeakTimeAbs
Definition: OpHit.h:25
int fOpChannel
Definition: OpHit.h:22
double fPeakTime
Definition: OpHit.h:24
double fPE
Definition: OpHit.h:29
double fArea
Definition: OpHit.h:27

Member Function Documentation

double recob::OpHit::Amplitude ( ) const
inline

Definition at line 68 of file OpHit.h.

References fAmplitude.

68 { return fAmplitude; }
double fAmplitude
Definition: OpHit.h:28
double recob::OpHit::FastToTotal ( ) const
inline

Definition at line 70 of file OpHit.h.

References fFastToTotal.

Referenced by opdet::AddHitContribution().

70 { return fFastToTotal; }
double fFastToTotal
Definition: OpHit.h:30
unsigned short recob::OpHit::Frame ( ) const
inline

Definition at line 63 of file OpHit.h.

References fFrame.

63 { return fFrame; }
unsigned short fFrame
Definition: OpHit.h:23
double recob::OpHit::PE ( ) const
inline
double recob::OpHit::PeakTimeAbs ( ) const
inline

Definition at line 65 of file OpHit.h.

References fPeakTimeAbs.

Referenced by opdet::AddHitContribution().

65 { return fPeakTimeAbs; }
double fPeakTimeAbs
Definition: OpHit.h:25

Friends And Related Function Documentation

bool operator< ( const OpHit a,
const OpHit b 
)
friend

Definition at line 54 of file OpHit.cxx.

55  {
56  return a.PE() < b.PE();
57  }

Member Data Documentation

double recob::OpHit::fAmplitude
private

Definition at line 28 of file OpHit.h.

Referenced by Amplitude().

double recob::OpHit::fArea
private

Definition at line 27 of file OpHit.h.

Referenced by Area().

double recob::OpHit::fFastToTotal
private

Definition at line 30 of file OpHit.h.

Referenced by FastToTotal().

unsigned short recob::OpHit::fFrame
private

Definition at line 23 of file OpHit.h.

Referenced by Frame().

int recob::OpHit::fOpChannel
private

Definition at line 22 of file OpHit.h.

Referenced by OpChannel().

double recob::OpHit::fPE
private

Definition at line 29 of file OpHit.h.

Referenced by PE().

double recob::OpHit::fPeakTime
private

Definition at line 24 of file OpHit.h.

Referenced by PeakTime().

double recob::OpHit::fPeakTimeAbs
private

Definition at line 25 of file OpHit.h.

Referenced by PeakTimeAbs().

double recob::OpHit::fWidth
private

Definition at line 26 of file OpHit.h.

Referenced by Width().


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