22 leadTrack_HCAL3x3hitsEtSumOverPt_minvalue_ = iConfig.
getParameter<
double>(
"leadTrack_HCAL3x3hitsEtSumOverPt_minvalue");
23 ApplyCut_maxleadTrackHCAL3x3hottesthitDEta_ = iConfig.
getParameter<
bool>(
"ApplyCut_maxleadTrackHCAL3x3hottesthitDEta");
24 maxleadTrackHCAL3x3hottesthitDEta_ = iConfig.
getParameter<
double>(
"maxleadTrackHCAL3x3hottesthitDEta");
25 ApplyCut_leadTrackavoidsECALcrack_ = iConfig.
getParameter<
bool>(
"ApplyCut_leadTrackavoidsECALcrack");
27 ~CaloRecoTauDiscriminationAgainstElectron()
override{}
28 double discriminate(
const CaloTauRef& theCaloTauRef)
const override;
33 double leadTrack_HCAL3x3hitsEtSumOverPt_minvalue_;
34 bool ApplyCut_maxleadTrackHCAL3x3hottesthitDEta_;
35 double maxleadTrackHCAL3x3hottesthitDEta_;
36 bool ApplyCut_leadTrackavoidsECALcrack_;
41 if (ApplyCut_leadTrackavoidsECALcrack_)
49 double CaloRecoTauDiscriminationAgainstElectron::discriminate(
const CaloTauRef& theCaloTauRef)
const 51 if (ApplyCut_maxleadTrackHCAL3x3hottesthitDEta_){
53 if (
edm::isNotFinite((*theCaloTauRef).leadTrackHCAL3x3hottesthitDEta()) || (*theCaloTauRef).leadTrackHCAL3x3hottesthitDEta()>maxleadTrackHCAL3x3hottesthitDEta_)
return 0.;
55 if (ApplyCut_leadTrackavoidsECALcrack_){
58 if(thepropagleadTrackECALSurfContactPoint.R()==0. ||
73 if ((*theCaloTauRef).leadTrackHCAL3x3hitsEtSum()/(*theCaloTauRef).leadTrack()->pt()<=leadTrack_HCAL3x3hitsEtSumOverPt_minvalue_)
return 0.;
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
static std::pair< float, float > crack_absEtaIntervalA()
static std::pair< float, float > crack_absEtaIntervalB()
static std::pair< float, float > crack_absEtaIntervalE()
static std::pair< float, float > crack_absEtaIntervalC()
static std::pair< float, float > crack_absEtaIntervalD()
XYZPointD XYZPoint
point in space with cartesian internal representation