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(){}
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()
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
static std::pair< float, float > crack_absEtaIntervalC()
static std::pair< float, float > crack_absEtaIntervalD()
XYZPointD XYZPoint
point in space with cartesian internal representation