20 leadTrack_HCAL3x3hitsEtSumOverPt_minvalue_ = iConfig.
getParameter<
double>(
"leadTrack_HCAL3x3hitsEtSumOverPt_minvalue");
21 ApplyCut_maxleadTrackHCAL3x3hottesthitDEta_ = iConfig.
getParameter<
bool>(
"ApplyCut_maxleadTrackHCAL3x3hottesthitDEta");
22 maxleadTrackHCAL3x3hottesthitDEta_ = iConfig.
getParameter<
double>(
"maxleadTrackHCAL3x3hottesthitDEta");
23 ApplyCut_leadTrackavoidsECALcrack_ = iConfig.
getParameter<
bool>(
"ApplyCut_leadTrackavoidsECALcrack");
26 double discriminate(
const CaloTauRef& theCaloTauRef);
39 if (ApplyCut_leadTrackavoidsECALcrack_)
49 if (ApplyCut_maxleadTrackHCAL3x3hottesthitDEta_){
51 if (
std::isnan((*theCaloTauRef).leadTrackHCAL3x3hottesthitDEta()) || (*theCaloTauRef).leadTrackHCAL3x3hottesthitDEta()>maxleadTrackHCAL3x3hottesthitDEta_)
return 0.;
53 if (ApplyCut_leadTrackavoidsECALcrack_){
56 if(thepropagleadTrackECALSurfContactPoint.R()==0. ||
66 if (
std::isnan((*theCaloTauRef).leadTrackHCAL3x3hitsEtSum()))
71 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()
static std::pair< float, float > crack_absEtaIntervalB()
static std::pair< float, float > crack_absEtaIntervalE()
edm::ESHandle< MagneticField > theMagneticField
bool ApplyCut_maxleadTrackHCAL3x3hottesthitDEta_
double discriminate(const CaloTauRef &theCaloTauRef)
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
void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup)
~CaloRecoTauDiscriminationAgainstElectron()