|
|
Go to the documentation of this file.
32 name_ = iC.getUntrackedParameter<std::vector<std::string> >(
"Names");
33 type_ = iC.getUntrackedParameter<std::vector<int> >(
"Types");
35 edm::LogVerbatim(
"HGCalGeom") <<
"FastTimeParametersESModule for " << name_.size() <<
" types:";
36 for (
unsigned int k = 0;
k < name_.size(); ++
k)
44 edm::LogVerbatim(
"HGCalGeom") <<
"FastTimeParametersESModule::produce(const IdealGeometryRecord& iRecord)";
47 auto ptp = std::make_unique<FastTimeParameters>();
49 for (
unsigned int k = 0;
k <
name_.size(); ++
k)
53 edm::LogVerbatim(
"HGCalGeom") <<
"FastTimeParametersESModule:: Barrel Parameters: "
54 <<
" number of cells along z|phi = " << ptp->nZBarrel_ <<
"|" << ptp->nPhiBarrel_
55 <<
" Geometry parameters:";
56 for (
unsigned k = 0;
k < ptp->geomParBarrel_.size(); ++
k)
58 edm::LogVerbatim(
"HGCalGeom") <<
"FastTimeParametersESModule:: Endcap Parameters: "
59 <<
" number of cells along eta|phi = " << ptp->nEtaEndcap_ <<
"|" << ptp->nPhiEndcap_
60 <<
" Geometry parameters:";
61 for (
unsigned k = 0;
k < ptp->geomParEndcap_.size(); ++
k)
T const * product() const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
std::vector< std::string > name_
bool build(const DDCompactView *, FastTimeParameters &, const std::string &, const int)
std::unique_ptr< FastTimeParameters > ReturnType
static void fillDescriptions(edm::ConfigurationDescriptions &)
Compact representation of the geometrical detector hierarchy.
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
~FastTimeParametersESModule(void) override
FastTimeParametersESModule(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
ReturnType produce(const IdealGeometryRecord &)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_