CMS 3D CMS Logo

ConfigurableAdaptiveReconstructor.cc
Go to the documentation of this file.
3 
4 using namespace std;
5 
6 namespace {
7  edm::ParameterSet mydefaults() {
9  ret.addParameter<double>("primcut", 2.0);
10  ret.addParameter<double>("primT", 256.0);
11  ret.addParameter<double>("primr", 0.25);
12  ret.addParameter<double>("seccut", 6.0);
13  ret.addParameter<double>("secT", 256.0);
14  ret.addParameter<double>("secr", 0.25);
15  ret.addParameter<double>("minweight", 0.5);
16  ret.addParameter<double>("weightthreshold", 0.001);
17  ret.addParameter<bool>("smoothing", false);
18  return ret;
19  }
20 } // namespace
21 
23 
26  m.augment(mydefaults());
27  if (theRector)
28  delete theRector;
30 }
31 
33  if (theRector)
34  delete theRector;
35 }
36 
38  : theRector(o.theRector->clone()) {}
39 
41  return new ConfigurableAdaptiveReconstructor(*this);
42 }
43 
44 vector<TransientVertex> ConfigurableAdaptiveReconstructor::vertices(const std::vector<reco::TransientTrack>& t) const {
45  return theRector->vertices(t);
46 }
47 
48 vector<TransientVertex> ConfigurableAdaptiveReconstructor::vertices(const std::vector<reco::TransientTrack>& t,
49  const reco::BeamSpot& s) const {
50  return theRector->vertices(t, s);
51 }
52 
53 vector<TransientVertex> ConfigurableAdaptiveReconstructor::vertices(const std::vector<reco::TransientTrack>& prims,
54  const std::vector<reco::TransientTrack>& secs,
55  const reco::BeamSpot& s) const {
56  return theRector->vertices(prims, secs, s);
57 }
58 
60 
62 
63 namespace {
64  const ConfRecoBuilder<ConfigurableAdaptiveReconstructor> t("avr", "Adaptive Vertex Reconstructor [ = Iterative avf]");
65  // ConfRecoBuilder < ConfigurableAdaptiveReconstructor > s ( "default", "Adaptive Vertex Reconstructor [ = Iterative avf]" );
66 } // namespace
ret
prodAgent to be discontinued
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const =0
ConfigurableAdaptiveReconstructor * clone() const override
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &t) const override
void configure(const edm::ParameterSet &) override
edm::ParameterSet defaults() const override
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135