16 explicit CaloRecoTauDiscriminationByTauPolarization(
20 booleanOutput = iConfig.
getParameter<
bool>(
"BooleanOutput");
23 ~CaloRecoTauDiscriminationByTauPolarization()
override{}
24 double discriminate(
const CaloTauRef&)
const override;
32 CaloRecoTauDiscriminationByTauPolarization::discriminate(
const CaloTauRef&
tau)
const {
35 rTau = tau->leadTrack()->p()/tau->p();
36 if(booleanOutput)
return ( rTau > rTauMin ? 1. : 0. );
T getParameter(std::string const &) const
bool isNonnull() const
Checks for non-null.
#define DEFINE_FWK_MODULE(type)