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)
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
Log< level::Info, true > LogVerbatim
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
FastTimeParametersESModule(const edm::ParameterSet &)
Compact representation of the geometrical detector hierarchy.
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_
bool build(const DDCompactView *, FastTimeParameters &, const std::string &, const int)
std::unique_ptr< FastTimeParameters > ReturnType
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
T const * product() const
~FastTimeParametersESModule(void) override
ReturnType produce(const IdealGeometryRecord &)
static void fillDescriptions(edm::ConfigurationDescriptions &)
std::vector< std::string > name_