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
double threeProngInvMass(const CaloTauRef &)
~CaloRecoTauDiscriminationByInvMass()
DEFINE_FWK_MODULE(CosmicTrackingParticleSelector)
double discriminate(const reco::CaloTauRef &)
size_type size() const
Size of the RefVector.
CaloRecoTauDiscriminationByInvMass(const edm::ParameterSet &iConfig)