Geometry
CaloEventSetup
plugins
CaloTowerConstituentsMapBuilder.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: CaloTowerConstituentsMapBuilder
4
// Class: CaloTowerConstituentsMapBuilder
5
//
13
//
14
// Original Author: Jeremiah Mans
15
// Created: Mon Oct 3 11:35:27 CDT 2005
16
//
17
//
18
19
// system include files
20
#include <memory>
21
22
// user include files
23
#include "
FWCore/Framework/interface/ESProducer.h
"
24
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include "
FWCore/Utilities/interface/ESGetToken.h
"
27
#include "
Geometry/Records/interface/CaloGeometryRecord.h
"
28
#include "
Geometry/Records/interface/HcalRecNumberingRecord.h
"
29
#include "
Geometry/CaloTopology/interface/HcalTopology.h
"
30
#include "
Geometry/CaloTopology/interface/CaloTowerConstituentsMap.h
"
31
#include "
Geometry/CaloTopology/interface/CaloTowerTopology.h
"
32
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
33
34
namespace
edm
{
35
class
ConfigurationDescriptions
;
36
}
37
38
//
39
// class decleration
40
//
41
42
class
CaloTowerConstituentsMapBuilder
:
public
edm::ESProducer
{
43
public
:
44
CaloTowerConstituentsMapBuilder
(
const
edm::ParameterSet
&);
45
~CaloTowerConstituentsMapBuilder
()
override
;
46
47
typedef
std::unique_ptr<CaloTowerConstituentsMap>
ReturnType
;
48
49
ReturnType
produce
(
const
CaloGeometryRecord
&);
50
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
51
52
private
:
53
void
parseTextMap
(
const
std::string
&
filename
,
CaloTowerConstituentsMap
& theMap);
54
void
assignEEtoHE
(
const
CaloGeometry
*
geometry
,
CaloTowerConstituentsMap
& theMap,
const
CaloTowerTopology
* cttopo);
55
edm::ESGetToken<HcalTopology, HcalRecNumberingRecord>
hcaltopoToken_
;
56
edm::ESGetToken<CaloTowerTopology, HcalRecNumberingRecord>
cttopoToken_
;
57
edm::ESGetToken<CaloGeometry, CaloGeometryRecord>
geometryToken_
;
58
std::string
mapFile_
;
59
bool
mapAuto_
,
skipHE_
;
60
};
CaloTowerConstituentsMapBuilder::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
CaloTowerConstituentsMapBuilder.cc:53
CaloTowerConstituentsMapBuilder::parseTextMap
void parseTextMap(const std::string &filename, CaloTowerConstituentsMap &theMap)
Definition:
CaloTowerConstituentsMapBuilder.cc:90
CaloTowerConstituentsMapBuilder::CaloTowerConstituentsMapBuilder
CaloTowerConstituentsMapBuilder(const edm::ParameterSet &)
Definition:
CaloTowerConstituentsMapBuilder.cc:32
CaloTowerConstituentsMap.h
CaloGeometryRecord
Definition:
CaloGeometryRecord.h:30
edm
HLT enums.
Definition:
AlignableModifier.h:19
geometry
Definition:
geometry.py:1
ESProducer.h
CaloTowerTopology
Definition:
CaloTowerTopology.h:13
HcalRecNumberingRecord.h
CaloTowerConstituentsMapBuilder::geometryToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
Definition:
CaloTowerConstituentsMapBuilder.h:57
CaloTowerConstituentsMapBuilder::assignEEtoHE
void assignEEtoHE(const CaloGeometry *geometry, CaloTowerConstituentsMap &theMap, const CaloTowerTopology *cttopo)
Definition:
CaloTowerConstituentsMapBuilder.cc:113
CaloTowerConstituentsMapBuilder
Definition:
CaloTowerConstituentsMapBuilder.h:42
CaloTowerConstituentsMapBuilder::cttopoToken_
edm::ESGetToken< CaloTowerTopology, HcalRecNumberingRecord > cttopoToken_
Definition:
CaloTowerConstituentsMapBuilder.h:56
ESGetToken.h
CaloGeometry
Definition:
CaloGeometry.h:21
CaloTowerConstituentsMapBuilder::mapFile_
std::string mapFile_
Definition:
CaloTowerConstituentsMapBuilder.h:58
CaloTowerConstituentsMapBuilder::ReturnType
std::unique_ptr< CaloTowerConstituentsMap > ReturnType
Definition:
CaloTowerConstituentsMapBuilder.h:47
CaloTowerConstituentsMap
Definition:
CaloTowerConstituentsMap.h:18
corrVsCorr.filename
filename
Definition:
corrVsCorr.py:123
CaloTowerTopology.h
CaloGeometryRecord.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord >
HcalTopology.h
CaloTowerConstituentsMapBuilder::mapAuto_
bool mapAuto_
Definition:
CaloTowerConstituentsMapBuilder.h:59
ConfigurationDescriptions
CaloTowerConstituentsMapBuilder::hcaltopoToken_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > hcaltopoToken_
Definition:
CaloTowerConstituentsMapBuilder.h:55
CaloTowerConstituentsMapBuilder::produce
ReturnType produce(const CaloGeometryRecord &)
Definition:
CaloTowerConstituentsMapBuilder.cc:62
CaloGeometry.h
CaloTowerConstituentsMapBuilder::~CaloTowerConstituentsMapBuilder
~CaloTowerConstituentsMapBuilder() override
Definition:
CaloTowerConstituentsMapBuilder.cc:47
edm::ESProducer
Definition:
ESProducer.h:101
CaloTowerConstituentsMapBuilder::skipHE_
bool skipHE_
Definition:
CaloTowerConstituentsMapBuilder.h:59
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16