21 leadTrack_HCAL3x3hitsEtSumOverPt_minvalue_ = iConfig.
getParameter<
double>(
"leadTrack_HCAL3x3hitsEtSumOverPt_minvalue");
22 ApplyCut_maxleadTrackHCAL3x3hottesthitDEta_ = iConfig.
getParameter<
bool>(
"ApplyCut_maxleadTrackHCAL3x3hottesthitDEta");
23 maxleadTrackHCAL3x3hottesthitDEta_ = iConfig.
getParameter<
double>(
"maxleadTrackHCAL3x3hottesthitDEta");
24 ApplyCut_leadTrackavoidsECALcrack_ = iConfig.
getParameter<
bool>(
"ApplyCut_leadTrackavoidsECALcrack");
27 double discriminate(
const CaloTauRef& theCaloTauRef)
override;
40 if (ApplyCut_leadTrackavoidsECALcrack_)
50 if (ApplyCut_maxleadTrackHCAL3x3hottesthitDEta_){
52 if (
edm::isNotFinite((*theCaloTauRef).leadTrackHCAL3x3hottesthitDEta()) || (*theCaloTauRef).leadTrackHCAL3x3hottesthitDEta()>maxleadTrackHCAL3x3hottesthitDEta_)
return 0.;
54 if (ApplyCut_leadTrackavoidsECALcrack_){
57 if(thepropagleadTrackECALSurfContactPoint.R()==0. ||
72 if ((*theCaloTauRef).leadTrackHCAL3x3hitsEtSum()/(*theCaloTauRef).leadTrack()->pt()<=leadTrack_HCAL3x3hitsEtSumOverPt_minvalue_)
return 0.;
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
double leadTrack_HCAL3x3hitsEtSumOverPt_minvalue_
static std::pair< float, float > crack_absEtaIntervalA()
double discriminate(const CaloTauRef &theCaloTauRef) override
static std::pair< float, float > crack_absEtaIntervalB()
static std::pair< float, float > crack_absEtaIntervalE()
void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup) override
edm::ESHandle< MagneticField > theMagneticField
bool ApplyCut_maxleadTrackHCAL3x3hottesthitDEta_
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
edm::InputTag CaloTauProducer_
double maxleadTrackHCAL3x3hottesthitDEta_
CaloRecoTauDiscriminationAgainstElectron(const edm::ParameterSet &iConfig)
static std::pair< float, float > crack_absEtaIntervalC()
bool ApplyCut_leadTrackavoidsECALcrack_
static std::pair< float, float > crack_absEtaIntervalD()
XYZPointD XYZPoint
point in space with cartesian internal representation
~CaloRecoTauDiscriminationAgainstElectron()