|
|
◆ PFRecoTauDiscriminationAgainstElectron2()
PFRecoTauDiscriminationAgainstElectron2::PFRecoTauDiscriminationAgainstElectron2 |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
inlineexplicit |
◆ ~PFRecoTauDiscriminationAgainstElectron2()
PFRecoTauDiscriminationAgainstElectron2::~PFRecoTauDiscriminationAgainstElectron2 |
( |
| ) |
|
|
inlineoverride |
◆ beginEvent()
◆ discriminate()
double PFRecoTauDiscriminationAgainstElectron2::discriminate |
( |
const PFTauRef & |
thePFTauRef | ) |
const |
|
override |
◆ fillDescriptions()
Definition at line 184 of file PFRecoTauDiscriminationAgainstElectron2.cc.
187 desc.
add<
bool>(
"rejectTausInEcalCrack",
false);
189 desc.
add<
bool>(
"applyCut_GammaEnFrac",
true);
190 desc.
add<
bool>(
"applyCut_HLTSpecific",
true);
191 desc.
add<
double>(
"GammaEnFrac_barrel_max", 0.15);
192 desc.add<
bool>(
"keepTausInEcalCrack",
true);
198 psd1.
add<
double>(
"cut");
204 desc.
add<
bool>(
"applyCut_GammaPhiMom",
false);
205 desc.add<
double>(
"GammaPhiMom_endcap_max", 1.5);
206 desc.add<
double>(
"GammaPhiMom_barrel_max", 1.5);
207 desc.add<
bool>(
"applyCut_leadPFChargedHadrEoP",
true);
208 desc.add<
double>(
"LeadPFChargedHadrEoP_barrel_max", 1.01);
209 desc.add<
double>(
"GammaEtaMom_endcap_max", 1.5);
210 desc.add<
double>(
"GammaEtaMom_barrel_max", 1.5);
211 desc.add<
double>(
"Hcal3x3OverPLead_endcap_max", 0.1);
212 desc.add<
double>(
"LeadPFChargedHadrEoP_barrel_min", 0.99);
213 desc.add<
double>(
"LeadPFChargedHadrEoP_endcap_max2", 1.01);
214 desc.add<
double>(
"LeadPFChargedHadrEoP_endcap_min1", 0.7);
215 desc.add<
double>(
"LeadPFChargedHadrEoP_endcap_min2", 0.99);
216 desc.add<
double>(
"LeadPFChargedHadrEoP_endcap_max1", 1.3);
217 desc.add<
int>(
"verbosity", 0);
218 desc.add<
double>(
"GammaEnFrac_endcap_max", 0.2);
219 desc.add<
bool>(
"applyCut_hcal3x3OverPLead",
true);
220 desc.add<
bool>(
"applyCut_GammaEtaMom",
false);
221 desc.add<std::vector<std::string>>(
"etaCracks",
229 desc.add<
double>(
"Hcal3x3OverPLead_barrel_max", 0.2);
230 descriptions.
add(
"pfRecoTauDiscriminationAgainstElectron2", desc);
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ isInEcalCrack()
bool PFRecoTauDiscriminationAgainstElectron2::isInEcalCrack |
( |
double |
eta | ) |
const |
|
private |
◆ applyCut_GammaEnFrac_
bool PFRecoTauDiscriminationAgainstElectron2::applyCut_GammaEnFrac_ |
|
private |
◆ applyCut_GammaEtaMom_
bool PFRecoTauDiscriminationAgainstElectron2::applyCut_GammaEtaMom_ |
|
private |
◆ applyCut_GammaPhiMom_
bool PFRecoTauDiscriminationAgainstElectron2::applyCut_GammaPhiMom_ |
|
private |
◆ applyCut_hcal3x3OverPLead_
bool PFRecoTauDiscriminationAgainstElectron2::applyCut_hcal3x3OverPLead_ |
|
private |
◆ applyCut_HLTSpecific_
bool PFRecoTauDiscriminationAgainstElectron2::applyCut_HLTSpecific_ |
|
private |
◆ applyCut_leadPFChargedHadrEoP_
bool PFRecoTauDiscriminationAgainstElectron2::applyCut_leadPFChargedHadrEoP_ |
|
private |
◆ cuts2_
◆ etaCracks_
std::vector<pdouble> PFRecoTauDiscriminationAgainstElectron2::etaCracks_ |
|
private |
◆ etaCracks_string_
std::vector<std::string> PFRecoTauDiscriminationAgainstElectron2::etaCracks_string_ |
|
private |
◆ GammaEnFrac_barrel_max_
double PFRecoTauDiscriminationAgainstElectron2::GammaEnFrac_barrel_max_ |
|
private |
◆ GammaEnFrac_endcap_max_
double PFRecoTauDiscriminationAgainstElectron2::GammaEnFrac_endcap_max_ |
|
private |
◆ GammaEtaMom_barrel_max_
double PFRecoTauDiscriminationAgainstElectron2::GammaEtaMom_barrel_max_ |
|
private |
◆ GammaEtaMom_endcap_max_
double PFRecoTauDiscriminationAgainstElectron2::GammaEtaMom_endcap_max_ |
|
private |
◆ GammaPhiMom_barrel_max_
double PFRecoTauDiscriminationAgainstElectron2::GammaPhiMom_barrel_max_ |
|
private |
◆ GammaPhiMom_endcap_max_
double PFRecoTauDiscriminationAgainstElectron2::GammaPhiMom_endcap_max_ |
|
private |
◆ Hcal3x3OverPLead_barrel_max_
double PFRecoTauDiscriminationAgainstElectron2::Hcal3x3OverPLead_barrel_max_ |
|
private |
◆ Hcal3x3OverPLead_endcap_max_
double PFRecoTauDiscriminationAgainstElectron2::Hcal3x3OverPLead_endcap_max_ |
|
private |
◆ keepTausInEcalCrack_
bool PFRecoTauDiscriminationAgainstElectron2::keepTausInEcalCrack_ |
|
private |
◆ LeadPFChargedHadrEoP_barrel_max_
double PFRecoTauDiscriminationAgainstElectron2::LeadPFChargedHadrEoP_barrel_max_ |
|
private |
◆ LeadPFChargedHadrEoP_barrel_min_
double PFRecoTauDiscriminationAgainstElectron2::LeadPFChargedHadrEoP_barrel_min_ |
|
private |
◆ LeadPFChargedHadrEoP_endcap_max1_
double PFRecoTauDiscriminationAgainstElectron2::LeadPFChargedHadrEoP_endcap_max1_ |
|
private |
◆ LeadPFChargedHadrEoP_endcap_max2_
double PFRecoTauDiscriminationAgainstElectron2::LeadPFChargedHadrEoP_endcap_max2_ |
|
private |
◆ LeadPFChargedHadrEoP_endcap_min1_
double PFRecoTauDiscriminationAgainstElectron2::LeadPFChargedHadrEoP_endcap_min1_ |
|
private |
◆ LeadPFChargedHadrEoP_endcap_min2_
double PFRecoTauDiscriminationAgainstElectron2::LeadPFChargedHadrEoP_endcap_min2_ |
|
private |
◆ rejectTausInEcalCrack_
bool PFRecoTauDiscriminationAgainstElectron2::rejectTausInEcalCrack_ |
|
private |
◆ verbosity_
int PFRecoTauDiscriminationAgainstElectron2::verbosity_ |
|
private |
void SetBarrelCutValues(float TauLeadPFChargedHadrEoP_min, float TauLeadPFChargedHadrEoP_max, float TauHcal3x3OverPLead_max, float TauGammaEtaMom_max, float TauGammaPhiMom_max, float TauGammaEnFrac_max)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
bool applyCut_GammaEnFrac_
double LeadPFChargedHadrEoP_barrel_max_
double LeadPFChargedHadrEoP_endcap_min2_
bool applyCut_GammaEtaMom_
bool keepTausInEcalCrack_
double Discriminator(float TauPt, float TauEta, float TauLeadChargedPFCandPt, float TauLeadChargedPFCandEtaAtEcalEntrance, float TauLeadPFChargedHadrEoP, float TauHcal3x3OverPLead, float TauGammaEtaMom, float TauGammaPhiMom, float TauGammaEnFrac)
TauDiscriminationProducerBase< reco::PFTau, reco::PFTauDiscriminator > PFTauDiscriminationProducerBase
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
AntiElectronIDCut2 * cuts2_
bool applyCut_leadPFChargedHadrEoP_
double GammaEtaMom_barrel_max_
double LeadPFChargedHadrEoP_barrel_min_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool applyCut_hcal3x3OverPLead_
double GammaEnFrac_barrel_max_
double GammaPhiMom_endcap_max_
bool rejectTausInEcalCrack_
void SetEcalCracks(const std::vector< pdouble > &etaCracks)
std::pair< double, double > pdouble
double GammaEnFrac_endcap_max_
void ApplyCuts(bool applyCut_hcal3x3OverPLead, bool applyCut_leadPFChargedHadrEoP, bool applyCut_GammaEtaMom, bool applyCut_GammaPhiMom, bool applyCut_GammaEnFrac, bool applyCut_HLTSpecific)
double Hcal3x3OverPLead_endcap_max_
double LeadPFChargedHadrEoP_endcap_max1_
double LeadPFChargedHadrEoP_endcap_min1_
T getParameter(std::string const &) const
double GammaEtaMom_endcap_max_
edm::InputTag TauProducer_
bool applyCut_GammaPhiMom_
double LeadPFChargedHadrEoP_endcap_max2_
bool applyCut_HLTSpecific_
void ApplyCut_EcalCrack(bool keepAll_, bool rejectAll_)
std::vector< pdouble > etaCracks_
double Hcal3x3OverPLead_barrel_max_
std::vector< std::string > etaCracks_string_
double GammaPhiMom_barrel_max_
void SetEndcapCutValues(float TauLeadPFChargedHadrEoP_min_1, float TauLeadPFChargedHadrEoP_max_1, float TauLeadPFChargedHadrEoP_min_2, float TauLeadPFChargedHadrEoP_max_2, float TauHcal3x3OverPLead_max, float TauGammaEtaMom_max, float TauGammaPhiMom_max, float TauGammaEnFrac_max)