00001 #include "FastSimulation/ShowerDevelopment/interface/HSParameters.h" 00002 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00003 00004 HSParameters::HSParameters(const edm::ParameterSet& param) 00005 { 00006 lossesOpt_ = param.getParameter<int>("lossesOpt"); 00007 nDepthSteps_ = param.getParameter<int>("nDepthSteps"); 00008 nTRsteps_ = param.getParameter<int>("nTRsteps"); 00009 transParam_ = param.getParameter<double>("transRparam"); 00010 eSpotSize_ = param.getParameter<double>("eSpotSize"); 00011 depthStep_ = param.getParameter<double>("depthStep"); 00012 criticalEnergy_ = param.getParameter<double>("criticalHDEnergy"); 00013 maxTRfactor_ = param.getParameter<double>("maxTRfactor"); 00014 balanceEH_ = param.getParameter<double>("balanceEH"); 00015 hcalDepthFactor_ = param.getParameter<double>("hcalDepthFactor"); 00016 }