CMS 3D CMS Logo

PixelFitterByHelixProjectionsProducer.cc
Go to the documentation of this file.
3 
7 
11 
14 
19 
21 public:
26  thescaleErrorsForBPix1(iConfig.getParameter<bool>("scaleErrorsForBPix1")),
27  thescaleFactor(iConfig.getParameter<double>("scaleFactor")) {}
29 
30  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
32  desc.add<bool>("scaleErrorsForBPix1", false);
33  desc.add<double>("scaleFactor", 0.65)->setComment("The default value was derived for phase1 pixel");
34  descriptions.add("pixelFitterByHelixProjectionsDefault", desc);
35  }
36 
37 private:
38  void produce(edm::StreamID, edm::Event& iEvent, const edm::EventSetup& iSetup) const override;
39 
44  const float thescaleFactor;
45 };
46 
49  const edm::EventSetup& iSetup) const {
50  iEvent.emplace(
52  std::make_unique<PixelFitterByHelixProjections>(
54 }
55 
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > theTopoToken
int iEvent
Definition: GenABIO.cc:224
PixelFitterByHelixProjectionsProducer(const edm::ParameterSet &iConfig)
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)