14 applyDiscriminationByTrackerIsolation_ = iConfig.
getParameter<
bool>(
"ApplyDiscriminationByTrackerIsolation");
15 TrackerIsolAnnulus_maximumOccupancy_ = iConfig.
getParameter<
unsigned>(
"TrackerIsolAnnulus_maximumOccupancy");
17 applyDiscriminationByECALIsolation_ = iConfig.
getParameter<
bool>(
"ApplyDiscriminationByECALIsolation");
18 EcalIsolAnnulus_maximumSumEtCut_ = iConfig.
getParameter<
double>(
"ECALisolAnnulus_maximumSumEtCut");
21 double discriminate(
const CaloTauRef&)
override;
31 if ( applyDiscriminationByTrackerIsolation_ ){
32 if ( caloTau->isolationTracks().size() > TrackerIsolAnnulus_maximumOccupancy_ )
return 0.;
35 if ( applyDiscriminationByECALIsolation_ ) {
36 if ( caloTau->isolationECALhitsEtSum() > EcalIsolAnnulus_maximumSumEtCut_ )
return 0.;
T getParameter(std::string const &) const
CaloRecoTauDiscriminationByIsolation(const edm::ParameterSet &iConfig)
bool applyDiscriminationByECALIsolation_
double EcalIsolAnnulus_maximumSumEtCut_
~CaloRecoTauDiscriminationByIsolation()
DEFINE_FWK_MODULE(CosmicTrackingParticleSelector)
unsigned TrackerIsolAnnulus_maximumOccupancy_
double discriminate(const CaloTauRef &) override
bool applyDiscriminationByTrackerIsolation_