CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackAssociatorParameters.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: TrackAssociator
4 // Class: TrackAssociatorParameters
5 //
6 /*
7 
8  Description: track associator parameters
9 
10 */
11 //
12 // Original Author: Dmytro Kovalskyi
13 //
14 //
15 
17 
18 
20 {
21  dREcal = iConfig.getParameter<double>("dREcal");
22  dRHcal = iConfig.getParameter<double>("dRHcal");
23  dRMuon = iConfig.getParameter<double>("dRMuon");
24 
25  dREcalPreselection = iConfig.getParameter<double>("dREcalPreselection");
26  dRHcalPreselection = iConfig.getParameter<double>("dRHcalPreselection");
27  dRMuonPreselection = iConfig.getParameter<double>("dRMuonPreselection");
28  dRPreshowerPreselection = iConfig.getParameter<double>("dRPreshowerPreselection");
29 
30  muonMaxDistanceX = iConfig.getParameter<double>("muonMaxDistanceX");
31  muonMaxDistanceY = iConfig.getParameter<double>("muonMaxDistanceY");
32  muonMaxDistanceSigmaX = iConfig.getParameter<double>("muonMaxDistanceSigmaX");
33  muonMaxDistanceSigmaY = iConfig.getParameter<double>("muonMaxDistanceSigmaY");
34 
35  useEcal = iConfig.getParameter<bool>("useEcal");
36  useHcal = iConfig.getParameter<bool>("useHcal");
37  useHO = iConfig.getParameter<bool>("useHO");
38  useCalo = iConfig.getParameter<bool>("useCalo");
39  useMuon = iConfig.getParameter<bool>("useMuon");
40  usePreshower = iConfig.getParameter<bool>("usePreshower");
41 
42  theEBRecHitCollectionLabel = iConfig.getParameter<edm::InputTag>("EBRecHitCollectionLabel");
43  theEERecHitCollectionLabel = iConfig.getParameter<edm::InputTag>("EERecHitCollectionLabel");
44  theCaloTowerCollectionLabel = iConfig.getParameter<edm::InputTag>("CaloTowerCollectionLabel");
45  theHBHERecHitCollectionLabel = iConfig.getParameter<edm::InputTag>("HBHERecHitCollectionLabel");
46  theHORecHitCollectionLabel = iConfig.getParameter<edm::InputTag>("HORecHitCollectionLabel");
47  theDTRecSegment4DCollectionLabel = iConfig.getParameter<edm::InputTag>("DTRecSegment4DCollectionLabel");
48  theCSCSegmentCollectionLabel = iConfig.getParameter<edm::InputTag>("CSCSegmentCollectionLabel");
49 
50  accountForTrajectoryChangeCalo = iConfig.getParameter<bool>("accountForTrajectoryChangeCalo");
51  // accountForTrajectoryChangeMuon = iConfig.getParameter<bool>("accountForTrajectoryChangeMuon");
52 
53  truthMatch = iConfig.getParameter<bool>("truthMatch");
54  muonMaxDistanceSigmaY = iConfig.getParameter<double>("trajectoryUncertaintyTolerance");
55 }
56 
58 {
59  loadParameters( iConfig );
60 }
61 
T getParameter(std::string const &) const
edm::InputTag theEBRecHitCollectionLabel
Labels of the detector EDProducts.
void loadParameters(const edm::ParameterSet &)