![]() |
PandaRoot
|
Interface class to map DetectorIDs (crystal Ids) to x-y-indices. More...
#include <BSEmc2DMapper.h>
Public Member Functions | |
virtual | ~BSEmc2DMapper () |
virtual std::pair< Int_t, Int_t > | GetXYIndices (Int_t t_detectorId) const =0 |
maps detector Id to x-y indices More... | |
Interface class to map DetectorIDs (crystal Ids) to x-y-indices.
Represents a unique detectorid for a EMC crystal. It requires appropriate encoding of the module, row and column of the crystal.
Has to be implemented by each Emc detector
An appropriate Id would be: 329000027: a Forward-endcap crystal in row 29 and column 27.
Definition at line 16 of file BSEmc2DMapper.h.
|
inlinevirtual |
|
pure virtual |
maps detector Id to x-y indices
t_detectorId |
Implemented in BSEmcBarrel2DMapper, BSEmcBwEndcap2DMapper, BSEmcFwEndcap2DMapper, and BSEmcShashlik2DMapper.
Referenced by ~BSEmc2DMapper().