CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PropagateToMuonSetup.h
Go to the documentation of this file.
1 #ifndef MuonAnalysis_MuonAssociators_interface_PropagateToMuonSetup_h
2 #define MuonAnalysis_MuonAssociators_interface_PropagateToMuonSetup_h
3 //
4 //
5 
20 
24 
26 public:
29 
32  PropagateToMuon init(const edm::EventSetup &iSetup) const;
34  desc.add<bool>("useSimpleGeometry", true);
35  desc.add<bool>("useStation2", true);
36  desc.add<bool>("fallbackToME1", false);
37  desc.add<bool>("cosmicPropagationHypothesis", false);
38  desc.add<bool>("useMB2InOverlap", false);
39  desc.add<std::string>("useTrack", "tracker");
40  desc.add<std::string>("useState", "atVertex");
41  desc.add<edm::ESInputTag>("propagatorAlong", edm::ESInputTag("", "hltESPSteppingHelixPropagatorAlong"));
42  desc.add<edm::ESInputTag>("propagatorAny", edm::ESInputTag("", "SteppingHelixPropagatorAny"));
43  desc.add<edm::ESInputTag>("propagatorOpposite", edm::ESInputTag("", "hltESPSteppingHelixPropagatorOpposite"));
44  }
45 
46 private:
48  const bool useSimpleGeometry_;
49 
51  const bool useMB2_;
52 
54  const bool fallbackToME1_;
55 
59 
61  const bool cosmicPropagation_;
62 
63  const bool useMB2InOverlap_;
64 
69 };
70 
71 #endif
const edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorOppositeToken_
Propagate an object (usually a track) to the second (default) or first muon station.
WhichTrack
PropagateToMuon init(const edm::EventSetup &iSetup) const
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magfieldToken_
WhichState
const bool cosmicPropagation_
for cosmics, some things change: the along-opposite is not in-out, nor the innermost/outermost states...
Propagate an object (usually a track) to the second muon station. Support for other muon stations wil...
const bool useMB2_
Propagate to MB2 (default) instead of MB1.
const edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorToken_
WhichTrack whichTrack_
Labels for input collections.
const bool useSimpleGeometry_
Use simplified geometry (cylinders and disks, not individual chambers)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
PropagateToMuonSetup(const edm::ParameterSet &iConfig, edm::ConsumesCollector)
const edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorAnyToken_
static void fillPSetDescription(edm::ParameterSetDescription &desc)
const bool fallbackToME1_
Fallback to ME1 if propagation to ME2 fails.
const edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonGeometryToken_