39 hcalTimeSlew_delay_(
nullptr) {}
48 float fixedphase_ns = 6.0;
49 float max_fracerror = 0.02;
50 std::unique_ptr<HcalPulseContainmentManager> manager;
51 manager = std::make_unique<HcalPulseContainmentManager>(max_fracerror,
true);
58 double corr1 = manager->correction(hb1, 4, fixedphase_ns, fc);
59 double corr2 = manager->correction(hb1, 4, fixedphase_ns, fc);
62 double corr3 = manager->correction(hb1, 2, fixedphase_ns, fc);
65 double corr4 = manager->correction(he1, 4, fixedphase_ns, fc);
67 edm::LogPrint(
"HcalPulseContainmentTest") << corr1 <<
" " << corr2 <<
" " << corr3 <<
" " << corr4;
69 double corr5 = manager->correction(hb1, 1, fixedphase_ns, 100000.);
72 double corr6 = manager->correction(hb1, 2, fixedphase_ns, 100000.);
HcalPulseContainmentTest(const edm::ParameterSet &iConfig)
~HcalPulseContainmentTest() override
void beginRun(edm::Run const &, edm::EventSetup const &) override
#define DEFINE_FWK_MODULE(type)
const HcalTimeSlew * hcalTimeSlew_delay_
bool getData(T &iHolder) const
Log< level::Warning, true > LogPrint
const edm::ESGetToken< HcalTimeSlew, HcalTimeSlewRecord > tok_slew_
void endRun(edm::Run const &, edm::EventSetup const &) override
void analyze(edm::Event const &, edm::EventSetup const &) override