1 #ifndef _TelescopeSimulatorKG2_Camera_h_
2 #define _TelescopeSimulatorKG2_Camera_h_
8 #include <utl/CoordinateSystemPtr.h>
24 namespace TelescopeSimulatorKG2 {
40 const bool plotPhotonTracksAtMercedes,
41 const bool simulateMercedesStars,
42 const bool simulateHaloEffects,
43 const bool simulateGhostEffects,
48 const bool doSupport =
true);
52 int& nreflections,
int& nbackscattered,
55 TObjArray*
Draw(
const bool do3D =
true);
const double fMercedesEff
bool TraceSurf(const utl::Photon &photonIn, utl::Photon &photonOut)
void SetPhotonTrack(RayTracer::Track *const track)
HexagonDirection Hexagon(const double x, const double y, const double r)
TObjArray * Draw(const bool do3D=true)
RTNext TraceShadow(const utl::Photon &photonIn, utl::Photon &photonOut, const bool doSupport=true)
RTNext Trace(const utl::Photon &photonIn, utl::Photon &photonOut, int &nreflections, int &nbackscattered, int &col, int &row)
const bool fPlotPhotonTracksAtMercedes
RTResult TraceMerc(const utl::CoordinateSystemPtr &pxlCS, const utl::Photon &photonIn, utl::Photon &photonOut, int &nreflections)
utl::CoordinateSystemPtr fCameraSupportCoordinateSystem
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
Wraps the random number engine used to generate distributions.
void ConstructPlane(const int id, utl::Vector &n, utl::Point &p, const utl::CoordinateSystemPtr &pxlCS)
const bool fSimulateMercedesStars
Camera & operator=(const Camera &)
const fdet::Telescope & fTel
Camera(utl::RandomEngine &rndm, const fdet::Telescope &tel, const bool plotPhotonTracksAtMercedes, const bool simulateMercedesStars, const bool simulateHaloEffects, const bool simulateGhostEffects, const double nPmts)
void SetMercedesParameter(const double height, const double width)
utl::RandomEngine & fRandom
Detector description interface for Telescope-related data.
void CalculateCameraSupportCoordinateSystem()
utl::CoordinateSystemPtr fTelCS
const bool fSimulateHaloEffects
bool FindPixelId(const utl::Vector &incidentDir, int &row, int &col) const
const bool fSimulateGhostEffects
RayTracer::Track * fPhotonTrack