10 WMuNuCandidatePtr::WMuNuCandidatePtr() {}
13 : muon_(muon), neutrino_(met) {
18 cout <<
"WCandidatePtr Created Wpx=" <<
muon_->px() <<
" + " <<
neutrino_->px() <<
" ?= " << this->
px() << endl;
38 double mt =
eT() *
eT() - wpx * wpx - wpy * wpy;
39 mt = (mt > 0) ?
sqrt(mt) : 0;
46 double acop = deltaphi.value();
double mt() const final
transverse mass
double px() const final
x coordinate of momentum vector
~WMuNuCandidatePtr() override
edm::Ptr< MET > neutrino_
void addDaughter(const CandidatePtr &)
add a daughter via a reference
void set(reco::Candidate &c) const
set up a candidate