PandaRoot
BSEmc2DMapper.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef BSEMC2DMAPPER_HH
14 #define BSEMC2DMAPPER_HH
15 
16 #include <utility>
17 
18 #include "TObject.h"
19 
28 class BSEmc2DMapper : public TObject {
29  public:
30  virtual ~BSEmc2DMapper(){};
37  virtual std::pair<Int_t, Int_t> GetXYIndices(Int_t t_detectorId) const = 0;
38 
39  private:
40  ClassDef(BSEmc2DMapper, 1);
41 };
42 
43 #endif /*BSEMC2DMAPPER_HH*/
Interface class to map DetectorIDs (crystal Ids) to x-y-indices.
Definition: BSEmc2DMapper.h:28
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:30