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 // $Id: TrackAssociatorParameters.cc,v 1.7 2009/09/06 16:32:06 dmytro Exp $
14 //
15 //
16 
18 
19 
21 {
22  dREcal = iConfig.getParameter<double>("dREcal");
23  dRHcal = iConfig.getParameter<double>("dRHcal");
24  dRMuon = iConfig.getParameter<double>("dRMuon");
25 
26  dREcalPreselection = iConfig.getParameter<double>("dREcalPreselection");
27  dRHcalPreselection = iConfig.getParameter<double>("dRHcalPreselection");
28  dRMuonPreselection = iConfig.getParameter<double>("dRMuonPreselection");
29  dRPreshowerPreselection = iConfig.getParameter<double>("dRPreshowerPreselection");
30 
31  muonMaxDistanceX = iConfig.getParameter<double>("muonMaxDistanceX");
32  muonMaxDistanceY = iConfig.getParameter<double>("muonMaxDistanceY");
33  muonMaxDistanceSigmaX = iConfig.getParameter<double>("muonMaxDistanceSigmaX");
34  muonMaxDistanceSigmaY = iConfig.getParameter<double>("muonMaxDistanceSigmaY");
35 
36  useEcal = iConfig.getParameter<bool>("useEcal");
37  useHcal = iConfig.getParameter<bool>("useHcal");
38  useHO = iConfig.getParameter<bool>("useHO");
39  useCalo = iConfig.getParameter<bool>("useCalo");
40  useMuon = iConfig.getParameter<bool>("useMuon");
41  usePreshower = iConfig.getParameter<bool>("usePreshower");
42 
43  theEBRecHitCollectionLabel = iConfig.getParameter<edm::InputTag>("EBRecHitCollectionLabel");
44  theEERecHitCollectionLabel = iConfig.getParameter<edm::InputTag>("EERecHitCollectionLabel");
45  theCaloTowerCollectionLabel = iConfig.getParameter<edm::InputTag>("CaloTowerCollectionLabel");
46  theHBHERecHitCollectionLabel = iConfig.getParameter<edm::InputTag>("HBHERecHitCollectionLabel");
47  theHORecHitCollectionLabel = iConfig.getParameter<edm::InputTag>("HORecHitCollectionLabel");
48  theDTRecSegment4DCollectionLabel = iConfig.getParameter<edm::InputTag>("DTRecSegment4DCollectionLabel");
49  theCSCSegmentCollectionLabel = iConfig.getParameter<edm::InputTag>("CSCSegmentCollectionLabel");
50 
51  accountForTrajectoryChangeCalo = iConfig.getParameter<bool>("accountForTrajectoryChangeCalo");
52  // accountForTrajectoryChangeMuon = iConfig.getParameter<bool>("accountForTrajectoryChangeMuon");
53 
54  truthMatch = iConfig.getParameter<bool>("truthMatch");
55  muonMaxDistanceSigmaY = iConfig.getParameter<double>("trajectoryUncertaintyTolerance");
56 }
57 
59 {
60  loadParameters( iConfig );
61 }
62 
T getParameter(std::string const &) const
edm::InputTag theEBRecHitCollectionLabel
Labels of the detector EDProducts.
void loadParameters(const edm::ParameterSet &)