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

PhotonTransportModule.cxx

Go to the documentation of this file.
00001 #include "PhotonTransportModule.h"
00002 #include "MessageService/MsgService.h"
00003 #include <cassert>
00004 
00005 CVSID( " $Id: PhotonTransportModule.cxx,v 1.10 2006/12/01 20:12:11 rhatcher Exp $" );
00006 
00007 ClassImp(PhotonTransportModule)
00008 
00009 PhotonTransportModule::PhotonTransportModule():
00010   fRandom(gRandom),
00011   fBluePrescaleFactor(1.0),
00012   fWlsPrescaleFactor(1.0),
00013   fGreenPrescaleFactor(1.0)
00014 {
00015 }
00016 
00017 Bool_t PhotonTransportModule::ComputePhotons( const DigiScintHit* ,
00018                                             Double_t ,
00019                                             Double_t ,
00020                                             Double_t ,
00021                                             PhotonCount& )
00022 {
00023   Unimplimented();
00024   return false;
00025 }
00026 
00027 Bool_t PhotonTransportModule::ScintPhotonToFibreHit( const DigiScintHit*, 
00028                                                      const UgliStripHandle&,
00029                                                      DigiPhoton* &)
00030 {
00031   Unimplimented();
00032   return false;
00033 }
00034 
00035 
00036 Bool_t PhotonTransportModule::FibreHitToGreenPhoton( const UgliStripHandle&,
00037                                                      StripEnd::StripEnd_t,
00038                                                      DigiPhoton*,
00039                                                      DigiPhoton* &
00040                                                      )
00041 {
00042   Unimplimented();
00043   return false;
00044 }
00045 
00046 Bool_t PhotonTransportModule::GreenPhotonToPe( const UgliStripHandle& ,
00047                                                DigiPhoton* ,
00048                                                DigiPE* &,
00049                                                StripEnd::StripEnd_t &)
00050 {
00051   Unimplimented();
00052   return false;
00053 }
00054 
00055 void   PhotonTransportModule::MakeNoise( std::vector<DigiPE*>& ,
00056                                          Double_t ,
00057                                          Double_t )
00058 {
00059   Unimplimented();
00060 }
00061 
00062 void PhotonTransportModule::MakeAfterpulses( const std::vector<DigiPE*>&,
00063                                              std::vector<DigiPE*>&)
00064 {
00065   Unimplimented();
00066 }
00067 
00068 
00069 void PhotonTransportModule::Unimplimented()
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 }
00076 
00077 
00078 void PhotonTransportModule::Print(Option_t* ) const
00079 {
00080   MSG("Photon",Msg::kInfo) << "PhotonTransportModule: This is a dummy module.\n";
00081 }

Generated on Mon Feb 15 11:07:22 2010 for loon by  doxygen 1.3.9.1