48 float fixedphase_ns = 6.0;
49 float max_fracerror = 0.02;
50 std::unique_ptr<HcalPulseContainmentManager> manager;
58 double corr1 = manager->correction(hb1, 4, fixedphase_ns, fc);
59 double corr2 = manager->correction(hb1, 4, fixedphase_ns, fc);
60 assert(corr1 == corr2);
62 double corr3 = manager->correction(hb1, 2, fixedphase_ns, fc);
63 assert(corr3 > corr1);
65 double corr4 = manager->correction(he1, 4, fixedphase_ns, fc);
66 assert(corr4 == corr1);
67 std::cout << corr1 <<
" " << corr2 <<
" " << corr3 <<
" " << corr4 <<
" " << std::endl;
HcalPulseContainmentTest(const edm::ParameterSet &iConfig)
~HcalPulseContainmentTest() override
void beginRun(edm::Run const &, edm::EventSetup const &) override
const HcalTimeSlew * hcalTimeSlew_delay_
#define DEFINE_FWK_MODULE(type)
void endRun(edm::Run const &, edm::EventSetup const &) override
void analyze(edm::Event const &, edm::EventSetup const &) override