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.9 2011/04/07 08:17:31 innocent Exp $ 00017 // 00018 // 00019 00020 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00021 00022 class TrackAssociatorParameters { 00023 public: 00024 TrackAssociatorParameters(){} 00025 TrackAssociatorParameters( const edm::ParameterSet& ); 00026 void loadParameters( const edm::ParameterSet& ); 00027 00028 double dREcal; 00029 double dRHcal; 00030 double dRMuon; 00031 00032 double dREcalPreselection; 00033 double dRHcalPreselection; 00034 double dRMuonPreselection; 00035 double dRPreshowerPreselection; 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 usePreshower; 00062 bool useMuon; 00063 bool truthMatch; 00064 00066 edm::InputTag theEBRecHitCollectionLabel; 00067 edm::InputTag theEERecHitCollectionLabel; 00068 edm::InputTag theCaloTowerCollectionLabel; 00069 edm::InputTag theHBHERecHitCollectionLabel; 00070 edm::InputTag theHORecHitCollectionLabel; 00071 edm::InputTag theDTRecSegment4DCollectionLabel; 00072 edm::InputTag theCSCSegmentCollectionLabel; 00073 00074 // Specify if we want to widen the search pass of the crossed 00075 // calorimeter elements taking into account uncertainty 00076 // of the track trajectory. The parameter below 00077 // specifies how many standard deviations 00078 // to account for. Negative numbers are ignored 00079 // and trajectory is assumed to be known perfectly 00080 double trajectoryUncertaintyTolerance; 00081 }; 00082 #endif