CMS 3D CMS Logo

Public Member Functions | Public Attributes

TrackAssociatorParameters Class Reference

#include <TrackAssociatorParameters.h>

List of all members.

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.
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 22 of file TrackAssociatorParameters.h.


Constructor & Destructor Documentation

TrackAssociatorParameters::TrackAssociatorParameters ( ) [inline]

Definition at line 24 of file TrackAssociatorParameters.h.

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

Definition at line 58 of file TrackAssociatorParameters.cc.

References loadParameters().

{
   loadParameters( iConfig );
}

Member Function Documentation

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

Definition at line 20 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(), MuonIdProducer::MuonIdProducer(), cms::MuonMETValueMapProducer::MuonMETValueMapProducer(), ReduceHcalRecHitCollectionProducer::ReduceHcalRecHitCollectionProducer(), SelectReplacementCandidates::SelectReplacementCandidates(), and TrackAssociatorParameters().

{
   dREcal = iConfig.getParameter<double>("dREcal");
   dRHcal = iConfig.getParameter<double>("dRHcal");
   dRMuon = iConfig.getParameter<double>("dRMuon");
   
   dREcalPreselection = iConfig.getParameter<double>("dREcalPreselection");
   dRHcalPreselection = iConfig.getParameter<double>("dRHcalPreselection");
   dRMuonPreselection = iConfig.getParameter<double>("dRMuonPreselection");
   dRPreshowerPreselection = iConfig.getParameter<double>("dRPreshowerPreselection");
   
   muonMaxDistanceX = iConfig.getParameter<double>("muonMaxDistanceX");
   muonMaxDistanceY = iConfig.getParameter<double>("muonMaxDistanceY");
   muonMaxDistanceSigmaX = iConfig.getParameter<double>("muonMaxDistanceSigmaX");
   muonMaxDistanceSigmaY = iConfig.getParameter<double>("muonMaxDistanceSigmaY");
   
   useEcal = iConfig.getParameter<bool>("useEcal");
   useHcal = iConfig.getParameter<bool>("useHcal");
   useHO   = iConfig.getParameter<bool>("useHO");
   useCalo = iConfig.getParameter<bool>("useCalo");
   useMuon = iConfig.getParameter<bool>("useMuon");
   usePreshower = iConfig.getParameter<bool>("usePreshower");
   
   theEBRecHitCollectionLabel       = iConfig.getParameter<edm::InputTag>("EBRecHitCollectionLabel");
   theEERecHitCollectionLabel       = iConfig.getParameter<edm::InputTag>("EERecHitCollectionLabel");
   theCaloTowerCollectionLabel      = iConfig.getParameter<edm::InputTag>("CaloTowerCollectionLabel");
   theHBHERecHitCollectionLabel     = iConfig.getParameter<edm::InputTag>("HBHERecHitCollectionLabel");
   theHORecHitCollectionLabel       = iConfig.getParameter<edm::InputTag>("HORecHitCollectionLabel");
   theDTRecSegment4DCollectionLabel = iConfig.getParameter<edm::InputTag>("DTRecSegment4DCollectionLabel");
   theCSCSegmentCollectionLabel     = iConfig.getParameter<edm::InputTag>("CSCSegmentCollectionLabel");
   
   accountForTrajectoryChangeCalo   = iConfig.getParameter<bool>("accountForTrajectoryChangeCalo");
   // accountForTrajectoryChangeMuon   = iConfig.getParameter<bool>("accountForTrajectoryChangeMuon");
   
   truthMatch = iConfig.getParameter<bool>("truthMatch");
   muonMaxDistanceSigmaY = iConfig.getParameter<double>("trajectoryUncertaintyTolerance");
}

Member Data Documentation

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 42 of file TrackAssociatorParameters.h.

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

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 52 of file TrackAssociatorParameters.h.

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

Labels of the detector EDProducts.

Definition at line 66 of file TrackAssociatorParameters.h.

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

Definition at line 70 of file TrackAssociatorParameters.h.

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

Definition at line 80 of file TrackAssociatorParameters.h.