Geometry
HcalCommonData
interface
CaloSimParametersFromDD.h
Go to the documentation of this file.
1
#ifndef HcalCommonData_CaloSimParametersFromDD_h
2
#define HcalCommonData_CaloSimParametersFromDD_h
3
4
#include "
DetectorDescription/Core/interface/DDsvalues.h
"
5
#include "
DetectorDescription/Core/interface/DDCompactView.h
"
6
#include "
DetectorDescription/DDCMS/interface/DDCompactView.h
"
7
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
8
#include <string>
9
#include <vector>
10
11
class
DDFilteredView
;
12
class
CaloSimulationParameters
;
13
14
class
CaloSimParametersFromDD
{
15
public
:
16
CaloSimParametersFromDD
() =
default
;
17
virtual
~CaloSimParametersFromDD
() {}
18
19
bool
build
(
const
DDCompactView
*,
CaloSimulationParameters
&);
20
bool
build
(
const
cms::DDCompactView
*,
CaloSimulationParameters
&);
21
22
private
:
23
bool
buildParameters
(
const
CaloSimulationParameters
&);
24
std::vector<std::string>
getNames
(
const
std::string
&,
const
DDsvalues_type
&,
bool
);
25
std::vector<int>
getNumbers
(
const
std::string
&,
const
DDsvalues_type
&,
bool
);
26
};
27
28
#endif
CaloSimulationParameters
Definition:
CaloSimulationParameters.h:6
MessageLogger.h
CaloSimParametersFromDD::build
bool build(const DDCompactView *, CaloSimulationParameters &)
Definition:
CaloSimParametersFromDD.cc:21
CaloSimParametersFromDD::getNames
std::vector< std::string > getNames(const std::string &, const DDsvalues_type &, bool)
Definition:
CaloSimParametersFromDD.cc:85
DDCompactView.h
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition:
DDCompactView.h:81
CaloSimParametersFromDD::getNumbers
std::vector< int > getNumbers(const std::string &, const DDsvalues_type &, bool)
Definition:
CaloSimParametersFromDD.cc:113
DDCompactView.h
CaloSimParametersFromDD::~CaloSimParametersFromDD
virtual ~CaloSimParametersFromDD()
Definition:
CaloSimParametersFromDD.h:17
CaloSimParametersFromDD::CaloSimParametersFromDD
CaloSimParametersFromDD()=default
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
cms::DDCompactView
Definition:
DDCompactView.h:31
DDsvalues.h
DDFilteredView
Definition:
DDFilteredView.h:20
CaloSimParametersFromDD
Definition:
CaloSimParametersFromDD.h:14
CaloSimParametersFromDD::buildParameters
bool buildParameters(const CaloSimulationParameters &)
Definition:
CaloSimParametersFromDD.cc:64
DDsvalues_type
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition:
DDsvalues.h:12
Generated for CMSSW Reference Manual by
1.8.16