10 WMuNuCandidatePtr::WMuNuCandidatePtr(){}
18 cout<<
"WCandidatePtr Created Wpx="<<
muon_->px()<<
" + "<<
neutrino_->px()<<
" ?= "<<this->
px()<<endl;
39 double mt =
eT()*
eT() - wpx*wpx - wpy*wpy;
40 mt = (mt>0) ?
sqrt(mt) : 0;
47 double acop = deltaphi.value();
48 if (acop<0) acop = -
acop;
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