File indexing completed on 2024-04-06 12:07:17
0001 #ifndef LogicIDTranslation_H
0002 #define LogicIDTranslation_H
0003
0004 #include "OnlineDB/EcalCondDB/interface/EcalLogicID.h"
0005
0006 #include "DataFormats/EcalDetId/interface/EBDetId.h"
0007 #include "DataFormats/EcalDetId/interface/EEDetId.h"
0008 #include "DataFormats/EcalDetId/interface/EcalElectronicsId.h"
0009 #include "DataFormats/EcalDetId/interface/EcalPnDiodeDetId.h"
0010 #include "DataFormats/EcalDetId/interface/EcalScDetId.h"
0011 #include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
0012 #include "DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h"
0013
0014 #include "Geometry/EcalMapping/interface/EcalElectronicsMapping.h"
0015
0016 namespace ecaldqm {
0017 EcalLogicID ecalID();
0018 EcalLogicID subdetID(EcalSubdetector);
0019 EcalLogicID crystalID(DetId const &, EcalElectronicsMapping const *);
0020 EcalLogicID towerID(EcalElectronicsId const &);
0021 EcalLogicID memChannelID(EcalPnDiodeDetId const &);
0022 EcalLogicID memTowerID(EcalElectronicsId const &);
0023 EcalLogicID lmPNID(EcalPnDiodeDetId const &);
0024
0025 DetId toDetId(EcalLogicID const &);
0026 }
0027
0028 #endif