12 #include "TLorentzVector.h" 23 chargedPionMass = 0.139;
24 booleanOutput = iConfig.
getParameter<
bool>(
"BooleanOutput");
46 double dE = DeltaE(tau);
54 for(
size_t i = 0;
i < signalTracks.
size(); ++
i){
56 p4.SetXYZM(signalTracks[
i]->px(),
57 signalTracks[
i]->py(),
58 signalTracks[
i]->pz(),
62 if(tau->leadTrackHCAL3x3hitsEtSum() == 0)
return -1;
63 return tracksE/tau->leadTrackHCAL3x3hitsEtSum() - 1.0;
double DeltaE(const CaloTauRef &) const
T getParameter(std::string const &) const
void beginEvent(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
double discriminate(const reco::CaloTauRef &) const override
CaloRecoTauDiscriminationByDeltaE(const ParameterSet &iConfig)
size_type size() const
Size of the RefVector.
~CaloRecoTauDiscriminationByDeltaE() override