RayZaler 0.1
The free opto-mechanical simulation framework
RZ::DetectorStorage Class Reference

Public Member Functions

bool hit (Real x, Real y, Complex amplitude)
 
uint32_t maxCounts () const
 
Real maxEnergy () const
 
 DetectorStorage (unsigned int cols, unsigned int rows, Real width, Real height)
 
void setPixelDimensions (Real, Real)
 
void setResolution (unsigned, unsigned)
 
void clear ()
 
bool savePNG (std::string const &) const
 
bool saveRawData (std::string const &) const
 
bool saveAmplitude (std::string const &) const
 
unsigned int cols () const
 
unsigned int rows () const
 
unsigned int stride () const
 
const uint32_t * data () const
 
const Complex * amplitude () const
 

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