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;
virtual double px() const
x coordinate of momentum vector
virtual double mt() const
transverse mass
edm::Ptr< MET > neutrino_
void addDaughter(const CandidatePtr &)
add a daughter via a reference
void set(reco::Candidate &c) const
set up a candidate