// ESAF : Euso Simulation and Analysis Framework // $Id: TestLightToEuso.hh,v 1.4 2005/11/07 23:00:58 thea Exp $ // M. Pallavicini created Sep, 16 2002 #ifndef __TEST_LIGHTTOEUSO_HH__ #define __TEST_LIGHTTOEUSO_HH__ #include "euso.hh" #include "LightToEuso.hh" #include "ParentPhoton.hh" #include "Config.hh" class ListPhotonsOnPupil; class PhysicsData; //////////////////////////////////////////////////////////////////////////////// // // // TestLightToEuso // // // //////////////////////////////////////////////////////////////////////////////// class TestLightToEuso : public LightToEuso { public: // ctor TestLightToEuso(); // dtor virtual ~TestLightToEuso(); // returns the list of fPhotons for the pupil virtual PhotonsOnPupil *Get(const DetectorGeometry*); // next functions not meaningful in this case virtual void Configure() { return; } virtual MCTruth* GetTruth() { return fTruth; } virtual PhysicsData* GetPhysics() { return NULL; } virtual void ReplaceInputFile(const char*) { return; } EsafConfigClass(LightToEuso,TestLightToEuso) private: PhotonsOnPupil *MakeSpot(const Double_t& th, const Double_t& ph, Int_t nPhotons, const Double_t& tm); PhotonsOnPupil *MakeCircle(const Double_t& ph1, const Double_t& ph2, const Double_t& th, Int_t nPhotons, const Double_t& tm); PhotonsOnPupil *MakeExtCircle(const Double_t& ph1, const Double_t& ph2, const Double_t& th1, const Double_t th2, Int_t nPhotons, const Double_t& tm); PhotonsOnPupil *MakeRadius(const Double_t& ph, const Double_t& th1, const Double_t& th2, Int_t nPhotons, const Double_t& tm); PhotonsOnPupil *MakeExtRadius(const Double_t& ph, const Double_t& th1, const Double_t& th2, Int_t nPhotons, const Double_t& tm); PhotonsOnPupil *MakeTrack(const Double_t& ph1, const Double_t& ph2, const Double_t& th1, const Double_t& th2, Int_t nPhotons, const Double_t& tm); PhotonsOnPupil *MakeExtSpot(const Double_t& th1, const Double_t& ph1, const Double_t rad, Int_t nPhotons, const Double_t& tm); PhotonsOnPupil *MakeDiffuse(const Double_t& th1, const Double_t& th2, const Double_t rad, Int_t nPhotons, const Double_t& tm); PhotonsOnPupil *MakeCFluxDiffuse(const Double_t& th1, const Double_t& th2, const Double_t rad, Int_t nPhotons, const Double_t& tm); PhotonsOnPupil *MakeShowerTrack(const DetectorGeometry*); void Reset(); ListPhotonsOnPupil* fPhOnPupil; MCTruth* fTruth; ClassDef(TestLightToEuso,0) }; #endif /* __TEST_LIGHTTOEUSO_HH__ */