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

PhotonTransporter.cxx

Go to the documentation of this file.
00001 
00002 // $Id: PhotonTransporter.cxx,v 1.1 2007/08/20 19:34:13 jpaley Exp $
00003 //
00004 // Interface class for all photon transporters.  Converted from Caius'
00005 // socal code.
00006 //
00007 // jpaley@indiana.edu
00009 #include "PhotonTransport/PhotonTransporter.h"
00010 #include <iostream>
00011 
00012 using namespace photrans;
00013 
00014 PhotonTransporter::PhotonTransporter() : pRandom(NULL)
00015 {
00016   pRandom = new TRandom3();
00017 }
00018 
00019 //......................................................................
00020 
00021 PhotonTransporter::~PhotonTransporter()
00022 {
00023 
00024 }
00025 
00026 //......................................................................
00027 
00028 bool PhotonTransporter::SeedOnEvent(const edm::EventHandle& evt) {
00029   pRandom->SetSeed(evt.Header().Event());
00030   return true;
00031 }
00032 

Generated on Mon Dec 1 02:35:18 2008 for NOvA Offline by  doxygen 1.3.9.1