31 : name_(ic.getUntrackedParameter<
std::
string>(
"Name")),
33 token2_(esConsumes<HcalTB06BeamParameters, IdealGeometryRecord>(
edm::ESInputTag{})),
34 mode_(ic.getUntrackedParameter<
int>(
"Mode")) {}
39 const auto* php = &hcp;
41 edm::LogVerbatim(
"HCalGeom") <<
"Length map with " << php->lengthMap_.size() <<
" elements";
42 std::map<std::string, double>::const_iterator itr = php->lengthMap_.begin();
44 for (; itr != php->lengthMap_.end(); ++itr, ++
i)
45 edm::LogVerbatim(
"HCalGeom") <<
"[" <<
i <<
"] " << itr->first <<
" " << itr->second <<
" mm";
48 const auto* php = &hcp;
49 edm::LogVerbatim(
"HCalGeom") <<
"TB06BeamParameters:: Material " << php->material_;
50 edm::LogVerbatim(
"HCalGeom") <<
"TB06BeamParameters:: " << php->wchambers_.size() <<
" wire chambers:";
51 for (
unsigned int k = 0;
k < php->wchambers_.size(); ++
k)
Log< level::Info, true > LogVerbatim
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
#define DEFINE_FWK_MODULE(type)
edm::ESGetToken< HcalTB06BeamParameters, IdealGeometryRecord > token2_
edm::ESGetToken< HcalTB02Parameters, IdealGeometryRecord > token1_
HcalTBParameterTester(const edm::ParameterSet &)
~HcalTBParameterTester() override=default