Public Member Functions | Private Attributes | Friends | List of all members
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 15 of file OpHit.cxx.

16  : fOpChannel (-1)
17  , fFrame (0 )
18  , fPeakTime (0 )
19  , fPeakTimeAbs (0 )
20  , fWidth (0 )
21  , fArea (0 )
22  , fAmplitude (0.)
23  , fPE (0.)
24  , fFastToTotal (0.)
25  {
26 
27  }
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 30 of file OpHit.cxx.

39  : fOpChannel (opchannel )
40  , fFrame (frame )
41  , fPeakTime (peaktime )
42  , fPeakTimeAbs (peaktimeabs )
43  , fWidth (width )
44  , fArea (area )
45  , fAmplitude (amplitude )
46  , fPE (pe )
47  , fFastToTotal (fasttototal )
48  {
49 
50  }
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.

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

Definition at line 67 of file OpHit.h.

67 { return fArea; }
double fArea
Definition: OpHit.h:27
double recob::OpHit::FastToTotal ( ) const
inline

Definition at line 70 of file OpHit.h.

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

Definition at line 63 of file OpHit.h.

63 { return fFrame; }
unsigned short fFrame
Definition: OpHit.h:23
int recob::OpHit::OpChannel ( ) const
inline

Definition at line 62 of file OpHit.h.

62 { return fOpChannel; }
int fOpChannel
Definition: OpHit.h:22
double recob::OpHit::PE ( ) const
inline

Definition at line 69 of file OpHit.h.

69 { return fPE; }
double fPE
Definition: OpHit.h:29
double recob::OpHit::PeakTime ( ) const
inline

Definition at line 64 of file OpHit.h.

64 { return fPeakTime; }
double fPeakTime
Definition: OpHit.h:24
double recob::OpHit::PeakTimeAbs ( ) const
inline

Definition at line 65 of file OpHit.h.

65 { return fPeakTimeAbs; }
double fPeakTimeAbs
Definition: OpHit.h:25
double recob::OpHit::Width ( ) const
inline

Definition at line 66 of file OpHit.h.

66 { return fWidth; }
double fWidth
Definition: OpHit.h:26

Friends And Related Function Documentation

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

Definition at line 53 of file OpHit.cxx.

54  {
55  return a.PE() < b.PE();
56  }
const double a
static bool * b
Definition: config.cpp:1043

Member Data Documentation

double recob::OpHit::fAmplitude
private

Definition at line 28 of file OpHit.h.

double recob::OpHit::fArea
private

Definition at line 27 of file OpHit.h.

double recob::OpHit::fFastToTotal
private

Definition at line 30 of file OpHit.h.

unsigned short recob::OpHit::fFrame
private

Definition at line 23 of file OpHit.h.

int recob::OpHit::fOpChannel
private

Definition at line 22 of file OpHit.h.

double recob::OpHit::fPE
private

Definition at line 29 of file OpHit.h.

double recob::OpHit::fPeakTime
private

Definition at line 24 of file OpHit.h.

double recob::OpHit::fPeakTimeAbs
private

Definition at line 25 of file OpHit.h.

double recob::OpHit::fWidth
private

Definition at line 26 of file OpHit.h.


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