86 for (
auto i : {0,1,2,3}){
97 HcalL1TrigObjCol->setTopo(topo);
98 HcalL1TrigObjCol->addValues(l1object);
102 HcalL1TrigObjCol->setTagString(
tagName_);
103 HcalL1TrigObjCol->setAlgoString(
"A 2-TS Peak Finder");
106 outfilename +=
".txt";
107 std::ofstream of(outfilename.c_str());
HcalSubdetector subdet() const
get the subdetector
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool valid(const DetId &id) const override
void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
const HcalChannelStatus * getHcalChannelStatus(const HcalGenericDetId &fId) const
double effpedestal(int fCapId) const
get effective pedestal for capid=0..3
void addDefault(ParameterSetDescription const &psetDescription)
std::vector< DetId > getAllChannels() const
const HcalLutMetadata * getHcalLutMetadata() const
double LUTrespcorrgain(int fCapId) const
get LUT corrected and response corrected gain for capid=0..3
~WriteL1TriggerObjectsTxt() override
bool dumpObject(std::ostream &fOutput, const HcalPedestals &fObject)
WriteL1TriggerObjectsTxt(const edm::ParameterSet &)
uint32_t getValue() const
const HcalCalibrations & getHcalCalibrations(const HcalGenericDetId &fId) const
const HcalTopology * topo() const