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
runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:355
ConfigurableAdaptiveReconstructor::defaults
edm::ParameterSet defaults() const override
Definition: ConfigurableAdaptiveReconstructor.cc:59
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
ConfigurableAdaptiveReconstructor::ConfigurableAdaptiveReconstructor
ConfigurableAdaptiveReconstructor()
Definition: ConfigurableAdaptiveReconstructor.cc:22
ConfigurableAdaptiveReconstructor::theRector
const VertexReconstructor * theRector
Definition: ConfigurableAdaptiveReconstructor.h:26
ConfigurableAdaptiveReconstructor
Definition: ConfigurableAdaptiveReconstructor.h:10
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
alignCSCRings.s
s
Definition: alignCSCRings.py:92
AdaptiveVertexReconstructor
Definition: AdaptiveVertexReconstructor.h:9
ConfigurableAdaptiveReconstructor::configure
void configure(const edm::ParameterSet &) override
Definition: ConfigurableAdaptiveReconstructor.cc:24
clone
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
reco::BeamSpot
Definition: BeamSpot.h:21
OrderedSet.t
t
Definition: OrderedSet.py:90
edm::ParameterSet
Definition: ParameterSet.h:36
VertexReconstructor::vertices
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const =0
ConfRecoBuilder.h
ConfigurableAdaptiveReconstructor::clone
ConfigurableAdaptiveReconstructor * clone() const override
Definition: ConfigurableAdaptiveReconstructor.cc:40
std
Definition: JetResolutionObject.h:76
ConfigurableAdaptiveReconstructor::vertices
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &t) const override
Definition: ConfigurableAdaptiveReconstructor.cc:44
ConfigurableAdaptiveReconstructor::~ConfigurableAdaptiveReconstructor
~ConfigurableAdaptiveReconstructor() override
Definition: ConfigurableAdaptiveReconstructor.cc:32
AdaptiveVertexReconstructor.h
ConfRecoBuilder
Definition: ConfRecoBuilder.h:11
ConfigurableAdaptiveReconstructor.h