30 : name_(ic.getUntrackedParameter<
std::
string>(
"Name")),
32 token2_(esConsumes<HcalTB06BeamParameters, IdealGeometryRecord>(
edm::ESInputTag{})),
33 mode_(ic.getUntrackedParameter<
int>(
"Mode")) {}
38 const auto* php = &hcp;
40 std::cout <<
"Length map with " << php->lengthMap_.size() <<
" elements\n";
41 std::map<std::string, double>::const_iterator itr = php->lengthMap_.begin();
43 for (; itr != php->lengthMap_.end(); ++itr, ++
i)
44 std::cout <<
"[" <<
i <<
"] " << itr->first <<
" " << itr->second <<
" mm\n";
47 const auto* php = &hcp;
48 std::cout <<
"TB06BeamParameters:: Material " << php->material_ <<
"\n";
49 std::cout <<
"TB06BeamParameters:: " << php->wchambers_.size() <<
" wire chambers:\n";
50 for (
unsigned int k = 0;
k < php->wchambers_.size(); ++
k)
51 std::cout <<
"[" <<
k <<
"] " << php->wchambers_[
k] <<
"\n";
~HcalTBParameterTester() override
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
#define DEFINE_FWK_MODULE(type)
bool getData(T &iHolder) const
edm::ESGetToken< HcalTB06BeamParameters, IdealGeometryRecord > token2_
edm::ESGetToken< HcalTB02Parameters, IdealGeometryRecord > token1_
HcalTBParameterTester(const edm::ParameterSet &)