11 #include "TLorentzVector.h"
23 chargedPionMass = 0.139;
24 booleanOutput = iConfig.
getParameter<
bool>(
"BooleanOutput");
40 double invMass = threeProngInvMass(tau);
41 if(booleanOutput)
return (
42 invMass > invMassMin && invMass < invMassMax ? 1. : 0. );
50 for(
size_t i = 0;
i < signalTracks.
size(); ++
i){
52 p4.SetXYZM(signalTracks[
i]->px(),
53 signalTracks[
i]->py(),
54 signalTracks[
i]->pz(),
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
double threeProngInvMass(const CaloTauRef &)
double discriminate(const reco::CaloTauRef &) override
~CaloRecoTauDiscriminationByInvMass()
size_type size() const
Size of the RefVector.
CaloRecoTauDiscriminationByInvMass(const edm::ParameterSet &iConfig)