PandaRoot
BSEmc2DMapper.h
Go to the documentation of this file.
1 #ifndef BSEMC2DMAPPER_HH
2 #define BSEMC2DMAPPER_HH
3 
4 #include <utility>
5 
6 #include "TObject.h"
7 
16 class BSEmc2DMapper : public TObject {
17  public:
18  virtual ~BSEmc2DMapper(){};
25  virtual std::pair<Int_t, Int_t> GetXYIndices(Int_t t_detectorId) const = 0;
26 
27  private:
28  ClassDef(BSEmc2DMapper, 1);
29 };
30 
31 #endif /*BSEMC2DMAPPER_HH*/
Interface class to map DetectorIDs (crystal Ids) to x-y-indices.
Definition: BSEmc2DMapper.h:16
virtual std::pair< Int_t, Int_t > GetXYIndices(Int_t t_detectorId) const =0
maps detector Id to x-y indices
virtual ~BSEmc2DMapper()
Definition: BSEmc2DMapper.h:18