PandaRoot
BSEmcBarrel2DMapper.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 //--------------------------------------------------------------------------
14 // File and Version Information:
15 // $Id:$
16 //
17 // Description:
18 // EMC Digi.
19 //
20 // Software developed for the BaBar Detector at the SLAC B-Factory.
21 // Adapted for the PANDA experiment at GSI
22 //
23 // Author List:
24 // Xiaorong Shi Lawrence Livermore National Lab
25 // Steve Playfer University of Edinburgh
26 // Stephen Gowdy University of Edinburgh
27 // Dima Melnichuk - adaption for PANDA
28 //
29 // Copyright Information:
30 // Copyright (C) 1994 Lawrence Livermore National Lab
31 //
33 #ifndef BSEMCBARREL2DMAPPER_HH
34 #define BSEMCBARREL2DMAPPER_HH
35 
36 #include <utility>
37 
38 #include "Rtypes.h"
39 #include "RtypesCore.h"
40 
41 #include "BSEmc2DMapper.h"
42 
43 class TBuffer;
44 class TClass;
45 class TMemberInspector;
46 
60  public:
62  virtual ~BSEmcBarrel2DMapper();
63 
64  virtual std::pair<Int_t, Int_t> GetXYIndices(Int_t t_detectorId) const /*override*/;
65 
66  private:
67  ClassDef(BSEmcBarrel2DMapper, 1);
68 };
69 
70 #endif /*BSEMCBARREL2DMAPPER_HH*/
virtual std::pair< Int_t, Int_t > GetXYIndices(Int_t t_detectorId) const
maps detector Id to x-y indices
Interface class to map DetectorIDs (crystal Ids) to x-y-indices.
Definition: BSEmc2DMapper.h:28
virtual ~BSEmcBarrel2DMapper()
Decodes the Barrel Detector Ids into a X-Y-Index pair for Plotting purposes.