Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PhotonCount Class Reference

#include <PhotonCount.h>

List of all members.

Public Member Functions

 PhotonCount ()
 ~PhotonCount ()
void Reset ()
void SetBlueTotal (Int_t tot)
void SetBlueNegPos (Int_t neg, Int_t pos)
void SetGreenTotal (Int_t tot)
void SetGreenNegPos (Int_t neg, Int_t pos)
void SetPeTotal (Int_t tot)
void SetPeNegPos (Int_t neg, Int_t pos)
Int_t GetBlue_Total () const
Int_t GetBlue_Pos () const
Int_t GetBlue_Neg () const
Int_t GetGreen_Total () const
Int_t GetGreen_Pos () const
Int_t GetGreen_Neg () const
Int_t GetPe_Total () const
Int_t GetPe_Pos () const
Int_t GetPe_Neg () const
Bool_t IsDirectional () const

Private Attributes

Int_t fBlue_Total
Int_t fBlue_Pos
Int_t fBlue_Neg
Int_t fGreen_Total
Int_t fGreen_Pos
Int_t fGreen_Neg
Int_t fPe_Total
Int_t fPe_Pos
Int_t fPe_Neg
Bool_t fDirectional


Constructor & Destructor Documentation

PhotonCount::PhotonCount  )  [inline]
 

Definition at line 15 of file PhotonCount.h.

References Reset().

00015 { Reset(); };

PhotonCount::~PhotonCount  )  [inline]
 

Definition at line 16 of file PhotonCount.h.

00016 {};


Member Function Documentation

Int_t PhotonCount::GetBlue_Neg  )  const [inline]
 

Definition at line 29 of file PhotonCount.h.

Referenced by PhotonCalibratedBlueComputer::ComputePhotons(), and PhotonTransport::SimulateScintHit().

00029 { return fBlue_Neg; };

Int_t PhotonCount::GetBlue_Pos  )  const [inline]
 

Definition at line 28 of file PhotonCount.h.

Referenced by PhotonCalibratedBlueComputer::ComputePhotons(), and PhotonTransport::SimulateScintHit().

00028 { return fBlue_Pos; };

Int_t PhotonCount::GetBlue_Total  )  const [inline]
 

Definition at line 27 of file PhotonCount.h.

Referenced by PhotonTransport::SimulateScintHit().

00027 { return fBlue_Total; };

Int_t PhotonCount::GetGreen_Neg  )  const [inline]
 

Definition at line 32 of file PhotonCount.h.

Referenced by PhotonTransport::SimulateScintHit().

00032 { return fGreen_Neg; };

Int_t PhotonCount::GetGreen_Pos  )  const [inline]
 

Definition at line 31 of file PhotonCount.h.

Referenced by PhotonTransport::SimulateScintHit().

00031 { return fGreen_Pos; };

Int_t PhotonCount::GetGreen_Total  )  const [inline]
 

Definition at line 30 of file PhotonCount.h.

Referenced by PhotonTransport::SimulateScintHit().

00030 { return fGreen_Total; };

Int_t PhotonCount::GetPe_Neg  )  const [inline]
 

Definition at line 35 of file PhotonCount.h.

Referenced by PhotonCalibratedPeComputer::ComputePhotons(), and PhotonTransport::SimulateScintHit().

00035 { return fPe_Neg; };

Int_t PhotonCount::GetPe_Pos  )  const [inline]
 

Definition at line 34 of file PhotonCount.h.

Referenced by PhotonCalibratedPeComputer::ComputePhotons(), and PhotonTransport::SimulateScintHit().

00034 { return fPe_Pos; };

Int_t PhotonCount::GetPe_Total  )  const [inline]
 

Definition at line 33 of file PhotonCount.h.

Referenced by PhotonTransport::SimulateScintHit().

00033 { return fPe_Total; };

Bool_t PhotonCount::IsDirectional  )  const [inline]
 

Definition at line 37 of file PhotonCount.h.

Referenced by PhotonTransport::SimulateScintHit().

00037 { return fDirectional; };

void PhotonCount::Reset  )  [inline]
 

Definition at line 71 of file PhotonCount.h.

References fBlue_Neg, fBlue_Pos, fBlue_Total, fDirectional, fGreen_Neg, fGreen_Pos, fGreen_Total, fPe_Neg, fPe_Pos, and fPe_Total.

Referenced by PhotonCount(), SetBlueNegPos(), SetBlueTotal(), SetGreenNegPos(), SetGreenTotal(), SetPeNegPos(), and SetPeTotal().

00071                                {
00072   fDirectional = false;
00073   fBlue_Total = -1;
00074   fBlue_Pos = -1;
00075   fBlue_Neg = -1;
00076   fGreen_Total = -1;
00077   fGreen_Pos = -1;
00078   fGreen_Neg = -1;
00079   fPe_Total = -1;
00080   fPe_Pos = -1;
00081   fPe_Neg = -1;
00082 }

void PhotonCount::SetBlueNegPos Int_t  neg,
Int_t  pos
[inline]
 

Definition at line 87 of file PhotonCount.h.

References fBlue_Neg, fBlue_Pos, fDirectional, and Reset().

Referenced by PhotonCalibratedBlueComputer::ComputePhotons().

00088 { Reset(); fBlue_Neg = neg; fBlue_Pos = pos; fDirectional=true; }

void PhotonCount::SetBlueTotal Int_t  tot  )  [inline]
 

Definition at line 84 of file PhotonCount.h.

References fBlue_Total, fDirectional, and Reset().

Referenced by PhotonDefaultModel::ComputePhotons(), and PhotonTransport::SimulateScintHit().

00085 { Reset(); fBlue_Total = tot; fDirectional=false; }

void PhotonCount::SetGreenNegPos Int_t  neg,
Int_t  pos
[inline]
 

Definition at line 93 of file PhotonCount.h.

References fDirectional, fGreen_Neg, fGreen_Pos, and Reset().

00094 { Reset(); fGreen_Neg = neg; fGreen_Pos = pos;  fDirectional=true; }

void PhotonCount::SetGreenTotal Int_t  tot  )  [inline]
 

Definition at line 90 of file PhotonCount.h.

References fDirectional, fGreen_Total, and Reset().

00091 { Reset(); fGreen_Total = tot; fDirectional=false; }

void PhotonCount::SetPeNegPos Int_t  neg,
Int_t  pos
[inline]
 

Definition at line 99 of file PhotonCount.h.

References fDirectional, fPe_Neg, fPe_Pos, and Reset().

Referenced by PhotonCalibratedPeComputer::ComputePhotons(), and PhotonCalibratedBlueComputer::ComputePhotons().

00100 { Reset(); fPe_Neg = neg; fPe_Pos = pos; fDirectional=true; }

void PhotonCount::SetPeTotal Int_t  tot  )  [inline]
 

Definition at line 96 of file PhotonCount.h.

References fDirectional, fPe_Total, and Reset().

00097 { Reset(); fPe_Total = tot; fDirectional=false; }


Member Data Documentation

Int_t PhotonCount::fBlue_Neg [private]
 

Definition at line 49 of file PhotonCount.h.

Referenced by Reset(), and SetBlueNegPos().

Int_t PhotonCount::fBlue_Pos [private]
 

Definition at line 48 of file PhotonCount.h.

Referenced by Reset(), and SetBlueNegPos().

Int_t PhotonCount::fBlue_Total [private]
 

Definition at line 43 of file PhotonCount.h.

Referenced by Reset(), and SetBlueTotal().

Bool_t PhotonCount::fDirectional [private]
 

Definition at line 65 of file PhotonCount.h.

Referenced by Reset(), SetBlueNegPos(), SetBlueTotal(), SetGreenNegPos(), SetGreenTotal(), SetPeNegPos(), and SetPeTotal().

Int_t PhotonCount::fGreen_Neg [private]
 

Definition at line 56 of file PhotonCount.h.

Referenced by Reset(), and SetGreenNegPos().

Int_t PhotonCount::fGreen_Pos [private]
 

Definition at line 55 of file PhotonCount.h.

Referenced by Reset(), and SetGreenNegPos().

Int_t PhotonCount::fGreen_Total [private]
 

Definition at line 52 of file PhotonCount.h.

Referenced by Reset(), and SetGreenTotal().

Int_t PhotonCount::fPe_Neg [private]
 

Definition at line 63 of file PhotonCount.h.

Referenced by Reset(), and SetPeNegPos().

Int_t PhotonCount::fPe_Pos [private]
 

Definition at line 62 of file PhotonCount.h.

Referenced by Reset(), and SetPeNegPos().

Int_t PhotonCount::fPe_Total [private]
 

Definition at line 59 of file PhotonCount.h.

Referenced by Reset(), and SetPeTotal().


The documentation for this class was generated from the following file:
Generated on Mon Feb 15 11:10:01 2010 for loon by  doxygen 1.3.9.1