PandaRoot
BSEmcBarrel2DMapper.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id:$
4 //
5 // Description:
6 // EMC Digi.
7 //
8 // Software developed for the BaBar Detector at the SLAC B-Factory.
9 // Adapted for the PANDA experiment at GSI
10 //
11 // Author List:
12 // Xiaorong Shi Lawrence Livermore National Lab
13 // Steve Playfer University of Edinburgh
14 // Stephen Gowdy University of Edinburgh
15 // Dima Melnichuk - adaption for PANDA
16 //
17 // Copyright Information:
18 // Copyright (C) 1994 Lawrence Livermore National Lab
19 //
21 #ifndef BSEMCBARREL2DMAPPER_HH
22 #define BSEMCBARREL2DMAPPER_HH
23 
24 #include <utility>
25 
26 #include "Rtypes.h"
27 #include "RtypesCore.h"
28 
29 #include "BSEmc2DMapper.h"
30 
31 class TBuffer;
32 class TClass;
33 class TMemberInspector;
34 
48  public:
50  virtual ~BSEmcBarrel2DMapper();
51 
52  virtual std::pair<Int_t, Int_t> GetXYIndices(Int_t t_detectorId) const /*override*/;
53 
54  private:
55  ClassDef(BSEmcBarrel2DMapper, 1);
56 };
57 
58 #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:16
virtual ~BSEmcBarrel2DMapper()
Decodes the Barrel Detector Ids into a X-Y-Index pair for Plotting purposes.