59 : tagName_(iConfig.getParameter<
std::
string>(
"TagName")),
74 for (
auto i : {0, 1, 2, 3}) {
85 l1TrgObjsCol->setTopo(topo);
86 l1TrgObjsCol->addValues(l1object);
99 for (
const auto&
id :
metadata->getAllChannels()) {
119 HcalL1TrigObjCol->setTagString(
tagName_);
120 HcalL1TrigObjCol->setAlgoString(
"TP algo determined by HcalTPChannelParameter auxi params");
edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbservice_
void fillL1TrgObjsCollection(std::unique_ptr< HcalL1TriggerObjects > &l1TrgObjsCol, const HcalDbService *conditions, const HcalTopology *topo, T cell)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void analyze(const edm::Event &, const edm::EventSetup &) override
bool valid(const DetId &id) const override
constexpr HcalSubdetector subdet() const
get the subdetector
void addDefault(ParameterSetDescription const &psetDescription)
#define DEFINE_FWK_MODULE(type)
uint32_t getValue() const
~WriteL1TriggerObjectsTxt() override
constexpr Section section() const
get the section
bool dumpObject(std::ostream &fOutput, const HcalPedestals &fObject)
static constexpr int32_t SubdetectorId
WriteL1TriggerObjectsTxt(const edm::ParameterSet &)