CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
WMuNuCandidate.h
Go to the documentation of this file.
1 #ifndef AnalysisDataFormats_EWK_WMuNu_h
2 #define AnalysisDataFormats_EWK_WMuNu_h
3 
4 #include <map>
5 #include <memory>
6 
17 namespace reco{
18 
20 public:
24 
25  //WARNING: W Candidates combine the information from a Muon with the (px,py) information of the MET as the Neutrino
26  // --> There is no Pz information!!!!
27  // Be very careful when using the default Candidate functions (.mass, .mt, .et, etc). They may not be what you are looking for :-).
28 
29  // Example: Candidates have a mt() function which computes the tranverse mass from E & pz.
30  // As MET does not have pz information... WMuNuCandidates have an alternative function used in the WMuNu Inclusive Analysis
31  // to compute mt just from px, py:
32  // Transverse Mass from px, py:
33  double massT() const;
34  // Transverse Energy from px, py:
35  double eT() const;
36 
37  // Acoplanarity between the muon and the MET
38  double acop() const;
39 
40  const reco::Muon & getMuon() const {return *muon_;};
41  const reco::MET & getNeutrino() const {return *neutrino_;};
42 
43 
44 private:
45 
46 
49 };
50 
51 
52 typedef std::vector<reco::WMuNuCandidate> WMuNuCandidateCollection;
53 }
54 
55 
56 #endif
Definition: MET.h:32
double eT() const
double acop() const
std::vector< reco::WMuNuCandidate > WMuNuCandidateCollection
double massT() const
edm::Ptr< Muon > muon_
edm::Ptr< MET > neutrino_
const reco::Muon & getMuon() const
const reco::MET & getNeutrino() const