Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MJVWaveform Class Reference

#include <MJVWaveform.hh>

Inheritance diagram for MJVWaveform:

MJVWaveformSegment MJWaveformCoaxialSegment MJWaveformPlanarSegment List of all members.

Public Member Functions

 MJVWaveform ()
 MJVWaveform (const MJVWaveform &)
 ~MJVWaveform ()
void AddChargePoint (HepDouble charge)
void AddCurrentPoint (HepDouble current)
void AddDigitizedPoint (HepInt signal)
void AllocateCurrentSignal ()
void AllocateChargeSignal ()
void AllocateDigitizedSignal ()
void AllocateCurrentSignal (HepInt numberofpoints)
void AllocateChargeSignal (HepInt numberofpoints)
void AllocateDigitizedSignal (HepInt numberofpoints)
HepDouble * GetChargeSignal ()
HepInt GetChargeStep ()
HepDouble * GetCurrentSignal ()
HepInt GetCurrentStep ()
HepInt * GetDigitizedSignal ()
HepInt GetDigitizedStep ()
HepInt GetNumberOfChargePoints ()
HepInt GetNumberOfCurrentPoints ()
HepInt GetNumberOfDigitizedPoints ()
void IntegrateChargePoint (HepDouble charge)
void ResetCounters (void)
void SetAllZero ()
void SetNumberOfChargePoints (HepInt num)
void SetNumberOfCurrentPoints (HepInt num)
void SetNumberOfDigitizedPoints (HepInt num)

Protected Attributes

HepInt * fDigitizedSignal

Private Attributes

HepInt fNumberOfChargePoints
HepInt fNumberOfCurrentPoints
HepInt fNumberOfDigitizedPoints
HepDouble * fChargeSignal
HepDouble * fCurrentSignal
HepBoolean fChargeAllocated
HepBoolean fCurrentAllocated
HepBoolean fDigitizedAllocated
HepBoolean fChargeArrayFull
HepBoolean fCurrentArrayFull
HepBoolean fDigitizedArrayFull
HepDouble fChargeTimeStep
HepDouble fCurrentTimeStep
HepDouble fDigitizedTimeStep
HepInt fChargeStep
HepInt fCurrentStep
HepInt fDigitizedStep
HepDouble fChargeTime
HepDouble fCurrentTime
HepDouble fDigitizedTime

Detailed Description

AUTHOR: R.Henning CONTACT: FIRST SUBMISSION: Fri Apr 30 16:28:41 PDT 2004

REVISION:

05-03-2004, R. Henning, Initiated.

Definition at line 67 of file MJVWaveform.hh.


Constructor & Destructor Documentation

MJVWaveform::MJVWaveform  ) 
 

AUTHOR: R.Henning CONTACT: FIRST SUBMISSION: Fri Apr 30 16:28:41 PDT 2004

REVISION:

04-30-2004, Initiated, R. Henning

Definition at line 56 of file MJVWaveform.cc.

MJVWaveform::MJVWaveform const MJVWaveform  ) 
 

Definition at line 63 of file MJVWaveform.cc.

MJVWaveform::~MJVWaveform  ) 
 

Definition at line 68 of file MJVWaveform.cc.


Member Function Documentation

void MJVWaveform::AddChargePoint HepDouble  charge  ) 
 

Definition at line 77 of file MJVWaveform.cc.

References fChargeAllocated, fChargeArrayFull, fChargeSignal, fChargeStep, fChargeTime, fNumberOfChargePoints, and MJLog.

void MJVWaveform::AddCurrentPoint HepDouble  current  ) 
 

Definition at line 96 of file MJVWaveform.cc.

References fCurrentAllocated, fCurrentArrayFull, fCurrentSignal, fCurrentStep, fCurrentTime, fNumberOfCurrentPoints, and MJLog.

Referenced by MJVWaveformSegment::AddWaveformPoint().

void MJVWaveform::AddDigitizedPoint HepInt  signal  ) 
 

Definition at line 115 of file MJVWaveform.cc.

References fDigitizedAllocated, fDigitizedArrayFull, fDigitizedSignal, fDigitizedStep, fDigitizedTime, fNumberOfDigitizedPoints, and MJLog.

void MJVWaveform::AllocateChargeSignal HepInt  numberofpoints  ) 
 

Definition at line 205 of file MJVWaveform.cc.

References AllocateChargeSignal(), and fNumberOfChargePoints.

void MJVWaveform::AllocateChargeSignal  ) 
 

Definition at line 135 of file MJVWaveform.cc.

References fChargeAllocated, fChargeArrayFull, fChargeSignal, fChargeStep, fChargeTime, fNumberOfChargePoints, and MJLog.

Referenced by AllocateChargeSignal(), MJWaveformPlanarSegment::Construct(), and MJWaveformCoaxialSegment::Construct().

void MJVWaveform::AllocateCurrentSignal HepInt  numberofpoints  ) 
 

Definition at line 213 of file MJVWaveform.cc.

References AllocateCurrentSignal(), and fNumberOfCurrentPoints.

void MJVWaveform::AllocateCurrentSignal  ) 
 

Definition at line 158 of file MJVWaveform.cc.

References fCurrentAllocated, fCurrentArrayFull, fCurrentSignal, fCurrentStep, fCurrentTime, fNumberOfCurrentPoints, and MJLog.

Referenced by AllocateCurrentSignal(), MJWaveformPlanarSegment::Construct(), and MJWaveformCoaxialSegment::Construct().

void MJVWaveform::AllocateDigitizedSignal HepInt  numberofpoints  ) 
 

Definition at line 221 of file MJVWaveform.cc.

References AllocateDigitizedSignal(), and fNumberOfDigitizedPoints.

void MJVWaveform::AllocateDigitizedSignal  ) 
 

Definition at line 182 of file MJVWaveform.cc.

References fDigitizedAllocated, fDigitizedArrayFull, fDigitizedSignal, fDigitizedStep, fDigitizedTime, fNumberOfDigitizedPoints, and MJLog.

Referenced by AllocateDigitizedSignal().

HepDouble* MJVWaveform::GetChargeSignal  )  [inline]
 

Definition at line 93 of file MJVWaveform.hh.

Referenced by MJWaveformPlanarDetector::EndOfEventAction(), and MJWaveformCoaxialDetector::EndOfEventAction().

HepInt MJVWaveform::GetChargeStep  )  [inline]
 

Definition at line 94 of file MJVWaveform.hh.

Referenced by MJWaveformPlanarDetector::EndOfEventAction(), and MJWaveformCoaxialDetector::EndOfEventAction().

HepDouble* MJVWaveform::GetCurrentSignal  )  [inline]
 

Definition at line 95 of file MJVWaveform.hh.

Referenced by MJWaveformPlanarDetector::EndOfEventAction(), and MJWaveformCoaxialDetector::EndOfEventAction().

HepInt MJVWaveform::GetCurrentStep  )  [inline]
 

Definition at line 96 of file MJVWaveform.hh.

HepInt* MJVWaveform::GetDigitizedSignal  )  [inline]
 

Definition at line 97 of file MJVWaveform.hh.

HepInt MJVWaveform::GetDigitizedStep  )  [inline]
 

Definition at line 98 of file MJVWaveform.hh.

HepInt MJVWaveform::GetNumberOfChargePoints  )  [inline]
 

Definition at line 100 of file MJVWaveform.hh.

HepInt MJVWaveform::GetNumberOfCurrentPoints  )  [inline]
 

Definition at line 101 of file MJVWaveform.hh.

HepInt MJVWaveform::GetNumberOfDigitizedPoints  )  [inline]
 

Definition at line 102 of file MJVWaveform.hh.

void MJVWaveform::IntegrateChargePoint HepDouble  charge  ) 
 

Definition at line 229 of file MJVWaveform.cc.

References fChargeAllocated, fChargeArrayFull, fChargeSignal, fChargeStep, fChargeTime, fNumberOfChargePoints, and MJLog.

Referenced by MJVWaveformSegment::AddWaveformPoint().

void MJVWaveform::ResetCounters void   )  [inline]
 

Definition at line 106 of file MJVWaveform.hh.

Referenced by MJWaveformPlanarDetector::BeginOfEventAction().

void MJVWaveform::SetAllZero  ) 
 

Definition at line 249 of file MJVWaveform.cc.

References fChargeSignal, fChargeStep, fChargeTime, fCurrentSignal, fCurrentStep, fCurrentTime, fDigitizedSignal, fDigitizedStep, and fDigitizedTime.

Referenced by MJVWaveformCrystal::ResetAllSegmentWaveforms().

void MJVWaveform::SetNumberOfChargePoints HepInt  num  )  [inline]
 

Definition at line 111 of file MJVWaveform.hh.

void MJVWaveform::SetNumberOfCurrentPoints HepInt  num  )  [inline]
 

Definition at line 112 of file MJVWaveform.hh.

void MJVWaveform::SetNumberOfDigitizedPoints HepInt  num  )  [inline]
 

Definition at line 113 of file MJVWaveform.hh.


Member Data Documentation

HepBoolean MJVWaveform::fChargeAllocated [private]
 

Definition at line 134 of file MJVWaveform.hh.

Referenced by AddChargePoint(), AllocateChargeSignal(), and IntegrateChargePoint().

HepBoolean MJVWaveform::fChargeArrayFull [private]
 

Definition at line 138 of file MJVWaveform.hh.

Referenced by AddChargePoint(), AllocateChargeSignal(), and IntegrateChargePoint().

HepDouble* MJVWaveform::fChargeSignal [private]
 

Definition at line 131 of file MJVWaveform.hh.

Referenced by AddChargePoint(), AllocateChargeSignal(), IntegrateChargePoint(), and SetAllZero().

HepInt MJVWaveform::fChargeStep [private]
 

Definition at line 146 of file MJVWaveform.hh.

Referenced by AddChargePoint(), AllocateChargeSignal(), IntegrateChargePoint(), and SetAllZero().

HepDouble MJVWaveform::fChargeTime [private]
 

Definition at line 150 of file MJVWaveform.hh.

Referenced by AddChargePoint(), AllocateChargeSignal(), IntegrateChargePoint(), and SetAllZero().

HepDouble MJVWaveform::fChargeTimeStep [private]
 

Definition at line 142 of file MJVWaveform.hh.

HepBoolean MJVWaveform::fCurrentAllocated [private]
 

Definition at line 135 of file MJVWaveform.hh.

Referenced by AddCurrentPoint(), and AllocateCurrentSignal().

HepBoolean MJVWaveform::fCurrentArrayFull [private]
 

Definition at line 139 of file MJVWaveform.hh.

Referenced by AddCurrentPoint(), and AllocateCurrentSignal().

HepDouble* MJVWaveform::fCurrentSignal [private]
 

Definition at line 132 of file MJVWaveform.hh.

Referenced by AddCurrentPoint(), AllocateCurrentSignal(), and SetAllZero().

HepInt MJVWaveform::fCurrentStep [private]
 

Definition at line 147 of file MJVWaveform.hh.

Referenced by AddCurrentPoint(), AllocateCurrentSignal(), and SetAllZero().

HepDouble MJVWaveform::fCurrentTime [private]
 

Definition at line 151 of file MJVWaveform.hh.

Referenced by AddCurrentPoint(), AllocateCurrentSignal(), and SetAllZero().

HepDouble MJVWaveform::fCurrentTimeStep [private]
 

Definition at line 143 of file MJVWaveform.hh.

HepBoolean MJVWaveform::fDigitizedAllocated [private]
 

Definition at line 136 of file MJVWaveform.hh.

Referenced by AddDigitizedPoint(), and AllocateDigitizedSignal().

HepBoolean MJVWaveform::fDigitizedArrayFull [private]
 

Definition at line 140 of file MJVWaveform.hh.

Referenced by AddDigitizedPoint(), and AllocateDigitizedSignal().

HepInt* MJVWaveform::fDigitizedSignal [protected]
 

The digitized signal needs to be generated in the derived class, since it is detector-specific. Hence, it is defined as protected.

Definition at line 122 of file MJVWaveform.hh.

Referenced by AddDigitizedPoint(), AllocateDigitizedSignal(), and SetAllZero().

HepInt MJVWaveform::fDigitizedStep [private]
 

Definition at line 148 of file MJVWaveform.hh.

Referenced by AddDigitizedPoint(), AllocateDigitizedSignal(), and SetAllZero().

HepDouble MJVWaveform::fDigitizedTime [private]
 

Definition at line 152 of file MJVWaveform.hh.

Referenced by AddDigitizedPoint(), AllocateDigitizedSignal(), and SetAllZero().

HepDouble MJVWaveform::fDigitizedTimeStep [private]
 

Definition at line 144 of file MJVWaveform.hh.

HepInt MJVWaveform::fNumberOfChargePoints [private]
 

Definition at line 127 of file MJVWaveform.hh.

Referenced by AddChargePoint(), AllocateChargeSignal(), and IntegrateChargePoint().

HepInt MJVWaveform::fNumberOfCurrentPoints [private]
 

Definition at line 128 of file MJVWaveform.hh.

Referenced by AddCurrentPoint(), and AllocateCurrentSignal().

HepInt MJVWaveform::fNumberOfDigitizedPoints [private]
 

Definition at line 129 of file MJVWaveform.hh.

Referenced by AddDigitizedPoint(), and AllocateDigitizedSignal().


The documentation for this class was generated from the following files:
Generated on Mon Nov 29 16:58:58 2004 for Majorana Simulation by  doxygen 1.3.9.1