00001 #ifndef TrackAssociator_TrackAssociatorParameters_h 00002 #define TrackAssociator_TrackAssociatorParameters_h 1 00003 00004 // -*- C++ -*- 00005 // 00006 // Package: TrackAssociator 00007 // Class: TrackAssociatorParameters 00008 // 00009 /* 00010 00011 Description: track associator parameters 00012 00013 */ 00014 // 00015 // Original Author: Dmytro Kovalskyi 00016 // $Id: TrackAssociatorParameters.h,v 1.6 2008/08/07 04:06:02 dmytro Exp $ 00017 // 00018 // 00019 00020 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00021 00022 class TrackAssociatorParameters { 00023 public: 00024 enum CrossedEnergyAlgorithmType { SinglePointAlongTrajectory, FivePointTwoSigmaElipseAlongTrajectory }; 00025 TrackAssociatorParameters(){} 00026 TrackAssociatorParameters( const edm::ParameterSet& ); 00027 void loadParameters( const edm::ParameterSet& ); 00028 00029 double dREcal; 00030 double dRHcal; 00031 double dRMuon; 00032 00033 double dREcalPreselection; 00034 double dRHcalPreselection; 00035 double dRMuonPreselection; 00036 00042 bool accountForTrajectoryChangeCalo; 00043 00044 // account for trajectory change in the muon detector 00045 // helps to ensure that all chambers are found. 00046 // Recomended to be used in default configuration 00047 // bool accountForTrajectoryChangeMuon; 00048 00052 double muonMaxDistanceX; 00053 double muonMaxDistanceY; 00054 double muonMaxDistanceSigmaX; 00055 double muonMaxDistanceSigmaY; 00056 00057 bool useEcal; 00058 bool useHcal; 00059 bool useHO; 00060 bool useCalo; 00061 bool useMuon; 00062 bool truthMatch; 00063 00065 edm::InputTag theEBRecHitCollectionLabel; 00066 edm::InputTag theEERecHitCollectionLabel; 00067 edm::InputTag theCaloTowerCollectionLabel; 00068 edm::InputTag theHBHERecHitCollectionLabel; 00069 edm::InputTag theHORecHitCollectionLabel; 00070 edm::InputTag theDTRecSegment4DCollectionLabel; 00071 edm::InputTag theCSCSegmentCollectionLabel; 00072 00073 CrossedEnergyAlgorithmType crossedEnergyType; 00074 // bool propagateAllDirections; // needs TrackExtra if set true 00075 }; 00076 #endif