15#ifndef DETECTORS_ZDC_SIMULATION_INCLUDE_ZDCSIMULATION_SPATIALPHOTONRESPONSE_H_
16#define DETECTORS_ZDC_SIMULATION_INCLUDE_ZDCSIMULATION_SPATIALPHOTONRESPONSE_H_
26static constexpr int ZDCCHANNELSPERTOWER = 1;
47 double getNx()
const {
return mNx; }
48 double getNy()
const {
return mNy; }
56 if (mDetectorID != -1 && det != mDetectorID) {
57 printErrMsg(
"trying to change detector ID");
67 std::vector<std::vector<int>>
const&
getImageData()
const {
return mImageData; }
70 void printErrMsg(
const char* mgs)
const;
72 double mLxOfCell = 1.;
73 double mLyOfCell = 1.;
75 double mInvLxOfCell = 1.;
76 double mInvLyOfCell = 1.;
89 std::vector<std::vector<int>> mImageData;
std::vector< std::vector< int > > const & getImageData() const
void printToScreen() const
void addPhoton(double x, double y, int nphotons)
SpatialPhotonResponse()=default
std::array< int, 5 > getPhotonsPerChannel() const
int getDetectorID() const
void setDetectorID(int det)
struct o2::upgrades_utils::@463 zdc
structure to keep FT0 information
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...