CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
TrackAssociatorParameters Class Reference

#include <TrackAssociatorParameters.h>

Public Member Functions

void loadParameters (const edm::ParameterSet &)
 
 TrackAssociatorParameters ()
 
 TrackAssociatorParameters (const edm::ParameterSet &)
 

Public Attributes

bool accountForTrajectoryChangeCalo
 
double dREcal
 
double dREcalPreselection
 
double dRHcal
 
double dRHcalPreselection
 
double dRMuon
 
double dRMuonPreselection
 
double dRPreshowerPreselection
 
double muonMaxDistanceSigmaX
 
double muonMaxDistanceSigmaY
 
double muonMaxDistanceX
 
double muonMaxDistanceY
 
edm::InputTag theCaloTowerCollectionLabel
 
edm::InputTag theCSCSegmentCollectionLabel
 
edm::InputTag theDTRecSegment4DCollectionLabel
 
edm::InputTag theEBRecHitCollectionLabel
 Labels of the detector EDProducts. More...
 
edm::InputTag theEERecHitCollectionLabel
 
edm::InputTag theHBHERecHitCollectionLabel
 
edm::InputTag theHORecHitCollectionLabel
 
double trajectoryUncertaintyTolerance
 
bool truthMatch
 
bool useCalo
 
bool useEcal
 
bool useHcal
 
bool useHO
 
bool useMuon
 
bool usePreshower
 

Detailed Description

Definition at line 21 of file TrackAssociatorParameters.h.

Constructor & Destructor Documentation

TrackAssociatorParameters::TrackAssociatorParameters ( )
inline

Definition at line 23 of file TrackAssociatorParameters.h.

23 {}
TrackAssociatorParameters::TrackAssociatorParameters ( const edm::ParameterSet iConfig)

Definition at line 57 of file TrackAssociatorParameters.cc.

References loadParameters().

58 {
59  loadParameters( iConfig );
60 }
void loadParameters(const edm::ParameterSet &)

Member Function Documentation

void TrackAssociatorParameters::loadParameters ( const edm::ParameterSet iConfig)

Definition at line 19 of file TrackAssociatorParameters.cc.

References accountForTrajectoryChangeCalo, dREcal, dREcalPreselection, dRHcal, dRHcalPreselection, dRMuon, dRMuonPreselection, dRPreshowerPreselection, edm::ParameterSet::getParameter(), muonMaxDistanceSigmaX, muonMaxDistanceSigmaY, muonMaxDistanceX, muonMaxDistanceY, theCaloTowerCollectionLabel, theCSCSegmentCollectionLabel, theDTRecSegment4DCollectionLabel, theEBRecHitCollectionLabel, theEERecHitCollectionLabel, theHBHERecHitCollectionLabel, theHORecHitCollectionLabel, truthMatch, useCalo, useEcal, useHcal, useHO, useMuon, and usePreshower.

Referenced by AlCaIsoTracksProducer::AlCaIsoTracksProducer(), BetaCalculatorECAL::BetaCalculatorECAL(), EcalCosmicsHists::EcalCosmicsHists(), EopTreeWriter::EopTreeWriter(), HighPtTrackEcalDetIdProducer::HighPtTrackEcalDetIdProducer(), InterestingTrackEcalDetIdProducer::InterestingTrackEcalDetIdProducer(), IsolatedTracksCone::IsolatedTracksCone(), MuonCaloCleanerAllCrossed::MuonCaloCleanerAllCrossed(), MuonCaloDistanceProducer::MuonCaloDistanceProducer(), MuonDetCleaner::MuonDetCleaner(), MuonIdProducer::MuonIdProducer(), cms::MuonMETValueMapProducer::MuonMETValueMapProducer(), ReduceHcalRecHitCollectionProducer::ReduceHcalRecHitCollectionProducer(), SelectReplacementCandidates::SelectReplacementCandidates(), and TrackAssociatorParameters().

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 }
T getParameter(std::string const &) const
edm::InputTag theEBRecHitCollectionLabel
Labels of the detector EDProducts.

Member Data Documentation

bool TrackAssociatorParameters::accountForTrajectoryChangeCalo

account for trajectory change for calorimeters. allows to compute energy around original track direction (for example neutral particles in a jet) as well as energy around track projection on the inner surface of a calorimeter. Affects performance, so use wisely.

Definition at line 41 of file TrackAssociatorParameters.h.

Referenced by TrackDetectorAssociator::fillCaloTowers(), TrackDetectorAssociator::fillEcal(), TrackDetectorAssociator::fillHcal(), TrackDetectorAssociator::fillHO(), and loadParameters().

double TrackAssociatorParameters::dREcal
double TrackAssociatorParameters::dREcalPreselection
double TrackAssociatorParameters::dRHcal
double TrackAssociatorParameters::dRHcalPreselection
double TrackAssociatorParameters::dRMuon
double TrackAssociatorParameters::dRMuonPreselection
double TrackAssociatorParameters::dRPreshowerPreselection
double TrackAssociatorParameters::muonMaxDistanceSigmaX
double TrackAssociatorParameters::muonMaxDistanceSigmaY
double TrackAssociatorParameters::muonMaxDistanceX

maximal distance from a muon chamber. Can be considered as a preselection cut and fancier cuts can be applied in a muon producer, since the distance from a chamber should be available as output of the TrackAssociation

Definition at line 51 of file TrackAssociatorParameters.h.

Referenced by TrackDetectorAssociator::getTAMuonChamberMatches(), and loadParameters().

double TrackAssociatorParameters::muonMaxDistanceY
edm::InputTag TrackAssociatorParameters::theCaloTowerCollectionLabel
edm::InputTag TrackAssociatorParameters::theCSCSegmentCollectionLabel
edm::InputTag TrackAssociatorParameters::theDTRecSegment4DCollectionLabel
edm::InputTag TrackAssociatorParameters::theEBRecHitCollectionLabel

Labels of the detector EDProducts.

Definition at line 65 of file TrackAssociatorParameters.h.

Referenced by TrackDetectorAssociator::fillEcal(), and loadParameters().

edm::InputTag TrackAssociatorParameters::theEERecHitCollectionLabel
edm::InputTag TrackAssociatorParameters::theHBHERecHitCollectionLabel
edm::InputTag TrackAssociatorParameters::theHORecHitCollectionLabel

Definition at line 69 of file TrackAssociatorParameters.h.

Referenced by TrackDetectorAssociator::fillHO(), and loadParameters().

double TrackAssociatorParameters::trajectoryUncertaintyTolerance

Definition at line 79 of file TrackAssociatorParameters.h.

bool TrackAssociatorParameters::truthMatch
bool TrackAssociatorParameters::useCalo
bool TrackAssociatorParameters::useEcal
bool TrackAssociatorParameters::useHcal
bool TrackAssociatorParameters::useHO
bool TrackAssociatorParameters::useMuon
bool TrackAssociatorParameters::usePreshower