53 float fixedphase_ns = 6.0;
54 float max_fracerror = 0.02;
55 std::unique_ptr<HcalPulseContainmentManager> manager;
63 double corr1 = manager->correction(hb1, 4, fixedphase_ns, fc);
64 double corr2 = manager->correction(hb1, 4, fixedphase_ns, fc);
65 assert(corr1 == corr2);
67 double corr3 = manager->correction(hb1, 2, fixedphase_ns, fc);
68 assert(corr3 > corr1);
70 double corr4 = manager->correction(he1, 4, fixedphase_ns, fc);
71 assert(corr4 == corr1);
72 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