PhotonTransportModule Class Reference

#include <PhotonTransportModule.h>

Inheritance diagram for PhotonTransportModule:
PhotonCaldetNoise PhotonCalibratedBlueComputer PhotonCalibratedPeComputer PhotonCompositeGreenTracker PhotonDefaultModel PhotonFastBlueModel PhotonFullBlueTracker PhotonFullFibreModel PhotonFullGreenTracker PhotonNdAfterpulseModel

List of all members.

Public Member Functions

 PhotonTransportModule ()
virtual ~PhotonTransportModule ()
void SetRandom (TRandom *r)
void DoReset (const VldContext &cx)
virtual Double_t GetBluePrescaleFactor () const
virtual Double_t GetWlsPrescaleFactor () const
virtual Double_t GetGreenPrescaleFactor () const
virtual void Configure (const Registry &)
virtual Bool_t ComputePhotons (const DigiScintHit *inHit, Double_t inBluePrescale, Double_t inWlsPrescale, Double_t inGreenPrescale, PhotonCount &outCount)
virtual Bool_t ScintPhotonToFibreHit (const DigiScintHit *inHit, const UgliStripHandle &inStrip, DigiPhoton *&outPhoton)
virtual Bool_t FibreHitToGreenPhoton (const UgliStripHandle &inStrip, StripEnd::StripEnd_t inDirection, DigiPhoton *inBluePhoton, DigiPhoton *&outGreenPhoton)
virtual Bool_t GreenPhotonToPe (const UgliStripHandle &inStrip, DigiPhoton *inGreenPhoton, DigiPE *&outPe, StripEnd::StripEnd_t &outEnd)
virtual void MakeNoise (std::vector< DigiPE * > &peList, Double_t t_start, Double_t t_end)
virtual void MakeAfterpulses (const std::vector< DigiPE * > &inPeList, std::vector< DigiPE * > &outPeList)
void Unimplimented ()
virtual void Print (Option_t *option="") const

Protected Member Functions

virtual void Reset (const VldContext &)
virtual void SetBluePrescaleFactor (Double_t in)
virtual void SetWlsPrescaleFactor (Double_t in)
virtual void SetGreenPrescaleFactor (Double_t in)

Protected Attributes

TRandom * fRandom
VldContext fContext

Private Member Functions

 ClassDef (PhotonTransportModule, 1)

Private Attributes

Double_t fBluePrescaleFactor
Double_t fWlsPrescaleFactor
Double_t fGreenPrescaleFactor

Detailed Description

Definition at line 30 of file PhotonTransportModule.h.


Constructor & Destructor Documentation

PhotonTransportModule::PhotonTransportModule (  ) 

Definition at line 9 of file PhotonTransportModule.cxx.

00009                                             :
00010   fRandom(gRandom),
00011   fBluePrescaleFactor(1.0),
00012   fWlsPrescaleFactor(1.0),
00013   fGreenPrescaleFactor(1.0)
00014 {
00015 }

virtual PhotonTransportModule::~PhotonTransportModule (  )  [inline, virtual]

Definition at line 34 of file PhotonTransportModule.h.

00034 {};


Member Function Documentation

PhotonTransportModule::ClassDef ( PhotonTransportModule  ,
 
) [private]
Bool_t PhotonTransportModule::ComputePhotons ( const DigiScintHit inHit,
Double_t  inBluePrescale,
Double_t  inWlsPrescale,
Double_t  inGreenPrescale,
PhotonCount outCount 
) [virtual]

Reimplemented in PhotonCalibratedBlueComputer, PhotonCalibratedPeComputer, and PhotonDefaultModel.

Definition at line 17 of file PhotonTransportModule.cxx.

References Unimplimented().

00022 {
00023   Unimplimented();
00024   return false;
00025 }

virtual void PhotonTransportModule::Configure ( const Registry  )  [inline, virtual]
void PhotonTransportModule::DoReset ( const VldContext cx  )  [inline]

Definition at line 37 of file PhotonTransportModule.h.

References fContext, and Reset().

Referenced by PhotonTransport::SimulateEvent().

00037 { fContext = cx; Reset(cx); };

Bool_t PhotonTransportModule::FibreHitToGreenPhoton ( const UgliStripHandle inStrip,
StripEnd::StripEnd_t  inDirection,
DigiPhoton inBluePhoton,
DigiPhoton *&  outGreenPhoton 
) [virtual]

Reimplemented in PhotonDefaultModel, and PhotonFullFibreModel.

Definition at line 36 of file PhotonTransportModule.cxx.

References Unimplimented().

Referenced by PhotonTransport::SimulateScintHit().

00041 {
00042   Unimplimented();
00043   return false;
00044 }

virtual Double_t PhotonTransportModule::GetBluePrescaleFactor (  )  const [inline, virtual]

Definition at line 39 of file PhotonTransportModule.h.

References fBluePrescaleFactor.

Referenced by PhotonTransport::SimulateScintHit().

00039 { return fBluePrescaleFactor; };

virtual Double_t PhotonTransportModule::GetGreenPrescaleFactor (  )  const [inline, virtual]
virtual Double_t PhotonTransportModule::GetWlsPrescaleFactor (  )  const [inline, virtual]

Definition at line 40 of file PhotonTransportModule.h.

References fWlsPrescaleFactor.

Referenced by PhotonTransport::SimulateScintHit().

00040 { return fWlsPrescaleFactor; };

Bool_t PhotonTransportModule::GreenPhotonToPe ( const UgliStripHandle inStrip,
DigiPhoton inGreenPhoton,
DigiPE *&  outPe,
StripEnd::StripEnd_t outEnd 
) [virtual]

Reimplemented in PhotonCompositeGreenTracker, PhotonDefaultModel, and PhotonFullGreenTracker.

Definition at line 46 of file PhotonTransportModule.cxx.

References Unimplimented().

Referenced by PhotonTransport::SimulateScintHit().

00050 {
00051   Unimplimented();
00052   return false;
00053 }

void PhotonTransportModule::MakeAfterpulses ( const std::vector< DigiPE * > &  inPeList,
std::vector< DigiPE * > &  outPeList 
) [virtual]

Reimplemented in PhotonDefaultModel, and PhotonNdAfterpulseModel.

Definition at line 62 of file PhotonTransportModule.cxx.

References Unimplimented().

Referenced by PhotonTransport::AddAfterpulsing().

00064 {
00065   Unimplimented();
00066 }

void PhotonTransportModule::MakeNoise ( std::vector< DigiPE * > &  peList,
Double_t  t_start,
Double_t  t_end 
) [virtual]

Reimplemented in PhotonCaldetNoise, and PhotonDefaultModel.

Definition at line 55 of file PhotonTransportModule.cxx.

References Unimplimented().

Referenced by PhotonTransport::AddNoise().

00058 {
00059   Unimplimented();
00060 }

void PhotonTransportModule::Print ( Option_t *  option = ""  )  const [virtual]

Reimplemented in PhotonCaldetNoise, PhotonDefaultModel, and PhotonNdAfterpulseModel.

Definition at line 78 of file PhotonTransportModule.cxx.

References Msg::kInfo, and MSG.

Referenced by PhotonTransport::Print().

00079 {
00080   MSG("Photon",Msg::kInfo) << "PhotonTransportModule: This is a dummy module.\n";
00081 }

virtual void PhotonTransportModule::Reset ( const VldContext  )  [inline, protected, virtual]
Bool_t PhotonTransportModule::ScintPhotonToFibreHit ( const DigiScintHit inHit,
const UgliStripHandle inStrip,
DigiPhoton *&  outPhoton 
) [virtual]

Reimplemented in PhotonDefaultModel, PhotonFastBlueModel, and PhotonFullBlueTracker.

Definition at line 27 of file PhotonTransportModule.cxx.

References Unimplimented().

Referenced by PhotonTransport::SimulateScintHit().

00030 {
00031   Unimplimented();
00032   return false;
00033 }

virtual void PhotonTransportModule::SetBluePrescaleFactor ( Double_t  in  )  [inline, protected, virtual]
virtual void PhotonTransportModule::SetGreenPrescaleFactor ( Double_t  in  )  [inline, protected, virtual]
void PhotonTransportModule::SetRandom ( TRandom *  r  )  [inline]

Definition at line 36 of file PhotonTransportModule.h.

References fRandom.

Referenced by PhotonTransport::CreateModelObjects().

00036 { fRandom = r; };

virtual void PhotonTransportModule::SetWlsPrescaleFactor ( Double_t  in  )  [inline, protected, virtual]

Definition at line 124 of file PhotonTransportModule.h.

References fWlsPrescaleFactor.

Referenced by PhotonFullFibreModel::Configure(), and PhotonDefaultModel::Configure().

00124 { fWlsPrescaleFactor = in; };

void PhotonTransportModule::Unimplimented (  ) 

Definition at line 69 of file PhotonTransportModule.cxx.

References Msg::kFatal, and MSG.

Referenced by ComputePhotons(), FibreHitToGreenPhoton(), GreenPhotonToPe(), MakeAfterpulses(), MakeNoise(), and ScintPhotonToFibreHit().

00070 {
00071   MSG("Photon",Msg::kFatal) << "One or more functions in the module "
00072                             << this->Class_Name() << " do not have real implimentations." << endl;
00073 
00074   assert(0);
00075 }


Member Data Documentation

Definition at line 131 of file PhotonTransportModule.h.

Referenced by GetBluePrescaleFactor(), and SetBluePrescaleFactor().

Definition at line 133 of file PhotonTransportModule.h.

Referenced by GetGreenPrescaleFactor(), and SetGreenPrescaleFactor().

TRandom* PhotonTransportModule::fRandom [protected]

Definition at line 132 of file PhotonTransportModule.h.

Referenced by GetWlsPrescaleFactor(), and SetWlsPrescaleFactor().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1