33 name_ = iC.getUntrackedParameter<std::vector<std::string> >(
"Names");
34 type_ = iC.getUntrackedParameter<std::vector<int> >(
"Types");
37 <<
"FastTimeParametersESModule for " <<
name_.size() <<
" types:";
38 for (
unsigned int k = 0;
k <
name_.size(); ++
k)
40 <<
" [" <<
k <<
"] " <<
name_[
k] <<
":" << type_[
k];
49 <<
"FastTimeParametersESModule::produce(const IdealGeometryRecord& iRecord)";
52 auto ptp = std::make_unique<FastTimeParameters>();
54 for (
unsigned int k = 0;
k <
name_.size(); ++
k)
59 <<
"FastTimeParametersESModule:: Barrel Parameters: " 60 <<
" number of cells along z|phi = " << ptp->nZBarrel_ <<
"|" 61 << ptp->nPhiBarrel_ <<
" Geometry parameters:";
62 for (
unsigned k = 0;
k < ptp->geomParBarrel_.size(); ++
k)
64 <<
"[" <<
k <<
"] " << ptp->geomParBarrel_[
k];
66 <<
"FastTimeParametersESModule:: Endcap Parameters: " 67 <<
" number of cells along eta|phi = " << ptp->nEtaEndcap_ <<
"|" 68 << ptp->nPhiEndcap_ <<
" Geometry parameters:";
69 for (
unsigned k = 0;
k < ptp->geomParEndcap_.size(); ++
k)
71 <<
"[" <<
k <<
"] " << ptp->geomParEndcap_[
k];
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
FastTimeParametersESModule(const edm::ParameterSet &)
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
Compact representation of the geometrical detector hierarchy.
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_
bool build(const DDCompactView *, FastTimeParameters &, const std::string &, const int)
std::unique_ptr< FastTimeParameters > ReturnType
T const * product() const
~FastTimeParametersESModule(void) override
ReturnType produce(const IdealGeometryRecord &)
static void fillDescriptions(edm::ConfigurationDescriptions &)
std::vector< std::string > name_