PandaRoot
BSEmc2DMapper Class Referenceabstract

Interface class to map DetectorIDs (crystal Ids) to x-y-indices. More...

#include <BSEmc2DMapper.h>

Inheritance diagram for BSEmc2DMapper:
BSEmcBarrel2DMapper BSEmcBwEndcap2DMapper BSEmcFwEndcap2DMapper BSEmcShashlik2DMapper

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...
 

Detailed Description

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

Author
Ben Salisbury salis.nosp@m.bury.nosp@m.@hisk.nosp@m.p.un.nosp@m.i-bon.nosp@m.n.de, HISKP Bonn
Date
2021-02

An appropriate Id would be: 329000027: a Forward-endcap crystal in row 29 and column 27.

Author
Ben Salisbury salis.nosp@m.bury.nosp@m.@hisk.nosp@m.p.un.nosp@m.i-bon.nosp@m.n.de, HISKP Bonn
Date
2021-02

Definition at line 16 of file BSEmc2DMapper.h.

Constructor & Destructor Documentation

◆ ~BSEmc2DMapper()

virtual BSEmc2DMapper::~BSEmc2DMapper ( )
inlinevirtual

Definition at line 18 of file BSEmc2DMapper.h.

References GetXYIndices().

18 {};

Member Function Documentation

◆ GetXYIndices()

virtual std::pair<Int_t, Int_t> BSEmc2DMapper::GetXYIndices ( Int_t  t_detectorId) const
pure virtual

maps detector Id to x-y indices

Parameters
t_detectorId
Returns
std::pair<Int_t, Int_t>

Implemented in BSEmcBarrel2DMapper, BSEmcBwEndcap2DMapper, BSEmcFwEndcap2DMapper, and BSEmcShashlik2DMapper.

Referenced by ~BSEmc2DMapper().


The documentation for this class was generated from the following file: