CMS 3D CMS Logo

EcalReadoutTools.h
Go to the documentation of this file.
1 #ifndef CalibCalorimetry_EcalTPGTools_EcalReadoutTools_H
2 #define CalibCalorimetry_EcalTPGTools_EcalReadoutTools_H
3 
11 
13 private:
16 
17 public:
18  struct ESGetTokens {
20  : ecalTrigTowerConstituentsMapToken{iC.esConsumes()}, ecalElectronicsMappingToken{iC.esConsumes()} {}
23  };
24 
26  EcalReadoutTools(const EcalReadoutTools&) = delete;
28 
29  EcalTrigTowerDetId readOutUnitOf(const EBDetId& xtalId) const;
30  EcalScDetId readOutUnitOf(const EEDetId& xtalId) const;
31 };
32 
33 #endif
EcalElectronicsMapping
Definition: EcalElectronicsMapping.h:28
EcalReadoutTools::ESGetTokens::ecalTrigTowerConstituentsMapToken
const edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > ecalTrigTowerConstituentsMapToken
Definition: EcalReadoutTools.h:21
EBDetId
Definition: EBDetId.h:17
EcalTrigTowerDetId
Definition: EcalTrigTowerDetId.h:14
EcalReadoutTools::readOutUnitOf
EcalTrigTowerDetId readOutUnitOf(const EBDetId &xtalId) const
Definition: EcalReadoutTools.cc:8
EcalReadoutTools::EcalReadoutTools
EcalReadoutTools(const edm::Event &, const edm::EventSetup &, const ESGetTokens &)
Definition: EcalReadoutTools.cc:3
EcalReadoutTools::elecMap_
const EcalElectronicsMapping * elecMap_
Definition: EcalReadoutTools.h:15
EcalMappingRcd.h
EcalScDetId
Definition: EcalScDetId.h:24
EcalReadoutTools::ESGetTokens::ecalElectronicsMappingToken
const edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > ecalElectronicsMappingToken
Definition: EcalReadoutTools.h:22
EEDetId
Definition: EEDetId.h:14
EcalTrigTowerConstituentsMap
Definition: EcalTrigTowerConstituentsMap.h:19
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
EcalReadoutTools::operator=
EcalReadoutTools & operator=(const EcalReadoutTools &)=delete
EcalElectronicsMapping.h
IdealGeometryRecord.h
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord >
EcalReadoutTools::triggerTowerMap_
const EcalTrigTowerConstituentsMap * triggerTowerMap_
Definition: EcalReadoutTools.h:14
EcalTrigTowerConstituentsMap.h
EcalReadoutTools::ESGetTokens::ESGetTokens
ESGetTokens(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
Definition: EcalReadoutTools.h:19
EventSetup.h
ConsumesCollector.h
EcalReadoutTools
Definition: EcalReadoutTools.h:12
edm::Event
Definition: Event.h:73
EcalReadoutTools::ESGetTokens
Definition: EcalReadoutTools.h:18
edm::ConsumesCollector
Definition: ConsumesCollector.h:45