Public Member Functions | |
CaloRecoTauDiscriminationByIsolation (const edm::ParameterSet &iConfig) | |
double | discriminate (const CaloTauRef &) |
~CaloRecoTauDiscriminationByIsolation () | |
Private Attributes | |
bool | applyDiscriminationByECALIsolation_ |
bool | applyDiscriminationByTrackerIsolation_ |
double | EcalIsolAnnulus_maximumSumEtCut_ |
unsigned | TrackerIsolAnnulus_maximumOccupancy_ |
Definition at line 11 of file CaloRecoTauDiscriminationByIsolation.cc.
CaloRecoTauDiscriminationByIsolation::CaloRecoTauDiscriminationByIsolation | ( | const edm::ParameterSet & | iConfig | ) | [inline, explicit] |
Definition at line 13 of file CaloRecoTauDiscriminationByIsolation.cc.
References edm::ParameterSet::getParameter().
:CaloTauDiscriminationProducerBase(iConfig){ applyDiscriminationByTrackerIsolation_ = iConfig.getParameter<bool>("ApplyDiscriminationByTrackerIsolation"); TrackerIsolAnnulus_maximumOccupancy_ = iConfig.getParameter<unsigned>("TrackerIsolAnnulus_maximumOccupancy"); applyDiscriminationByECALIsolation_ = iConfig.getParameter<bool>("ApplyDiscriminationByECALIsolation"); EcalIsolAnnulus_maximumSumEtCut_ = iConfig.getParameter<double>("ECALisolAnnulus_maximumSumEtCut"); }
CaloRecoTauDiscriminationByIsolation::~CaloRecoTauDiscriminationByIsolation | ( | ) | [inline] |
Definition at line 20 of file CaloRecoTauDiscriminationByIsolation.cc.
{}
double CaloRecoTauDiscriminationByIsolation::discriminate | ( | const CaloTauRef & | caloTau | ) | [virtual] |
Implements TauDiscriminationProducerBase< TauType, TauDiscriminator >.
Definition at line 29 of file CaloRecoTauDiscriminationByIsolation.cc.
{ if ( applyDiscriminationByTrackerIsolation_ ){ if ( caloTau->isolationTracks().size() > TrackerIsolAnnulus_maximumOccupancy_ ) return 0.; } if ( applyDiscriminationByECALIsolation_ ) { if ( caloTau->isolationECALhitsEtSum() > EcalIsolAnnulus_maximumSumEtCut_ ) return 0.; } // N.B. the lead track requirement must be included in the discriminants return 1.; }
Definition at line 25 of file CaloRecoTauDiscriminationByIsolation.cc.
Definition at line 23 of file CaloRecoTauDiscriminationByIsolation.cc.
Definition at line 26 of file CaloRecoTauDiscriminationByIsolation.cc.
unsigned CaloRecoTauDiscriminationByIsolation::TrackerIsolAnnulus_maximumOccupancy_ [private] |
Definition at line 24 of file CaloRecoTauDiscriminationByIsolation.cc.