11 #include "TLorentzVector.h" 20 explicit CaloRecoTauDiscriminationByInvMass(
25 chargedPionMass = 0.139;
26 booleanOutput = iConfig.
getParameter<
bool>(
"BooleanOutput");
29 ~CaloRecoTauDiscriminationByInvMass(){}
34 double threeProngInvMass(
const CaloTauRef&)
const ;
35 double chargedPionMass;
40 double CaloRecoTauDiscriminationByInvMass::discriminate(
const CaloTauRef&
tau)
const {
42 double invMass = threeProngInvMass(tau);
43 if(booleanOutput)
return (
48 double CaloRecoTauDiscriminationByInvMass::threeProngInvMass(
52 for(
size_t i = 0;
i < signalTracks.
size(); ++
i){
54 p4.SetXYZM(signalTracks[
i]->px(),
55 signalTracks[
i]->py(),
56 signalTracks[
i]->pz(),
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
size_type size() const
Size of the RefVector.